From Chart Attribute In Advance Option
JavaScript Initialization Code Section add Following Code :
========================================
function (options){
function (options){
options.dataFilter = function (data){
data.series[0].color = "green";
data.series[1].color = "red";
data.series[2].color = "blue";
data.series[3].color = "Yellow";
data.series[3].color = "gray";
return data;
};
// Add new 3D effect to existing chart style defaults
options.styleDefaults.threeDEffect = "on";
return options;
//options.styleDefaults = $.extend( options.styleDefaults, {threeDEffect: "on"});
// return options;
}
an error occurred, function name is missing in line1.
ReplyDeleteJust delete the line 1
ReplyDelete