Skip to content

Documentation v1.0.0


Documentation / @openassistant/echarts / getSimpleScatterChartOption

Function: getSimpleScatterChartOption() ​

getSimpleScatterChartOption(xVariableName, xData, yVariableName, yData): object

Defined in: components/echarts/src/scatterplot/simple-chart-option.ts:17

Internal

Parameters ​

xVariableName ​

string

xData ​

number[]

yVariableName ​

string

yData ​

number[]

Returns ​

object

animation ​

animation: boolean = false

backgroundColor ​

backgroundColor: string = 'transparent'

brush ​

brush: object

brush.inBrush ​

inBrush: object

brush.inBrush.color ​

color: string = 'red'

brush.inBrush.opacity ​

opacity: number = 1.0

brush.outOfBrush ​

outOfBrush: object

brush.outOfBrush.opacity ​

opacity: number = 0.4

brush.toolbox ​

toolbox: string[]

brush.xAxisIndex ​

xAxisIndex: number = 0

brush.yAxisIndex ​

yAxisIndex: number = 0

grid ​

grid: object

grid.bottom ​

bottom: string = '3%'

grid.containLabel ​

containLabel: boolean = true

grid.left ​

left: string = '3%'

grid.right ​

right: string = '5%'

progressive ​

progressive: number = 0

series ​

series: object[]

title ​

title: object

title.left ​

left: string = 'center'

title.text ​

text: string

title.textStyle ​

textStyle: object

title.textStyle.fontSize ​

fontSize: number = 10

title.top ​

top: number = 10

tooltip ​

tooltip: object

tooltip.axisPointer ​

axisPointer: object

tooltip.axisPointer.type ​

type: string = 'cross'

tooltip.formatter() ​

formatter: (params) => string

Parameters ​
params ​
value ​

number[]

Returns ​

string

tooltip.trigger ​

trigger: string = 'item'

tooltip.zlevel ​

zlevel: number = 1000000

xAxis ​

xAxis: object

xAxis.axisLabel ​

axisLabel: object

xAxis.axisLabel.formatter() ​

formatter: (value) => string = numericFormatter

Formats a number to a more human-readable format, using compact notation

Parameters ​
value ​

number

The number to format

Returns ​

string

The formatted number

xAxis.splitLine ​

splitLine: object

xAxis.splitLine.show ​

show: boolean = false

xAxis.type ​

type: string = 'value'

yAxis ​

yAxis: object

yAxis.axisLabel ​

axisLabel: object

yAxis.axisLabel.formatter() ​

formatter: (value) => string = numericFormatter

Formats a number to a more human-readable format, using compact notation

Parameters ​
value ​

number

The number to format

Returns ​

string

The formatted number

yAxis.splitLine ​

splitLine: object

yAxis.splitLine.show ​

show: boolean = false

yAxis.type ​

type: string = 'value'

Released under the MIT License.