I have the requirement of drawing more than 20 line series in the chart but
any thing above 9 line series it stops working and i am getting the error given below

int touch-chart.js

getColorFromStyle: function(style) {

if (Ext.isObject(style)) {
return style.stops[0].color;
//if it's a gradient just return the first color stop.
return style.indexOf('url') == -1 ? style : this.getSurface('main')._gradients[style.match(/url\(#([^\)]+)\)/)[1]].stops[0].color;Uncaught TypeError: Cannot call method 'indexOf' of undefined (repeated 31 times)