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 🙂
- Lars Moastuen asked 8 years ago
- You must login to post comments
Hi there,
I could suggest few possible ways to implement this behavior:
- Using Annotation API. You could place BoxAnnotation over desired bar so it will overlap selected bar;
- 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 )
- 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!
- Yura Khariton answered 8 years ago
- You must login to post comments
Please login first to submit.