is a column role available to
DataView classes, not to be confused with
- horizontal vs. vertical
- domain vs. target
DataTable that describes its
purpose. For example, the
column role is assigned to columns that store tooltip text.
Read more at What
roles are available? and
types can be one of the following:
corechart package; read more at
Basic Library Loading.
The core chart types are:
DataView can serve as a data source for Google Charts, but
DataTable, it is read-only. A
DataView auto-updates when the
DataTable is changed, with some exceptions. Read more at DataView Class.
onmouseover. Example: "When the
user clicks 'I want apples,' this throws a
userWantsApples event." Read more at Handling Events.
DataTable column is displayed without affecting the underlying
values. Google Charts provides a pre-defined list of formatters and formatter options. For
example, you can use the
prefix option of the NumberFormat formatter to display
the value "1000" as "$1000."
Read more at Formatters.
interval column in order to display it as part of a bar chart. Intervals are most
commonly displayed in line, scatter, and bar charts. Google Charts offers several
styles for displaying intervals; read more at Intervals.
google.charts.load, which loads the Google Charts API library.
Loading the library is necessary whenever you build a web page that uses Google Charts. Read
more at Load the Libraries.
Chart object must expose a
DataView, where each value
corresponds one-to-one with a domain value from the domain column. A series may have one or more
associated columns which have different column roles, e.g. annotation or style roles.
Example: "The following chart demonstrates a chart with two series, one in dark blue, one in light blue."
isStacked option to
stroke-color. Read more about the
style column role
in What Roles are Available?
tooltip column role. Read more at