Show “no data” warning on a chart
tutorial This demo shows how we can use chart series’ davalidated event to display a “no data” message in a modal if data contains no items.
tutorial This demo shows how we can use chart series’ davalidated event to display a “no data” message in a modal if data contains no items.
tutorial This demo shows how we can selectively add series to legend, then toggle multiple series with a single legend item. The code uses series’ on() method to watch for changes in its visible setting, which is triggered when series is toggled via legend. It then hides or shows related series. It also uses series’ legendLabelText […]
tutorial This tutorial will walk through the steps needed to turn legend markers into checkboxes. Adding a check mark Each marker in the legend is created from a template, which is accessible via legend’s markers.template. Besides enabling us to set any setting that would be applied to any new marker created by the legend, a template […]
tutorial This demo shows how we can use setting-bound event to limit open branches in ForceDirectedSeries to one. The following code ensures that all open branches are collapsed, when another branch is expanded.
tutorial This demo shows how we can use events and “ghost labels” to sync width of vertical axes across multiple charts.
tutorial This tutorial will show how we can build a custom loading indicator that can be toggled on and off as needed. The final loading indicator will contain following elements: Main container / curtain. Label Icon Let’s walk through all of them step-by-step. Main container / curtain We will use Container object, placed over chart to […]
tutorial This demo shows how we can dynamically modify labels of the CategoryAxis using an adapter. We need to add an adapter on an axis label template, which is accessible via axis’ renderer: In this particular example, actual category name is being replaced with a different value extracted from data.
tutorial This demo shows how we can use XYCursor event “cursormoved” to automatically apply hover state to each bullet in the same category.
tutorial This demo shows how we can use series settings events to ensure only one series is shown on an XY chart at a time, by toggling off other series automatically.
tutorial Normally, when you click/tap a slice on a Pie chart, it would pull out a little. You can have multiple slices pulled out that way. This tutorial will show how you can set up Pie chart in order to allow only one slice to be pulled at any given time. Task We want the slice […]