Hi Dimitar,
I can’t get the custom color scheme to work with the following code:
// Pie chart 2
$.jqx._jqxChart.prototype.colorSchemes.push({ name: ‘myScheme’, colors: [‘#ffff00’, ‘#ff0000’, ‘#ccff00’, ‘#00ffff’, ‘#aaaaaa’] });
var settings = {
enableAnimations: true,
showLegend: false,
source: initializeTaken,
colorScheme: ‘myScheme’,
seriesGroups:
[
{
type: ‘pie’,
showLabels: false,
series:
[
{
color: “#33769E”,
dataField: ‘percent’,
displayText: ‘Browser’,
labelRadius: 60,
initialAngle: 90,
radius: 116,
centerOffset: 0,
formatSettings: { sufix: ‘%’, decimalPlaces: 1 }
}
]
}
]
};