Animation
Annotations
annotation
is a column role available to DataTable
and
DataView
classes, not to be confused with
Annotation Charts.Axis
- horizontal vs. vertical
- domain vs. target
Callback
Chart Type
ChartEditor
ChartWrapper
Column Role
DataTable
that describes its
purpose. For example, the tooltip
column role is assigned to columns that store tooltip text.
Read more at What
roles are available? and
getColumnRole
Column Type
DataTable
. Column
types can be one of the following:
string
number
boolean
date
datetime
timeofday
getColumnType
.Continuous
Control
Core Charts
corechart
package; read more at
Basic Library Loading.
The core chart types are:
Dashboard
DataTable
DataView
DataTable
. A DataView
can serve as a data source for Google Charts, but
unlike a DataTable
, it is read-only. A DataView
auto-updates when the
underlying DataTable
is changed, with some exceptions. Read more at DataView Class.Discrete
Domain
Event
ready
, select
and onmouseover
. Example: "When the
user clicks 'I want apples,' this throws a userWantsApples
event." Read more at Handling Events.Formatter
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. Google Sheets
Interval
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. Legend
Library Loader
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. Method
Chart
object must expose a draw()
method.Query
Series
DataTable
or 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."Stacking
isStacked
option to true
:
Style
color
, opacity
,
stroke-width
, and stroke-color
. Read more about the
style
column role
in What Roles are Available?Tooltip
tooltip
column role. Read more at
Tooltips.Trendline