public void Plot(NkChartType type, float[] values, int offset) { fixed(float *ptr = values) { Nk.nk_plot(_ctx, type, ptr, values.Length, offset); } }
public void PlotFunction(NkChartType type, IntPtr userdata, NkFloatValueGetter value_getter, int count, int offset) { Nk.nk_plot_function(_ctx, type, userdata.ToPointer(), value_getter, count, offset); }
public void ChartAddSlot(NkChartType type, int count, float min_value, float max_value) { Nk.nk_chart_add_slot(_ctx, type, count, min_value, max_value); }
public void ChartAddSlotColored(NkChartType type, NkColor color, NkColor highlight, int count, float min_value, float max_value) { Nk.nk_chart_add_slot_colored(_ctx, type, color, highlight, count, min_value, max_value); }
public bool ChartBegin(NkChartType type, int count, float min_value, float max_value) { return(Nk.nk_chart_begin(_ctx, type, count, min_value, max_value) != 0); }
public bool ChartBeginColored(NkChartType type, NkColor color, NkColor highlight, int count, float min_value, float max_value) { return(Nk.nk_chart_begin_colored(_ctx, type, color, highlight, count, min_value, max_value) != 0); }