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?
- Wil O asked 3 years ago
- You must login to post comments
Is there no solution for that?
I can not upgrade to the new Version with that issue.
- Wil O answered 3 years ago
- You must login to post comments
Please login first to submit.