A plot is a collection of axes and traces, and may include a title, legend
and bounding frame.
Use width, height and position to define the size of the plot area
(area where the traces are drawn) and where it is in the figure.
widthnumber — width of the plot area
heightnumber — height of the plot area
xboolean | OBJ_PlotAxis — customize the x axis, or use false
to hide it
yboolean | OBJ_PlotAxis — customize the y axis, or use false
to hide it
axesOBJ_PlotAxis[] — add axes additional to x and y
crossTypeParsablePoint | null — value where the default x and y
axes should cross. If defined, each axis.position will be overridden. If
the cross point is outside of the plot area, then the axes will be drawn on
the border of the plot area. (undefined)
gridboolean — turn on and off the grid - use the grid options
in x axis, y axis or axes for finer customization
titlestring | OBJ_PlotTitle — plot title can be simply a
string or fully customized with OBJ_PlotTitle
legendCOL_PlotLegend — true to turn the legend on,
or use COL_PlotLegend to customize it's location and layout
frameboolean | TypeColor | OBJ_PlotFrame — frame around the
plot can be turned on with true, can be a simple color fill using
Array<number> as a color, or can be fully customized with OBJ_PlotFrame
plotAreaTypeColor | COL_Rectangle — plot area can be a
color fill with TypeColor as a color, or be fully customized with
COL_Rectangle
fontOBJ_Font — Default font for plot (title, axes, labels, etc.)
gestureAreaOBJ_GestureArea — the gesture area is the plot area
by default. Use this property to extend the gesture area beyond the plot
area. This is useful for the user to zoom in on areas on the edge of the
plot area.
autoGridboolean — if true sets the grid for an axes to expand
accross the entire plot area. Set to false if only a partial length grid
is needed (true)
plotAreaLabelsboolean | OBJ_PlotAreaLabelBuffer — if true
then axes with a cross point
will be drawn such that the labels stay within the plot area. So, if the
labels are on the left side of a y axis, and the cross point is out of the
plot area to the left, then instead of the axis being drawn on the left edge
of the plot area, it will be drawn within the plot area such that its labels
are within the plot area (false).
styleThemebox | numberLine | positiveNumberLine — defines
default values for tick, label, axis locations and cross points. ('box')
colorThemelight | dark — defines defaul colors. 'dark'
theme is better on light backgrounds while 'light' theme is better on dark
backgrounds ('dark')
CollectionsPlot options object that extends OBJ_Collection options object (without
parent).A plot is a collection of axes and traces, and may include a title, legend and bounding frame.
Use
width,heightandpositionto define the size of the plot area (area where the traces are drawn) and where it is in the figure.widthnumber— width of the plot areaheightnumber— height of the plot areaxboolean| OBJ_PlotAxis — customize the x axis, or usefalseto hide ityboolean| OBJ_PlotAxis — customize the y axis, or usefalseto hide itaxesOBJ_PlotAxis[] — add axes additional to x and ycrossTypeParsablePoint |null— value where the default x and y axes should cross. If defined, eachaxis.positionwill be overridden. If the cross point is outside of the plot area, then the axes will be drawn on the border of the plot area. (undefined)gridboolean— turn on and off the grid - use the grid options in x axis, y axis or axes for finer customizationtitlestring| OBJ_PlotTitle — plot title can be simply astringor fully customized with OBJ_PlotTitletraceTypeParsablePoint[] | COL_Trace | TypeParsablePoint | COL_Trace[] — Use array if plotting more than one trace. Use COL_Trace to customize the trace.legendCOL_PlotLegend —trueto turn the legend on, or use COL_PlotLegend to customize it's location and layoutframeboolean| TypeColor | OBJ_PlotFrame — frame around the plot can be turned on withtrue, can be a simple color fill usingArray<number>as a color, or can be fully customized with OBJ_PlotFrameplotAreaTypeColor | COL_Rectangle — plot area can be a color fill withTypeColoras a color, or be fully customized with COL_RectanglefontOBJ_Font — Default font for plot (title, axes, labels, etc.)colorTypeColor — Default colorpositionTypeParsablePoint — Position of the plotzoomx|y|xy| OBJ_PlotZoomOptions — options for interactive zoomingpanx|y|xy| OBJ_PlotPanOptions — options for interactive panninggestureAreaOBJ_GestureArea — the gesture area is the plot area by default. Use this property to extend the gesture area beyond the plot area. This is useful for the user to zoom in on areas on the edge of the plot area.autoGridboolean— iftruesets the grid for an axes to expand accross the entire plot area. Set tofalseif only a partial length grid is needed (true)plotAreaLabelsboolean| OBJ_PlotAreaLabelBuffer — iftruethen axes with a cross point will be drawn such that the labels stay within the plot area. So, if the labels are on the left side of a y axis, and the cross point is out of the plot area to the left, then instead of the axis being drawn on the left edge of the plot area, it will be drawn within the plot area such that its labels are within the plot area (false).styleThemebox|numberLine|positiveNumberLine— defines default values for tick, label, axis locations and cross points. ('box')colorThemelight|dark— defines defaul colors.'dark'theme is better on light backgrounds while 'light'theme is better on dark backgrounds ('dark')