annotationis a column role available to
DataViewclasses, not to be confused with Annotation Charts.
- horizontal vs. vertical
- domain vs. target
DataTablethat describes its purpose. For example, the
tooltipcolumn role is assigned to columns that store tooltip text. Read more at What roles are available? and
DataTable. Column types can be one of the following:
corechartpackage; read more at Basic Library Loading. The core chart types are:
DataViewcan serve as a data source for Google Charts, but unlike a
DataTable, it is read-only. A
DataViewauto-updates when the underlying
DataTableis changed, with some exceptions. Read more at DataView Class.
onmouseover. Example: "When the user clicks 'I want apples,' this throws a
userWantsApplesevent." Read more at Handling Events.
DataTablecolumn 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
prefixoption of the NumberFormat formatter to display the value "1000" as "$1000." Read more at Formatters.
intervalcolumn 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.
Chartobject 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."
stroke-color. Read more about the
stylecolumn role in What Roles are Available?
tooltipcolumn role. Read more at Tooltips.