JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › Charts & Data Viz › Date Time on X axis › Reply To: Date Time on X axis
August 4, 2022 at 7:00 am
#103437
Participant
Hi,
I did not understand you correctly. You asked for an example of using DateTime on the X-axis and you are giving one.
If you want to set the value to be based on hours you can use the ‘baseUnit’ property as shown in the following example.
Here there are values for every hour. The base unit is hours and the interval is one hour as set in the ‘unitInterval’ property.
https://codepen.io/svetoslavb04/pen/ExEEbvO
Please explain what you need, so I can help you as much as possible.
Best Regards,
Svetoslav Borislavov
Smart UI Team
https://www.htmlelements.com/
-
This reply was modified 2 years, 1 month ago by
svetoslav_borislavov.