This section covers how to chart time series data using Integrated Charts.
Integrated Charts supports the charting of time series data using line and area charts when a time axis is chosen instead of a category or numeric axis.
The example below highlights the differences between time and category axes. Notice that the time axis contains all days for the range of values provided, whereas the category axis only shows axis labels for the discrete values provide.
Columns that contain date object values will be automatically plotted using a Time Axis
unless it has been explicitly changed through the
chartDataType column definition property.
chartDataType='time' on the column definition.
The following snippet shows how different time series values can be configured to enable a time axis:
Notice that no configuration is necessary for date objects but numeric timestamps and calendar date string require
chartDataType='time' is set on the column definitions.
The following example demonstrates how a column containing numeric timestamps can be configured to use a time axis using
chartDataType='time' property on the 'timestamp' column definition:
A time axis can also be used in combination charts as shown in the following example.
For more details on how to configure a combination chart, see the Range Chart API example.
Continue to the next section to learn about: Save / Restore Charts.