javascript - MouseOver with Cursor Pointer on Y Axis -
the following implementation shows mouseover
event cursor pointer
on y axis title label. works , functional.
however, want implement mouseover
event cursor pointer
on y axis (numeric axis) well.
current implementation
you can apply same color trick axis labels:
valueaxis: { labels: { format: "n0", color: "rgba(60,60,60, 0.9995)" }, $(document).on("mouseover", '#chart text[fill="rgba(60,60,60, 0.9995)"]', function(){ $('#chart text[fill="rgba(60,60,60, 0.9995)"]').css("cursor", "pointer"); });
updated demo
in example use same color title , labels, use different color
Comments
Post a Comment