I'm trying to change the series brush color on legend item mouse over. But it is not showing any change on the chart. Is there any way to do this?
$(document).delegate("#legend", "igchartlegendlegenditemmouseenter", function (evt, ui) {
ui.series.brush = "red";//not working
var series = $("#compositeChart").igDataChart("option", "series"); series[0].brush = "red"; //not working });
Hello ptilwani,
If you want to change the brush property you would need to do something like as shown below:
$("#stackedColumn").igDataChart("option", "series", [{ "name": ui.series.name, brush: "red" }])
});
I hope this helps.
I am just following up to see if you need any further assistance with this matter.