优化堆叠平滑曲线图的绘制

This commit is contained in:
monitor1394
2019-10-03 11:07:26 +08:00
parent b4a7969b91
commit eb641ea825
3 changed files with 31 additions and 24 deletions

View File

@@ -9,8 +9,7 @@ namespace XCharts
{
protected float m_BarLastOffset = 0;
protected void DrawYBarSerie(VertexHelper vh, int serieIndex, Serie serie, int colorIndex,
ref List<float> seriesHig)
protected void DrawYBarSerie(VertexHelper vh, Serie serie, int colorIndex, ref List<float> seriesHig)
{
if (!IsActive(serie.name)) return;
var xAxis = m_XAxises[serie.axisIndex];
@@ -95,8 +94,7 @@ namespace XCharts
return currHig;
}
protected void DrawXBarSerie(VertexHelper vh, int serieIndex, Serie serie, int colorIndex,
ref List<float> seriesHig)
protected void DrawXBarSerie(VertexHelper vh, Serie serie, int colorIndex, ref List<float> seriesHig)
{
if (!IsActive(serie.name)) return;
var showData = serie.GetDataList(m_DataZoom);