Pre loader

Selected BoxPlotDataPointmarker

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

0
0

Hi,

I’m trying to implement a selected BoxPlotDataPointmarker. What would be the best solution to do so?

Basically I have one series with multiple boxplot data points, which are colored by a custom pallete provider. Now I want to highlight selected data points. The idea was to change StrokeThickness. But I dont know how to do so for one specific data point of the series.

Version
8.8.0
  • Lex
    • Lex
    • 6 months ago
    Hi Robert, Thank you for contacting us. I am going to discuss your inquiry with our team and will get back to you with an update. Kind regards, Lex S., MSEE SciChart Technical Support Engineer
  • You must to post comments
0
0

Hi Robert,

I hope this message finds you well.
We investigated your inquiry.

Unfortunately, there is no way to set the StrokeThickness property for a single box/data point in the Box Plot Series.
However, you can highlight the selected Boxes by changing their fill color. Here are the required steps:

1) When you’re adding data points to the DataSeries, additionally add Metadata.
For example:

// Append a single data point with metadata
dataSeries.Append(xValue, yValue, new CustomPointMetadata("Metadata for point 1"));

2) Use the DataPointSelectionModifier. On click, it will set the IsSelected property to “true”
SciChart WPF Documentation – DataPoint Selection _ WPF Chart Documentation

3) In the PaletteProvider, you have access to the points Metadata. Please check the IsSelected property value and return a custom color for the selected data point using the PaletteProvider.

Please try this approach and let us know if it is suitable for your project.

Kind regards,
Lex S., MSEE
SciChart Technical Support Engineer

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.