Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jquery/78.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Jquery Highcharts-colorByPoint不起作用_Jquery_Charts_Highcharts - Fatal编程技术网

Jquery Highcharts-colorByPoint不起作用

Jquery Highcharts-colorByPoint不起作用,jquery,charts,highcharts,Jquery,Charts,Highcharts,我正在尝试获取具有不同条形图颜色的条形图,我使用属性colorByPoint,因此(这里是我的完整示例:): 但这与Highcharts示例中的情况不同: 如果设置了两次打印选项,请删除另外一次。这一行: //plotOptions:{bar:{dataLabels:{enabled: true}}}, //plotOptions:{bar:{dataLabels:{enabled: true}}},

我正在尝试获取具有不同条形图颜色的条形图,我使用属性colorByPoint,因此(这里是我的完整示例:):

但这与Highcharts示例中的情况不同:


如果设置了两次打印选项,请删除另外一次。这一行:

//plotOptions:{bar:{dataLabels:{enabled: true}}}, 

//plotOptions:{bar:{dataLabels:{enabled: true}}},