Pre loader

Change other column colors when mouse is over a column

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

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.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies