mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-17 22:10:11 +00:00
增加Legend几种内置图标的支持 #90
This commit is contained in:
@@ -621,6 +621,16 @@ namespace XCharts
|
||||
foreach (var item in fromList) toList.Add(item);
|
||||
return true;
|
||||
}
|
||||
public static bool CopyArray<T>(T[] toList, T[] fromList)
|
||||
{
|
||||
if (toList == null || fromList == null) return false;
|
||||
if (toList.Length != fromList.Length)
|
||||
{
|
||||
toList = new T[fromList.Length];
|
||||
}
|
||||
for (int i = 0; i < fromList.Length; i++) toList[i] = fromList[i];
|
||||
return true;
|
||||
}
|
||||
|
||||
public static List<float> ParseFloatFromString(string jsonData)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user