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!

1
1

I want to highlight a single bar in a plot with multiple StackedColumnRenderableSeries (or FastColumnRenderableSeries). I want to do this when the user clicks a bar. I’ve created a “ClickSelectionModifier” that is able to detect what series + data series index the user clicks, but I have not been able to highlight the clicked bar. A few nudges in the right direction would be appreciated 🙂

Example of single highlighted bar

  • You must to post comments
0
0

Hi there,

I could suggest few possible ways to implement this behavior:

  1. Using Annotation API. You could place BoxAnnotation over desired bar so it will overlap selected bar;
  2. Using PalletteProvider API. You could write custom pallete provider which returns another color for selected bar and change palette provider from your modifier ( set point which need to have another color )
  3. Using another column series which draws only selected bar on chart. This approach is similar to approch from Custom Select and Drag a Series article.

Hope it helps!

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.