Makes the range axis into a logarithmic scale (requires all values to be positive).

Detailed documentation

build()

Builds the chart.

Return

Chart — a Chart object, which can be embedded into documents, UI elements, or used as a static
image

reverseCategories()

Reverses the drawing of series in the domain axis. For vertical-range charts (such as line,
area or column charts), this means the horizontal axis is drawn from right to left. For
horizontal-range charts (such as bar charts), this means the vertical axis is drawn from top to
bottom. For pie charts, this means the slices are drawn counterclockwise.

Return

setDataTable(table)

Sets the data table which contains the lines for the chart, as well as the X-axis labels. The
first column should be a string, and contain the horizontal axis labels. Any number of columns
can follow, all must be numeric. Each column is displayed as a separate line.

Return

useLogScale()

Makes the range axis into a logarithmic scale (requires all values to be positive). The range
axis will be the vertical axis for vertical charts (line, area, column, etc.) and the
horizontal axis for horizontal charts (bar, etc.)