Initializing help system before first use

vdl-chart-series

Use a vdl-chart-series tag to supply data to the chart. Must supply either an "entity" or "data" attribute.

Required parent element

Must be contained within one of the following elements:

Example

<vdl-chart title="Factory Supply vs Demand">
	...
	<vdl-chart-series entity="RealArray" />
	...
</vdl-chart>

Attributes

data Use this attribute to supply data using a dynamic expression. requires expression
disable-set-sorting By default the index sets of an array entity bound to a chart series will be sorted using any defined set comparators or falling back to sorting based on the set entity type. This option allows index sorting to be disabled, where performance is being affected. Set the value to "true" to disable set sorting for this chart series.
entity Use this attribute to supply data from a model entity array.
labels List of labels to use for this chart series. accepts expression
scenario The scenario id or index to fetch entity data from accepts expression
series-set With a two dimensional array the index set that is iterated over
series-set-position Index (zero-based) of occurrence of that index set in the index tuple for the array. Defaults to zero.
sorter Sort function (comparator) for this chart series. requires expression
type Chart type. Should be one of bar, line, scatter or pie.