You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the formatter to format the xAxis for the date and that works well. I have tried to format the yAxis but I get the same information as the xAxis format on the yAxis. How can I differentiate between the two axis in the formatter class?
You can test for the kind of axis, or you can have two different formatter classes, which is the right way to do this.
If you're lazy and don't want to create another formatter class, you can initialize a Default formatter with a block, as mentioned in the release notes of 3.0.0.
I am using the formatter to format the xAxis for the date and that works well. I have tried to format the yAxis but I get the same information as the xAxis format on the yAxis. How can I differentiate between the two axis in the formatter class?
In the ChartViewController
The text was updated successfully, but these errors were encountered: