Type Alias: EChartsToolContext
EChartsToolContext:
object
Defined in: packages/echarts/src/types.ts:32
The context you should provided to run the ECharts tool.
Type declaration
config?
optionalconfig:object
The config for the ECharts.
config.isDraggable?
optionalisDraggable:boolean
Whether the ECharts is draggable.
config.isExpanded?
optionalisExpanded:boolean
Whether the ECharts is expanded.
config.showLoess?
optionalshowLoess:boolean
Whether to show the loess line. Only for scatter plot.
config.showRegressionLine?
optionalshowRegressionLine:boolean
Whether to show the regression line. Only for scatter plot.
config.theme?
optionaltheme:string
The theme of the ECharts.
filteredIndex?
optionalfilteredIndex:number[]
The filtered indices of the ECharts. This can be used to initialize what has been filtered in the ECharts.
getValues
getValues:
GetValues
The function to get the values of the variable from dataset.
onSelected?
optionalonSelected:OnSelected
The function to handle the selected indices of the ECharts. This can be used to get what's highlighted in the ECharts and you can use it to sync the highlight in your own app.