Debian Codegraph @

opts/brush.go

raw symbols SCIP
1 package opts
2
3 // Brush is an area-selecting component, with which user can select part of data from a chart to display in detail, or do calculations with them.
4 // https://echarts.apache.org/en/option.html#brush
5 type Brush struct {
6 // XAxisIndex Assigns which of the xAxisIndex can use brush selecting.
7 XAxisIndex interface{} `json:"xAxisIndex,omitempty"`
8
9 // Brushlink is a mapping of dataIndex. So data of every series with brushLink should be guaranteed to correspond to the other.
10 Brushlink interface{} `json:"brushlink,omitempty"`
11
12 // OutOfBrush Defines visual effects of items out of selection
13 OutOfBrush *BrushOutOfBrush `json:"outOfBrush,omitempty"`
14 }
15
16 // BrushOutOfBrush
17 // https://echarts.apache.org/en/option.html#brush.outOfBrush
18 type BrushOutOfBrush struct {
19 ColorAlpha float32 `json:"colorAlpha,omitempty"`
20 }