Closed sneaker102 closed 5 months ago
merge
is used to update options after the chart is initialized. So you can try to provide merge
object after delaying for some time, for example, assign merge
within setTimeout
or setInterval
callbacks
Thanks for the fast response but I've tried to delay the merge object and I still have the same errors. I have also to mention that for line and bar charts it works as expected.
Hi, @sneaker102 I create a demo using your chart options: https://jake.stackblitz.com/edit/ngx-echarts-issue-373?file=src/app/app.component.ts but it works as expected. Maybe you can provide more details about your codes that I need to reproduce the issue.
Hi,
I am building a gauge chart that looks like this:
Before implementing the chart in your lib I was creating the options inside echarts example playgraund. These are the options: gouge-thresholds.txt
The issue that I have with your lib is that I can not use the "merge" input of your directive as I did into the playground with the "setInterval" function.
When I provide into the "merge" the data series like this: This errros will appear:
Having this errors the graph will never refresh again.
If the "merge" is undefined than no errors will be thrown but I will get a flickering on the axis labels at init.
Maybe I am doing something wrong and I would like to hear your opinion on this.
Thanks for your work, Razvan I.