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

0
0

https://www.scichart.com/questions/wpf/different-colors-for-fastcolumnrenderableseries

I saw above but am not sure if what I want to do is possible. I would like to create an effect when mouse is over a colomn in a column chart it stays the same color it was but all others dim slightly with a semitransparent brush. Is it possible to do that?

Version
5.4
  • You must to post comments
0
0

Hi John,

Yes it is possible to do that. We don’t have an example out of the box of this exact requirement, but you can use the following APIs to achieve what you want.

1.) The Hit Test API

This Api lets you get a notification of which data-point (or column) is under the mouse. Find an example here:

2.) The PaletteProvider API

This Api lets you set colour of individual data-points (or columns) depending on data-values

All you’d need to do is tell the PaletteProvider which data-point index the mouse was over and during draw it will do the rest.

Let me know if you have any questions!

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.