We have updated WebDataRocks EULA, effective as of April 18, 2024. Learn more about what's changed.

How can we customize chart colors, fonts, size, labels etc

Resolved

Hi,
Can we customize colors like some gradient colors or fonts bold italic in below link?
https://codepen.io/webdatarocks/pen/dqdvmg
 
Thanks in Advance.

1 answer

zainali_2k3 April 24, 2019

Thats the way i solve it
 
reportcomplete: function () {
pivot.off(“reportcomplete”);
Highcharts.setOptions({
colors: [‘#dae6f8’,
‘#003366’,
‘#191970’,
‘#4b0082’,
‘#483d8b’,
‘#663399’,
‘#9400d3’,
‘#7b68ee’,
‘#4169e1’,
‘#7b68ee’,
‘#6495ed’,
‘#1e90ff’,
‘#87ceeb’,
‘#778899’,
‘#c0c0c0’,
‘#d3d3d3’]
});
createCharts();
}