Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/70.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

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/flash/4.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
Javascript Highcharts仪表:标签半径样式_Javascript_Html_Highcharts - Fatal编程技术网

Javascript Highcharts仪表:标签半径样式

Javascript Highcharts仪表:标签半径样式,javascript,html,highcharts,Javascript,Html,Highcharts,在我的浏览器(Firefox 12)中,Highcharts图表的这种形式看起来不正确。标签的样式半径与背景半径不同 Highcharts中是否有解决此问题的选项 提前Thx。是的,标签上有一些选项可以解决此问题。如果根据以下代码设置标签格式,标签应正确围绕仪表 labels: { step: 2, rotation: 'auto', align: 'center', distance: 15, x: 0,

在我的浏览器(Firefox 12)中,Highcharts图表的这种形式看起来不正确。标签的样式半径与背景半径不同

Highcharts中是否有解决此问题的选项


提前Thx。

是的,标签上有一些选项可以解决此问题。如果根据以下代码设置标签格式,标签应正确围绕仪表

labels: {
    step: 2,
        rotation: 'auto',
        align: 'center',
        distance: 15,
        x: 0,
        y: 0
},
我更新了你的演示。您缺少xy位置偏移