Darin Daubert Posted November 3, 2009 Report Share Posted November 3, 2009 Hello,I recently ran into a problem where I'm showing two sequential data points in a line chart and the data points are not being connected. The chart shows 5 days worth of data, so the X axis is set to Date and I've set a min/max/step on the axis. The two sequential data points are 10 minutes apart. If I make the data points 30 or more minutes apart, a line is drawn between the two data points perfectly fine. We are in the midst of switching from our legacy ActiveX ChartFX 4.5 over to the WPF version and the ActiveX version is working fine. I've attached a sample application demonstrating my issue. Is there something I'm doing wrong? Thank-you,Darin Daubert Quote Link to comment Share on other sites More sharing options...
Darin Daubert Posted November 3, 2009 Author Report Share Posted November 3, 2009 I've attached a picture showing what I'm getting. Notice that there is no line between the two data points. Quote Link to comment Share on other sites More sharing options...
JuanC Posted November 6, 2009 Report Share Posted November 6, 2009 There is an optimization feature that tries to handle a chart with thousands of points (or more) and a small number of pixels, and a bug on this code was the one causing the problem, it has been fixed on build 3595. You can also workaround this problem with the following code ((ChartFX.WPF.Galleries.Line) chart1.AllSeries.GalleryAttributes).CollapseDistance = 0; JuanC Quote Link to comment Share on other sites More sharing options...
Darin Daubert Posted November 10, 2009 Author Report Share Posted November 10, 2009 Hi JuanC,I used the workaround since build 3595 isn't released to production yet.Thanks again for the help!!! It's very much appreciated!Darin Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.