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_NONEFLAGPLOT_NOTITLEFLAGPLOT_NOLEGENDFLAGPLOT_NOMOUSETEXTFLAGPLOT_NOINPUTSFLAGPLOT_NOMENUSFLAGPLOT_NOBOXSELECTFLAGPLOT_NOFRAMEFLAGPLOT_EQUALFLAGPLOT_CROSSHAIRSFLAGPLOT_CANVASONLY
PlotAxis
PLOTAXIS_X1PLOTAXIS_X2PLOTAXIS_X3PLOTAXIS_Y1PLOTAXIS_Y2PLOTAXIS_Y3PLOTAXIS_COUNT
PlotAxisFlags
FLAGPLOTAXIS_NONEFLAGPLOTAXIS_NOLABELFLAGPLOTAXIS_NOGRIDLINESFLAGPLOTAXIS_NOTICKMARKSFLAGPLOTAXIS_NOTICKLABELSFLAGPLOTAXIS_NOINITIALFITFLAGPLOTAXIS_NOMENUSFLAGPLOTAXIS_NOSIDESWITCHFLAGPLOTAXIS_NOHIGHLIGHTFLAGPLOTAXIS_OPPOSITEFLAGPLOTAXIS_FOREGROUNDFLAGPLOTAXIS_INVERTFLAGPLOTAXIS_AUTOFITFLAGPLOTAXIS_RANGEFITFLAGPLOTAXIS_PANSTRETCHFLAGPLOTAXIS_LOCKMINFLAGPLOTAXIS_LOCKMAXFLAGPLOTAXIS_LOCKFLAGPLOTAXIS_NODECORATIONSFLAGPLOTAXIS_AUXDEFAULT
PlotYAxis
PLOTYAXIS_LEFTPLOTYAXIS_FIRSTONRIGHTPLOTYAXIS_SECONDONRIGHT
PlotType
PLOT_BAR_HPLOT_BARPLOT_LINEPLOT_LINE_XYPLOT_PIE_CHARTPLOT_SCATTERPLOT_SCATTER_XYPLOT_CUSTOMPLOT_STYLE
StylePlotColorID
COLIDPLOT_LINECOLIDPLOT_FILLCOLIDPLOT_MARKEROUTLINECOLIDPLOT_MARKERFILLCOLIDPLOT_ERRORBARCOLIDPLOT_FRAMEBGCOLIDPLOT_PLOTBGCOLIDPLOT_PLOTBORDERCOLIDPLOT_LEGENDBGCOLIDPLOT_LEGENDBORDERCOLIDPLOT_LEGENDTEXTCOLIDPLOT_TITLETEXTCOLIDPLOT_INLAYTEXTCOLIDPLOT_AXISTEXTCOLIDPLOT_AXISGRIDCOLIDPLOT_AXISTICKCOLIDPLOT_AXISBGCOLIDPLOT_AXISBGHOVEREDCOLIDPLOT_AXISBGACTIVECOLIDPLOT_SELECTIONCOLIDPLOT_CROSSHAIRS
StylePlotVar
STYLEPLOTVAR_LINEWEIGHTSTYLEPLOTVAR_MARKERSTYLEPLOTVAR_MARKERSIZESTYLEPLOTVAR_FILLALPHASTYLEPLOTVAR_ERRORBARSIZESTYLEPLOTVAR_ERRORBARWEIGHTSTYLEPLOTVAR_DIGITALBITHEIGHTSTYLEPLOTVAR_DIGITALBITGAPSTYLEPLOTVAR_PLOTBORDERSIZESTYLEPLOTVAR_MINORALPHASTYLEPLOTVAR_MAJORTICKLENSTYLEPLOTVAR_MINORTICKLENSTYLEPLOTVAR_MAJORTICKSIZESTYLEPLOTVAR_MINORTICKSIZESTYLEPLOTVAR_MAJORGRIDSIZESTYLEPLOTVAR_MINORGRIDSIZESTYLEPLOTVAR_PLOTPADDINGSTYLEPLOTVAR_LABELPADDINGSTYLEPLOTVAR_LEGENDPADDINGSTYLEPLOTVAR_LEGENDINNERPADDINGSTYLEPLOTVAR_LEGENDSPACINGSTYLEPLOTVAR_MOUSEPOSPADDINGSTYLEPLOTVAR_ANNOTAIONPADDINGSTYLEPLOTVAR_FITPADDINGSTYLEPLOTVAR_PLOTDEFAULTSIZESTYLEPLOTVAR_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>