增加LiquidChart水位图

This commit is contained in:
monitor1394
2020-07-06 08:41:28 +08:00
parent 16905ee336
commit 14023cc713
23 changed files with 847 additions and 5 deletions

View File

@@ -191,6 +191,15 @@ namespace XCharts
return GetLastStackSerie(series, serie);
}
internal static Serie GetSerieByVesselIndex(Series series, int vesselIndex)
{
foreach (var serie in series.list)
{
if (serie.vesselIndex == vesselIndex) return serie;
}
return null;
}
/// <summary>
/// 是否由系列在用指定索引的axis
/// </summary>