Pre loader

Series is invisible

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

Answered
0
0

I’m evaluating the WPF chart and have an issue when using series binding. In our first test app we added a series directly via code and that worked.

Now I’m using binding and have an issue with the series and gridlines not displaying.

I’m fairly confident it is binding because I can move the CursorModifier around on the chart and see appropriate tooltips which match the data I would expect to see given the XY axes.

Also, before binding a series the chart shows the gridlines correctly. Only after I bind a series does the lines disappear and the series to not draw.

I’ve attached the source, the XAML styles I’m using and images between a grid that looks correct (no series bound) and one that is invisible (IS bound).

Any ideas?

UPDATE: in this application even normal series won’t work. I’m using the same method I used in my original test application of adding to a series using the var series = new XyDataSeries<double, decimal>(); and appending points to a series I’ve predefined on the chart in the XAML file.

Version
5.2.1.11703
Attachments
Images
  • You must to post comments
Best Answer
0
0

I figured it out.

var series = new XyDataSeries<double, double>();

has to be used, not <double, decimal>.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies