I looked at the Highcharts options that need to be set for the xAxis properties to format the timestamp, but not knowing exactly how this works for this scenario.
I have dynamic data received for stocks during the day (intraday), which I need to display when I receive data, starting from 9:30 and ending at 17:00 every day, I need to display shortcuts showing an interval of 30 minutes, as in next: 9: 30..10: 00..10: 30..etc, but I can’t get this work to work with data blocks (pointers) received every 5 minutes.
Another problem is that I need to display the data without covering the entire width of the chart, for example, at 10:00 all I have is 6 bars (5 minutes each), but what it does is this, that it fills a chart with large 6 bars instead of locking them in their time frame:

I need to do this in order to display these bands within the 9: 30-10: 00 area and leave everything else filled out, as I get more data like this:
I would appreciate any help on how to do this. I know that your work uses the stock chart type, but now I have to use the OHLC type urgently.
Many thanks.
source
share