整理代码

This commit is contained in:
monitor1394
2021-04-13 10:12:02 +08:00
parent 32e9ce864b
commit cbbc2a63f9
10 changed files with 5 additions and 45 deletions

View File

@@ -25,7 +25,6 @@ namespace XCharts
float barGap = GetBarGap();
float barWidth = serie.GetBarWidth(categoryWidth);
float space = (categoryWidth - barWidth) / 2;
float barGapWidth = barWidth + barWidth * barGap;
int maxCount = serie.maxShow > 0
? (serie.maxShow > showData.Count ? showData.Count : serie.maxShow)
: showData.Count;