We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Partial datetime axis

Was looking through the documentation but couldn't find a way to have a x-axis with time of day or day or week as axis type and not the whole datetime. What I'm looking is provide a list of maps like such: {'time': 11:30, 'number': 96} and have it treated as a time and not care about year etc. Also wanting to be able to use any 'part' of the datetime like time as shown above, day of week, month of year etc.

1 Reply

YG Yuvaraj Gajaraj Syncfusion Team March 15, 2023 01:44 PM UTC

Hi Jacob,

The requirement can be achieved with the help of CategoryAxis, which will help you to plot a series with nonlinear data. We have shared the related UG documentation below for your reference.

UG, https://help.syncfusion.com/flutter/cartesian-charts/axis-types#category-axis



Live Chat Icon For mobile
Up arrow icon