Skip to content

Commit

Permalink
增加LiquidChart数据变更动画#83
Browse files Browse the repository at this point in the history
  • Loading branch information
monitor1394 committed Aug 11, 2020
1 parent 5d79a76 commit c335140
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG-EN.md
Original file line number Diff line number Diff line change
@@ -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.08) Optimize `LineChart` the rendering performance of dense data
* (2020.07.30) Added `LineChart` to configure gradient through `VisualMap` or `ItemStyle`#78
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@

# 更新日志

* (2020.08.11) 增加`LiquidChart`数据变更动画#83
* (2020.08.11) 优化`PieChart`文本堆叠和引线效果#85
* (2020.08.08) 优化`LineChart`密集数据的绘制表现效果
* (2020.07.30) 增加`LineChart`可通过`VisualMap``ItemStyle`配置渐变#78
Expand Down
4 changes: 2 additions & 2 deletions Runtime/LiquidChart.cs
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,8 @@ private void DrawSerie(VertexHelper vh, Serie serie)
var radius = vessel.runtimeInnerRadius;
var serieData = serie.GetSerieData(0);
if (serieData == null) return;

var value = serieData.GetData(1);
var dataChangeDuration = serie.animation.GetUpdateAnimationDuration();
var value = serieData.GetCurrData(1, dataChangeDuration);
if (serie.runtimeCheckValue != value)
{
serie.runtimeCheckValue = value;
Expand Down

0 comments on commit c335140

Please sign in to comment.