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
3590
How to force x-axis labeled gridlines to specific intervals
posted

Is there a way to force the x-axis to display labels at specific interval? For example if the x-axis is a DateTime and goes from 11:23AM to 1:39PM but I only want to show labels at 11:30, 11:45, 12:00, 12:15, etc, is there a way to do this? 

Parents
  • 816
    Suggested Answer
    posted

    At the moment, the way to solve this is to set the Axis.Unit to 15 minutes, then to round the Axis.Minimum value down to the nearest 15 minutes, e.g., if the x-axis needs to cover a period starting from 11:23AM, then rounding down to the nearest 15 minutes, we set the Axis.Minimum to 11:15AM.  Then labels will occur at 11:15, 11:30, 11:45, etc.

    Though that's not exactly the customization you described, additional customization features for things such as labels are always being considered as we plan future releases.

Reply Children