You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've got a method outputting "params" from <v-chart @click='onClick'>, but I need to convert the params value from x and y position to the x-axis label value. In params output, I get: componentIndex : 0 componentSubType : "line" componentType : "series" event : {type: 'click', event: PointerEvent, target: ECPolyline, topTarget: ECPolyline, cancelBubble: false, …} seriesIndex : 0 seriesName : "Line 1" seriesType : "line" type : "click"
The problem is seriesIndex is 0 wherever I click. There is no params.name. Any suggestions?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I've got a method outputting "params" from <v-chart @click='onClick'>, but I need to convert the params value from x and y position to the x-axis label value. In params output, I get:
componentIndex : 0 componentSubType : "line" componentType : "series" event : {type: 'click', event: PointerEvent, target: ECPolyline, topTarget: ECPolyline, cancelBubble: false, …} seriesIndex : 0 seriesName : "Line 1" seriesType : "line" type : "click"
The problem is seriesIndex is 0 wherever I click. There is no params.name. Any suggestions?
Beta Was this translation helpful? Give feedback.
All reactions