javascript - highCharts:when color of data set undefiend,slice is white in piechart -



javascript - highCharts:when color of data set undefiend,slice is white in piechart -

i wanna set color each info in piechart, , in slices wanna show default color. read in highcharts api must set undefined, not work me.

$('#container').highcharts({ chart: { type: 'pie' }, series: [{ data: [29.9, 71.5, 106.4, 129.2, 144.0, 176.0, 135.6, 148.5, { y: 216.4, color: undefined }, 194.1, 95.6, 54.4] }] });

demo

samira jan, color: undefined makes 1 piece color default! not illustration you. go link:

http://jsfiddle.net/8qufv/

javascript jquery highcharts

Comments

Popular posts from this blog

formatting - SAS SQL Datepart function returning odd values -

c++ - Apple Mach-O Linker Error(Duplicate Symbols For Architecture armv7) -

php - Yii 2: Unable to find a class into the extension 'yii2-admin' -