Adds a Range to the chart represented by this builder.
Adds a Range to the chart represented by this builder. Will not add the Range if it has already been added to the chart.
Sets the chart type to AreaChart and returns an EmbeddedAreaChartBuilder.
Sets the chart type to BarChart and returns an EmbeddedBarChartBuilder.
Sets the chart type to ColumnChart and returns an EmbeddedColumnChartBuilder.
Sets the chart type to LineChart and returns an EmbeddedLineChartBuilder.
Sets the chart type to PieChart and returns an EmbeddedPieChartBuilder.
Sets the chart type to ScatterChart and returns an EmbeddedScatterChartBuilder.
Sets the chart type to TableChart and returns an EmbeddedTableChartBuilder.
Builds the chart to reflect all changes made to it.
Builds the chart to reflect all changes made to it. This method will not automatically draw the chart on top of the spreadsheet. A new chart must be inserted via sheet.insertChart(chart), and an existing chart should be updated via sheet.update(chart);
Returns the current chart type.
Return the ContainerInfo, which encapsulates where the chart appears on the sheet.
Returns a copy of the list of ranges currently providing data for this chart.
Returns a copy of the list of ranges currently providing data for this chart. Use addRange and removeRange to modify this list.
Removes the specified Range from the chart represented by this builder.
Removes the specified Range from the chart represented by this builder. Will not throw an error if the Range is not in this chart. The range removed must match up with a range added via addRange(range), or it will not be removed, and it will not throw an exception. This method cannot be used to partially remove values from a range.
Sets the background color for the chart.
Changes the type of chart.
Changes the type of chart. Not all embedded chart types are currently supported. See ChartType.
Sets the colors for the lines in the chart.
Sets the position of the legend with respect to the chart.
Sets the position of the legend with respect to the chart. By default, there will be no legend.
Sets the text style of the chart legend.
Sets the style for points in the line.
Sets the style for points in the line. By default, points will have no particular styles, and only the line will be visible.
Sets the position, changing where the chart appears on the sheet.
Sets the position, changing where the chart appears on the sheet. AnchorRowPos and AnchorColPos are 1-indexed.
Sets the title of the chart.
Sets the title of the chart. The title will be displayed centered above the chart.
Sets the text style of the chart title.
Makes the horizontal axis into a logarithmic scale (requires all values to be positive).
Sets the range for the horizontal axis of the chart.
Sets the horizontal axis text style.
Adds a title to the horizontal axis.
Adds a title to the horizontal axis. The title will be centered and will appear below the axis value labels.
Sets the horizontal axis title text style.
Makes the vertical axis into a logarithmic scale (requires all values to be positive).
Sets the range for the vertical axis of the chart.
Sets the range for the vertical axis of the chart. If any data points fall outside the range, the range will be expanded to include those data points.
Sets the vertical axis text style.
Adds a title to the vertical axis.
Adds a title to the vertical axis. The title will be centered and will appear to the left of the value labels.
Sets the vertical axis title text style.
EmbeddedScatterChartBuilder Builder for scatter charts. For more details, see the Gviz documentation.