增加BarrealtimeSort支持实时排序

This commit is contained in:
monitor1394
2025-03-10 08:40:22 +08:00
parent e4923ea598
commit a1ba6b095d
3 changed files with 8 additions and 6 deletions

View File

@@ -119,7 +119,7 @@ namespace XCharts.Runtime
DataZoom dataZoom, bool forcePercent, int sortIndex = -1)
{
int split = GetSplitNumber(axis, coordinateWidth, dataZoom);
if(sortIndex == -1) sortIndex = index;
if (sortIndex == -1) sortIndex = index;
if (axis.type == Axis.AxisType.Value)
{
if (minValue == 0 && maxValue == 0)