File tree Expand file tree Collapse file tree 2 files changed +6
-11
lines changed
lib/components/data-vis/line-chart
wrappers/components/data-vis/line-chart/line-chart Expand file tree Collapse file tree 2 files changed +6
-11
lines changed Original file line number Diff line number Diff line change 97
97
clickedTier = $bindable (undefined ),
98
98
overrideLineParams = () => ({}),
99
99
getLine = (tier , el ) => {
100
+ if (tier === " hover" ) {
101
+ return [hoveredSeries].includes (el .areaCode );
102
+ }
103
+ if (tier === " clicked" ) {
104
+ return [clickedSeries].includes (el .areaCode );
105
+ }
100
106
return true ;
101
107
},
102
108
nothingSelected = true ,
Original file line number Diff line number Diff line change 100
100
pathStrokeWidth : 5 ,
101
101
},
102
102
}}
103
- getLine ={(tier , el ) => {
104
- if (tier === " all" ) {
105
- return true ;
106
- }
107
- if (tier === " hover" ) {
108
- return [hoveredSeries ].includes (el .areaCode );
109
- }
110
- if (tier === " clicked" ) {
111
- return [clickedSeries ].includes (el .areaCode );
112
- }
113
- }}
114
103
bind:clickedSeries
115
104
bind:hoveredSeries
116
105
></LineChart >
You can’t perform that action at this time.
0 commit comments