Legend

Settings
Description

This sample shows that we can click the legend to show/hide the bubble series. This feature is very useful if you have a lot of data on single chart. It allows user to toggle series visibility and compare different sets of data with each other.

Test the features

  • Note the legend on the top of the chart.
  • Click series items in the legend to toggle their visibility on the chart surface.
  • Play with legend options in the panel below to see its behavior.
  • Go to the 'Sources' tab to see how to setup chart legend through widget initialization.
Documentation