Force the first and last labels on axis

Type demo

These two demos show how you can use events, axis ranges, and some setting combination to automatically force showing first ant last labels on ValueAxisand DateAxis, even if they fall on non-equal increments, and maintain them across zooms. Chart with two ValueAxis Chart with a ValueAxis and a DateAxis

Using axis ranges to place labels at arbitrary values or dates

Type tutorial

Axes of various types follow their own logic when they choose where to place its grid and labels. However, sometimes you need to place those labels at precisely value X, or on date Y. That’s where axis ranges might come in handy, which is the focus of this tutorial. Prerequisites Just to refresh your memory […]

Simulating individual order of columns within categories

Type demo

This demo will show how you can simulate an order of columns from different ColumnSeries within each category. It uses the following things to achieve it: Each ColumnSeries has clustered = false set so that it always takes up the whole width of the “hidden” categories. Data is manipulated so that each category contains only […]

Axis labels at arbitrary values on GaugeChart

Type demo

Normally, an axis on a GaugeChart will place labels at convenient intervals – so they are not too crammed and not too sparse. It will depend on actual chart size. However, in some case you might want to place labels at exact values, no matter what. This demo will show how you can disable axis […]

Draggable series axis ranges

Type demo

This demo shows how we can create a “series axis range” and make it draggable, dynamically adjusting threshold lines and respective series fills.

Axis ranges in XYChartScrollbar

Type demo

Do you know that XYChartScrollbar is not some mystical new class, but rather a full fledged XYChart. This means that we can do with it anything we can do with a regular chart, including adding axis ranges. This demo does exactly that.

Show last value at the end of LineSeries

Type demo

This demo shows how we can make LineSeries show its last value using two approaches: as a label next to bullet, and as an axis range with a label. Using bullet label Using axis range

Using axis ranges to highlight weekends

Type tutorial

Axis ranges is a good way to highlight specific places or stretches along an axis. This tutorial will show how we can create code to automatically create axis ranges to highlight weekends on a DateAxis. The task Say, we have a chart that shows line series along a date-based axis. To make our user understand […]