PDA

View Full Version : Hover State handling in ext-js Charts



mgtneven
2 Jan 2012, 1:07 AM
Hi,

I develop a column chart in ext-js, and want to change the color of the series in hover state-
what it means that as the mouse overs hover any column - it's color will become 10% lighter.
I saw the default behavior is if I write:
highlight : true,
than it becomes lighter but with border- and I don't want it to display any borders.

In addition I want to change the legend label color on hover-state to become match to it's column/square-
for example: if "data1"'s color is red, on hover-state on the "data1" label in the legend it becomes red.

Any idea about those questions?

Thanks!

mitchellsimoens
2 Jan 2012, 6:29 AM
Ext JS 3 or 4?

mgtneven
3 Jan 2012, 12:28 AM
ext 4