I'm creating customised charts in my app using the built in charts widget. I use the charts to display sensor data and the amount of sensor data depends on how long I record the data for. Sometimes it can be 10 seconds and sometimes it can be 10 minutes. This creates a problem where if I put a fixed 'label interval' the 10 seconds will look fine, but the 10 minutes will just look like a mess because the axis labels will begin to overlap each other .
Is there any way I can dynamically adjust the 'label interval' parameter based on a custom action perhaps ?