Other Structures

The following structures are available globally.

Objects

  • 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 by Layout.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.
    See more

    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 if xanchor/yanchor is determined automatically. Padding is muted if the respective anchor value is middle/center.

    See more

    Declaration

    Swift

    public struct Padding : Encodable
  • Note

    Used by Layout.NewShape.line, Layout.Shape.line, Funnel<XData, YData>.Connector.line, Waterfall<XData, YData>.Connector.line, ScatterGeo<CoordinateData, LocationsData>.line.
    See more

    Declaration

    Swift

    public struct DashedLine : Encodable
  • Note

    Used by Layout.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.
    See more

    Declaration

    Swift

    public struct HoverLabel : Encodable
  • Note

    Used by XAxis.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.
    See more

    Declaration

    Swift

    public struct TickFormatStop : Encodable
  • Declaration

    Swift

    public struct Domain : Encodable
  • Note

    Used by Layout.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.
    See more

    Declaration

    Swift

    public struct LegendTitle : Encodable
  • Note

    Used by ColorAxis.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.
    See more

    Declaration

    Swift

    public struct ColorBar : Encodable
  • Sets the font used in hover labels.

    Note

    Used by Scatter<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.
    See more

    Declaration

    Swift

    public struct VariableFont : Encodable
  • Note

    Used by Scatter<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.
    See more

    Declaration

    Swift

    public struct Stream : Encodable
  • Note

    Used by Scatter<XData, YData>.marker, ScatterTernary<AData, BData, CData>.marker, ScatterCarpet<AData, BData>.marker, ScatterPolar<RData, ThetaData>.marker.
    See more

    Declaration

    Swift

    public struct GradientMarker : Encodable
  • Note

    Used by GradientMarker.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.
    See more

    Declaration

    Swift

    public struct MarkerLine : Encodable
  • Note

    Used by GradientMarker.gradient, ScatterTernary<AData, BData, CData>.GradientMarker.gradient, ScatterGeo<CoordinateData, LocationsData>.GradientMarker.gradient, ScatterCarpet<AData, BData>.GradientMarker.gradient, ScatterPolar<RData, ThetaData>.GradientMarker.gradient.
    See more

    Declaration

    Swift

    public struct Gradient : Encodable
  • Note

    Used by Scatter<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.
    See more

    Declaration

    Swift

    public struct Error : Encodable
  • Sets the font used for text lying outside the bar.

    Note

    Used by Bar<XData, YData>.outsideTextFont, Funnel<XData, YData>.outsideTextFont, Waterfall<XData, YData>.outsideTextFont, Pie<LabelsData, ValuesData>.outsideTextFont, Sunburst<ValuesData>.outsideTextFont, Treemap<ValuesData>.outsideTextFont.
    See more

    Declaration

    Swift

    public struct OutsideTextFont : Encodable
  • Note

    Used by Bar<XData, YData>.marker, Histogram<XData, YData>.marker, Funnel<XData, YData>.marker, BarPolar<RData, ThetaData>.marker.
    See more

    Declaration

    Swift

    public struct Marker : Encodable
  • Note

    Used by Box<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.
    See more

    Declaration

    Swift

    public struct Line : Encodable
  • Note

    Used by Histogram<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.
    See more

    Declaration

    Swift

    public struct Bins : Encodable
  • Note

    Used by Histogram2DContour<XData, YData, ZData>.contours, Contour<ZData, XData, YData>.contours, ContourCarpet<ZData, AData, BData>.contours.
    See more

    Declaration

    Swift

    public struct Contours : Encodable
  • Note

    Used by Histogram2DContour<XData, YData, ZData>.line, Contour<ZData, XData, YData>.line, ContourCarpet<ZData, AData, BData>.line.
    See more

    Declaration

    Swift

    public struct SmoothDashedLine : Encodable
  • Note

    Used by ScatterTernary<AData, BData, CData>.line, ScatterCarpet<AData, BData>.line, ScatterPolar<RData, ThetaData>.line.
    See more

    Declaration

    Swift

    public struct ShapedSmoothDashedLine : Encodable
  • Note

    Used by Pie<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.
    See more

    Declaration

    Swift

    public struct VariableLine : Encodable
  • Note

    Used by Scatter3D<XData, YData, ZData>.projection, Surface<ZSurfaceData, XYData>.Contours.X.project, Surface<ZSurfaceData, XYData>.Contours.Y.project, Surface<ZSurfaceData, XYData>.Contours.Z.project.
    See more

    Declaration

    Swift

    public struct Projection : Encodable
  • Note

    Used by Scatter3D<XData, YData, ZData>.marker, ScatterGL<XData, YData>.marker, ScatterPlotMatrix.marker, ScatterPolarGL<RData, ThetaData>.marker.
    See more

    Declaration

    Swift

    public struct SymbolicMarker : Encodable
  • Note

    Used by Surface<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.
    See more

    Declaration

    Swift

    public struct LightPosition : Encodable
  • Note

    Used by Isosurface<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.
    See more

    Declaration

    Swift

    public struct Lighting : Encodable
  • Note

    Used by Isosurface<XData, YData, ZData, ValueData>.contour, Volume<XYZData, ValueData>.contour, Mesh3D<XData, YData, ZData, IntensityData, VertexcolorData, FacecolorData>.contour.
    See more

    Declaration

    Swift

    public struct ContourHover : Encodable

FlagLists

  • Determines which trace information appear on hover.

    If none or skip are set, no information is displayed upon hovering. But, if none is set, click and hover events are still fired.

    Note

    Used by Scatter<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.
    See more

    Declaration

    Swift

    public struct HoverInfo : OptionSet, Encodable
  • Determines the drawing mode for this scatter trace.

    If the provided mode includes text then the text elements appear at the coordinates. Otherwise, the text 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 by Scatter<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.
    See more

    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 by Scatter<XData, YData>.hoverOn, ScatterTernary<AData, BData, CData>.hoverOn, ScatterCarpet<AData, BData>.hoverOn, ScatterPolar<RData, ThetaData>.hoverOn.
    See more

    Declaration

    Swift

    public struct HoverOn : OptionSet, Encodable
  • Determines which trace information appear on hover.

    If none or skip are set, no information is displayed upon hovering. But, if none is set, click and hover events are still fired.

    Note

    Used by ScatterPolar<RData, ThetaData>.hoverInfo, ScatterPolarGL<RData, ThetaData>.hoverInfo, BarPolar<RData, ThetaData>.hoverInfo.
    See more

    Declaration

    Swift

    public struct PolarHoverInfo : OptionSet, Encodable