How to change highlighted color (pink) of the bar?

24 views
Skip to first unread message

Roman Nachankin

unread,
Jan 11, 2022, 10:33:44 AM1/11/22
to d3-js
For one of the chart I would like to disable mouseover highlighing of the bar. So If you move a mouse over the bar, the color should stay the same.

Default behaviour the bar get class "hover" and the pink color.

If it is possible, is there any option for that?

I am using the bar options as a JSON object, like
options: {
type: 'multiBarChart',
height: 450,
margin : { top: 20, right: 20, bottom: 50, left: 70 },
stacked: true,
reduceXTicks: false, 
...
}

thanks and best regards
Reply all
Reply to author
Forward
0 new messages