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