A chart is a collection of plots and related metadata.
Instance methods
boxwidth(boxwidth : Float64)
Sets the default width of boxes.
Sourcedim
Returns the dimensionality of the chart.
All plots in a chart must have the same dimensionality (it's not
currently possible to plot 2D and 3D data simultaneously).
Sourcemargin(left : Float64 | Bool, right : Float64 | Bool, top : Float64 | Bool, bottom : Float64 | Bool)
Sourcemargin(left : Int32 | Bool, right : Int32 | Bool, top : Int32 | Bool, bottom : Int32 | Bool)
Sourcepalette(palette_name : Symbol, colorbox show_colorbox : Bool | Nil = true)
Sourceplot(plot)
Adds a plot to the chart.
Sourceshow_border(show_border : Bool)
Shows/hides the chart border.
Sourceshow_colorbox(show_colorbox : Bool)
Shows/hides the chart colorbox.
Sourceshow_key(show_key : Bool)
Shows/hides the chart key.
Sourceshow_xtics(show_xtics : Bool)
Shows/hides the chart xtics.
Sourceshow_ytics(show_ytics : Bool)
Shows/hides the chart ytics.
Sourcesize
Returns the number of plots.
Sourceview(xrot : Float64, zrot : Float64)
Sets the viewing angle for 3D charts.
Sourceview(xrot : Int32, zrot : Int32)
Sets the viewing angle for 3D charts.
Sourcexlabel(xlabel : String)
Sets the label of the x axis.
Sourcexrange(xrange : Range(Float64, Float64) | Range(Int32, Int32))
Sets the range of the x axis.
Sourcextics(xtics : Hash(Float64, String))
Sets non-numeric tic labels on the x-axis.
Sourceylabel(ylabel : String)
Sets the label of the y axis.
Sourceyrange(yrange : Range(Float64, Float64) | Range(Int32, Int32))
Sets the range of the y axis.
Sourcezlabel(zlabel : String)
Sets the label of the z axis.
Sourcezrange(zrange : Range(Float64, Float64) | Range(Int32, Int32))
Sets the range of the z axis.
Source