I am experiencing the following problem in the angular application I am developing. Currently I want to dynamically add series toline charts. The data for the series comes as key value pairs, where the key is a DateTime and the value is Integer. The common between all series that are going to be added is that the categoryAxis is Date in every case. I have two questions:
What is the best way to add dynamic series to the chart. I tried an approach by one of you colleges :
but is not working for me. Then I tried with creating new dataSource every time when a series is added and thenbut this timeouts almost every time. The amount of data in goodPointSeries is around 600 points. How can I proceed with this problem?
My second question is how to adjust the categoryAxis, when there are 600 category values. For example I have I time interval of 1 day and every point in my dateset is associated with particular moment. If I manage to render the line chart, i see that the category labels are overlapped (because there are too many of them) and they look like a black line. I tried with baseUnit but in my case if I set it to seconds I get the same result, and if I set it to something bigger than seconds then not all of the datapoints are shown?