If I am using the API incorrectly please let me know. I am not aware of any requirement to wait after using the SciChart API.
It appears the SCILegendModifier has some kind of timing bug. If you draw a chart on a surface with a legend, then clear the chart, then add another plot to the same surface you will notice the legend has stale data. However, if you clear the surface and wait a second before you add the new plot it will work as expected.
I created a sample Xcode project to demonstrate the issue. See the attachment chart.zip
I also created a video to demonstrate the issue: https://youtu.be/1JBTd1sfVgI
I have a workaround so this is not urgent, but I would like to remove the delay for my production release.
Thanks for reporting this. That’s something which is already fixed for the upcoming major release, so i highly doubt that we going to fix it in current version. For now i would suggest you to clean series and add them, because the issue occurs only when the number of old series is equal to new ones. Hope that helps.
Please login first to submit.