Apologies, I missed this question!
To add string labels to the XAxis in SciChart iOS, use the LabelProvider feature.
The steps are:
- Use an XyDataSeries with type int,double for your data. X-values should be indexes (0,1,2,3,…)
- Set the XAxis.AutoTicks property to false, and set XAxis.MajorDelta to 1 / MinorDelta to 0.2. This will ensure you get one label for each 1 value
- Apply a LabelProvider to your XAxis. You need to use this to format the x-values (0,1,2,3) as strings.
Examples of how to use the LabelProvider in SciChart iOS can be found in the following examples:
- You must login to post comments
Please login first to submit.