mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-23 01:10:08 +00:00
增加GridLayout网格布局组件
This commit is contained in:
@@ -310,7 +310,7 @@ namespace XCharts.Runtime
|
||||
m_SerieLabelRoot.hideFlags = chart.chartHideFlags;
|
||||
SerieLabelPool.ReleaseAll(m_SerieLabelRoot.transform);
|
||||
int count = 0;
|
||||
SerieHelper.UpdateCenter(serie, chart.chartPosition, chart.chartWidth, chart.chartHeight);
|
||||
SerieHelper.UpdateCenter(serie, chart);
|
||||
for (int j = 0; j < serie.data.Count; j++)
|
||||
{
|
||||
var serieData = serie.data[j];
|
||||
@@ -402,7 +402,7 @@ namespace XCharts.Runtime
|
||||
SerieLabelPool.ReleaseAll(serieTitleRoot.transform);
|
||||
ChartHelper.RemoveComponent<Text>(serieTitleRoot);
|
||||
|
||||
SerieHelper.UpdateCenter(serie, chart.chartPosition, chart.chartWidth, chart.chartHeight);
|
||||
SerieHelper.UpdateCenter(serie, chart);
|
||||
|
||||
if (serie.titleJustForSerie)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user