텍스트를 가운데 정렬 할 수 없습니다. zing-chart ring 텍스트가 가운데 정렬
HTML 코드
<zingchart id="ring" zc-json="data" ></zingchart>
zingchart의 JSON 데이터
$scope.data = {
globals: {
shadow: false,
fontFamily: "Verdana",
fontWeight: "100"
},
type: "ring",
backgroundColor: "#fff",
legend: {
layout: "x5",
position: "50%",
borderColor: "transparent",
marker: {
borderRadius: 10,
borderColor: "transparent"
}
},
tooltip: {
text: "%v $"
},
plot: {
refAngle: "-90",
borderWidth: "0px",
valueBox: {
placement: "in",
text: "%npv %",
"font-color":"black",
fontSize: "15px",
textAlpha: 1,
}
},
series: [{
text: "Total Billed",
values: $scope.billedHours,
backgroundColor: "#97c563",
}, {
text: "Total Budget",
values: $scope.projectRevenue,
backgroundColor: "#f7d347",
}]
};
내가 난생 처음이 Libary를 사용하고는, 다른 옵션 아무것도하지만 시도 일어났다. 전문가의 도움이 필요하므로 제발 뭔가를 제안하십시오. 사전에 감사합니다.
후 jsfiddle 링크 –
수 없습니다 사용할 수 있습니다. –
미래에는 값으로 전체 차트 JSON을 게시해야합니다. 차트 렌더링과 관련된 문제가있는 경우 데이터가 가장 중요한 것 중 하나입니다. https://help.zingchart.com/hc/en-us/articles/115000680146-How-To-Get-My-Chart-JSON- – nardecky