Skip to content

Scattergl

Overview

The scattergl trace type is used to create scatter plots with WebGL rendering, making it ideal for handling large datasets and providing high-performance rendering of millions of data points. It supports the same features as scatter, including markers and lines, but with optimized rendering for better performance.

You can customize the marker size, color, and add lines to connect points, similar to the scatter trace type, but with WebGL's performance advantages.

Common Uses

  • Large Datasets: Efficiently visualizing datasets with thousands or millions of points.
  • Performance Optimization: Use when scatter plots with standard rendering struggle with performance.
  • Real-Time Data: Useful for real-time visualizations with large or dynamic datasets.

Check out the Attributes for the full set of configuration options

Examples

Common Configurations

Here's a simple scattergl plot showing data points using WebGL rendering:

You can copy this code below to create this chart in your project:

models:
  - name: scattergl-data
    args:
      - echo
      - |
        x,y
        1,10
        2,20
        3,15
        4,25
        5,30
traces:
  - name: Simple Scattergl Plot
    model: ${ref(scattergl-data)}
    props:
      type: scattergl
      x: ?{x}
      y: ?{y}
      mode: "markers"
charts:
  - name: Simple Scattergl Chart
    traces:
      - ${ref(Simple Scattergl Plot)}
    layout:
      title:
        text: Simple Scattergl Plot<br><sub>High-Performance Scatter Plot with WebGL</sub>

This example demonstrates a scattergl plot with lines connecting the data points using WebGL rendering:

Here's the code:

models:
  - name: scattergl-data-lines
    args:
      - echo
      - |
        x,y
        1,5
        2,10
        3,8
        4,15
        5,12
traces:
  - name: Scattergl Plot with Lines
    model: ${ref(scattergl-data-lines)}
    props:
      type: scattergl
      x: ?{x}
      y: ?{y}
      mode: "lines+markers"
charts:
  - name: Scattergl Chart with Lines
    traces:
      - ${ref(Scattergl Plot with Lines)}
    layout:
      title:
        text: Scattergl Plot with Lines<br><sub>Connecting Data Points with WebGL</sub>

Here's a scattergl plot with custom marker sizes and colors, giving more visual weight to each data point, all rendered with WebGL:

Here's the code:

models:
  - name: scattergl-data-custom
    args:
      - echo
      - |
        x,y,size,color
        1,5,10,#1f77b4
        2,10,15,#ff7f0e
        3,8,20,#2ca02c
        4,15,25,#d62728
        5,12,30,#9467bd
traces:
  - name: Scattergl Plot with Custom Markers
    model: ${ref(scattergl-data-custom)}
    props:
      type: scattergl
      x: ?{x}
      y: ?{y}
      mode: "markers"
      marker:
        size: ?{size}
        color: ?{color}
charts:
  - name: Scattergl Chart with Custom Markers
    traces:
      - ${ref(Scattergl Plot with Custom Markers)}
    layout:
      title:
        text: Scattergl Plot with Custom Markers<br><sub>Custom Sizes and Colors for WebGL Data Points</sub>

A schema to validate plotly trace properties

Attributes

These attributes apply to traces where trace.props.type is set to scattergl. You would configure these attributes on the trace with the trace.props object.

connectgaps: 'boolean' #(1)!
customdata: 'array' #(2)!
customdatasrc: 'string' #(3)!
dx: 'number' #(4)!
dy: 'number' #(5)!
error_x:
  array: 'array' #(6)!
  arrayminus: 'array' #(7)!
  arrayminussrc: 'string' #(8)!
  arraysrc: 'string' #(9)!
  color: 'any' #(10)!
  copy_ystyle: boolean
  symmetric: 'boolean' #(11)!
  thickness: 'number' #(12)!
  traceref: integer
  tracerefminus: integer
  type: 'any' #(13)!
  value: 'number' #(14)!
  valueminus: 'number' #(15)!
  visible: 'boolean' #(16)!
  width: 'number' #(17)!
error_y:
  array: 'array' #(18)!
  arrayminus: 'array' #(19)!
  arrayminussrc: 'string' #(20)!
  arraysrc: 'string' #(21)!
  color: 'any' #(22)!
  symmetric: 'boolean' #(23)!
  thickness: 'number' #(24)!
  traceref: integer
  tracerefminus: integer
  type: 'any' #(25)!
  value: 'number' #(26)!
  valueminus: 'number' #(27)!
  visible: 'boolean' #(28)!
  width: 'number' #(29)!
fill: 'any' #(30)!
fillcolor: 'any' #(31)!
hoverinfo: 'array' #(32)!
hoverinfosrc: 'string' #(33)!
hoverlabel:
  align: 'array' #(34)!
  alignsrc: 'string' #(35)!
  bgcolor: 'color | array' #(36)!
  bgcolorsrc: 'string' #(37)!
  bordercolor: 'color | array' #(38)!
  bordercolorsrc: 'string' #(39)!
  font:
    color: color | array
    colorsrc: 'string' #(40)!
    family: 'string | array' #(41)!
    familysrc: 'string' #(42)!
    lineposition: 'array' #(43)!
    linepositionsrc: 'string' #(44)!
    shadow: 'string | array' #(45)!
    shadowsrc: 'string' #(46)!
    size: number | array
    sizesrc: 'string' #(47)!
    style: 'array' #(48)!
    stylesrc: 'string' #(49)!
    textcase: 'array' #(50)!
    textcasesrc: 'string' #(51)!
    variant: 'array' #(52)!
    variantsrc: 'string' #(53)!
    weight: 'integer | array' #(54)!
    weightsrc: 'string' #(55)!
  namelength: 'integer | array' #(56)!
  namelengthsrc: 'string' #(57)!
hovertemplate: 'string | array' #(58)!
hovertemplatesrc: 'string' #(59)!
hovertext: 'string | array' #(60)!
hovertextsrc: 'string' #(61)!
ids: 'array' #(62)!
idssrc: 'string' #(63)!
legend: 'string' #(64)!
legendgroup: 'string' #(65)!
legendgrouptitle:
  font:
    color: any
    family: 'string' #(66)!
    lineposition: 'string' #(67)!
    shadow: 'string' #(68)!
    size: number
    style: 'any' #(69)!
    textcase: 'any' #(70)!
    variant: 'any' #(71)!
    weight: 'integer' #(72)!
  text: 'string' #(73)!
legendrank: 'number' #(74)!
legendwidth: 'number' #(75)!
line:
  color: 'any' #(76)!
  dash: 'any' #(77)!
  shape: 'any' #(78)!
  width: 'number' #(79)!
marker:
  angle: 'number | array' #(80)!
  anglesrc: 'string' #(81)!
  autocolorscale: 'boolean' #(82)!
  cauto: 'boolean' #(83)!
  cmax: 'number' #(84)!
  cmid: 'number' #(85)!
  cmin: 'number' #(86)!
  color: 'color | array' #(87)!
  coloraxis: 'string' #(88)!
  colorbar:
    bgcolor: 'any' #(89)!
    bordercolor: 'any' #(90)!
    borderwidth: 'number' #(91)!
    exponentformat: 'any' #(92)!
    len: 'number' #(93)!
    lenmode: 'any' #(94)!
    minexponent: 'number' #(95)!
    nticks: 'integer' #(96)!
    orientation: 'any' #(97)!
    outlinecolor: 'any' #(98)!
    outlinewidth: 'number' #(99)!
    separatethousands: 'boolean' #(100)!
    showexponent: 'any' #(101)!
    showticklabels: 'boolean' #(102)!
    showtickprefix: 'any' #(103)!
    showticksuffix: 'any' #(104)!
    thickness: 'number' #(105)!
    thicknessmode: 'any' #(106)!
    tickangle: 'number' #(107)!
    tickcolor: 'any' #(108)!
    tickfont:
      color: any
      family: 'string' #(109)!
      lineposition: 'string' #(110)!
      shadow: 'string' #(111)!
      size: number
      style: 'any' #(112)!
      textcase: 'any' #(113)!
      variant: 'any' #(114)!
      weight: 'integer' #(115)!
    tickformat: 'string' #(116)!
    tickformatstops: array
    ticklabeloverflow: 'any' #(117)!
    ticklabelposition: 'any' #(118)!
    ticklabelstep: 'integer' #(119)!
    ticklen: 'number' #(120)!
    tickmode: 'any' #(121)!
    tickprefix: 'string' #(122)!
    ticks: 'any' #(123)!
    ticksuffix: 'string' #(124)!
    ticktext: 'array' #(125)!
    ticktextsrc: 'string' #(126)!
    tickvals: 'array' #(127)!
    tickvalssrc: 'string' #(128)!
    tickwidth: 'number' #(129)!
    title:
      font:
        color: any
        family: 'string' #(130)!
        lineposition: 'string' #(131)!
        shadow: 'string' #(132)!
        size: number
        style: 'any' #(133)!
        textcase: 'any' #(134)!
        variant: 'any' #(135)!
        weight: 'integer' #(136)!
      side: 'any' #(137)!
      text: 'string' #(138)!
    x: 'number' #(139)!
    xanchor: 'any' #(140)!
    xpad: 'number' #(141)!
    xref: 'any' #(142)!
    y: 'number' #(143)!
    yanchor: 'any' #(144)!
    ypad: 'number' #(145)!
    yref: 'any' #(146)!
  colorscale: 'any' #(147)!
  colorsrc: 'string' #(148)!
  line:
    autocolorscale: 'boolean' #(149)!
    cauto: 'boolean' #(150)!
    cmax: 'number' #(151)!
    cmid: 'number' #(152)!
    cmin: 'number' #(153)!
    color: 'color | array' #(154)!
    coloraxis: 'string' #(155)!
    colorscale: 'any' #(156)!
    colorsrc: 'string' #(157)!
    reversescale: 'boolean' #(158)!
    width: 'number | array' #(159)!
    widthsrc: 'string' #(160)!
  opacity: 'number | array' #(161)!
  opacitysrc: 'string' #(162)!
  reversescale: 'boolean' #(163)!
  showscale: 'boolean' #(164)!
  size: 'number | array' #(165)!
  sizemin: 'number' #(166)!
  sizemode: 'any' #(167)!
  sizeref: 'number' #(168)!
  sizesrc: 'string' #(169)!
  symbol: 'array' #(170)!
  symbolsrc: 'string' #(171)!
metasrc: 'string' #(172)!
mode: 'string' #(173)!
name: 'string' #(174)!
opacity: 'number' #(175)!
selected:
  marker:
    color: 'any' #(176)!
    opacity: 'number' #(177)!
    size: 'number' #(178)!
  textfont:
    color: 'any' #(179)!
showlegend: 'boolean' #(180)!
stream:
  maxpoints: 'number' #(181)!
  token: 'string' #(182)!
text: 'string | array' #(183)!
textfont:
  color: color | array
  colorsrc: 'string' #(184)!
  family: 'string | array' #(185)!
  familysrc: 'string' #(186)!
  size: number | array
  sizesrc: 'string' #(187)!
  style: 'array' #(188)!
  stylesrc: 'string' #(189)!
  variant: 'array' #(190)!
  variantsrc: 'string' #(191)!
  weight: 'array' #(192)!
  weightsrc: 'string' #(193)!
textposition: 'array' #(194)!
textpositionsrc: 'string' #(195)!
textsrc: 'string' #(196)!
texttemplate: 'string | array' #(197)!
texttemplatesrc: 'string' #(198)!
type: scattergl
uid: 'string' #(199)!
unselected:
  marker:
    color: 'any' #(200)!
    opacity: 'number' #(201)!
    size: 'number' #(202)!
  textfont:
    color: 'any' #(203)!
visible: 'any' #(204)!
x: 'array' #(205)!
xaxis: 'string' #(206)!
xcalendar: 'any' #(207)!
xhoverformat: 'string' #(208)!
xperiodalignment: 'any' #(209)!
xsrc: 'string' #(210)!
y: 'array' #(211)!
yaxis: 'string' #(212)!
ycalendar: 'any' #(213)!
yhoverformat: 'string' #(214)!
yperiodalignment: 'any' #(215)!
ysrc: 'string' #(216)!
  1. Determines whether or not gaps (i.e. {nan} or missing values) in the provided data arrays are connected.
  2. Assigns extra data each datum. This may be useful when listening to hover, click and selection events. Note that, scatter traces also appends customdata items in the markers DOM elements
  3. Sets the source reference on Chart Studio Cloud for customdata.
  4. Sets the x coordinate step. See x0 for more info.
  5. Sets the y coordinate step. See y0 for more info.
  6. Sets the data corresponding the length of each error bar. Values are plotted relative to the underlying data.
  7. Sets the data corresponding the length of each error bar in the bottom (left) direction for vertical (horizontal) bars Values are plotted relative to the underlying data.
  8. Sets the source reference on Chart Studio Cloud for arrayminus.
  9. Sets the source reference on Chart Studio Cloud for array.
  10. Sets the stroke color of the error bars.
  11. Determines whether or not the error bars have the same length in both direction (top/bottom for vertical bars, left/right for horizontal bars.
  12. Sets the thickness (in px) of the error bars.
  13. Determines the rule used to generate the error bars. If *constant, the bar lengths are of a constant value. Set this constant invalue. If *percent*, the bar lengths correspond to a percentage of underlying data. Set this percentage invalue. If *sqrt*, the bar lengths correspond to the square of the underlying data. If *data*, the bar lengths are set with data setarray`.
  14. Sets the value of either the percentage (if type is set to percent) or the constant (if type is set to constant) corresponding to the lengths of the error bars.
  15. Sets the value of either the percentage (if type is set to percent) or the constant (if type is set to constant) corresponding to the lengths of the error bars in the bottom (left) direction for vertical (horizontal) bars
  16. Determines whether or not this set of error bars is visible.
  17. Sets the width (in px) of the cross-bar at both ends of the error bars.
  18. Sets the data corresponding the length of each error bar. Values are plotted relative to the underlying data.
  19. Sets the data corresponding the length of each error bar in the bottom (left) direction for vertical (horizontal) bars Values are plotted relative to the underlying data.
  20. Sets the source reference on Chart Studio Cloud for arrayminus.
  21. Sets the source reference on Chart Studio Cloud for array.
  22. Sets the stroke color of the error bars.
  23. Determines whether or not the error bars have the same length in both direction (top/bottom for vertical bars, left/right for horizontal bars.
  24. Sets the thickness (in px) of the error bars.
  25. Determines the rule used to generate the error bars. If *constant, the bar lengths are of a constant value. Set this constant invalue. If *percent*, the bar lengths correspond to a percentage of underlying data. Set this percentage invalue. If *sqrt*, the bar lengths correspond to the square of the underlying data. If *data*, the bar lengths are set with data setarray`.
  26. Sets the value of either the percentage (if type is set to percent) or the constant (if type is set to constant) corresponding to the lengths of the error bars.
  27. Sets the value of either the percentage (if type is set to percent) or the constant (if type is set to constant) corresponding to the lengths of the error bars in the bottom (left) direction for vertical (horizontal) bars
  28. Determines whether or not this set of error bars is visible.
  29. Sets the width (in px) of the cross-bar at both ends of the error bars.
  30. Sets the area to fill with a solid color. Defaults to none unless this trace is stacked, then it gets tonexty (tonextx) if orientation is v (h) Use with fillcolor if not none. tozerox and tozeroy fill to x=0 and y=0 respectively. tonextx and tonexty fill between the endpoints of this trace and the endpoints of the trace before it, connecting those endpoints with straight lines (to make a stacked area graph); if there is no trace before it, they behave like tozerox and tozeroy. toself connects the endpoints of the trace (or each segment of the trace if it has gaps) into a closed shape. tonext fills the space between two traces if one completely encloses the other (eg consecutive contour lines), and behaves like toself if there is no trace before it. tonext should not be used if one trace does not enclose the other. Traces in a stackgroup will only fill to (or be filled to) other traces in the same group. With multiple stackgroups or some traces stacked and some not, if fill-linked traces are not already consecutive, the later ones will be pushed down in the drawing order.
  31. Sets the fill color. Defaults to a half-transparent variant of the line color, marker color, or marker line color, whichever is available.
  32. 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.
  33. Sets the source reference on Chart Studio Cloud for hoverinfo.
  34. Sets the horizontal alignment of the text content within hover label box. Has an effect only if the hover label text spans more two or more lines
  35. Sets the source reference on Chart Studio Cloud for align.
  36. Sets the background color of the hover labels for this trace
  37. Sets the source reference on Chart Studio Cloud for bgcolor.
  38. Sets the border color of the hover labels for this trace.
  39. Sets the source reference on Chart Studio Cloud for bordercolor.
  40. Sets the source reference on Chart Studio Cloud for color.
  41. HTML font family - the typeface that will be applied by the web browser. The web browser can only apply a font if it is available on the system where it runs. Provide multiple font families, separated by commas, to indicate the order in which to apply fonts if they aren't available.
  42. Sets the source reference on Chart Studio Cloud for family.
  43. Sets the kind of decoration line(s) with text, such as an under, over or through as well as combinations e.g. under+over, etc.
  44. Sets the source reference on Chart Studio Cloud for lineposition.
  45. Sets the shape and color of the shadow behind text. auto places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
  46. Sets the source reference on Chart Studio Cloud for shadow.
  47. Sets the source reference on Chart Studio Cloud for size.
  48. Sets whether a font should be styled with a normal or italic face from its family.
  49. Sets the source reference on Chart Studio Cloud for style.
  50. Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
  51. Sets the source reference on Chart Studio Cloud for textcase.
  52. Sets the variant of the font.
  53. Sets the source reference on Chart Studio Cloud for variant.
  54. Sets the weight (or boldness) of the font.
  55. Sets the source reference on Chart Studio Cloud for weight.
  56. Sets the default length (in number of characters) of the trace name in the hover labels for all traces. -1 shows the whole name regardless of length. 0-3 shows the first 0-3 characters, and an integer >3 will show the whole name if it is less than that many characters, but if it is longer, will truncate to namelength - 3 characters and add an ellipsis.
  57. Sets the source reference on Chart Studio Cloud for namelength.
  58. Template string used for rendering the information that appear on hover box. Note that this will override hoverinfo. Variables are inserted using %{variable}, for example "y: %{y}" as well as %{xother}, {%xother}, {%_xother}, {%xother_}. When showing info for several points, xother will be added to those with different x positions from the first point. An underscore before or after (x|y)other will add a space on that side, only when this field is shown. Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{y:$.2f}". https://github.com/d3/d3-format/tree/v1.4.5#d3-format for details on the formatting syntax. Dates are formatted using d3-time-format's syntax %{variable|d3-time-format}, for example "Day: %{2019-01-01|%A}". https://github.com/d3/d3-time-format/tree/v2.2.3#locale_format for details on the date formatting syntax. The variables available in hovertemplate are the ones emitted as event data described at this link https://plotly.com/javascript/plotlyjs-events/#event-data. Additionally, every attributes that can be specified per-point (the ones that are arrayOk: true) are available. Anything contained in tag <extra> is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag <extra></extra>.
  59. Sets the source reference on Chart Studio Cloud for hovertemplate.
  60. Sets hover text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. To be seen, trace hoverinfo must contain a text flag.
  61. Sets the source reference on Chart Studio Cloud for hovertext.
  62. Assigns id labels to each datum. These ids for object constancy of data points during animation. Should be an array of strings, not numbers or any other type.
  63. Sets the source reference on Chart Studio Cloud for ids.
  64. Sets the reference to a legend to show this trace in. References to these legends are legend, legend2, legend3, etc. Settings for these legends are set in the layout, under layout.legend, layout.legend2, etc.
  65. Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items.
  66. HTML font family - the typeface that will be applied by the web browser. The web browser can only apply a font if it is available on the system where it runs. Provide multiple font families, separated by commas, to indicate the order in which to apply fonts if they aren't available.
  67. Sets the kind of decoration line(s) with text, such as an under, over or through as well as combinations e.g. under+over, etc.
  68. Sets the shape and color of the shadow behind text. auto places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
  69. Sets whether a font should be styled with a normal or italic face from its family.
  70. Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
  71. Sets the variant of the font.
  72. Sets the weight (or boldness) of the font.
  73. Sets the title of the legend group.
  74. Sets the legend rank for this trace. Items and groups with smaller ranks are presented on top/left side while with reversed legend.traceorder they are on bottom/right side. The default legendrank is 1000, so that you can use ranks less than 1000 to place certain items before all unranked items, and ranks greater than 1000 to go after all unranked items. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout.
  75. Sets the width (in px or fraction) of the legend for this trace.
  76. Sets the line color.
  77. Sets the style of the lines.
  78. Determines the line shape. The values correspond to step-wise line shapes.
  79. Sets the line width (in px).
  80. Sets the marker angle in respect to angleref.
  81. Sets the source reference on Chart Studio Cloud for angle.
  82. Determines whether the colorscale is a default palette (autocolorscale: true) or the palette determined by marker.colorscale. Has an effect only if in marker.color is set to a numerical array. In case colorscale is unspecified or autocolorscale is true, the default palette will be chosen according to whether numbers in the color array are all positive, all negative or mixed.
  83. Determines whether or not the color domain is computed with respect to the input data (here in marker.color) or the bounds set in marker.cmin and marker.cmax Has an effect only if in marker.color is set to a numerical array. Defaults to false when marker.cmin and marker.cmax are set by the user.
  84. Sets the upper bound of the color domain. Has an effect only if in marker.color is set to a numerical array. Value should have the same units as in marker.color and if set, marker.cmin must be set as well.
  85. Sets the mid-point of the color domain by scaling marker.cmin and/or marker.cmax to be equidistant to this point. Has an effect only if in marker.color is set to a numerical array. Value should have the same units as in marker.color. Has no effect when marker.cauto is false.
  86. Sets the lower bound of the color domain. Has an effect only if in marker.color is set to a numerical array. Value should have the same units as in marker.color and if set, marker.cmax must be set as well.
  87. Sets the marker color. It accepts either a specific color or an array of numbers that are mapped to the colorscale relative to the max and min values of the array or relative to marker.cmin and marker.cmax if set.
  88. Sets a reference to a shared color axis. References to these shared color axes are coloraxis, coloraxis2, coloraxis3, etc. Settings for these shared color axes are set in the layout, under layout.coloraxis, layout.coloraxis2, etc. Note that multiple color scales can be linked to the same color axis.
  89. Sets the color of padded area.
  90. Sets the axis line color.
  91. Sets the width (in px) or the border enclosing this color bar.
  92. Determines a formatting rule for the tick exponents. For example, consider the number 1,000,000,000. If none, it appears as 1,000,000,000. If e, 1e+9. If E, 1E+9. If power, 1x10^9 (with 9 in a super script). If SI, 1G. If B, 1B.
  93. Sets the length of the color bar This measure excludes the padding of both ends. That is, the color bar length is this length minus the padding on both ends.
  94. Determines whether this color bar's length (i.e. the measure in the color variation direction) is set in units of plot fraction or in *pixels. Use len to set the value.
  95. Hide SI prefix for 10^n if |n| is below this number. This only has an effect when tickformat is SI or B.
  96. Specifies the maximum number of ticks for the particular axis. The actual number of ticks will be chosen automatically to be less than or equal to nticks. Has an effect only if tickmode is set to auto.
  97. Sets the orientation of the colorbar.
  98. Sets the axis line color.
  99. Sets the width (in px) of the axis line.
  100. If "true", even 4-digit integers are separated
  101. If all, all exponents are shown besides their significands. If first, only the exponent of the first tick is shown. If last, only the exponent of the last tick is shown. If none, no exponents appear.
  102. Determines whether or not the tick labels are drawn.
  103. If all, all tick labels are displayed with a prefix. If first, only the first tick is displayed with a prefix. If last, only the last tick is displayed with a suffix. If none, tick prefixes are hidden.
  104. Same as showtickprefix but for tick suffixes.
  105. Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels.
  106. Determines whether this color bar's thickness (i.e. the measure in the constant color direction) is set in units of plot fraction or in pixels. Use thickness to set the value.
  107. Sets the angle of the tick labels with respect to the horizontal. For example, a tickangle of -90 draws the tick labels vertically.
  108. Sets the tick color.
  109. HTML font family - the typeface that will be applied by the web browser. The web browser can only apply a font if it is available on the system where it runs. Provide multiple font families, separated by commas, to indicate the order in which to apply fonts if they aren't available.
  110. Sets the kind of decoration line(s) with text, such as an under, over or through as well as combinations e.g. under+over, etc.
  111. Sets the shape and color of the shadow behind text. auto places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
  112. Sets whether a font should be styled with a normal or italic face from its family.
  113. Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
  114. Sets the variant of the font.
  115. Sets the weight (or boldness) of the font.
  116. Sets the tick label formatting rule using d3 formatting mini-languages which are very similar to those in Python. For numbers, see: https://github.com/d3/d3-format/tree/v1.4.5#d3-format. And for dates see: https://github.com/d3/d3-time-format/tree/v2.2.3#locale_format. We add two items to d3's date formatter: %h for half of the year as a decimal number as well as %{n}f for fractional seconds with n digits. For example, 2016-10-13 09:15:23.456 with tickformat %H~%M~%S.%2f would display 09~15~23.46
  117. Determines how we handle tick labels that would overflow either the graph div or the domain of the axis. The default value for inside tick labels is hide past domain. In other cases the default is hide past div.
  118. Determines where tick labels are drawn relative to the ticks. Left and right options are used when orientation is h, top and bottom when orientation is v.
  119. Sets the spacing between tick labels as compared to the spacing between ticks. A value of 1 (default) means each tick gets a label. A value of 2 means shows every 2nd label. A larger value n means only every nth tick is labeled. tick0 determines which labels are shown. Not implemented for axes with type log or multicategory, or when tickmode is array.
  120. Sets the tick length (in px).
  121. Sets the tick mode for this axis. If auto, the number of ticks is set via nticks. If linear, the placement of the ticks is determined by a starting position tick0 and a tick step dtick (linear is the default value if tick0 and dtick are provided). If array, the placement of the ticks is set via tickvals and the tick text is ticktext. (array is the default value if tickvals is provided).
  122. Sets a tick label prefix.
  123. Determines whether ticks are drawn or not. If , this axis' ticks are not drawn. If outside (inside), this axis' are drawn outside (inside) the axis lines.
  124. Sets a tick label suffix.
  125. Sets the text displayed at the ticks position via tickvals. Only has an effect if tickmode is set to array. Used with tickvals.
  126. Sets the source reference on Chart Studio Cloud for ticktext.
  127. Sets the values at which ticks on this axis appear. Only has an effect if tickmode is set to array. Used with ticktext.
  128. Sets the source reference on Chart Studio Cloud for tickvals.
  129. Sets the tick width (in px).
  130. HTML font family - the typeface that will be applied by the web browser. The web browser can only apply a font if it is available on the system where it runs. Provide multiple font families, separated by commas, to indicate the order in which to apply fonts if they aren't available.
  131. Sets the kind of decoration line(s) with text, such as an under, over or through as well as combinations e.g. under+over, etc.
  132. Sets the shape and color of the shadow behind text. auto places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
  133. Sets whether a font should be styled with a normal or italic face from its family.
  134. Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
  135. Sets the variant of the font.
  136. Sets the weight (or boldness) of the font.
  137. Determines the location of color bar's title with respect to the color bar. Defaults to top when orientation if v and defaults to right when orientation if h.
  138. Sets the title of the color bar.
  139. Sets the x position with respect to xref of the color bar (in plot fraction). When xref is paper, defaults to 1.02 when orientation is v and 0.5 when orientation is h. When xref is container, defaults to 1 when orientation is v and 0.5 when orientation is h. Must be between 0 and 1 if xref is container and between -2 and 3 if xref is paper.
  140. Sets this color bar's horizontal position anchor. This anchor binds the x position to the left, center or right of the color bar. Defaults to left when orientation is v and center when orientation is h.
  141. Sets the amount of padding (in px) along the x direction.
  142. Sets the container x refers to. container spans the entire width of the plot. paper refers to the width of the plotting area only.
  143. Sets the y position with respect to yref of the color bar (in plot fraction). When yref is paper, defaults to 0.5 when orientation is v and 1.02 when orientation is h. When yref is container, defaults to 0.5 when orientation is v and 1 when orientation is h. Must be between 0 and 1 if yref is container and between -2 and 3 if yref is paper.
  144. Sets this color bar's vertical position anchor This anchor binds the y position to the top, middle or bottom of the color bar. Defaults to middle when orientation is v and bottom when orientation is h.
  145. Sets the amount of padding (in px) along the y direction.
  146. Sets the container y refers to. container spans the entire height of the plot. paper refers to the height of the plotting area only.
  147. Sets the colorscale. Has an effect only if in marker.color is set to a numerical array. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, or named color string. At minimum, a mapping for the lowest (0) and highest (1) values are required. For example, [[0, 'rgb(0,0,255)'], [1, 'rgb(255,0,0)']]. To control the bounds of the colorscale in color space, use marker.cmin and marker.cmax. Alternatively, colorscale may be a palette name string of the following list: Blackbody,Bluered,Blues,Cividis,Earth,Electric,Greens,Greys,Hot,Jet,Picnic,Portland,Rainbow,RdBu,Reds,Viridis,YlGnBu,YlOrRd.
  148. Sets the source reference on Chart Studio Cloud for color.
  149. Determines whether the colorscale is a default palette (autocolorscale: true) or the palette determined by marker.line.colorscale. Has an effect only if in marker.line.color is set to a numerical array. In case colorscale is unspecified or autocolorscale is true, the default palette will be chosen according to whether numbers in the color array are all positive, all negative or mixed.
  150. Determines whether or not the color domain is computed with respect to the input data (here in marker.line.color) or the bounds set in marker.line.cmin and marker.line.cmax Has an effect only if in marker.line.color is set to a numerical array. Defaults to false when marker.line.cmin and marker.line.cmax are set by the user.
  151. Sets the upper bound of the color domain. Has an effect only if in marker.line.color is set to a numerical array. Value should have the same units as in marker.line.color and if set, marker.line.cmin must be set as well.
  152. Sets the mid-point of the color domain by scaling marker.line.cmin and/or marker.line.cmax to be equidistant to this point. Has an effect only if in marker.line.color is set to a numerical array. Value should have the same units as in marker.line.color. Has no effect when marker.line.cauto is false.
  153. Sets the lower bound of the color domain. Has an effect only if in marker.line.color is set to a numerical array. Value should have the same units as in marker.line.color and if set, marker.line.cmax must be set as well.
  154. Sets the marker.line color. It accepts either a specific color or an array of numbers that are mapped to the colorscale relative to the max and min values of the array or relative to marker.line.cmin and marker.line.cmax if set.
  155. Sets a reference to a shared color axis. References to these shared color axes are coloraxis, coloraxis2, coloraxis3, etc. Settings for these shared color axes are set in the layout, under layout.coloraxis, layout.coloraxis2, etc. Note that multiple color scales can be linked to the same color axis.
  156. Sets the colorscale. Has an effect only if in marker.line.color is set to a numerical array. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, or named color string. At minimum, a mapping for the lowest (0) and highest (1) values are required. For example, [[0, 'rgb(0,0,255)'], [1, 'rgb(255,0,0)']]. To control the bounds of the colorscale in color space, use marker.line.cmin and marker.line.cmax. Alternatively, colorscale may be a palette name string of the following list: Blackbody,Bluered,Blues,Cividis,Earth,Electric,Greens,Greys,Hot,Jet,Picnic,Portland,Rainbow,RdBu,Reds,Viridis,YlGnBu,YlOrRd.
  157. Sets the source reference on Chart Studio Cloud for color.
  158. Reverses the color mapping if true. Has an effect only if in marker.line.color is set to a numerical array. If true, marker.line.cmin will correspond to the last color in the array and marker.line.cmax will correspond to the first color.
  159. Sets the width (in px) of the lines bounding the marker points.
  160. Sets the source reference on Chart Studio Cloud for width.
  161. Sets the marker opacity.
  162. Sets the source reference on Chart Studio Cloud for opacity.
  163. Reverses the color mapping if true. Has an effect only if in marker.color is set to a numerical array. If true, marker.cmin will correspond to the last color in the array and marker.cmax will correspond to the first color.
  164. Determines whether or not a colorbar is displayed for this trace. Has an effect only if in marker.color is set to a numerical array.
  165. Sets the marker size (in px).
  166. Has an effect only if marker.size is set to a numerical array. Sets the minimum size (in px) of the rendered marker points.
  167. Has an effect only if marker.size is set to a numerical array. Sets the rule for which the data in size is converted to pixels.
  168. Has an effect only if marker.size is set to a numerical array. Sets the scale factor used to determine the rendered size of marker points. Use with sizemin and sizemode.
  169. Sets the source reference on Chart Studio Cloud for size.
  170. Sets the marker symbol type. Adding 100 is equivalent to appending -open to a symbol name. Adding 200 is equivalent to appending -dot to a symbol name. Adding 300 is equivalent to appending -open-dot or dot-open to a symbol name.
  171. Sets the source reference on Chart Studio Cloud for symbol.
  172. Sets the source reference on Chart Studio Cloud for meta.
  173. Determines the drawing mode for this scatter trace.
  174. Sets the trace name. The trace name appears as the legend item and on hover.
  175. Sets the opacity of the trace.
  176. Sets the marker color of selected points.
  177. Sets the marker opacity of selected points.
  178. Sets the marker size of selected points.
  179. Sets the text font color of selected points.
  180. Determines whether or not an item corresponding to this trace is shown in the legend.
  181. Sets the maximum number of points to keep on the plots from an incoming stream. If maxpoints is set to 50, only the newest 50 points will be displayed on the plot.
  182. The stream id number links a data trace on a plot with a stream. See https://chart-studio.plotly.com/settings for more details.
  183. Sets text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. If trace hoverinfo contains a text flag and hovertext is not set, these elements will be seen in the hover labels.
  184. Sets the source reference on Chart Studio Cloud for color.
  185. HTML font family - the typeface that will be applied by the web browser. The web browser can only apply a font if it is available on the system where it runs. Provide multiple font families, separated by commas, to indicate the order in which to apply fonts if they aren't available.
  186. Sets the source reference on Chart Studio Cloud for family.
  187. Sets the source reference on Chart Studio Cloud for size.
  188. Sets whether a font should be styled with a normal or italic face from its family.
  189. Sets the source reference on Chart Studio Cloud for style.
  190. Sets the variant of the font.
  191. Sets the source reference on Chart Studio Cloud for variant.
  192. Sets the weight (or boldness) of the font.
  193. Sets the source reference on Chart Studio Cloud for weight.
  194. Sets the positions of the text elements with respects to the (x,y) coordinates.
  195. Sets the source reference on Chart Studio Cloud for textposition.
  196. Sets the source reference on Chart Studio Cloud for text.
  197. Template string used for rendering the information text that appear on points. Note that this will override textinfo. Variables are inserted using %{variable}, for example "y: %{y}". Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{y:$.2f}". https://github.com/d3/d3-format/tree/v1.4.5#d3-format for details on the formatting syntax. Dates are formatted using d3-time-format's syntax %{variable|d3-time-format}, for example "Day: %{2019-01-01|%A}". https://github.com/d3/d3-time-format/tree/v2.2.3#locale_format for details on the date formatting syntax. Every attributes that can be specified per-point (the ones that are arrayOk: true) are available.
  198. Sets the source reference on Chart Studio Cloud for texttemplate.
  199. Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions.
  200. Sets the marker color of unselected points, applied only when a selection exists.
  201. Sets the marker opacity of unselected points, applied only when a selection exists.
  202. Sets the marker size of unselected points, applied only when a selection exists.
  203. Sets the text font color of unselected points, applied only when a selection exists.
  204. 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).
  205. Sets the x coordinates.
  206. Sets a reference between this trace's x coordinates and a 2D cartesian x axis. If x (the default value), the x coordinates refer to layout.xaxis. If x2, the x coordinates refer to layout.xaxis2, and so on.
  207. Sets the calendar system to use with x date data.
  208. Sets the hover text formatting rulefor x using d3 formatting mini-languages which are very similar to those in Python. For numbers, see: https://github.com/d3/d3-format/tree/v1.4.5#d3-format. And for dates see: https://github.com/d3/d3-time-format/tree/v2.2.3#locale_format. We add two items to d3's date formatter: %h for half of the year as a decimal number as well as %{n}f for fractional seconds with n digits. For example, 2016-10-13 09:15:23.456 with tickformat %H~%M~%S.%2f would display 09~15~23.46By default the values are formatted using xaxis.hoverformat.
  209. Only relevant when the axis type is date. Sets the alignment of data points on the x axis.
  210. Sets the source reference on Chart Studio Cloud for x.
  211. Sets the y coordinates.
  212. Sets a reference between this trace's y coordinates and a 2D cartesian y axis. If y (the default value), the y coordinates refer to layout.yaxis. If y2, the y coordinates refer to layout.yaxis2, and so on.
  213. Sets the calendar system to use with y date data.
  214. Sets the hover text formatting rulefor y using d3 formatting mini-languages which are very similar to those in Python. For numbers, see: https://github.com/d3/d3-format/tree/v1.4.5#d3-format. And for dates see: https://github.com/d3/d3-time-format/tree/v2.2.3#locale_format. We add two items to d3's date formatter: %h for half of the year as a decimal number as well as %{n}f for fractional seconds with n digits. For example, 2016-10-13 09:15:23.456 with tickformat %H~%M~%S.%2f would display 09~15~23.46By default the values are formatted using yaxis.hoverformat.
  215. Only relevant when the axis type is date. Sets the alignment of data points on the y axis.
  216. Sets the source reference on Chart Studio Cloud for y.