mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-22 17:00:08 +00:00
3.0
This commit is contained in:
@@ -92,7 +92,7 @@ namespace XCharts.Runtime
|
||||
if (!serie.show || !markLine.show) return;
|
||||
if (markLine.data.Count == 0) return;
|
||||
var yAxis = chart.GetChartComponent<YAxis>(serie.yAxisIndex);
|
||||
var xAxis = chart.GetChartComponent<XAxis>(serie.yAxisIndex);
|
||||
var xAxis = chart.GetChartComponent<XAxis>(serie.xAxisIndex);
|
||||
var grid = chart.GetChartComponent<GridCoord>(xAxis.gridIndex);
|
||||
var dataZoom = chart.GetDataZoomOfAxis(xAxis);
|
||||
var animation = markLine.animation;
|
||||
|
||||
@@ -800,10 +800,10 @@ namespace XCharts.Runtime
|
||||
public float GetSerieTotalGap<T>(float categoryWidth, float gap, int index) where T : Serie
|
||||
{
|
||||
if (index <= 0) return 0;
|
||||
float total = 0;
|
||||
barStackSet.Clear();
|
||||
var total = 0f;
|
||||
var count = 0;
|
||||
var totalRealBarCount = GetSerieBarRealCount<T>();
|
||||
barStackSet.Clear();
|
||||
for (int i = 0; i < m_Series.Count; i++)
|
||||
{
|
||||
var serie = m_Series[i];
|
||||
|
||||
Reference in New Issue
Block a user