Examples
Basic Bubble Series
Attributes
string
Column name for y-axis. Aggregated at the parent combo_chart’s
x=. Omit when using metric.string
Semantic metric name to display, from metrics/*.yaml. Use instead of the raw data/value/x/y attributes.
string
Column name for series grouping
string
default:"y1"
The axis to render the series onAllowed values:
y1y2
string
Format for this series’ values. See Value Formatting for available formats.
array
Extra columns to include in the tooltip on hover. Each entry is
{ value, label?, fmt?, color_by_sign?, down_is_good? }. See the tooltip fields guide for examples.options group
Label each point in the series with its valueExample:Attributes:
- position:
string- Position the label relative to its data point- Allowed values:
abovebelowleftrightmiddle
- Allowed values:
- fmt:
string- Format the label value. Defaults to series or axis fmt.- Allowed values: See Value Formatting for all available formats.
- size:
number- Font size in px - distance:
number- How far the label is from the data point - rotate:
number- Rotate each label (degrees) - color:
string- Change the text color of the labels - border_color:
string- Change the border color surrounding text labels, defaults to chart background - show_overlap:
boolean- Show labels for every point even when they overlap
number
default:"0.7"
The opacity of the series
string
required
Column to use for the size of the bubbles
map
Raw ECharts series options deep-merged into this series only. For overrides that apply to every series on the chart, set
echarts_series_options on the parent chart instead.Example:
