Bar3DChart 3D柱图
XCharts的付费扩展图表 - 3D柱图。
许可
扩展图表,需付费购买后才获得使用许可。
教程
文档
日志
v3.6.0
- (2023.04.01) 发布
v3.6.0
版本 - (2023.03.09) 支持
onSerieClick
onSerieDown
onSerieEnter
和onSerieExit
回调 - (2023.02.14) 同步
XCharts v3.6.0
- (2023.02.14) 增加
Bar3DStyle
的topColor
、bottomColor
和sideColor
参数支持
v3.5.0
- (2022.11.29) 增加
Serie
的barMaxWidth
参数支持 - (2022.11.27) 增加
Serie
的ItemStyle
的backgroundColor
参数支持 - (2022.11.27) 增加
Serie
的colorBy
的支持 - (2022.11.27) 更新文档
v3.4.0
- (2022.11.01) 支持
Animation
的unscaledTime
- (2022.11.01) 同步
XCharts v3.4.0
v3.2.0
- (2022.08.22) 发布
v3.2.0
版本 - (2022.08.19) 同步
XCharts v3.2.0
v3.1.0
- (2022.07.14) 发布
v3.1.0
版本 - (2022.07.14) 增加
bottomColorRate
,cylinderRate
参数 - (2022.07.14) 调整
topColorBurnRate
改名为topColorRate
- (2022.07.14) 调整
sideColorBurnRate
改名为sideColorRate
- (2022.07.14) 调整
dire
改名为cubeDire
- (2022.07.14) 支持
Cylinder
圆柱和Cube
立方柱
API
Bar3DChart
Inherits or Implemented: BaseChart
配置项手册
Bar3D
Inherits or Implemented: Serie,INeedSerieContainer
3D柱图。支持立方柱和圆柱。可水平排列和垂直排列。
field | default | since | comment |
---|---|---|---|
bar3DType | v3.1.0 | Bar3DType :- Cube : 立方柱。- Cylinder : 圆柱。 | |
bar3DStyle | Bar3DStyle |
Bar3DStyle
Inherits or Implemented: ChildComponent
field | default | since | comment |
---|---|---|---|
show | true | ||
verticalArrange | false | 是否垂直排列。 | |
verticalArrangeDire | Vector3(-1, 1) | 垂直排列时的方向。 | |
verticalArrangeGap | 0.5f | 垂直排列时两个柱子间的间隙。 | |
barOffset | Vector3.zero | 柱子偏移。 | |
widthRate | 0.5f | 方形柱侧边宽度相对正面的比例。 | |
topColorRate | 0.8f | 柱子顶部相对正面的颜色比例。 | |
bottomColorRate | 1f | 柱子底部相对正面的颜色比例。 | |
sideColorRate | 0.7f | 方形柱侧边相对正面的颜色比例。 | |
cubeDire | Vector3(1, 1) | 方形柱形成3D效果的方向。 | |
cylinderRate | 0.5f | v3.1.0 | 圆柱的顶部椭圆比列。 |
topColor | v3.6.0 | ||
bottomColor | v3.6.0 | ||
sideColor | v3.6.0 |