sisense.com
✅ You are viewing documentation for the latest version of Compose SDK.
Version:

Interface ScatterChartDataOptions

Configuration for how to query aggregate data and assign data to axes of a Scatter chart.

These charts can include data points scattered on X-Y plane further broken down by categories and encoded by bubble sizes.

Properties

breakByColor

breakByColor?: CalculatedColumn | CalculatedMeasureColumn | Column | MeasureColumn | StyledColumn | StyledMeasureColumn

Select a column by which to break (group) the columns in the chart. This must be a descriptive column. If you select descriptive data, then the points in the chart are grouped into the members of the column. Each member is represented by a different color.

OR

Select a column by which to color the columns in the chart. This must be a numeric column. If you select numeric data, then the point color is a gradient where the highest value is the darkest color and the lowest value is the lightest color.


breakByPoint

breakByPoint?: CalculatedColumn | Column | StyledColumn

A column to be scattered across the chart as circles; one point (circle) appears on the chart for each member of this column. These columns must be descriptive data (not numeric data).

You can only add a break-by point if either the X-axis or the Y-axis was defined to represent numeric data.


seriesToColorMap

seriesToColorMap?: ValueToColorMap

Optional mapping of each of the series created by breakByColor to colors.


size

size?: CalculatedMeasureColumn | MeasureColumn | StyledMeasureColumn

Column that determines the size of the circle. It must be numeric data.


x

x?: CalculatedColumn | CalculatedMeasureColumn | Column | MeasureColumn | StyledColumn | StyledMeasureColumn

A column or measure column whose values are placed on the X-axis.

Typically, the X-axis of a Scatter Chart is used to represent numeric data. Alternatively, Descriptive data is also supported. At most one column is allowed.


y

y?: CalculatedColumn | CalculatedMeasureColumn | Column | MeasureColumn | StyledColumn | StyledMeasureColumn

A column or measure column whose values are placed on the Y-axis.

Typically, the Y-axis of a Scatter Chart is used to represent numeric data. Alternatively, Descriptive data is also supported. At most one column is allowed.

Last Updated: