TickFormatStop
public struct TickFormatStop : Encodable
Note
Used byXAxis.tickFormatStops, YAxis.tickFormatStops, Ternary.AAxis.tickFormatStops,
Ternary.BAxis.tickFormatStops, Ternary.CAxis.tickFormatStops, Scene.XAxis.tickFormatStops,
Scene.YAxis.tickFormatStops, Scene.ZAxis.tickFormatStops,
Polar.RadialAxis.tickFormatStops, Polar.AngularAxis.tickFormatStops,
ColorBar.tickFormatStops, GradientMarker.ColorBar.tickFormatStops,
Marker.ColorBar.tickFormatStops, Heatmap<ZData, XYData>.ColorBar.tickFormatStops,
Histogram<XData, YData>.Marker.ColorBar.tickFormatStops, Histogram2D<XData, YData,
ZData>.ColorBar.tickFormatStops, Histogram2DContour<XData, YData,
ZData>.ColorBar.tickFormatStops, Contour<ZData, XData, YData>.ColorBar.tickFormatStops,
ScatterTernary<AData, BData, CData>.GradientMarker.ColorBar.tickFormatStops, Funnel<XData,
YData>.Marker.ColorBar.tickFormatStops, Sunburst<ValuesData>.Marker.ColorBar.tickFormatStops,
Treemap<ValuesData>.Marker.ColorBar.tickFormatStops, Scatter3D<XData, YData,
ZData>.DashedMarkerLine.ColorBar.tickFormatStops, SymbolicMarker.ColorBar.tickFormatStops,
Surface<ZSurfaceData, XYData>.ColorBar.tickFormatStops, Isosurface<XData, YData, ZData,
ValueData>.ColorBar.tickFormatStops, Volume<XYZData, ValueData>.ColorBar.tickFormatStops,
Mesh3D<XData, YData, ZData, IntensityData, VertexcolorData,
FacecolorData>.ColorBar.tickFormatStops, Cone<XYZData, UVWData>.ColorBar.tickFormatStops,
StreamTube<XYZData, UVWData>.ColorBar.tickFormatStops, ScatterGeo<CoordinateData,
LocationsData>.GradientMarker.ColorBar.tickFormatStops, Choropleth<LocationsData,
ZData>.ColorBar.tickFormatStops, ScatterGL<XData,
YData>.SymbolicMarker.ColorBar.tickFormatStops,
ScatterPlotMatrix.SymbolicMarker.ColorBar.tickFormatStops, HeatmapGL<ZData,
XYData>.ColorBar.tickFormatStops, ParallelCoordinates.MarkerLine.ColorBar.tickFormatStops,
ParallelCategories.ShapedMarkerLine.ColorBar.tickFormatStops,
ScatterMapbox<CoordinateData>.SymbolicMarker.ColorBar.tickFormatStops,
ChoroplethMapbox<LocationsData, ZData>.ColorBar.tickFormatStops,
DensityMapbox<CoordinateData, ZData>.ColorBar.tickFormatStops,
Indicator.Gauge.Axis.tickFormatStops, Carpet<XData, YData, AData,
BData>.AAxis.tickFormatStops, Carpet<XData, YData, AData, BData>.BAxis.tickFormatStops,
ScatterCarpet<AData, BData>.GradientMarker.ColorBar.tickFormatStops, ContourCarpet<ZData,
AData, BData>.ColorBar.tickFormatStops, ScatterPolar<RData,
ThetaData>.GradientMarker.ColorBar.tickFormatStops, ScatterPolarGL<RData,
ThetaData>.SymbolicMarker.ColorBar.tickFormatStops, BarPolar<RData,
ThetaData>.Marker.ColorBar.tickFormatStops.
-
Determines whether or not this stop is used.
If
false, this stop is ignored even within itsdtickrange.Declaration
Swift
public var enabled: Bool? -
range [min, max], where min, max - dtick values which describe some zoom level, it is possible to omit min or max value by passing null
Declaration
Swift
public var dTickRange: InfoArray? -
string - dtickformat for described zoom level, the same as tickformat
Declaration
Swift
public var value: String? -
When used in a template, named items are created in the output figure in addition to any items the figure already has in this array.
You can modify these items in the output figure by making your own item with
templateitemnamematching thisnamealongside your modifications (includingvisible: falseorenabled: falseto hide it). Has no effect outside of a template.Declaration
Swift
public var name: String? -
Used to refer to a named item in this array in the template.
Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with
templateitemnamematching itsname, alongside your modifications (includingvisible: falseorenabled: falseto hide it). If there is no template or no matching item, this item will be hidden unless you explicitly show it withvisible: true.Declaration
Swift
public var templateItemName: String? -
Creates
TickFormatStopobject with specified properties.Declaration
Swift
public init(enabled: Bool? = nil, dTickRange: InfoArray? = nil, value: String? = nil, name: String? = nil, templateItemName: String? = nil)Parameters
enabledDetermines whether or not this stop is used.
dTickRangerange [min, max], where min, max - dtick values which describe some zoom level, it is possible to omit min or max value by passing null
valuestring - dtickformat for described zoom level, the same as tickformat
nameWhen used in a template, named items are created in the output figure in addition to any items the figure already has in this array.
templateItemNameUsed to refer to a named item in this array in the template.
View on GitHub
Install in Dash
TickFormatStop Structure Reference