SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, iOS Chart, Android Chart and JavaScript Chart Components
I’m updating from Xamarin iOS SciChart v2 to v3 and just hit the issue that i can not use a custom TickProvider because there is no overridable UpdateTicks method.
I could not find any TickProvider code in the v3 Examples so the docs are my only source:
https://www.scichart.com/documentation/ios/current/axis-ticks—tickprovider-and-deltacalculator-api.html
According to the docs, I should override SCINumericTickProvider or SCIDateTickProvider
class CustomNumericTickProvider: SCINumericTickProvider
{
public override void UpdateTicks(SCIDoubleValues minorTicks, SCIDoubleValues majorTicks)
{
//...
}
}
But there is no UpdateTicks method to override.
I tried to override the Update() method instead:
public override void Update()
{
Ticks.Clear();
Ticks.MajorTicks.Add(5);
//...
}
But that is just causing a freeze/crash at runtime.
It’s worth noting that it works well on Android because there is a UpdateTicks method to override.
What should I do?
Is there no solution for that?
I can not upgrade to the new Version with that issue.
Please login first to submit.