Gallery
JavaScript Chart FeaturesChart Legend
The legend can be positioned anywhere on the chart area and provides interactivity to turn individual series on or off. Using label tokens, legend entries can be easily customized to display general calculations related to their series.
Uses a pie series as a legend that lets you toggle series visibility by interacting with the pie summary.
Custom legend entry with data sum and line above.
Custom legend entries used to group series in the legend.
Line series with a highlighted point using icon and legend entry.
Custom legend entries with calculations.
Microcharts used in legend columns.
Uses the legend as a data grid to display attributes and calculations.
Legend entry events triggered on hover.
Specifies a custom sort order for legend entries.
Demonstrates positioning the legendbox inside the chart title box.
Demonstrates positioning the legendbox within the chartArea.
Demonstrates positioning the legendbox next to the chart title box automatically.
Show legend entry for each point in a series.
Specifies legend entry text for a specific series.