GaugeChart 仪表盘
XCharts付费扩展图表 - 仪表盘。
截图
![]() | ![]() | ![]() | ![]() |
![]() | ![]() | ![]() | ![]() |
![]() | ![]() | ![]() | ![]() |
![]() | ![]() |
许可
扩展图表,需付费购买后才获得使用许可。
示例
Demo仓库:XCharts-GaugeChart-Demo
教程
文档
日志
v3.12.0
- (2024.09.30) 发布
v3.12.0版本 - (2024.09.30) 更新文档
v3.11.0
- (2024.06.16) 发布
v3.11.0版本
v3.10.0
- (2024.01.21) 增加
Gauge的更多创建默认图表的快捷方式和API
v3.9.0
- (2023.12.01) 发布
v3.9.0版本 - (2023.12.01) 更新文档
v3.8.0
- (2023.07.31) 同步
XCharts v3.8.0
v3.6.1
- (2023.06.08) 发布
v3.6.1版本 - (2023.06.08) 更新文档
v3.6.0
- (2023.04.01) 发布
v3.6.0版本 - (2023.03.17) 增加
Gauge的rangeDataMode可设置是否使用范围数据模式 - (2023.03.17) 增加
Gauge的loop可设置是否循环数据,用于时钟甘特图 - (2023.03.17) 增加
GaugePointer的value可设置指针位置 - (2023.03.17) 增加
Clock时钟仪表盘支持 - (2023.03.13) 增加
GaugePointer的nowTime可设置指针指向当前时间 - (2023.03.13) 增加
GaugePointer的value可设置当前指针位置 - (2023.03.13) 增加
Clock类型的甘特图支持 - (2023.02.14) 同步
XCharts v3.6.0
v3.5.0
- (2022.12.01) 发布
v3.5.0版本 - (2022.11.27) 调整
Documentation文档结构
v3.4.0
- (2022.10.05) 增加
GaugeAxisLine的stageGradient支持设置阶段渐变色过渡
v3.3.0
- (2022.09.28) 发布
v3.3.0版本 - (2022.08.26) 修复
Pointer在普通模式下不显示的问题 - (2022.08.25) 增加
label颜色跟随数值变化的支持
v3.2.0
- (2022.08.22) 发布
v3.2.0版本 - (2022.08.19) 同步
XCharts v3.2.0 - (2022.08.15) 支持渐变
API
Gauge
class in XCharts.Runtime.Gauges / 继承自: Serie
仪表盘系列数据。
Gauge.defaultColorBy
public override SerieColorBy defaultColorBy
Gauge.AddDefaultSerie
public static void AddDefaultSerie(BaseChart chart, string serieName)
Gauge.ClearComponentDirty
public override void ClearComponentDirty()
Gauge.ClearVerticesDirty
public override void ClearVerticesDirty()
Gauge.GetPointerColor
public Color32 GetPointerColor(ThemeStyle theme, int colorIndex, float angle, Color32 dataColor)
GaugeAnchor
class in XCharts.Runtime.Gauges / 继承自: ChildComponent
GaugeAnchor.GetPosition
public Vector3 GetPosition(Vector3 center, float radius)
GaugeAxis
class in XCharts.Runtime.Gauges / 继承自: ChildComponent
仪表盘轴线相关设置。
GaugeAxis.axisLabel
public AxisLabel axisLabel
文本标签。
GaugeAxis.axisLabelText
public List<string> axisLabelText
自定义Label的内容。
GaugeAxis.axisLine
public GaugeAxisLine axisLine
仪表盘轴线样式。
GaugeAxis.axisTick
public AxisTick axisTick
刻度。
GaugeAxis.distance
public float distance
GaugeAxis.overlap
public bool overlap
GaugeAxis.show
public bool show
GaugeAxis.splitLine
public AxisSplitLine splitLine
分割线。
GaugeAxis.type
public GaugeAxisType type
GaugeAxis.AddLabelObject
public void AddLabelObject(ChartLabel label)
GaugeAxis.ClearLabelObject
public void ClearLabelObject()
GaugeAxis.GaugeAxis
public GaugeAxis()
GaugeAxis.GetLabelObject
public ChartLabel GetLabelObject(int index)
GaugeAxis.GetStageColor
public Color32 GetStageColor(float rate)
GaugeAxis.GetStageColorByAngle
public Color32 GetStageColorByAngle(float angle)
GaugeAxis.SetLabelObjectActive
public void SetLabelObjectActive(bool flag)
GaugeAxis.SetLabelObjectPosition
public void SetLabelObjectPosition(int index, Vector3 pos)













