mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-29 12:48:47 +00:00
fix serielabel refresh exception (#215)
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
# 更新日志
|
# 更新日志
|
||||||
|
|
||||||
[branch-2.0](#branch-2.0)
|
[branch-2.0](#branch-2.0)
|
||||||
|
[v2.8.2](#v2.8.2)
|
||||||
[v2.8.1](#v2.8.1)
|
[v2.8.1](#v2.8.1)
|
||||||
[v2.8.0](#v2.8.0)
|
[v2.8.0](#v2.8.0)
|
||||||
[v2.7.0](#v2.7.0)
|
[v2.7.0](#v2.7.0)
|
||||||
@@ -45,6 +46,12 @@
|
|||||||
|
|
||||||
## branch-2.0
|
## branch-2.0
|
||||||
|
|
||||||
|
## v2.8.2
|
||||||
|
|
||||||
|
* (2022.07.13) Release `v2.8.2` version
|
||||||
|
* (2022.07.13) Fixed `SerieLabel` refresh exception #215
|
||||||
|
* (2022.06.30) Optimize `Radar` so that the `Tooltip` layer is above `Indicator`
|
||||||
|
|
||||||
## v2.8.1
|
## v2.8.1
|
||||||
|
|
||||||
* (2022.05.03) Added `onLegendClick`, `onLegendEnter` and `onLegendExit` delegate callbacks for `Legend`
|
* (2022.05.03) Added `onLegendClick`, `onLegendEnter` and `onLegendExit` delegate callbacks for `Legend`
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
# 更新日志
|
# 更新日志
|
||||||
|
|
||||||
[branch-2.0](#branch-2.0)
|
[branch-2.0](#branch-2.0)
|
||||||
|
[v2.8.2](#v2.8.2)
|
||||||
[v2.8.1](#v2.8.1)
|
[v2.8.1](#v2.8.1)
|
||||||
[v2.8.0](#v2.8.0)
|
[v2.8.0](#v2.8.0)
|
||||||
[v2.7.0](#v2.7.0)
|
[v2.7.0](#v2.7.0)
|
||||||
@@ -45,6 +46,10 @@
|
|||||||
|
|
||||||
## branch-2.0
|
## branch-2.0
|
||||||
|
|
||||||
|
## v2.8.2
|
||||||
|
|
||||||
|
* (2022.07.13) 发布`v2.8.2`版本
|
||||||
|
* (2022.07.13) 修复`SerieLabel`刷新异常的问题 #215
|
||||||
* (2022.06.30) 优化`Radar`让`Tooltip`的层在`Indicator`之上
|
* (2022.06.30) 优化`Radar`让`Tooltip`的层在`Indicator`之上
|
||||||
|
|
||||||
## v2.8.1
|
## v2.8.1
|
||||||
|
|||||||
@@ -528,12 +528,12 @@ namespace XCharts
|
|||||||
m_ChartMaxAnchor, m_ChartPivot, m_ChartSizeDelta);
|
m_ChartMaxAnchor, m_ChartPivot, m_ChartSizeDelta);
|
||||||
m_SerieLabelRoot.hideFlags = chartHideFlags;
|
m_SerieLabelRoot.hideFlags = chartHideFlags;
|
||||||
SerieLabelPool.ReleaseAll(m_SerieLabelRoot.transform);
|
SerieLabelPool.ReleaseAll(m_SerieLabelRoot.transform);
|
||||||
int count = 0;
|
|
||||||
for (int i = 0; i < m_Series.Count; i++)
|
for (int i = 0; i < m_Series.Count; i++)
|
||||||
{
|
{
|
||||||
var serie = m_Series.list[i];
|
var serie = m_Series.list[i];
|
||||||
serie.index = i;
|
serie.index = i;
|
||||||
SerieHelper.UpdateCenter(serie, chartPosition, chartWidth, chartHeight);
|
SerieHelper.UpdateCenter(serie, chartPosition, chartWidth, chartHeight);
|
||||||
|
int count = 0;
|
||||||
for (int j = 0; j < serie.data.Count; j++)
|
for (int j = 0; j < serie.data.Count; j++)
|
||||||
{
|
{
|
||||||
var serieData = serie.data[j];
|
var serieData = serie.data[j];
|
||||||
|
|||||||
Reference in New Issue
Block a user