Tag: legend
- Adding axis ranges to a legendDemo
Axis ranges are data items, so they can be added directly to a Legend data. This demo shows how we can also enhance that capability to replicate axis range appearance in legend markers with custom template setup function.
- Applying custom hover/active states on legend markersDemo
This demo shows how we can define custom states on legend markers to override default hover and active colors.
- Grouping legend items
This short tutorial will introduce two approaches that can be used to group legend items by inserting a label between its items.
- Modifying series/indicator settings modal
This tutorial will show how we can modify items listed in a settings modal that opens when you click series/indicator gear icon in its legend.
- Moving icons of a StockLegend to leftDemo
This demo shows how we can use events to re-arrange items within a StockLegend. Specifically, it moves settings and close icon buttons to the left - before the actual legend label.
- Pie chart with a custom legendDemo
This demo shows how we can modify default appearance of a legend on a PieChart.
- Toggle multiple pie slices via legendDemo
This demo shows how we can use events on a Legend to "inverse" toggle behavior of Pie chart's legend by showing only clicked sliced, while hiding the rest of the slices.
- Toggle slices of multiple nested Pie Series with a single legendDemo
This demo shows how we can use events on legend items to toggle slices of multiple nested Series on a Pie Chart.
- Toggling all series but one using legendDemo
This demo shows how we can change legend behavior to toggle off all series, but the one that was clicked on.
- Using series color for legend labelsDemo
This demo shows how we can make labels of a legend on an XY chart take the color of their corresponding series.