mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-17 14:00:12 +00:00
3.8.0
This commit is contained in:
@@ -212,10 +212,8 @@ slug: /api
|
||||
|AddYAxisData()||public void AddYAxisData(string category, int yAxisIndex = 0)<br/>Add a category data to yAxis. |
|
||||
|AddYAxisIcon()||public void AddYAxisIcon(Sprite icon, int yAxisIndex = 0)<br/>Add an icon to yAxis. |
|
||||
|AnimationEnable()||public void AnimationEnable(bool flag)<br/>Whether enable serie animations. |
|
||||
|AnimationFadein()||public void AnimationFadein(bool reset = true)<br/>Start all serie fadein animations. |
|
||||
|AnimationFadeIn()||public void AnimationFadeIn(bool reset = true)|
|
||||
|AnimationFadeout()||public void AnimationFadeout()<br/>Start all serie fadeout animations. |
|
||||
|AnimationFadeOut()||public void AnimationFadeOut()|
|
||||
|AnimationFadeIn()||public void AnimationFadeIn(bool reset = true)<br/>Start all serie fadein animations. |
|
||||
|AnimationFadeOut()||public void AnimationFadeOut()<br/>Start all serie fadeout animations. |
|
||||
|AnimationPause()||public void AnimationPause()<br/>Pause all animations. |
|
||||
|AnimationReset()||public void AnimationReset()<br/>Reset all animations. |
|
||||
|AnimationResume()||public void AnimationResume()<br/>Resume all animations. |
|
||||
|
||||
@@ -169,7 +169,7 @@ import APITable from '@site/src/components/APITable';
|
||||
- [AnimationAddition](#animationaddition)
|
||||
- [AnimationChange](#animationchange)
|
||||
- [AnimationFadeIn](#animationfadein)
|
||||
- [AnimationFadeout](#animationfadeout)
|
||||
- [AnimationFadeOut](#animationfadeout)
|
||||
- [AnimationInfo](#animationinfo)
|
||||
- [BaseSerie](#baseserie)
|
||||
- [ChartText](#charttext)
|
||||
@@ -238,9 +238,9 @@ Data change animation.
|
||||
|
||||
Fade in animation.
|
||||
|
||||
## AnimationFadeout
|
||||
## AnimationFadeOut
|
||||
|
||||
> XCharts.Runtime.AnimationFadeout : [AnimationInfo](#animationinfo)
|
||||
> XCharts.Runtime.AnimationFadeOut : [AnimationInfo](#animationinfo)
|
||||
|
||||
> Since `v3.8.0`
|
||||
|
||||
@@ -248,7 +248,7 @@ Fade out animation.
|
||||
|
||||
## AnimationInfo
|
||||
|
||||
> XCharts.Runtime.AnimationInfo / Subclasses: [AnimationFadeIn](#animationfadein), [AnimationFadeout](#animationfadeout), [AnimationChange](#animationchange), [AnimationAddition](#animationaddition)
|
||||
> XCharts.Runtime.AnimationInfo / Subclasses: [AnimationFadeIn](#animationfadein), [AnimationFadeOut](#animationfadeout), [AnimationChange](#animationchange), [AnimationAddition](#animationaddition)
|
||||
|
||||
> Since `v3.8.0`
|
||||
|
||||
@@ -288,8 +288,8 @@ the animation of serie. support animation type: fadeIn, fadeOut, change, additio
|
||||
|easting|||<br/>`AnimationEasing`:<br/>- `Linear`: <br/>|
|
||||
|threshold|2000||Whether to set graphic number threshold to animation. Animation will be disabled when graphic number is larger than threshold.
|
||||
|unscaledTime||v3.4.0|Animation updates independently of Time.timeScale.
|
||||
|fadein||v3.8.0|Fade in animation configuration. [AnimationFadeIn](#animationfadein)|
|
||||
|fadeout||v3.8.0|Fade out animation configuration. [AnimationFadeout](#animationfadeout)|
|
||||
|fadeIn||v3.8.0|Fade in animation configuration. [AnimationFadeIn](#animationfadein)|
|
||||
|fadeOut||v3.8.0|Fade out animation configuration. [AnimationFadeOut](#animationfadeout)|
|
||||
|change||v3.8.0|Update data animation configuration. [AnimationChange](#animationchange)|
|
||||
|addition||v3.8.0|Add data animation configuration. [AnimationAddition](#animationaddition)|
|
||||
|
||||
|
||||
@@ -212,10 +212,8 @@ slug: /api
|
||||
|AddYAxisData()||public void AddYAxisData(string category, int yAxisIndex = 0)<br/>添加一个类目数据到指定的y轴。 |
|
||||
|AddYAxisIcon()||public void AddYAxisIcon(Sprite icon, int yAxisIndex = 0)<br/>添加一个图标到指定的y轴。 |
|
||||
|AnimationEnable()||public void AnimationEnable(bool flag)<br/>是否启用Serie动画。 |
|
||||
|AnimationFadein()||public void AnimationFadein(bool reset = true)<br/>开始所有Serie的渐入动画。 |
|
||||
|AnimationFadeIn()||public void AnimationFadeIn(bool reset = true)|
|
||||
|AnimationFadeout()||public void AnimationFadeout()<br/>开始所有Serie的渐出动画。 |
|
||||
|AnimationFadeOut()||public void AnimationFadeOut()|
|
||||
|AnimationFadeIn()||public void AnimationFadeIn(bool reset = true)<br/>开始所有Serie的渐入动画。 |
|
||||
|AnimationFadeOut()||public void AnimationFadeOut()<br/>开始所有Serie的渐出动画。 |
|
||||
|AnimationPause()||public void AnimationPause()<br/>暂停所有Serie的动画。 |
|
||||
|AnimationReset()||public void AnimationReset()<br/>重置所有Serie的动画。 |
|
||||
|AnimationResume()||public void AnimationResume()<br/>继续所有Serie的动画。 |
|
||||
|
||||
@@ -169,7 +169,7 @@ import APITable from '@site/src/components/APITable';
|
||||
- [AnimationAddition](#animationaddition)
|
||||
- [AnimationChange](#animationchange)
|
||||
- [AnimationFadeIn](#animationfadein)
|
||||
- [AnimationFadeout](#animationfadeout)
|
||||
- [AnimationFadeOut](#animationfadeout)
|
||||
- [AnimationInfo](#animationinfo)
|
||||
- [BaseSerie](#baseserie)
|
||||
- [ChartText](#charttext)
|
||||
@@ -238,9 +238,9 @@ import APITable from '@site/src/components/APITable';
|
||||
|
||||
淡入动画。
|
||||
|
||||
## AnimationFadeout
|
||||
## AnimationFadeOut
|
||||
|
||||
> XCharts.Runtime.AnimationFadeout : [AnimationInfo](#animationinfo)
|
||||
> XCharts.Runtime.AnimationFadeOut : [AnimationInfo](#animationinfo)
|
||||
|
||||
> 从 `v3.8.0` 开始支持
|
||||
|
||||
@@ -248,7 +248,7 @@ import APITable from '@site/src/components/APITable';
|
||||
|
||||
## AnimationInfo
|
||||
|
||||
> XCharts.Runtime.AnimationInfo / Subclasses: [AnimationFadeIn](#animationfadein), [AnimationFadeout](#animationfadeout), [AnimationChange](#animationchange), [AnimationAddition](#animationaddition)
|
||||
> XCharts.Runtime.AnimationInfo / Subclasses: [AnimationFadeIn](#animationfadein), [AnimationFadeOut](#animationfadeout), [AnimationChange](#animationchange), [AnimationAddition](#animationaddition)
|
||||
|
||||
> 从 `v3.8.0` 开始支持
|
||||
|
||||
@@ -274,7 +274,7 @@ import APITable from '@site/src/components/APITable';
|
||||
|
||||
> XCharts.Runtime.AnimationStyle : [ChildComponent](#childcomponent)
|
||||
|
||||
动画表现。支持配置四种动画表现:FadeIn(渐入动画),FadeOut(渐出动画),Change(变更动画),Addition(新增动画)。
|
||||
动画组件,用于控制图表的动画播放。支持配置四种动画表现:FadeIn(渐入动画),FadeOut(渐出动画),Change(变更动画),Addition(新增动画)。 按作用的对象可以分为两类:SerieAnimation(系列动画)和DataAnimation(数据动画)。
|
||||
|
||||
```mdx-code-block
|
||||
<APITable name="AnimationStyle">
|
||||
@@ -288,8 +288,8 @@ import APITable from '@site/src/components/APITable';
|
||||
|easting|||<br/>`AnimationEasing`:<br/>- `Linear`: <br/>|
|
||||
|threshold|2000||是否开启动画的阈值,当单个系列显示的图形数量大于这个阈值时会关闭动画。
|
||||
|unscaledTime||v3.4.0|动画是否受TimeScaled的影响。默认为 false 受TimeScaled的影响。
|
||||
|fadein||v3.8.0|渐入动画配置。 [AnimationFadeIn](#animationfadein)|
|
||||
|fadeout||v3.8.0|渐出动画配置。 [AnimationFadeout](#animationfadeout)|
|
||||
|fadeIn||v3.8.0|渐入动画配置。 [AnimationFadeIn](#animationfadein)|
|
||||
|fadeOut||v3.8.0|渐出动画配置。 [AnimationFadeOut](#animationfadeout)|
|
||||
|change||v3.8.0|数据变更动画配置。 [AnimationChange](#animationchange)|
|
||||
|addition||v3.8.0|数据新增动画配置。 [AnimationAddition](#animationaddition)|
|
||||
|
||||
|
||||
Reference in New Issue
Block a user