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.
- Robert Martin asked 6 months ago
- last edited 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 login to post comments
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
- Lex answered 5 months ago
- You must login to post comments
Please login first to submit.

