Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
115
Change label format in IGCategoryDateTimeXAxis
posted

 I have a chart with a time-based X axis using IGCategoryDateTimeXAxis. The chart logs data in realtime over the course of about an hour.

I'd like the x-axis labels to only display HH:mm instead of the full datetime, but I can't find a property on the axis that lets me set the date formatter.

I'm using Swift 4.