From 3d7c1315cb45e8888c56b4f4c2c91b5a71890181 Mon Sep 17 00:00:00 2001 From: kener Date: Thu, 14 Nov 2013 18:04:57 +0800 Subject: [PATCH] =?UTF-8?q?barMinHeight=EF=BC=8CminAngle=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E8=B0=83=E6=95=B4=E4=B8=BA0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/config.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/config.js b/src/config.js index b9e3812c2..abce2fc75 100644 --- a/src/config.js +++ b/src/config.js @@ -378,8 +378,10 @@ define(function() { // stack: null xAxisIndex: 0, yAxisIndex: 0, - barMinHeight: 20, + barMinHeight: 0, // 最小高度改为0 // barWidth: null, // 默认自适应 + barGap: '30%', // 柱间距离,默认为柱形宽度的30%,可设固定值 + barCategoryGap : '20%', // 类目间柱形距离,默认为类目间距的20%,可设固定值 itemStyle: { normal: { label: { @@ -537,7 +539,7 @@ define(function() { center : ['50%', '50%'], // 默认全局居中 // radius: [0, min(width, height) / 2 - 50], startAngle: 90, - minAngle: 5, + minAngle: 0, // 最小角度改为0 selectedOffset: 10, // 选中是扇区偏移量 // selectedMode: false, // 选择模式,默认关闭,可选single,multiple // roseType : null, // 南丁格尔玫瑰图模式,'radius'(半径) | 'area'(面积) -- GitLab