Plotly Scattergl trace struct. All top-level trace properties are struct fields. Unknown keys raise ArgumentError at construction time.
Nested properties (marker, line, etc.) accept plain maps or keyword lists — keyword lists are automatically normalised to maps before JSON encoding.
Fields
See the Plotly scattergl reference for full descriptions.
:connectgaps— boolean:customdata— data array:dx— number:dy— number:error_x— map (nested properties):error_y— map (nested properties):fill— one of: "none" | "tozeroy" | "tozerox" | "tonexty" | "tonextx" | "toself" | "tonext":fillcolor— color:hoverinfo— flags: "x" | "y" | "z" | "text" | "name" | "all" | "none" | "skip":hoverlabel— map (nested properties):hovertemplate— string:hovertemplatefallback— any:hovertext— string:ids— data array:legend— string (subplot id):legendgroup— string:legendgrouptitle— map (nested properties):legendrank— number:legendwidth— number, 0:line— map (nested properties):marker— map (nested properties):meta— any:mode— flags: "lines" | "markers" | "text" | "none":name— string:opacity— number, 0–1:selected— map (nested properties):selectedpoints— any:showlegend— boolean:text— string:textfont— map (nested properties):textposition— one of: "top left" | "top center" | "top right" | "middle left" | "middle center" | "middle right" | "bottom left" | "bottom center" | "bottom right":texttemplate— string:texttemplatefallback— any:uid— string:uirevision— any:unselected— map (nested properties):visible— one of: true | false | "legendonly":x— data array:x0— any:xaxis— string (subplot id):xcalendar— one of: "chinese" | "coptic" | "discworld" | "ethiopian" | "gregorian" | "hebrew" | "islamic" | "jalali" | "julian" | "mayan" | "nanakshahi" | "nepali" | "persian" | "taiwan" | "thai" | "ummalqura":xhoverformat— string:xperiod— any:xperiod0— any:xperiodalignment— one of: "start" | "middle" | "end":y— data array:y0— any:yaxis— string (subplot id):ycalendar— one of: "chinese" | "coptic" | "discworld" | "ethiopian" | "gregorian" | "hebrew" | "islamic" | "jalali" | "julian" | "mayan" | "nanakshahi" | "nepali" | "persian" | "taiwan" | "thai" | "ummalqura":yhoverformat— string:yperiod— any:yperiod0— any:yperiodalignment— one of: "start" | "middle" | "end"
Summary
Functions
Construct a Scattergl trace. Raises ArgumentError on unknown keys.