This commit is contained in:
monitor1394
2021-04-13 20:56:33 +08:00
parent cbbc2a63f9
commit 34e709c916
7 changed files with 24 additions and 14 deletions

View File

@@ -22,7 +22,6 @@ namespace XCharts
var xAxis = m_XAxes[serie.xAxisIndex];
var grid = GetSerieGridOrDefault(serie);
float categoryWidth = AxisHelper.GetDataWidth(xAxis, grid.runtimeWidth, showData.Count, dataZoom);
float barGap = GetBarGap();
float barWidth = serie.GetBarWidth(categoryWidth);
float space = (categoryWidth - barWidth) / 2;
int maxCount = serie.maxShow > 0