Index Filters
You may wish to chart entities that have too many dimensions to render in a 2D chart.
In this case, you can use an index filter to reduce the dimensionality of the index set for your entity, so that the remaining elements can be included in charts.
Use the
vdl-index-filter element as a child of
vdl-chart-series. Its
set attribute takes the name of the index set you wish to use, and its
value attribute the name of the dimension.
<vdl-chart> <vdl-chart-series type="bar" entity="FactorySupply" > <vdl-index-filter set="Factories" value="New York"> </vdl-index-filter> </vdl-chart-series> <vdl-chart-series type="bar" entity="FactoryDemand" > <vdl-index-filter set="Factories" value="Paris"> </vdl-index-filter> </vdl-chart-series> </vdl-chart>