Visible

public enum Visible : Encodable

Determines whether or not this trace is visible.

If legendonly, the trace is not drawn, but can appear as a legend item (provided that the legend itself is visible).

Note

Used by Scatter<XData, YData>.visible, Bar<XData, YData>.visible, Box<YData, XData, QData>.visible, Heatmap<ZData, XYData>.visible, Histogram<XData, YData>.visible, Histogram2D<XData, YData, ZData>.visible, Histogram2DContour<XData, YData, ZData>.visible, Contour<ZData, XData, YData>.visible, ScatterTernary<AData, BData, CData>.visible, Violin<YData, XData>.visible, Funnel<XData, YData>.visible, Waterfall<XData, YData>.visible, Image<ZData>.visible, Pie<LabelsData, ValuesData>.visible, Sunburst<ValuesData>.visible, Treemap<ValuesData>.visible, FunnelArea<LabelsData, ValuesData>.visible, Scatter3D<XData, YData, ZData>.visible, Surface<ZSurfaceData, XYData>.visible, Isosurface<XData, YData, ZData, ValueData>.visible, Volume<XYZData, ValueData>.visible, Mesh3D<XData, YData, ZData, IntensityData, VertexcolorData, FacecolorData>.visible, Cone<XYZData, UVWData>.visible, StreamTube<XYZData, UVWData>.visible, ScatterGeo<CoordinateData, LocationsData>.visible, Choropleth<LocationsData, ZData>.visible, ScatterGL<XData, YData>.visible, ScatterPlotMatrix.visible, PointCloud<XYData>.visible, HeatmapGL<ZData, XYData>.visible, ParallelCoordinates.visible, ParallelCategories.visible, ScatterMapbox<CoordinateData>.visible, ChoroplethMapbox<LocationsData, ZData>.visible, DensityMapbox<CoordinateData, ZData>.visible, Sankey.visible, Indicator.visible, Table<CellData>.visible, Carpet<XData, YData, AData, BData>.visible, ScatterCarpet<AData, BData>.visible, ContourCarpet<ZData, AData, BData>.visible, OHLC<XData, OHLCData>.visible, Candlestick<XData, OHLCData>.visible, ScatterPolar<RData, ThetaData>.visible, ScatterPolarGL<RData, ThetaData>.visible, BarPolar<RData, ThetaData>.visible.
  • on

    Undocumented

    Declaration

    Swift

    case on
  • off

    Undocumented

    Declaration

    Swift

    case off
  • Undocumented

    Declaration

    Swift

    case legendOnly
  • Declaration

    Swift

    public func encode(to encoder: Encoder) throws