Hello,
I have a chart which has to draw a value serie vs. time. So I need a axe X which represent a day, with grid line each hour. Axe Y has numeric values.
My problem is that datapoints are irregular on one day period. I could have 3 points with 5 minutes interval then the next one 15 minutes later. My line must not be broken. I read that I'm supposed to use ScatterLine chart, but I've not been able to make it work.
Could you help me ? I attach a sample with a fake line to draw my grid line every hour, and a real line with random intervals.
Patrick.
I have been looking into your question but I am not sure I understood your requirements well enough.
As far as I see from your sample you are trying to set up two line series, not a scatter series, and your second one does not appears – is this your issue?
Also I did not quite get the issue with the irregularly updated value – if your question if you can give something like 3minutes, 5minutes and then 4 minutes, and keep this order, you can achieve that using line series because they arrange their items via object index and the first in the collection will go first. However scatter series will arrange them in exponential order – 3,4,5.
So in order for me to investigate more efficiently your case, can you please explain me with more details what are your requirements, what is the issue within your sample and what kind of series would you like to have, if you have such a requirement.
Perhaps you can include a screenshot or some other graphical item that illustrates your goal, if possible.
I will be looking forward to hearing from you.
Sincerely,
Ekaterina
Developer Support Engineer
Infragistics, Inc.
www.infragistics.com/support
Hello Ekaterina,
What I really need is a chart with different interval in the same serie. I can have data (always in the same serie) spaced by 5, 10 or 30 minutes, I need a continuous line, with labels each hour.
For the label, I found a trick to made that, like in my sample, I put a serie not displayed, with right scale, so I have my gridline every hour.
But for my real serie, I can't put points with different spaces, and linked. If I create virtual points with null value, line is broken. If I just add them, the space between two points is always the same, regardless of the time interval between the two.
I made a Excel chart to illustrate my goal. In this one, I have 12 points between 0:00 and 1:00, for a five minutes interval, but only two between 2:00 and 3:00, which represents a 30 minutes interval.
Thanks for your support,