【发布时间】:2017-01-12 07:35:10
【问题描述】:
我正在使用canvasjs 制作饼图和圆环图。
我在圆环图中有饼图。我在 CSS 方面不是那么好。这里的饼图位于中心,但它仍然非常小。我不知道如何让它变大,因为如果我试图让它变大,它会弄乱饼图。
有什么办法可以让饼图变大,这样饼图和圆环图之间就没有太多空间了。
我正在使用这些属性:
甜甜圈
width="100%" height="250px" top="0px" position="absolute" backgroundColor="transparent" uniqueID ="doughnut"
饼图
width="78px" height="100px" top="75px" position="absolute" left="560px" backgroundColor="transparent" uniqueID=”pie”
编辑:如果我增加饼图的高度和宽度导致 -
当我将背景颜色设置为透明时,为什么会出现空白??
这是我的饼图属性-
type: "pie",
backgroundColor: "transparent",
indexLabelFontColor: "white",
indexLabelFontSize: "14px",
markerType: "circle",
radius : "100%",
innerRadius :"200px",
【问题讨论】: