mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-06-16 15:53:44 +00:00
修复GetMinMaxData在showDataDimension未初始化时返回异常的问题 (#365)
This commit is contained in:
@@ -46,7 +46,7 @@ namespace XCharts.Runtime
|
||||
{
|
||||
double serieMinValue = 0;
|
||||
double serieMaxValue = 0;
|
||||
SerieHelper.GetMinMaxData(serie, out serieMinValue, out serieMaxValue, null, 2);
|
||||
SerieHelper.GetMinMaxData(serie, 0, out serieMinValue, out serieMaxValue);
|
||||
if (serieMinValue < min)
|
||||
min = serieMinValue;
|
||||
if (serieMaxValue > max)
|
||||
|
||||
Reference in New Issue
Block a user