LengthMode

public enum LengthMode : String, Encodable

Determines whether this slider length is set in units of plot fraction or in *pixels.

Use len to set the value.

Note

Used by Layout.Slider.lengthMode, ColorBar.lengthMode, GradientMarker.ColorBar.lengthMode, Marker.ColorBar.lengthMode, Heatmap<ZData, XYData>.ColorBar.lengthMode, Histogram<XData, YData>.Marker.ColorBar.lengthMode, Histogram2D<XData, YData, ZData>.ColorBar.lengthMode, Histogram2DContour<XData, YData, ZData>.ColorBar.lengthMode, Contour<ZData, XData, YData>.ColorBar.lengthMode, ScatterTernary<AData, BData, CData>.GradientMarker.ColorBar.lengthMode, Funnel<XData, YData>.Marker.ColorBar.lengthMode, Sunburst<ValuesData>.Marker.ColorBar.lengthMode, Treemap<ValuesData>.Marker.ColorBar.lengthMode, Scatter3D<XData, YData, ZData>.DashedMarkerLine.ColorBar.lengthMode, SymbolicMarker.ColorBar.lengthMode, Surface<ZSurfaceData, XYData>.ColorBar.lengthMode, Isosurface<XData, YData, ZData, ValueData>.ColorBar.lengthMode, Volume<XYZData, ValueData>.ColorBar.lengthMode, Mesh3D<XData, YData, ZData, IntensityData, VertexcolorData, FacecolorData>.ColorBar.lengthMode, Cone<XYZData, UVWData>.ColorBar.lengthMode, StreamTube<XYZData, UVWData>.ColorBar.lengthMode, ScatterGeo<CoordinateData, LocationsData>.GradientMarker.ColorBar.lengthMode, Choropleth<LocationsData, ZData>.ColorBar.lengthMode, ScatterGL<XData, YData>.SymbolicMarker.ColorBar.lengthMode, ScatterPlotMatrix.SymbolicMarker.ColorBar.lengthMode, HeatmapGL<ZData, XYData>.ColorBar.lengthMode, ParallelCoordinates.MarkerLine.ColorBar.lengthMode, ParallelCategories.ShapedMarkerLine.ColorBar.lengthMode, ScatterMapbox<CoordinateData>.SymbolicMarker.ColorBar.lengthMode, ChoroplethMapbox<LocationsData, ZData>.ColorBar.lengthMode, DensityMapbox<CoordinateData, ZData>.ColorBar.lengthMode, ScatterCarpet<AData, BData>.GradientMarker.ColorBar.lengthMode, ContourCarpet<ZData, AData, BData>.ColorBar.lengthMode, ScatterPolar<RData, ThetaData>.GradientMarker.ColorBar.lengthMode, ScatterPolarGL<RData, ThetaData>.SymbolicMarker.ColorBar.lengthMode, BarPolar<RData, ThetaData>.Marker.ColorBar.lengthMode.
  • Undocumented

    Declaration

    Swift

    case fraction
  • Undocumented

    Declaration

    Swift

    case pixels