You must be logged in to post your query.
Home › Forums › StockChart Support › Setting IntervalType in react
Tagged: #React #stockchart
I would like to set intervalType in time (09:00~17:00).
I have no x data, I am only having y data.
How can I set interval type without x data?
Here is the link I have been working on.
When x-values are not passed, it takes numeric values 0,1,2,3,… In case of numeric axis, intervalType will be number. To set 12 hours interval, you will have to use date-time axis with interval: 12, intervalType:"hours". Else if you like to go with numeric-data, you can set the interval: 12 if it’s hourly data.
interval: 12, intervalType:"hours"
Thank you! it works!
You must be logged in to reply to this topic. Login/Register