use of org.xclcharts.chart.ArcLineData in project XCL-Charts by xcltapestry.
the class PlotLegendRender method convertArrayArcLineKey.
private void convertArrayArcLineKey(List<ArcLineData> dataSet) {
if (null == dataSet)
return;
String key = "";
for (ArcLineData cData : dataSet) {
key = cData.getKey();
if (!isDrawKey(key))
continue;
if ("" == key)
continue;
mLstKey.add(key);
mLstColor.add(cData.getBarColor());
PlotDot pDot = new PlotDot();
pDot.setDotStyle(XEnum.DotStyle.RECT);
mLstDotStyle.add(pDot);
}
}
use of org.xclcharts.chart.ArcLineData in project XCL-Charts by xcltapestry.
the class ArcLineChart01View method chartDataSet.
private void chartDataSet() {
// 设置图表数据源
chartData.add(new ArcLineData("closed", "29% - closed", (0.29 * 100), Color.rgb(155, 187, 90)));
chartData.add(new ArcLineData("inspect", "53% - inspect", (0.53 * 100), Color.rgb(191, 79, 75)));
chartData.add(new ArcLineData("open", "76%", (0.76 * 100), Color.rgb(242, 167, 69)));
chartData.add(new ArcLineData("workdone", "86%", (0.86 * 100), Color.rgb(60, 173, 213)));
chartData.add(new ArcLineData("dispute", "36%", (0.36 * 100), Color.rgb(90, 79, 88)));
}
Aggregations