How to add a vertical line in the column chart that moves to the right as the time of the day passes? (Please reply asap :( )


How to create the red vertical line that moves as per the time of the day?

The x axis represents the time of day and the y axis is a numeric value that simply represents the number of tasks in that 1 hour time interval. It would be helpful if you can provide the code for it.

Thank you.


3 Replies 1 reply marked as answer

YG Yuvaraj Gajaraj Syncfusion Team December 28, 2021 11:57 AM UTC

Hi SHIKHAR CHAUDHARY, 
 
Greeting from Syncfusion. We have analyzed your query, and we would like to let you know that our chart has a plotBand property of axis. You can be able to render a vertical line by specifying the plot band start and end value then update the start and end value in a specific period it will move towards the right. We have also created and attached the sample and user guide below for your reference you modify the sample as per your requirement. 
 
 
  
Regards, 
Yuvaraj. 


Marked as answer

SC SHIKHAR CHAUDHARY December 29, 2021 05:56 AM UTC

Thank you so much for the help, means a lot :)



YG Yuvaraj Gajaraj Syncfusion Team December 29, 2021 05:41 PM UTC

Hi SHIKHAR CHAUDHARY, 
 
Most welcome. Kindly get back to us if you have further queries. We are always happy to assist you. 
 
Regards, 
Yuvaraj. 


Loader.
Up arrow icon