First, the hover color is hard-coded to red in drawItem():
Code: Select all
if (this.over==index)
f.font.fill="red";
Second, is there a purpose to having a hover color at all? It looks like you can define a Legend.onclick function, but if there is no onclick then hover decoration is inappropriate. (BTW, there is no mention of onclick in the docs, or what mousedown does.)
For now, I've suppressed the hover color with:
Code: Select all
legend.mousemove = function() {};
Thanks,
Jim