SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components

Welcome to the SciChart Community Forums!

Please use the forums below to ask questions about SciChart. Take a moment to read our Question asking guidelines on how to ask a good question and our support policy. We also have a tag=SciChart on Stackoverflow.com where you can earn rep for your questions!

Please note: SciChart team will only answer questions from customers with active support subscriptions. Expired support questions will be ignored. If your support status shows incorrectly, contact us and we will be glad to help.

0
0

I know that I ask a lot of questions, but I’d like to be sure that SciChart fulfills all my application needs before I buy it, I wouldn’t like to be “blocked” afterwards as we won’t have the funds to buy multiple charts controls.

Anyway, in the data I would like to display, I have two sets of “points” for one series. One is the real, measured point and the other is points that have been calculated through a non-polynomial fitting on the data.

I would like to display the measured points as scatter but the fit as lines, except for one special series that is only extrapolated from the fit and also the first “point” of the series that is also extrapolated from the fit. This series and those points should have both line and point marker.

And while I’m at it, another feature that I have for my application:
– Being able to select a specific data point (with a visual queue that shows the point selected) and remove it. My ViewModel should be able to receive which point has been removed to trigger business logic

  • You must to post comments
0
0

Hi there,

I’m not sure I understood you correctly, but it seems to me, that you need to create SciChartSurface with three RenderableSeries: Line, Scatter, and Line with PointMarker for special series. Then you need to attach your data, wrapped in proper DataSeries type, to each RenderableSeries. This can be done in different ways:

-binding to IRenderableSeries.DataSeries, as it is demonstrated in Synchronize mouse example
-using SciChartSurface.SeriesSource, this approach is demonstrated in Drag horizontal threshold example
-set IRenderableSeries.DataSeries directly, take a look at Scatter series example

To add a point marker on series, just set IRenderableSeries.PointMarker(we provide four types of markers) or IRendarableSeries.PointMarkerTemplate property. Please, take a look at
Use PointMarkers to see it in action.

Concerning the last question, it is possible to choose particular data point on UI, pass it into VM and remove it from DataSeries. SciChart provides IRendereableSeries.HitTest(..) operation for such purposes, you can see how it works in HitTest data point example. But ability to change visual appearance of particular single point is not supported yet. Alternatively, this can be implemented by adding some visual element on ModifierSurface above the data point(as Rollover does). For additional info, please, take a look at this thread.

Also, it is possible to change appearance of entire series or any part of it using PaletteProviders, please, take a look at Use PaletteProvider example.

Also, as you are new to SciChart, it is important to be aware of that SciChart expects data in the X-Axis to be sorted in ascending order, the main reason for this is efficiency.

Hope the above helps you, and feel free to ask if you have more questions!

Best regards,
Yuriy

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.