Functions
wg_plot
wg_plot(title) -> struct<guiplot.WidgetPlot>
- title
string
struct<guiplot.WidgetPlot>
plot_ticker
plot_ticker(position, label) -> struct<guiplot.PlotTicker>
- position
float
- label
string
struct<guiplot.PlotTicker>
pt_bar_h
pt_bar_h(title, data) -> struct<guiplot.PlotBarH>
- title
string
- data
[]float
struct<guiplot.PlotBarH>
pt_bar
pt_bar(title, data) -> struct<guiplot.PlotBar>
- title
string
- data
[]float
struct<guiplot.PlotBar>
pt_line
pt_line(title, data) -> struct<guiplot.PlotLine>
- title
string
- data
[]float
struct<guiplot.PlotLine>
pt_line_xy
pt_line_xy(title, xdata, ydata) -> struct<guiplot.PlotLineXY>
- title
string
- xdata
[]float
- ydata
[]float
struct<guiplot.PlotLineXY>
pt_pie_chart
pt_pie_chart(labels, data, x, y, radius) -> struct<guiplot.PlotPieChart>
- labels
[]string
- data
[]float
- x
float
- y
float
- radius
float
struct<guiplot.PlotPieChart>
pt_scatter
pt_scatter(title, data) -> struct<guiplot.PlotScatter>
- title
string
- data
[]float
struct<guiplot.PlotScatter>
pt_scatter_xy
pt_scatter_xy(title, xdata, ydata) -> struct<guiplot.PlotScatterXY>
- title
string
- xdata
[]float
- ydata
[]float
struct<guiplot.PlotScatterXY>
pt_custom
pt_custom(builder) -> struct<guiplot.PlotCustom>
- builder
function()
struct<guiplot.PlotCustom>
Constants
PlotFlags
FLAGPLOT_NONE
FLAGPLOT_NOTITLE
FLAGPLOT_NOLEGEND
FLAGPLOT_NOMOUSETEXT
FLAGPLOT_NOINPUTS
FLAGPLOT_NOMENUS
FLAGPLOT_NOBOXSELECT
FLAGPLOT_NOFRAME
FLAGPLOT_EQUAL
FLAGPLOT_CROSSHAIRS
FLAGPLOT_CANVASONLY
PlotAxis
PLOTAXIS_X1
PLOTAXIS_X2
PLOTAXIS_X3
PLOTAXIS_Y1
PLOTAXIS_Y2
PLOTAXIS_Y3
PLOTAXIS_COUNT
PlotAxisFlags
FLAGPLOTAXIS_NONE
FLAGPLOTAXIS_NOLABEL
FLAGPLOTAXIS_NOGRIDLINES
FLAGPLOTAXIS_NOTICKMARKS
FLAGPLOTAXIS_NOTICKLABELS
FLAGPLOTAXIS_NOINITIALFIT
FLAGPLOTAXIS_NOMENUS
FLAGPLOTAXIS_NOSIDESWITCH
FLAGPLOTAXIS_NOHIGHLIGHT
FLAGPLOTAXIS_OPPOSITE
FLAGPLOTAXIS_FOREGROUND
FLAGPLOTAXIS_INVERT
FLAGPLOTAXIS_AUTOFIT
FLAGPLOTAXIS_RANGEFIT
FLAGPLOTAXIS_PANSTRETCH
FLAGPLOTAXIS_LOCKMIN
FLAGPLOTAXIS_LOCKMAX
FLAGPLOTAXIS_LOCK
FLAGPLOTAXIS_NODECORATIONS
FLAGPLOTAXIS_AUXDEFAULT
PlotYAxis
PLOTYAXIS_LEFT
PLOTYAXIS_FIRSTONRIGHT
PLOTYAXIS_SECONDONRIGHT
PlotType
PLOT_BAR_H
PLOT_BAR
PLOT_LINE
PLOT_LINE_XY
PLOT_PIE_CHART
PLOT_SCATTER
PLOT_SCATTER_XY
PLOT_CUSTOM
PLOT_STYLE
StylePlotColorID
COLIDPLOT_LINE
COLIDPLOT_FILL
COLIDPLOT_MARKEROUTLINE
COLIDPLOT_MARKERFILL
COLIDPLOT_ERRORBAR
COLIDPLOT_FRAMEBG
COLIDPLOT_PLOTBG
COLIDPLOT_PLOTBORDER
COLIDPLOT_LEGENDBG
COLIDPLOT_LEGENDBORDER
COLIDPLOT_LEGENDTEXT
COLIDPLOT_TITLETEXT
COLIDPLOT_INLAYTEXT
COLIDPLOT_AXISTEXT
COLIDPLOT_AXISGRID
COLIDPLOT_AXISTICK
COLIDPLOT_AXISBG
COLIDPLOT_AXISBGHOVERED
COLIDPLOT_AXISBGACTIVE
COLIDPLOT_SELECTION
COLIDPLOT_CROSSHAIRS
StylePlotVar
STYLEPLOTVAR_LINEWEIGHT
STYLEPLOTVAR_MARKER
STYLEPLOTVAR_MARKERSIZE
STYLEPLOTVAR_FILLALPHA
STYLEPLOTVAR_ERRORBARSIZE
STYLEPLOTVAR_ERRORBARWEIGHT
STYLEPLOTVAR_DIGITALBITHEIGHT
STYLEPLOTVAR_DIGITALBITGAP
STYLEPLOTVAR_PLOTBORDERSIZE
STYLEPLOTVAR_MINORALPHA
STYLEPLOTVAR_MAJORTICKLEN
STYLEPLOTVAR_MINORTICKLEN
STYLEPLOTVAR_MAJORTICKSIZE
STYLEPLOTVAR_MINORTICKSIZE
STYLEPLOTVAR_MAJORGRIDSIZE
STYLEPLOTVAR_MINORGRIDSIZE
STYLEPLOTVAR_PLOTPADDING
STYLEPLOTVAR_LABELPADDING
STYLEPLOTVAR_LEGENDPADDING
STYLEPLOTVAR_LEGENDINNERPADDING
STYLEPLOTVAR_LEGENDSPACING
STYLEPLOTVAR_MOUSEPOSPADDING
STYLEPLOTVAR_ANNOTAIONPADDING
STYLEPLOTVAR_FITPADDING
STYLEPLOTVAR_PLOTDEFAULTSIZE
STYLEPLOTVAR_PLOTMINSIZE
Structs
WidgetPlot
- type
string<gui.WidgetType>
- title
string
axis_limits
axis_limits(self, xmin float, xmax float, ymin float, ymax float, cond int<gui.Condition>) -> self
flags
flags(self, flags int<guiplot.PlotFlags>) -> self
set_xaxis_label
set_xaxis_label(self, axis int<guiplot.PlotAxis>, label string) -> self
set_yaxis_label
set_yaxis_label(self, axis int<guiplot.PlotAxis>, label string) -> self
size
size(self, width float, height float) -> self
x_axeflags
x_axeflags(self, flags int<guiplot.PlotAxisFlags>) -> self
xticks
xticks(self, ticks []struct<guiplot.PlotTicker>, default bool) -> self
y_axeflags
y_axeflags(self, flags1 int<guiplot.PlotAxisFlags>, flags2 int<guiplot.PlotAxisFlags>, flags3 int<guiplot.PlotAxisFlags>) -> self
yticks
yticks(self, ticks []struct<guiplot.PlotTicker>) -> self
plots
plots(self, []struct<guiplot.Plot>) -> self
PlotTicker
- position
float
- label
string
PlotBarH
- type
string<guiplot.PlotType>
- title
string
- data
[]float
height
height(self, height float) -> self
offset
offset(self, offset float) -> self
shift
shift(self, shift float) -> self
PlotBar
- type
string<guiplot.PlotType>
- title
string
- data
[]float
width
width(self, width float) -> self
offset
offset(self, offset float) -> self
shift
shift(self, shift float) -> self
PlotLine
- type
string<guiplot.PlotType>
- title
string
- data
[]float
set_plot_y_axis
set_plot_y_axis(self, axis int<guiplot.PlotYAxis>) -> self
offset
offset(self, offset float) -> self
x0
x0(self, x0 float) -> self
xscale
xscale(self, xscale float) -> self
PlotLineXY
- type
string<guiplot.PlotType>
- title
string
- xdata
[]float
- ydata
[]float
set_plot_y_axis
set_plot_y_axis(self, axis int<guiplot.PlotYAxis>) -> self
offset
offset(self, offset float) -> self
PlotPieChart
- type
string<guiplot.PlotType>
- labels
[]string
- data
[]float
- x
float
- y
float
- radius
float
angle0
angle0(self, angle0 float) -> self
label_format
label_format(self, format string) -> self
normalize
normalize(self, bool) -> self
PlotScatter
- type
string<guiplot.PlotType>
- title
string
- data
[]float
offset
offset(self, offset float) -> self
x0
x0(self, x0 float) -> self
xscale
xscale(self, xscale float) -> self
PlotScatterXY
- type
string<guiplot.PlotType>
- title
string
- xdata
[]float
- ydata
[]float
offset
offset(self, offset float) -> self
PlotCustom
- type
string<guiplot.PlotType>
- builder
function()
Interfaces
Plot
- type
string<guiplot.PlotType>