Documentation

UI::Plot::PlotBars

Function

void UI::Plot::PlotBars(const string&in label_id, const float[]@ values, double bar_size = 0.67, double shift = 0.0, int flags = UI::Plot::BarsFlags::None)

Plots a bar graph. Vertical by default.

string label_id

const float[]@ values

double bar_size

Size of the bars in plot units.

double shift

How much to shift bars in plot units.

int flags

void UI::Plot::PlotBars(const string&in label_id, const float[]@ xs, const float[]@ ys, double bar_size = 0.67, int flags = UI::Plot::BarsFlags::None)

Plots a bar graph. Vertical by default.

string label_id

const float[]@ xs

const float[]@ ys

double bar_size

Size of the bars in plot units.

int flags