Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1730
setting series color array
posted

Hi,

I am using MVC chart helper for igDataChart.

I have multple series and I want igDataChart to select color for each series from explicitly defined set of colors.

In your documentation http://help.infragistics.com/jQuery/2012.1/ui.igDataChart 

BRUSHES property is mentioned. But i could not find it in igDataChart MVC helper.

I tried to set it in javascript as below:

$("#spectralChart").igDataChart("option", "brushes", ["#7FFFD4", "#0000FF", "#FF7F24"]); 


This line is throwing javascript error: Microsoft JScript runtime error: Object doesn't support property or method 'igDataChart'

Please help.

Parents Reply Children