Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
622
Irregular intervals between datapoints in LineChart
posted

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.

WpfApplication1.zip
Parents
No Data
Reply
  • 4475
    posted

    Hello,

     

    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

     

Children