Jump to content
Software FX Community

ChartFx WPF Debugging


ckerber

Recommended Posts

Hi,

 We have had an issue come up recently where the datapoints on our line graph are not connected.  After spending many hours debugging and looking into this we can see no reason why the datapoints should not be connected.  The design pattern we are using is MVVM, so if we take this exact same view model and load it up on an almost identical different view (.xaml), all the lines show on the graph.  The datapoint series is using binding to get the points to show up on the graph.  If we debug using Visual Studio all the lines show up on the graph.  Only when we look at this particuluar view in Production do we see this problem.

 What further steps can we take to better debug this issue?  Do you support any additional logging with the control? 

 Thanks

Link to comment
Share on other sites

Are you sure the gallery is Line and not Scatter? Could you maybe be passing hidden points between every point (turning on the dataview would let you know for sure)? If that is the case you can connect the points by turning on interpolate.

chart.Data.InterpolateHidden = true;

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...