mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-24 09:50:15 +00:00
Optimized SerieData to support tree data
This commit is contained in:
@@ -570,9 +570,9 @@ namespace XCharts
|
||||
item.SetIconActive(iconStyle.show);
|
||||
serieData.labelObject = item;
|
||||
|
||||
foreach (var data in serieData.children)
|
||||
foreach (var dataIndex in serieData.children)
|
||||
{
|
||||
AddSerieLabel(serie, data, ref count);
|
||||
AddSerieLabel(serie, serie.GetSerieData(dataIndex), ref count);
|
||||
count++;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user