Type demo This demo shows how we can use events on legend items to toggle slices of multiple nested Series on a Pie Chart. Code The code below catches click events on legend’s containers, extracts category of a licked slice, iterates through data items of a different series, to toggle on or off a data item with […]
Type demo This demo shows how we can rotate the MapChart with an Orthographic projection (globe) so that it is centered on a clicked country, then zoom in to it. Code Example
Type demo 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. Code Example
Type demo This demo shows how we can dynamically add live charts to a Container in a single Root element.
Type demo This demo shows how we can add background color to the WordCloud labels, as well as change their appearance on hover. Code Note the setStateOnChildren: true and interactive: true in label configuration. The former ensures that “hover” state is triggered on all label children, including background, when it is hovered. The latter makes label “interactive”. […]
Type demo This demo shows how we can change legend behavior to toggle off all series, but the one that was clicked on.
Type tutorial This demo shows how we can sync zoom of an X-axes across multiple charts. Code The function that performs syncing: Using events to monitor changes to start and end settings on each axis: Demo
Type tutorial If the chart has a ValueAxis as both of its axes, it would not auto-zoom vertically when panned/zoomed. It’s by design. This demo shows how to implement this functionality.