Tag: events
- Auto-zooming a chart with a value axis on both X and Y
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.
- Automatically adjust maximum width of PieChart labels base on available spaceDemo
This demo shows how we can use events to automatically update maxWidth for truncated slices labels to fit into available space.
- Centering on a clicked node in a Force-Directed TreeDemo
This demo shows how we can use events to affix a clicked node of a Force-Directed Tree to the middle of the chart.
- Custom period selector on XYChartDemo
This demo shows how we can add external buttons to create a custom pre-defined period selector on a regular XYChart.
- Drill-down column chartDemo
This demo shows how we can show aggregated daily data as a column series, then drill-down into hourly data for the day on a click.
- Dynamically adding charts to the same RootDemo
- Get points within current viewport of a MapChartDemo
This demo shows how we can dynamically collect all points from a MapPointSeries that fit within current map viewport.
- Infinite dynamic data loading on Stock ChartDemo
This demo shows how we can catch X-axis over-zoom events and dynamically load missing data on a Stock Chart.
- 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.
- Retaining Y-axis zoom after data updateDemo
Normally, the XY chart will retain previous zoom level on a chart's main axis (usually X-axis) across data updates. However, the Y scale will be updated to fit the new values.
- Rotate and zoom the globe to a clicked countryDemo
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.
- Show country sub-divisions on map closeupDemo
This demo shows how we can automatically load and show country sub-divisions (e.g. states) when the map is significantly zoomed in.
- Syncing axis zooms across multiple charts
This demo shows how we can sync zoom of an X-axes across multiple charts.
- Syncing cursors across multiple horizontally-arranged chartsDemo
This demo shows how we can use XYCursor's cursormoved event to position cursors on other charts simulating the same position.
- Syncing zero grid line across multiple axesDemo
This demo shows how we can use Value axis' private setting events to sync zero-line across multiple axes.
- 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.
- WordCloud with hover effects on wordsDemo
This demo shows how we can add background color to the WordCloud labels, as well as change their appearance on hover.