This commit is contained in:
monitor1394
2022-09-28 08:20:10 +08:00
parent aec3e59aca
commit 75bf6e0e6c
5 changed files with 62 additions and 14 deletions

View File

@@ -359,9 +359,11 @@ namespace XCharts.Runtime
}
else
{
var performanceMode = serie.IsPerformanceMode();
foreach (var data in showData)
{
var currData = data.GetCurrData(yValue ? 1 : 0, updateDuration, inverse);
var currData = performanceMode? data.GetData(yValue?1 : 0, inverse):
data.GetCurrData(yValue ? 1 : 0, updateDuration, inverse);
if (!serie.IsIgnoreValue(currData))
{
if (currData > max) max = currData;