Documentation

UI::Plot::PlotPieChart

Function

void UI::Plot::PlotPieChart(const string[]@ label_ids, const float[]@ values, double x = 0.0, double y = 0.0, double radius = 1.0, const string&in label_fmt = "%.1f", double angle0 = 90.0, int flags = UI::Plot::PieChartFlags::None)

Plots a pie chart. Center and radius are in plot units.

const string[]@ label_ids

const float[]@ values

double x

X position in plot units.

double y

Y position in plot units.

double radius

Radius of the pie chart in plot units.

string label_fmt

Can be set to an empty string for no labels.

double angle0

int flags