I have chart with 3 or 4 LineSeries of the last years. In codebehind I set the visibility of the oldest serie to false, so that the chart is not to overcrowded.
The color of this LineSerie turns into a very light grey. Is it possible to change this "disable" color?
Anders Pedersen
3 Answers, 1 is accepted
0
Accepted
Vessy
Telerik team
answered on 18 Jan 2016, 04:02 PM
Hi Anders,
You can define the color of the text of the inactive items in the Chart's legend in a similar way:
function pageLoad() {
var chart = $find("RadHtmlChart1").get_kendoWidget();
chart.setOptions({
legend: {
inactiveItems: {
labels: {
color: "#ff0000"
},
markers: {
color: "#ff0000"
}
}
}
});
chart.redraw();
}
Regards,
Vessy
Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items
You are welcome, Anders. Feel free to reach us again in case further assistance on the matter is needed.
Regards,
Vessy
Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items