优化symbol颜色

This commit is contained in:
monitor1394
2020-09-19 17:25:03 +08:00
parent 9117a198a1
commit 91b92e13c3

View File

@@ -1315,7 +1315,7 @@ namespace XCharts
case SerieSymbolType.Circle: case SerieSymbolType.Circle:
if (gap > 0) if (gap > 0)
{ {
ChartDrawer.DrawDoughnut(vh, pos, symbolSize, symbolSize + gap, backgroundColor, color, toColor, smoothness); ChartDrawer.DrawDoughnut(vh, pos, symbolSize, symbolSize + gap, backgroundColor, backgroundColor, color, smoothness);
} }
else else
{ {
@@ -1326,11 +1326,11 @@ namespace XCharts
if (gap > 0) if (gap > 0)
{ {
ChartDrawer.DrawCricle(vh, pos, symbolSize + gap, backgroundColor, smoothness); ChartDrawer.DrawCricle(vh, pos, symbolSize + gap, backgroundColor, smoothness);
ChartDrawer.DrawEmptyCricle(vh, pos, symbolSize, tickness, color, toColor, backgroundColor, smoothness); ChartDrawer.DrawEmptyCricle(vh, pos, symbolSize, tickness, color, color, backgroundColor, smoothness);
} }
else else
{ {
ChartDrawer.DrawEmptyCricle(vh, pos, symbolSize, tickness, color, toColor, backgroundColor, smoothness); ChartDrawer.DrawEmptyCricle(vh, pos, symbolSize, tickness, color, color, backgroundColor, smoothness);
} }
break; break;
case SerieSymbolType.Rect: case SerieSymbolType.Rect: