Abstract base for all chart types.
<insightdock/chart.h>
class Chart;
| Name | Description |
|---|---|
~Chart [destructor] [virtual] | Destructor |
apply_theme | Apply a ChartTheme to this chart's color and typography options. |
clone [virtual] | Deep copy of this chart, or nullptr if the concrete type doesn't support it. |
draw [virtual] | Draw the chart into an arbitrary DrawTarget (raster, SVG, PDF). |
options | options overloads |
render [virtual] | Render the chart to an RGBA image buffer. |
vector_capability [virtual] | Native drawing support advertised by this chart. |
| Name |
|---|
options_ |
| Name | Description |
|---|---|
detail::build_chart_svg | Render chart as a native-vector SVG document. |
| Name | Description |
|---|---|
CartesianChart
| Abstract base for charts with x/y axes, categories, and multiple series. |
PieChart
| Pie chart rendered to an ImageBuffer. |
ScatterChart
| Scatter chart with continuous numeric x and y axes. |
Subclasses implement render() to produce an ImageBuffer. Use ChartExporter for saving to PNG, JPEG, or PDF.
PieChart, BarChart, LineChart, CartesianChart