Donut Chart
Apart from high performance data visualization features, LightningChart JS also includes commonly needed standard features, such as Pie charts:
// Creation of donut chart
const lc = lightningChart()
const donutChart = lc.Pie()
.setInnerRadius(60)
Donut chart is technically just a Pie chart with configured "inner radius" property. For majority of guidance, refer to Pie chart.
Displaying a title inside Donut chart
This title can be added as an UI element positioned at chart center. For more information see:
- Donut chart online example
- UI elements guide