Skip to main content

Area

Trace type that fills areas between data points and axes (or other traces). Traces in a Stack Group will only fill to (or be filled to) other traces in the same group. With multiple Stack Groups (or with 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.

Name#

Sets the trace name. The trace name appears as the legend item and on hover.

In the Name text box, the name can be entered and formatted. This is automatically reflected in the Structure > Traces[link] section and in the legend[link] of the plot. The trace name can be also edited directly by double-clicking the trace name in the plot legend.

HTML tags and CSS formatting can be used to enrich text styling.

Legend#

Only available when Style > Legend button Show is pressed

Only available when two or more traces are present.

The legend is a box in the chart that shows the name and appearance of the trace. Although Legend[link] has its own Style entry, in the Traces > Individual tab, legend can be hidden or shown.

Sometimes (a bug we're working on[link]) the legend pane may disappear from the Style > Traces menu; it can be reactivated through the Styles > Legend[link] menu.

Show In Legend#

Only available whenStyle > Legend button is enabled.

  • Show Displays the trace name in the legend; reveals Legend Group popup.
  • Hide Removes the name of the trace from the legend.

Legend Group#

Only available when option Show in Show In Legend above is selected.

Sets the legend group for this trace. Traces that are part of the same legend group hide/show at the same time when toggling legend items.

Width#

Sets the width of the box in data coordinates. If "0" (default value) the width is automatically selected based on the positions of other traces in the same subplot. Chosing 1 puts each box into a separate column, using 2 makes boxes overlap.

Display#

  • Point[link] determines whether to show or hide trace points.
  • Lines[link] determines whether to show or hide trace lines.
  • Text[link] determines whether to show or hide trace text.

The three tick boxes enable or disable extra settings. Depending on the trace type, Points[link], Lines[link] and Text[link] can be styled. For styling each of these elements, see the documentation below.

Points#

Only available when in Display[link] Points is ticked.

Color#

  • Constant The color of points in a trace can be set as a constant using the color picker[link].
  • Variable Allows colors for each point to be defined in a grid column[link].
  • Choose data... Pick a grid column holding the color values with the syntax explained in the standard color picker.

Choose data... option is only available when Variable is chosen first.

Data from a grid column can also be used to specify a color for many chart elements. When color values (syntax as described in Constant) are provided in the grid cells, they will be used to style the elements. When the data in the grid is numerical, categorical color bars will be used.

Colorscale Direction#

Only available when Color is set to Variable.

  • Normal shows increasing values in the chart according to increasing colorscale values.
  • Reversed shows increasing values in the chart according to decreasing colorscale values.

Colorscale Range#

Only available when Color is set to Variable.

  • Auto lets the system map colors to the entire range in the chosen grid area.
  • Custom maps the colorscale between the given min and max, projecting higher values on max and lower values on min.

Min#

Only available when Colorscale Range is set to Custom.

Determines which number is connected to the lower end of the colorscale.

Max#

Only available when Colorscale Range is set to Custom.

Determines which number is connected to the upper end of the colorscale.

Point Opacity#

  • % influences the opacity (transparency) of the chosen color and is combined with the Alpha value of the color[link].

Size#

  • Constant The Constant size is entered in pixel units. Either use the up and down arrows, which uses one-pixel increments, or type into the size text box to enter fractional sizes.
  • Variable Clicking Variable size opens new set of options, which only become visible after a grid column is chosen. Click Variable, then choose a numerical grid column from the pulldown menu.

This reveals Size Scale[link], Size Mode[link] and Minimum Size[link].

Size Scale#

Only available when picking a Data column at Points > Size > Variable[link].

  • factor Sets the scale factor used to determine the rendered size of marker points. Only available when a grid column has been selected in Variable mode. To scale the point size in the grid column for the entire trace click the up and down arrows, which use one-pixel increments, or type into the size scale text box to enter fractional size scale.

Size Mode#

Only available when picking a Data column at Points > Size > Variable[link].

  • Area Points represent numerical values by area, a root scale.
  • Diameter Points represent numerical values by diameter.

Minimum Size#

Only available when picking a Data column at Points > Size > Variable[link].

Only available when a grid column has been selected in Variable mode, to prevent points that represent small numbers from becoming invisible. Enter a minimum size in the text area of this field, or use the up- and down buttons for one-pixel increments.

Symbol#

Use this option to select the shape or symbol representing each data point.

Border Width#

Sets the width of point borders.

Border Color#

Sets the color of point borders.

Max Number Of Points#

To prevent traces from becoming overcrowded, the maximum number of visible points for this trace can be set using this option.

Stacking#

Set several scatter traces (on the same subplot) to the same Stack Group in order to add up their y values (or their x values if orientation is Horizontal). If blank or omitted, this trace will not be stacked. Stacking also turns fill on by default, and sets the default mode to lines, irrespective of point count. You can only stack on a numeric (linear or log) axis. Traces in a stackgroup will only fill to (or be filled to) other traces in the same group. With multiple Stack Groups (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.

Group#

  • None All traces are plotted individually.
  • 'Other choice' Set several scatter traces (on the same subplot) to the same Stack Group in order to add their y values (or their x values if orientation is Horizontal). If blank or omitted, this trace will not be stacked. Stacking also turns fill on by default and sets the default mode to lines, irrespective of point count. You can only stack on a numeric (linear or log) axis. Traces in a stackgroup will only fill to (or be filled to) other traces in the same group. With multiple Stack Groups (or with 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.

Gaps#

Only available when an option different from None is chosen under Group.

Determines whether or not missing data (i.e. 'nan' or missing values) in the provided grid columns are included.

  • Infer Zero will simulate a zero value here.
  • Interpolate will linearly interpolate between existing values and extrapolate a constant beyond the existing values.

Orientation#

Only relevant when Stack Group is used, and only the first orientation found in the Stack Group will be used. Sets the stacking direction.

  • Horizontal The x values of subsequent traces are added. Also affects the default value of Filled Area.
  • Vertical The y values of subsequent traces are added. Also affects the default value of Filled Area.

Normalization#

Sets the normalization for the sum of this Stack Group.

  • None Raw values will be plotted.
  • Fraction The value of each trace at each location is divided by the sum of all trace values at that location.
  • Percent is the same as Fraction, but multiplied by 100 to show percentages.

Lines#

Width#

The width of the line conecting the trace data points can be specified using the up- and down arrows for one pixel increments, or enter the width directly in the text box, which allows fractional pixel values. Values smaller than 0.1 point are effectively invisible on pixel based devices.

Color#

The line color can be set using this popup menu.

Type#

Continuous, dashed or dotted line types can be set using this popup menu.

Shape#

Various shapes of the lines connecting the data points can be selected here.

Connect Gaps#

  • Connect connects the two data points on either side of a data gap caused by missing or NaN (not a number) data.
  • Blank Missing values will break the line and appear as a gap.

Filled Area#

Sets the fill color of the trace area. Defaults to 'none', unless this trace is stacked.

Fill To#

Traces in a Stack Group will only fill to (or be filled to) other traces in the same group. With multiple Stack Groups (or some traces stacked and some not), the later ones will be pushed down in the drawing order.

  • None Only the lines are shown.
  • Y = 0 The trace area is filled to the x-axis in a Horizontal stacking trace and Y=0 is chosen.
  • X = 0 The trace area is filled to the y-axis in a Vertical stacking trace and X=0 is chosen.
  • Previous Y The trace area is filled 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 chart).
  • Previous X fills 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 chart). If there is no trace before it, they behave like Y=0 and X=0.

Color#

Only available if Fill To is not set to None.

The color of the filled area can be set aysing the default color picker[link].

Text#

Text#

The grid column[link], holding the text to be shown for each item on hover, can be chosen here. Only data-containing columns can be selected.

Hover/Tooltip#

When the mouse cursor is hovered over various trace components, extra information can be shown as tooltip as defined in the fields below.

Hover On#

Do the hover effects highlight individual points (markers or line points) or do they highlight filled regions, or both?

Mode#

  • Values will display the values (as plain text) from data grid, as defined in Text settings above.
  • Template shows an edit panel for the template string used for rendering the information text. 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}". Dates and times are formatted using d3-time-format's syntax %{variable|d3-time-format}, for example "Day: %{2019-01-01|%A}".

Show#

When under Text >Text[link] a grid area is chosen, Text appears as an extra option in the Show menu to be displayed when hovering over the plot. When hovering over a trace, each of the values from the grid are shown for X, Y, a text column and the name[link] of the trace if their box is ticked.

Text Alignment#

Sets the horizontal alignment of the text content within the hover label box. Has an effect only if the hover label text spans two or more lines. Alignment of Hover/Tooltip can be set to Auto, Left or Right.