Other Structures
The following structures are available globally.
-
Note
Used byTernary.AAxis.title
,Ternary.BAxis.title
,Ternary.CAxis.title
,Scene.XAxis.title
,Scene.YAxis.title
,Scene.ZAxis.title
,Polar.RadialAxis.title
.Declaration
Swift
public struct Title : Encodable
extension Title: ExpressibleByStringLiteral
-
Sets the global font.
Note that fonts used in traces and other layout components inherit from the global font.
Note
Used byLayout.font
,Layout.Title.font
,HoverLabel.font
,XAxis.Title.font
,XAxis.tickFont
,XAxis.RangeSelector.font
,YAxis.Title.font
,YAxis.tickFont
,Title.font
,Ternary.AAxis.tickFont
,Ternary.BAxis.Title.font
,Ternary.BAxis.tickFont
,Ternary.CAxis.Title.font
,Ternary.CAxis.tickFont
,Scene.XAxis.Title.font
,Scene.XAxis.tickFont
,Scene.YAxis.Title.font
,Scene.YAxis.tickFont
,Scene.ZAxis.Title.font
,Scene.ZAxis.tickFont
,Scene.Annotation.font
,Scene.Annotation.HoverLabel.font
,Mapbox.Layer.Symbol.textFont
,Polar.RadialAxis.Title.font
,Polar.RadialAxis.tickFont
,Polar.AngularAxis.tickFont
,Layout.Legend.font
,LegendTitle.font
,Layout.Annotation.font
,Layout.Annotation.HoverLabel.font
,Layout.UpdateMenu.font
,Layout.Slider.CurrentValue.font
,Layout.Slider.font
,ColorBar.tickFont
,ColorBar.LegendTitle.font
,GradientMarker.ColorBar.tickFont
,GradientMarker.ColorBar.LegendTitle.font
,Marker.ColorBar.tickFont
,Marker.ColorBar.LegendTitle.font
,Heatmap<ZData, XYData>.ColorBar.tickFont
,Heatmap<ZData, XYData>.ColorBar.LegendTitle.font
,Histogram<XData, YData>.Marker.ColorBar.tickFont
,Histogram<XData, YData>.Marker.ColorBar.LegendTitle.font
,Histogram2D<XData, YData, ZData>.ColorBar.tickFont
,Histogram2D<XData, YData, ZData>.ColorBar.LegendTitle.font
,Contours.labelFont
,Histogram2DContour<XData, YData, ZData>.ColorBar.tickFont
,Histogram2DContour<XData, YData, ZData>.ColorBar.LegendTitle.font
,Contour<ZData, XData, YData>.Contours.labelFont
,Contour<ZData, XData, YData>.ColorBar.tickFont
,Contour<ZData, XData, YData>.ColorBar.LegendTitle.font
,ScatterTernary<AData, BData, CData>.GradientMarker.ColorBar.tickFont
,ScatterTernary<AData, BData, CData>.GradientMarker.ColorBar.LegendTitle.font
,Funnel<XData, YData>.Marker.ColorBar.tickFont
,Funnel<XData, YData>.Marker.ColorBar.LegendTitle.font
,Sunburst<ValuesData>.Marker.ColorBar.tickFont
,Sunburst<ValuesData>.Marker.ColorBar.LegendTitle.font
,Treemap<ValuesData>.Marker.ColorBar.tickFont
,Treemap<ValuesData>.Marker.ColorBar.LegendTitle.font
,Scatter3D<XData, YData, ZData>.DashedMarkerLine.ColorBar.tickFont
,Scatter3D<XData, YData, ZData>.DashedMarkerLine.ColorBar.LegendTitle.font
,SymbolicMarker.ColorBar.tickFont
,SymbolicMarker.ColorBar.LegendTitle.font
,Surface<ZSurfaceData, XYData>.ColorBar.tickFont
,Surface<ZSurfaceData, XYData>.ColorBar.LegendTitle.font
,Isosurface<XData, YData, ZData, ValueData>.ColorBar.tickFont
,Isosurface<XData, YData, ZData, ValueData>.ColorBar.LegendTitle.font
,Volume<XYZData, ValueData>.ColorBar.tickFont
,Volume<XYZData, ValueData>.ColorBar.LegendTitle.font
,Mesh3D<XData, YData, ZData, IntensityData, VertexcolorData, FacecolorData>.ColorBar.tickFont
,Mesh3D<XData, YData, ZData, IntensityData, VertexcolorData, FacecolorData>.ColorBar.LegendTitle.font
,Cone<XYZData, UVWData>.ColorBar.tickFont
,Cone<XYZData, UVWData>.ColorBar.LegendTitle.font
,StreamTube<XYZData, UVWData>.ColorBar.tickFont
,StreamTube<XYZData, UVWData>.ColorBar.LegendTitle.font
,ScatterGeo<CoordinateData, LocationsData>.GradientMarker.ColorBar.tickFont
,ScatterGeo<CoordinateData, LocationsData>.GradientMarker.ColorBar.LegendTitle.font
,Choropleth<LocationsData, ZData>.ColorBar.tickFont
,Choropleth<LocationsData, ZData>.ColorBar.LegendTitle.font
,ScatterGL<XData, YData>.SymbolicMarker.ColorBar.tickFont
,ScatterGL<XData, YData>.SymbolicMarker.ColorBar.LegendTitle.font
,ScatterPlotMatrix.SymbolicMarker.ColorBar.tickFont
,ScatterPlotMatrix.SymbolicMarker.ColorBar.LegendTitle.font
,HeatmapGL<ZData, XYData>.ColorBar.tickFont
,HeatmapGL<ZData, XYData>.ColorBar.LegendTitle.font
,ParallelCoordinates.labelFont
,ParallelCoordinates.tickFont
,ParallelCoordinates.rangeFont
,ParallelCoordinates.MarkerLine.ColorBar.tickFont
,ParallelCoordinates.MarkerLine.ColorBar.LegendTitle.font
,ParallelCategories.labelFont
,ParallelCategories.tickFont
,ParallelCategories.ShapedMarkerLine.ColorBar.tickFont
,ParallelCategories.ShapedMarkerLine.ColorBar.LegendTitle.font
,ScatterMapbox<CoordinateData>.SymbolicMarker.ColorBar.tickFont
,ScatterMapbox<CoordinateData>.SymbolicMarker.ColorBar.LegendTitle.font
,ScatterMapbox<CoordinateData>.textFont
,ChoroplethMapbox<LocationsData, ZData>.ColorBar.tickFont
,ChoroplethMapbox<LocationsData, ZData>.ColorBar.LegendTitle.font
,DensityMapbox<CoordinateData, ZData>.ColorBar.tickFont
,DensityMapbox<CoordinateData, ZData>.ColorBar.LegendTitle.font
,Sankey.textFont
,Indicator.Title.font
,Indicator.Number.font
,Indicator.Delta.font
,Indicator.Gauge.Axis.tickFont
,Carpet<XData, YData, AData, BData>.AAxis.Title.font
,Carpet<XData, YData, AData, BData>.AAxis.tickFont
,Carpet<XData, YData, AData, BData>.BAxis.Title.font
,Carpet<XData, YData, AData, BData>.BAxis.tickFont
,Carpet<XData, YData, AData, BData>.font
,ScatterCarpet<AData, BData>.GradientMarker.ColorBar.tickFont
,ScatterCarpet<AData, BData>.GradientMarker.ColorBar.LegendTitle.font
,ContourCarpet<ZData, AData, BData>.Contours.labelFont
,ContourCarpet<ZData, AData, BData>.ColorBar.tickFont
,ContourCarpet<ZData, AData, BData>.ColorBar.LegendTitle.font
,ScatterPolar<RData, ThetaData>.GradientMarker.ColorBar.tickFont
,ScatterPolar<RData, ThetaData>.GradientMarker.ColorBar.LegendTitle.font
,ScatterPolarGL<RData, ThetaData>.SymbolicMarker.ColorBar.tickFont
,ScatterPolarGL<RData, ThetaData>.SymbolicMarker.ColorBar.LegendTitle.font
,BarPolar<RData, ThetaData>.Marker.ColorBar.tickFont
,BarPolar<RData, ThetaData>.Marker.ColorBar.LegendTitle.font
.Declaration
Swift
public struct Font : Encodable
extension Font: ExpressibleByStringLiteral
-
Sets the padding of the title.
Each padding value only applies when the corresponding
xanchor
/yanchor
value is set accordingly. E.g. for left padding to take effect,xanchor
must be set to left. The same rule applies ifxanchor
/yanchor
is determined automatically. Padding is muted if the respective anchor value is middle/center.Note
Used byLayout.Title.padding
,Layout.UpdateMenu.padding
,Layout.Slider.padding
,Treemap<ValuesData>.Marker.padding
.Declaration
Swift
public struct Padding : Encodable
-
Note
Used byLayout.NewShape.line
,Layout.Shape.line
,Funnel<XData, YData>.Connector.line
,Waterfall<XData, YData>.Connector.line
,ScatterGeo<CoordinateData, LocationsData>.line
.Declaration
Swift
public struct DashedLine : Encodable
-
Note
Used byLayout.hoverLabel
,Scatter<XData, YData>.hoverLabel
,Bar<XData, YData>.hoverLabel
,Box<YData, XData, QData>.hoverLabel
,Heatmap<ZData, XYData>.hoverLabel
,Histogram<XData, YData>.hoverLabel
,Histogram2D<XData, YData, ZData>.hoverLabel
,Histogram2DContour<XData, YData, ZData>.hoverLabel
,Contour<ZData, XData, YData>.hoverLabel
,ScatterTernary<AData, BData, CData>.hoverLabel
,Violin<YData, XData>.hoverLabel
,Funnel<XData, YData>.hoverLabel
,Waterfall<XData, YData>.hoverLabel
,Image<ZData>.hoverLabel
,Pie<LabelsData, ValuesData>.hoverLabel
,Sunburst<ValuesData>.hoverLabel
,Treemap<ValuesData>.hoverLabel
,FunnelArea<LabelsData, ValuesData>.hoverLabel
,Scatter3D<XData, YData, ZData>.hoverLabel
,Surface<ZSurfaceData, XYData>.hoverLabel
,Isosurface<XData, YData, ZData, ValueData>.hoverLabel
,Volume<XYZData, ValueData>.hoverLabel
,Mesh3D<XData, YData, ZData, IntensityData, VertexcolorData, FacecolorData>.hoverLabel
,Cone<XYZData, UVWData>.hoverLabel
,StreamTube<XYZData, UVWData>.hoverLabel
,ScatterGeo<CoordinateData, LocationsData>.hoverLabel
,Choropleth<LocationsData, ZData>.hoverLabel
,ScatterGL<XData, YData>.hoverLabel
,ScatterPlotMatrix.hoverLabel
,PointCloud<XYData>.hoverLabel
,HeatmapGL<ZData, XYData>.hoverLabel
,ScatterMapbox<CoordinateData>.hoverLabel
,ChoroplethMapbox<LocationsData, ZData>.hoverLabel
,DensityMapbox<CoordinateData, ZData>.hoverLabel
,Sankey.hoverLabel
,Sankey.Node.hoverLabel
,Sankey.Link.hoverLabel
,Table<CellData>.hoverLabel
,ScatterCarpet<AData, BData>.hoverLabel
,ScatterPolar<RData, ThetaData>.hoverLabel
,ScatterPolarGL<RData, ThetaData>.hoverLabel
,BarPolar<RData, ThetaData>.hoverLabel
.Declaration
Swift
public struct HoverLabel : 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
.Declaration
Swift
public struct TickFormatStop : Encodable
-
Note
Used byTernary.domain
,Scene.domain
,Geo.domain
,Mapbox.domain
,Polar.domain
,Pie<LabelsData, ValuesData>.domain
,Sunburst<ValuesData>.domain
,Treemap<ValuesData>.domain
,FunnelArea<LabelsData, ValuesData>.domain
,ParallelCoordinates.domain
,ParallelCategories.domain
,Sankey.domain
,Indicator.domain
,Table<CellData>.domain
.Declaration
Swift
public struct Domain : Encodable
-
Note
Used byLayout.Legend.title
,ColorBar.title
,GradientMarker.ColorBar.title
,Marker.ColorBar.title
,Heatmap<ZData, XYData>.ColorBar.title
,Histogram<XData, YData>.Marker.ColorBar.title
,Histogram2D<XData, YData, ZData>.ColorBar.title
,Histogram2DContour<XData, YData, ZData>.ColorBar.title
,Contour<ZData, XData, YData>.ColorBar.title
,ScatterTernary<AData, BData, CData>.GradientMarker.ColorBar.title
,Funnel<XData, YData>.Marker.ColorBar.title
,Sunburst<ValuesData>.Marker.ColorBar.title
,Treemap<ValuesData>.Marker.ColorBar.title
,Scatter3D<XData, YData, ZData>.DashedMarkerLine.ColorBar.title
,SymbolicMarker.ColorBar.title
,Surface<ZSurfaceData, XYData>.ColorBar.title
,Isosurface<XData, YData, ZData, ValueData>.ColorBar.title
,Volume<XYZData, ValueData>.ColorBar.title
,Mesh3D<XData, YData, ZData, IntensityData, VertexcolorData, FacecolorData>.ColorBar.title
,Cone<XYZData, UVWData>.ColorBar.title
,StreamTube<XYZData, UVWData>.ColorBar.title
,ScatterGeo<CoordinateData, LocationsData>.GradientMarker.ColorBar.title
,Choropleth<LocationsData, ZData>.ColorBar.title
,ScatterGL<XData, YData>.SymbolicMarker.ColorBar.title
,ScatterPlotMatrix.SymbolicMarker.ColorBar.title
,HeatmapGL<ZData, XYData>.ColorBar.title
,ParallelCoordinates.MarkerLine.ColorBar.title
,ParallelCategories.ShapedMarkerLine.ColorBar.title
,ScatterMapbox<CoordinateData>.SymbolicMarker.ColorBar.title
,ChoroplethMapbox<LocationsData, ZData>.ColorBar.title
,DensityMapbox<CoordinateData, ZData>.ColorBar.title
,ScatterCarpet<AData, BData>.GradientMarker.ColorBar.title
,ContourCarpet<ZData, AData, BData>.ColorBar.title
,ScatterPolar<RData, ThetaData>.GradientMarker.ColorBar.title
,ScatterPolarGL<RData, ThetaData>.SymbolicMarker.ColorBar.title
,BarPolar<RData, ThetaData>.Marker.ColorBar.title
.Declaration
Swift
public struct LegendTitle : Encodable
-
Note
Used byColorAxis.colorBar
,GradientMarker.colorBar
,Marker.colorBar
,Heatmap<ZData, XYData>.colorBar
,Histogram<XData, YData>.Marker.colorBar
,Histogram2D<XData, YData, ZData>.colorBar
,Histogram2DContour<XData, YData, ZData>.colorBar
,Contour<ZData, XData, YData>.colorBar
,ScatterTernary<AData, BData, CData>.GradientMarker.colorBar
,Funnel<XData, YData>.Marker.colorBar
,Sunburst<ValuesData>.Marker.colorBar
,Treemap<ValuesData>.Marker.colorBar
,Scatter3D<XData, YData, ZData>.DashedMarkerLine.colorBar
,SymbolicMarker.colorBar
,Surface<ZSurfaceData, XYData>.colorBar
,Isosurface<XData, YData, ZData, ValueData>.colorBar
,Volume<XYZData, ValueData>.colorBar
,Mesh3D<XData, YData, ZData, IntensityData, VertexcolorData, FacecolorData>.colorBar
,Cone<XYZData, UVWData>.colorBar
,StreamTube<XYZData, UVWData>.colorBar
,ScatterGeo<CoordinateData, LocationsData>.GradientMarker.colorBar
,Choropleth<LocationsData, ZData>.colorBar
,ScatterGL<XData, YData>.SymbolicMarker.colorBar
,ScatterPlotMatrix.SymbolicMarker.colorBar
,HeatmapGL<ZData, XYData>.colorBar
,ParallelCoordinates.MarkerLine.colorBar
,ParallelCategories.ShapedMarkerLine.colorBar
,ScatterMapbox<CoordinateData>.SymbolicMarker.colorBar
,ChoroplethMapbox<LocationsData, ZData>.colorBar
,DensityMapbox<CoordinateData, ZData>.colorBar
,ScatterCarpet<AData, BData>.GradientMarker.colorBar
,ContourCarpet<ZData, AData, BData>.colorBar
,ScatterPolar<RData, ThetaData>.GradientMarker.colorBar
,ScatterPolarGL<RData, ThetaData>.SymbolicMarker.colorBar
,BarPolar<RData, ThetaData>.Marker.colorBar
.Declaration
Swift
public struct ColorBar : Encodable
-
Sets the font used in hover labels.
Note
Used byScatter<XData, YData>.HoverLabel.font
,Scatter<XData, YData>.textFont
,Bar<XData, YData>.HoverLabel.font
,Bar<XData, YData>.textFont
,Bar<XData, YData>.insideTextFont
,Box<YData, XData, QData>.HoverLabel.font
,Heatmap<ZData, XYData>.HoverLabel.font
,Histogram<XData, YData>.HoverLabel.font
,Histogram2D<XData, YData, ZData>.HoverLabel.font
,Histogram2DContour<XData, YData, ZData>.HoverLabel.font
,Contour<ZData, XData, YData>.HoverLabel.font
,ScatterTernary<AData, BData, CData>.HoverLabel.font
,ScatterTernary<AData, BData, CData>.textFont
,Violin<YData, XData>.HoverLabel.font
,Funnel<XData, YData>.HoverLabel.font
,Funnel<XData, YData>.textFont
,Funnel<XData, YData>.insideTextFont
,Waterfall<XData, YData>.HoverLabel.font
,Waterfall<XData, YData>.textFont
,Waterfall<XData, YData>.insideTextFont
,Image<ZData>.HoverLabel.font
,Pie<LabelsData, ValuesData>.HoverLabel.font
,Pie<LabelsData, ValuesData>.textFont
,Pie<LabelsData, ValuesData>.insideTextFont
,Pie<LabelsData, ValuesData>.Title.font
,Sunburst<ValuesData>.HoverLabel.font
,Sunburst<ValuesData>.textFont
,Sunburst<ValuesData>.insideTextFont
,Treemap<ValuesData>.HoverLabel.font
,Treemap<ValuesData>.PathBar.textFont
,Treemap<ValuesData>.textFont
,Treemap<ValuesData>.insideTextFont
,FunnelArea<LabelsData, ValuesData>.HoverLabel.font
,FunnelArea<LabelsData, ValuesData>.textFont
,FunnelArea<LabelsData, ValuesData>.insideTextFont
,FunnelArea<LabelsData, ValuesData>.Title.font
,Scatter3D<XData, YData, ZData>.HoverLabel.font
,Scatter3D<XData, YData, ZData>.textFont
,Surface<ZSurfaceData, XYData>.HoverLabel.font
,Isosurface<XData, YData, ZData, ValueData>.HoverLabel.font
,Volume<XYZData, ValueData>.HoverLabel.font
,Mesh3D<XData, YData, ZData, IntensityData, VertexcolorData, FacecolorData>.HoverLabel.font
,Cone<XYZData, UVWData>.HoverLabel.font
,StreamTube<XYZData, UVWData>.HoverLabel.font
,ScatterGeo<CoordinateData, LocationsData>.HoverLabel.font
,ScatterGeo<CoordinateData, LocationsData>.textFont
,Choropleth<LocationsData, ZData>.HoverLabel.font
,ScatterGL<XData, YData>.HoverLabel.font
,ScatterGL<XData, YData>.textFont
,ScatterPlotMatrix.HoverLabel.font
,PointCloud<XYData>.HoverLabel.font
,HeatmapGL<ZData, XYData>.HoverLabel.font
,ScatterMapbox<CoordinateData>.HoverLabel.font
,ChoroplethMapbox<LocationsData, ZData>.HoverLabel.font
,DensityMapbox<CoordinateData, ZData>.HoverLabel.font
,Sankey.HoverLabel.font
,Sankey.Node.HoverLabel.font
,Sankey.Link.HoverLabel.font
,Table<CellData>.HoverLabel.font
,Table<CellData>.Header.font
,Table<CellData>.Cells<CellData>.font
,ScatterCarpet<AData, BData>.HoverLabel.font
,ScatterCarpet<AData, BData>.textFont
,OHLC<XData, OHLCData>.HoverLabel.font
,Candlestick<XData, OHLCData>.HoverLabel.font
,ScatterPolar<RData, ThetaData>.HoverLabel.font
,ScatterPolar<RData, ThetaData>.textFont
,ScatterPolarGL<RData, ThetaData>.HoverLabel.font
,ScatterPolarGL<RData, ThetaData>.textFont
,BarPolar<RData, ThetaData>.HoverLabel.font
.Declaration
Swift
public struct VariableFont : Encodable
-
Note
Used byScatter<XData, YData>.stream
,Bar<XData, YData>.stream
,Box<YData, XData, QData>.stream
,Heatmap<ZData, XYData>.stream
,Histogram<XData, YData>.stream
,Histogram2D<XData, YData, ZData>.stream
,Histogram2DContour<XData, YData, ZData>.stream
,Contour<ZData, XData, YData>.stream
,ScatterTernary<AData, BData, CData>.stream
,Violin<YData, XData>.stream
,Funnel<XData, YData>.stream
,Waterfall<XData, YData>.stream
,Image<ZData>.stream
,Pie<LabelsData, ValuesData>.stream
,Sunburst<ValuesData>.stream
,Treemap<ValuesData>.stream
,FunnelArea<LabelsData, ValuesData>.stream
,Scatter3D<XData, YData, ZData>.stream
,Surface<ZSurfaceData, XYData>.stream
,Isosurface<XData, YData, ZData, ValueData>.stream
,Volume<XYZData, ValueData>.stream
,Mesh3D<XData, YData, ZData, IntensityData, VertexcolorData, FacecolorData>.stream
,Cone<XYZData, UVWData>.stream
,StreamTube<XYZData, UVWData>.stream
,ScatterGeo<CoordinateData, LocationsData>.stream
,Choropleth<LocationsData, ZData>.stream
,ScatterGL<XData, YData>.stream
,ScatterPlotMatrix.stream
,PointCloud<XYData>.stream
,HeatmapGL<ZData, XYData>.stream
,ParallelCoordinates.stream
,ParallelCategories.stream
,ScatterMapbox<CoordinateData>.stream
,ChoroplethMapbox<LocationsData, ZData>.stream
,DensityMapbox<CoordinateData, ZData>.stream
,Sankey.stream
,Indicator.stream
,Table<CellData>.stream
,Carpet<XData, YData, AData, BData>.stream
,ScatterCarpet<AData, BData>.stream
,ContourCarpet<ZData, AData, BData>.stream
,OHLC<XData, OHLCData>.stream
,Candlestick<XData, OHLCData>.stream
,ScatterPolar<RData, ThetaData>.stream
,ScatterPolarGL<RData, ThetaData>.stream
,BarPolar<RData, ThetaData>.stream
.Declaration
Swift
public struct Stream : Encodable
-
Note
Used byScatter<XData, YData>.marker
,ScatterTernary<AData, BData, CData>.marker
,ScatterCarpet<AData, BData>.marker
,ScatterPolar<RData, ThetaData>.marker
.Declaration
Swift
public struct GradientMarker : Encodable
-
Note
Used byGradientMarker.line
,Marker.line
,Histogram<XData, YData>.Marker.line
,ScatterTernary<AData, BData, CData>.GradientMarker.line
,Funnel<XData, YData>.Marker.line
,SymbolicMarker.line
,ScatterGeo<CoordinateData, LocationsData>.GradientMarker.line
,ScatterGL<XData, YData>.SymbolicMarker.line
,ScatterPlotMatrix.SymbolicMarker.line
,ScatterCarpet<AData, BData>.GradientMarker.line
,ScatterPolar<RData, ThetaData>.GradientMarker.line
,ScatterPolarGL<RData, ThetaData>.SymbolicMarker.line
,BarPolar<RData, ThetaData>.Marker.line
.Declaration
Swift
public struct MarkerLine : Encodable
-
Note
Used byGradientMarker.gradient
,ScatterTernary<AData, BData, CData>.GradientMarker.gradient
,ScatterGeo<CoordinateData, LocationsData>.GradientMarker.gradient
,ScatterCarpet<AData, BData>.GradientMarker.gradient
,ScatterPolar<RData, ThetaData>.GradientMarker.gradient
.Declaration
Swift
public struct Gradient : Encodable
-
Note
Used byScatter<XData, YData>.xError
,Scatter<XData, YData>.yError
,Bar<XData, YData>.xError
,Bar<XData, YData>.yError
,Histogram<XData, YData>.xError
,Histogram<XData, YData>.yError
,Scatter3D<XData, YData, ZData>.xError
,Scatter3D<XData, YData, ZData>.yError
,Scatter3D<XData, YData, ZData>.zError
,ScatterGL<XData, YData>.xError
,ScatterGL<XData, YData>.yError
.Declaration
Swift
public struct Error : Encodable
-
Sets the font used for
text
lying outside the bar.Note
Used byBar<XData, YData>.outsideTextFont
,Funnel<XData, YData>.outsideTextFont
,Waterfall<XData, YData>.outsideTextFont
,Pie<LabelsData, ValuesData>.outsideTextFont
,Sunburst<ValuesData>.outsideTextFont
,Treemap<ValuesData>.outsideTextFont
.Declaration
Swift
public struct OutsideTextFont : Encodable
-
Note
Used byBar<XData, YData>.marker
,Histogram<XData, YData>.marker
,Funnel<XData, YData>.marker
,BarPolar<RData, ThetaData>.marker
.Declaration
Swift
public struct Marker : Encodable
-
Note
Used byBox<YData, XData, QData>.line
,Violin<YData, XData>.line
,Violin<YData, XData>.Box.line
,Waterfall<XData, YData>.Increasing.Marker.line
,Waterfall<XData, YData>.Decreasing.Marker.line
,Waterfall<XData, YData>.Totals.Marker.line
,ScatterMapbox<CoordinateData>.line
,Indicator.Gauge.Bar.line
,Indicator.Gauge.Step.line
,Indicator.Gauge.Threshold.line
.Declaration
Swift
public struct Line : Encodable
-
Note
Used byHistogram<XData, YData>.xBins
,Histogram<XData, YData>.yBins
,Histogram2D<XData, YData, ZData>.xBins
,Histogram2D<XData, YData, ZData>.yBins
,Histogram2DContour<XData, YData, ZData>.xBins
,Histogram2DContour<XData, YData, ZData>.yBins
.Declaration
Swift
public struct Bins : Encodable
-
Note
Used byHistogram2DContour<XData, YData, ZData>.contours
,Contour<ZData, XData, YData>.contours
,ContourCarpet<ZData, AData, BData>.contours
.Declaration
Swift
public struct Contours : Encodable
-
Note
Used byHistogram2DContour<XData, YData, ZData>.line
,Contour<ZData, XData, YData>.line
,ContourCarpet<ZData, AData, BData>.line
.Declaration
Swift
public struct SmoothDashedLine : Encodable
-
Note
Used byScatterTernary<AData, BData, CData>.line
,ScatterCarpet<AData, BData>.line
,ScatterPolar<RData, ThetaData>.line
.Declaration
Swift
public struct ShapedSmoothDashedLine : Encodable
-
Note
Used byPie<LabelsData, ValuesData>.Marker.line
,Sunburst<ValuesData>.Marker.line
,Treemap<ValuesData>.Marker.line
,FunnelArea<LabelsData, ValuesData>.Marker.line
,Choropleth<LocationsData, ZData>.Marker.line
,ChoroplethMapbox<LocationsData, ZData>.Marker.line
,Sankey.Node.line
,Sankey.Link.line
,Table<CellData>.Header.line
,Table<CellData>.Cells<CellData>.line
.Declaration
Swift
public struct VariableLine : Encodable
-
Note
Used byScatter3D<XData, YData, ZData>.projection
,Surface<ZSurfaceData, XYData>.Contours.X.project
,Surface<ZSurfaceData, XYData>.Contours.Y.project
,Surface<ZSurfaceData, XYData>.Contours.Z.project
.Declaration
Swift
public struct Projection : Encodable
-
Note
Used byScatter3D<XData, YData, ZData>.marker
,ScatterGL<XData, YData>.marker
,ScatterPlotMatrix.marker
,ScatterPolarGL<RData, ThetaData>.marker
.Declaration
Swift
public struct SymbolicMarker : Encodable
-
Note
Used bySurface<ZSurfaceData, XYData>.lightPosition
,Isosurface<XData, YData, ZData, ValueData>.lightPosition
,Volume<XYZData, ValueData>.lightPosition
,Mesh3D<XData, YData, ZData, IntensityData, VertexcolorData, FacecolorData>.lightPosition
,Cone<XYZData, UVWData>.lightPosition
,StreamTube<XYZData, UVWData>.lightPosition
.Declaration
Swift
public struct LightPosition : Encodable
-
Note
Used byIsosurface<XData, YData, ZData, ValueData>.lighting
,Volume<XYZData, ValueData>.lighting
,Mesh3D<XData, YData, ZData, IntensityData, VertexcolorData, FacecolorData>.lighting
,Cone<XYZData, UVWData>.lighting
,StreamTube<XYZData, UVWData>.lighting
.Declaration
Swift
public struct Lighting : Encodable
-
Note
Used byIsosurface<XData, YData, ZData, ValueData>.contour
,Volume<XYZData, ValueData>.contour
,Mesh3D<XData, YData, ZData, IntensityData, VertexcolorData, FacecolorData>.contour
.Declaration
Swift
public struct ContourHover : Encodable
-
Determines which trace information appear on hover.
If
none
orskip
are set, no information is displayed upon hovering. But, ifnone
is set, click and hover events are still fired.Note
Used byScatter<XData, YData>.hoverInfo
,Bar<XData, YData>.hoverInfo
,Box<YData, XData, QData>.hoverInfo
,Heatmap<ZData, XYData>.hoverInfo
,Histogram<XData, YData>.hoverInfo
,Histogram2D<XData, YData, ZData>.hoverInfo
,Histogram2DContour<XData, YData, ZData>.hoverInfo
,Contour<ZData, XData, YData>.hoverInfo
,Violin<YData, XData>.hoverInfo
,Scatter3D<XData, YData, ZData>.hoverInfo
,Surface<ZSurfaceData, XYData>.hoverInfo
,Isosurface<XData, YData, ZData, ValueData>.hoverInfo
,Volume<XYZData, ValueData>.hoverInfo
,Mesh3D<XData, YData, ZData, IntensityData, VertexcolorData, FacecolorData>.hoverInfo
,ScatterGL<XData, YData>.hoverInfo
,ScatterPlotMatrix.hoverInfo
,PointCloud<XYData>.hoverInfo
,HeatmapGL<ZData, XYData>.hoverInfo
,Table<CellData>.hoverInfo
,OHLC<XData, OHLCData>.hoverInfo
,Candlestick<XData, OHLCData>.hoverInfo
.Declaration
Swift
public struct HoverInfo : OptionSet, Encodable
-
Determines the drawing mode for this scatter trace.
If the provided
mode
includes text then thetext
elements appear at the coordinates. Otherwise, thetext
elements appear on hover. If there are less than 20 points and the trace is not stacked then the default is lines+markers. Otherwise, lines.Note
Used byScatter<XData, YData>.mode
,ScatterTernary<AData, BData, CData>.mode
,Scatter3D<XData, YData, ZData>.mode
,ScatterGeo<CoordinateData, LocationsData>.mode
,ScatterGL<XData, YData>.mode
,ScatterMapbox<CoordinateData>.mode
,ScatterCarpet<AData, BData>.mode
,ScatterPolar<RData, ThetaData>.mode
,ScatterPolarGL<RData, ThetaData>.mode
.Declaration
Swift
public struct Mode : OptionSet, Encodable
-
Do the hover effects highlight individual points (markers or line points) or do they highlight filled regions? If the fill is toself or tonext and there are no markers or text, then the default is fills, otherwise it is points.
Note
Used byScatter<XData, YData>.hoverOn
,ScatterTernary<AData, BData, CData>.hoverOn
,ScatterCarpet<AData, BData>.hoverOn
,ScatterPolar<RData, ThetaData>.hoverOn
.Declaration
Swift
public struct HoverOn : OptionSet, Encodable
-
Determines which trace information appear on hover.
If
none
orskip
are set, no information is displayed upon hovering. But, ifnone
is set, click and hover events are still fired.Note
Used byScatterPolar<RData, ThetaData>.hoverInfo
,ScatterPolarGL<RData, ThetaData>.hoverInfo
,BarPolar<RData, ThetaData>.hoverInfo
.Declaration
Swift
public struct PolarHoverInfo : OptionSet, Encodable