mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-22 08:50:10 +00:00
[optimize][axis] optimize minor split line of time axis
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace XCharts.Runtime
|
||||
{
|
||||
@@ -160,7 +161,7 @@ namespace XCharts.Runtime
|
||||
|
||||
private static void AddTickTimestamp(List<double> list, int startTimestamp, int maxTimestamp, int tickSecond)
|
||||
{
|
||||
while (startTimestamp < maxTimestamp)
|
||||
while (startTimestamp <= maxTimestamp)
|
||||
{
|
||||
list.Add(startTimestamp);
|
||||
startTimestamp += tickSecond;
|
||||
|
||||
Reference in New Issue
Block a user