Hi,
I am trying to develop an multi y axis charts . I can successfully add a series[] and add yaxis[] array. All charts are showing gr8. But When I try to remove the series, I just slice the series array as well as chartOptions yaxis[] array. When I completely removed all series, I see still an element in yaxis[] while series[] is successfully removed all element. Surprisingly I see the length of the Yaxis[] after slice is 0 but when I inspect vue tool in chrome , I see a default yaxis object element in yaxis[] inside chartOptions. One noticeable thing i observed, while series element and chartOptions is reactive( I declared them with ref), yaxis array and element is not reactive. I am sure I am doing some mess up or not updating chartOptions correctly or someting wrong with vue reactive update process. Please help me find the Issue. I am sharing code as well as vue dev tool info
Once I insert one series the prop value is like
height:"350"
options:Reactive
chart:Reactive
animations:Reactive
xaxis:Reactive
yaxis:Array[1]
0:Object
annotations:Reactive
legend:Reactive
series:Array[1]
0:Reactive
type:"line"
width:"1000"
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hi, I am trying to develop an multi y axis charts . I can successfully add a series[] and add yaxis[] array. All charts are showing gr8. But When I try to remove the series, I just slice the series array as well as chartOptions yaxis[] array. When I completely removed all series, I see still an element in yaxis[] while series[] is successfully removed all element. Surprisingly I see the length of the Yaxis[] after slice is 0 but when I inspect vue tool in chrome , I see a default yaxis object element in yaxis[] inside chartOptions. One noticeable thing i observed, while series element and chartOptions is reactive( I declared them with ref), yaxis array and element is not reactive. I am sure I am doing some mess up or not updating chartOptions correctly or someting wrong with vue reactive update process. Please help me find the Issue. I am sharing code as well as vue dev tool info
`
Vue dev tool
Once I insert one series the prop value is like height:"350" options:Reactive chart:Reactive animations:Reactive xaxis:Reactive yaxis:Array[1] 0:Object annotations:Reactive legend:Reactive series:Array[1] 0:Reactive type:"line" width:"1000"
after deleting the series
height:"350" options:Reactive chart:Reactive animations:Reactive xaxis:Reactive yaxis:Array[1] 0:Object axisBorder:Object axisTicks:Object crosshairs:Object decimalsInFloat:undefined floating:false forceNiceScale:false labels:Object logBase:10 logarithmic:false max:undefined min:undefined opposite:false reversed:false seriesName:undefined show:true showAlways:false showForNullSeries:true tickAmount:undefined title:Object tooltip:Object annotations:Reactive legend:Reactive series:Array[0] type:"line" width:"1000"
Object I found after delete all series in yaxis is
Which I didnt add. How does this element is added to yaxis ?