Home › forums › Feature Requests & Feedback › Line graphs Time series on X Axis
Tagged: line graphs
We have the data coming from the server/service, it is in long format for X axis, but this data for X-axis is not in a sequence and due to the graphs is not coming well, Could you please let me know how to take this as a sequence drawing from start and end time, without giving the sorted data feed? The graph should take the time points and need to arrange it automatically.
like if we pass, 3, 4 , 5, 6, 1, 2, 7, 8, 9 (assume this is long time), the graph should display it starting from 1 till 9. Hope you got it. Please respond asap. Thanks
We don’t have a built in API to sort the dataPoints. But you can do it at your end with couple of lines of code as shown in this example.
You must be logged in to reply to this topic.