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. accepts expression
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. accepts expression
type Chart type. Should be one of bar, line, scatter or pie.