Skip to main content

Creating a Pie Chart

SciChart provides a powerful API for creating various types of charts, including Pie Charts.

Use buildPieChart📘 to create a Pie Chart:

const { buildPieChart } = SciChart;

const pieSurface = buildPieChart(divElementId, {
segments: [
{ text: "This", value: 10, color: "red" },
{ text: "That", value: 5, color: "blue" },
{ text: "Other", value: 7, color: "green" }
]
});

See Also​