mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-27 19:50:10 +00:00
增加LiquidChart数据变更动画#83
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
|
|
||||||
# 更新日志
|
# 更新日志
|
||||||
|
|
||||||
|
* (2020.08.11) Added `LiquidChart` data change animation#83
|
||||||
* (2020.08.11) Optimize `PieChart` text stack and lead line effects#85
|
* (2020.08.11) Optimize `PieChart` text stack and lead line effects#85
|
||||||
* (2020.08.08) Optimize `LineChart` the rendering performance of dense data
|
* (2020.08.08) Optimize `LineChart` the rendering performance of dense data
|
||||||
* (2020.07.30) Added `LineChart` to configure gradient through `VisualMap` or `ItemStyle`#78
|
* (2020.07.30) Added `LineChart` to configure gradient through `VisualMap` or `ItemStyle`#78
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
|
|
||||||
# 更新日志
|
# 更新日志
|
||||||
|
|
||||||
|
* (2020.08.11) 增加`LiquidChart`数据变更动画#83
|
||||||
* (2020.08.11) 优化`PieChart`文本堆叠和引线效果#85
|
* (2020.08.11) 优化`PieChart`文本堆叠和引线效果#85
|
||||||
* (2020.08.08) 优化`LineChart`密集数据的绘制表现效果
|
* (2020.08.08) 优化`LineChart`密集数据的绘制表现效果
|
||||||
* (2020.07.30) 增加`LineChart`可通过`VisualMap`或`ItemStyle`配置渐变#78
|
* (2020.07.30) 增加`LineChart`可通过`VisualMap`或`ItemStyle`配置渐变#78
|
||||||
|
|||||||
@@ -149,8 +149,8 @@ namespace XCharts
|
|||||||
var radius = vessel.runtimeInnerRadius;
|
var radius = vessel.runtimeInnerRadius;
|
||||||
var serieData = serie.GetSerieData(0);
|
var serieData = serie.GetSerieData(0);
|
||||||
if (serieData == null) return;
|
if (serieData == null) return;
|
||||||
|
var dataChangeDuration = serie.animation.GetUpdateAnimationDuration();
|
||||||
var value = serieData.GetData(1);
|
var value = serieData.GetCurrData(1, dataChangeDuration);
|
||||||
if (serie.runtimeCheckValue != value)
|
if (serie.runtimeCheckValue != value)
|
||||||
{
|
{
|
||||||
serie.runtimeCheckValue = value;
|
serie.runtimeCheckValue = value;
|
||||||
|
|||||||
Reference in New Issue
Block a user