Properties
chart
A chart series belongs to
bullets
List of bullets to use for the series
bulletsContainer
A Container series’ bullets are stored in
Data and Display
Name of the series
A key to look up in data for a numeric value of the data item
A key to look up in data for a numeric customValue of the data item
A key to look up in data for an id of the data item
Legend
A text template to be used for label in legend
A text template to be used for value label in legend
A data item representing series in a Legend
Animation
If set to
true the series initial animation will be played item by item rather than all at onceA delay in milliseconds to wait before starting animation of next data item
Styling
Series stroke color
Series fill color
Series fill pattern
Heat Rules
A list of heat rules to apply on series elements
Aggregates
If set to
true, series will calculate aggregate values, e.g. change percent, high, low, etc.A list of field names to exclude from automatic aggregation when
calculateAggregates is enabledMethods
startIndex()
Returns current start index of the series.Start index
endIndex()
Returns current end index of the series.End index
addBullet()
Adds bullet directly to a data item.Target data item
Bullet instance (not a function)
showDataItem()
Shows series’s data item.Data item
Animation duration in milliseconds
Promise that resolves when animation completes
hideDataItem()
Hides series’s data item.Data item
Animation duration in milliseconds
Promise that resolves when animation completes
updateLegendValue()
Updates legend label and value for a data item.Data item to update legend for
updateLegendMarker()
Updates legend marker for a data item.Data item to update legend marker for
hoverDataItem()
Triggers hover state on a data item.Data item to hover
unhoverDataItem()
Removes hover state from a data item.Data item to unhover
Heat Rules
Heat rules allow you to set visual properties of series elements based on their values.IHeatRule Interface
Target template
Which data field to use when determining item’s value
A setting key to set
The setting value to use for items with the lowest value
The setting value to use for items with the highest value
The setting value to use for items which do not have value at all
Custom lowest value
Custom highest value
Use logarithmic scale when calculating intermediate setting values
A custom function that will set target element’s settings
Example
Data Item Properties
Series data items have the following properties:Data item identifier
Main numeric value
Working value (used during animations)
Change from first value
Percent change from first value
Change within current selection
Percent change within current selection
Change from previous value
Percent change from previous value
Custom numeric value
Whether data item is visible