diff --git a/Documentation~/en/api.md b/Documentation~/en/api.md
index e21619b8..e6d20502 100644
--- a/Documentation~/en/api.md
+++ b/Documentation~/en/api.md
@@ -317,12 +317,12 @@ Angle axis of Polar Coordinate.
### AngleAxis.GetValueAngle
-public float GetValueAngle(double value)
+public float GetValueAngle(double value)
### AngleAxis.SetDefaultValue
-public override void SetDefaultValue()
+public override void SetDefaultValue()
## AngleAxisTheme
@@ -330,11 +330,11 @@ class in XCharts.Runtime / Inherits from: [BaseAxisTheme](#baseaxistheme)
### AngleAxisTheme.base(theme)
-public AngleAxisTheme(ThemeType theme) : base(theme)
+public AngleAxisTheme(ThemeType theme) : base(theme)
### AngleAxisTheme.AngleAxisTheme
-public AngleAxisTheme(ThemeType theme) : base(theme) { }
+public AngleAxisTheme(ThemeType theme) : base(theme) { }
## AnimationAddition
@@ -394,92 +394,92 @@ the animation info.
### AnimationInfo.delay
-public float delay
+public float delay
the delay time before animation start.
### AnimationInfo.delayFunction
-public AnimationDelayFunction delayFunction
+public AnimationDelayFunction delayFunction
the delegate function of animation delay.
### AnimationInfo.duration
-public float duration
+public float duration
the duration of animation.
### AnimationInfo.durationFunction
-public AnimationDurationFunction durationFunction
+public AnimationDurationFunction durationFunction
the delegate function of animation duration.
### AnimationInfo.enable
-public bool enable
+public bool enable
whether enable animation.
### AnimationInfo.OnAnimationEnd
-public Action OnAnimationEnd
+public Action OnAnimationEnd
the callback function of animation end.
### AnimationInfo.OnAnimationStart
-public Action OnAnimationStart
+public Action OnAnimationStart
the callback function of animation start.
### AnimationInfo.reverse
-public bool reverse
+public bool reverse
whether enable reverse animation.
### AnimationInfo.End
-public void End()
+public void End()
End animation.
### AnimationInfo.GetIndexDelay
-public float GetIndexDelay(int dataIndex)
+public float GetIndexDelay(int dataIndex)
Get animation delay.
### AnimationInfo.Init
-public bool Init(float curr, float dest, int totalPointIndex)
+public bool Init(float curr, float dest, int totalPointIndex)
Initialize animation.
### AnimationInfo.IsFinish
-public bool IsFinish()
+public bool IsFinish()
Whether animation is finish.
### AnimationInfo.IsInDelay
-public bool IsInDelay()
+public bool IsInDelay()
Whether animation is in delay.
### AnimationInfo.IsInIndexDelay
-public bool IsInIndexDelay(int dataIndex)
+public bool IsInIndexDelay(int dataIndex)
Whether animation is in index delay.
### AnimationInfo.Pause
-public void Pause()
+public void Pause()
Pause animation.
### AnimationInfo.Reset
-public void Reset()
+public void Reset()
Reset animation.
### AnimationInfo.Resume
-public void Resume()
+public void Resume()
Resume animation.
### AnimationInfo.Start
-public void Start(bool reset = true)
+public void Start(bool reset = true)
Start animation.
## AnimationInfoContext
@@ -496,31 +496,31 @@ Interactive animation of charts.
### AnimationInteraction.offset
-public MLValue offset
+public MLValue offset
the mlvalue of offset. Such as the offset of the pie chart when the sector is selected.
### AnimationInteraction.radius
-public MLValue radius
+public MLValue radius
the mlvalue of radius.
### AnimationInteraction.width
-public MLValue width
+public MLValue width
the mlvalue of width.
### AnimationInteraction.GetOffset
-public float GetOffset()
+public float GetOffset()
### AnimationInteraction.GetRadius
-public float GetRadius(float radius)
+public float GetRadius(float radius)
### AnimationInteraction.GetWidth
-public float GetWidth(float width)
+public float GetWidth(float width)
## AnimationStyle
@@ -530,180 +530,180 @@ the animation of serie. support animation type: fadeIn, fadeOut, change, additio
### AnimationStyle.addition
-public AnimationAddition addition
+public AnimationAddition addition
Add data animation configuration.
### AnimationStyle.change
-public AnimationChange change
+public AnimationChange change
Update data animation configuration.
### AnimationStyle.enable
-public bool enable
+public bool enable
Whether to enable animation.
### AnimationStyle.fadeIn
-public AnimationFadeIn fadeIn
+public AnimationFadeIn fadeIn
Fade in animation configuration.
### AnimationStyle.fadeInFinishCallback
-public Action fadeInFinishCallback
+public Action fadeInFinishCallback
### AnimationStyle.fadeOut
-public AnimationFadeOut fadeOut
+public AnimationFadeOut fadeOut
Fade out animation configuration.
### AnimationStyle.fadeOutFinishCallback
-public Action fadeOutFinishCallback
+public Action fadeOutFinishCallback
### AnimationStyle.hiding
-public AnimationHiding hiding
+public AnimationHiding hiding
Data hiding animation configuration.
### AnimationStyle.interaction
-public AnimationInteraction interaction
+public AnimationInteraction interaction
Interaction animation configuration.
### AnimationStyle.threshold
-public int threshold
+public int threshold
Whether to set graphic number threshold to animation. Animation will be disabled when graphic number is larger than threshold.
### AnimationStyle.unscaledTime
-public bool unscaledTime
+public bool unscaledTime
Animation updates independently of Time.timeScale.
### AnimationStyle.Addition
-public void Addition()
+public void Addition()
Start additon animation.
### AnimationStyle.CanCheckInteract
-public bool CanCheckInteract()
+public bool CanCheckInteract()
### AnimationStyle.CheckDetailBreak
-public bool CheckDetailBreak(Vector3 pos, bool isYAxis)
+public bool CheckDetailBreak(Vector3 pos, bool isYAxis)
### AnimationStyle.CheckProgress
-public void CheckProgress(double total)
+public void CheckProgress(double total)
### AnimationStyle.CheckSymbol
-public void CheckSymbol(float dest)
+public void CheckSymbol(float dest)
### AnimationStyle.FadeIn
-public void FadeIn()
+public void FadeIn()
Start fadein animation.
### AnimationStyle.FadeOut
-public void FadeOut()
+public void FadeOut()
Start fadeout animation.
### AnimationStyle.GetAdditionDuration
-public float GetAdditionDuration()
+public float GetAdditionDuration()
### AnimationStyle.GetChangeDuration
-public float GetChangeDuration()
+public float GetChangeDuration()
### AnimationStyle.GetCurrDetail
-public float GetCurrDetail()
+public float GetCurrDetail()
### AnimationStyle.GetCurrIndex
-public int GetCurrIndex()
+public int GetCurrIndex()
### AnimationStyle.GetCurrRate
-public float GetCurrRate()
+public float GetCurrRate()
### AnimationStyle.GetInteractionDuration
-public float GetInteractionDuration()
+public float GetInteractionDuration()
### AnimationStyle.GetInteractionRadius
-public float GetInteractionRadius(float radius)
+public float GetInteractionRadius(float radius)
### AnimationStyle.GetSysmbolSize
-public float GetSysmbolSize(float dest)
+public float GetSysmbolSize(float dest)
### AnimationStyle.HasFadeOut
-public bool HasFadeOut()
+public bool HasFadeOut()
### AnimationStyle.InitProgress
-public void InitProgress(List<Vector3> paths, bool isY)
+public void InitProgress(List<Vector3> paths, bool isY)
Initialize animation configuration.
### AnimationStyle.IsDataAnimation
-public bool IsDataAnimation()
+public bool IsDataAnimation()
whther animaiton is data animation. BottomToTop and InsideOut are data animation.
### AnimationStyle.IsEnd
-public bool IsEnd()
+public bool IsEnd()
### AnimationStyle.IsFadeIn
-public bool IsFadeIn()
+public bool IsFadeIn()
### AnimationStyle.IsFadeOut
-public bool IsFadeOut()
+public bool IsFadeOut()
### AnimationStyle.IsFinish
-public bool IsFinish()
+public bool IsFinish()
### AnimationStyle.IsInDelay
-public bool IsInDelay()
+public bool IsInDelay()
### AnimationStyle.IsSerieAnimation
-public bool IsSerieAnimation()
+public bool IsSerieAnimation()
whther animaiton is serie animation. LeftToRight, AlongPath and Clockwise are serie animation.
### AnimationStyle.Pause
-public void Pause()
+public void Pause()
Pause all animations.
### AnimationStyle.Reset
-public void Reset()
+public void Reset()
Reset all animations.
### AnimationStyle.Restart
-public void Restart()
+public void Restart()
Restart the actived animation.
### AnimationStyle.Resume
-public void Resume()
+public void Resume()
Resume all animations.
## AnimationStyleHelper
@@ -712,19 +712,19 @@ class in XCharts.Runtime
### AnimationStyleHelper.CheckDataAnimation
-public static float CheckDataAnimation(BaseChart chart, Serie serie, int dataIndex, float destProgress, float startPorgress = 0)
+public static float CheckDataAnimation(BaseChart chart, Serie serie, int dataIndex, float destProgress, float startPorgress = 0)
### AnimationStyleHelper.GetAnimationPosition
-public static bool GetAnimationPosition(AnimationStyle animation, bool isY, Vector3 lp, Vector3 cp, float progress, ref Vector3 ip, ref float rate)
+public static bool GetAnimationPosition(AnimationStyle animation, bool isY, Vector3 lp, Vector3 cp, float progress, ref Vector3 ip, ref float rate)
### AnimationStyleHelper.UpdateAnimationType
-public static void UpdateAnimationType(AnimationStyle animation, AnimationType defaultType, bool enableSerieDataAnimation)
+public static void UpdateAnimationType(AnimationStyle animation, AnimationType defaultType, bool enableSerieDataAnimation)
### AnimationStyleHelper.UpdateSerieAnimation
-public static void UpdateSerieAnimation(Serie serie)
+public static void UpdateSerieAnimation(Serie serie)
## AnimationType
@@ -747,7 +747,7 @@ The style of area.
### AreaStyle.GetColor
-public Color32 GetColor(Color32 themeColor)
+public Color32 GetColor(Color32 themeColor)
## AreaStyle.AreaOrigin
@@ -768,15 +768,15 @@ class in XCharts.Runtime / Inherits from: [ChildComponent](#childcomponent)
### ArrowStyle.Clone
-public ArrowStyle Clone()
+public ArrowStyle Clone()
### ArrowStyle.Copy
-public void Copy(ArrowStyle arrow)
+public void Copy(ArrowStyle arrow)
### ArrowStyle.GetColor
-public Color32 GetColor(Color32 defaultColor)
+public Color32 GetColor(Color32 defaultColor)
## Axis
@@ -786,153 +786,153 @@ The axis in rectangular coordinate.
### Axis.AddData
-public void AddData(string category)
+public void AddData(string category)
添加一个类目到类目数据列表
### Axis.AddIcon
-public void AddIcon(Sprite icon)
+public void AddIcon(Sprite icon)
添加图标
### Axis.ClearComponentDirty
-public override void ClearComponentDirty()
+public override void ClearComponentDirty()
### Axis.ClearData
-public override void ClearData()
+public override void ClearData()
清空类目数据
### Axis.ClearVerticesDirty
-public override void ClearVerticesDirty()
+public override void ClearVerticesDirty()
### Axis.Clone
-public Axis Clone()
+public Axis Clone()
### Axis.Copy
-public void Copy(Axis axis)
+public void Copy(Axis axis)
### Axis.GetAddedDataCount
-public int GetAddedDataCount()
+public int GetAddedDataCount()
get the history data count.
### Axis.GetCategoryPosition
-public Vector3 GetCategoryPosition(int categoryIndex, int dataCount = 0)
+public Vector3 GetCategoryPosition(int categoryIndex, int dataCount = 0)
### Axis.GetData
-public string GetData(int index, DataZoom dataZoom)
+public string GetData(int index, DataZoom dataZoom)
获得在dataZoom范围内指定索引的类目数据
### Axis.GetDistance
-public float GetDistance(double value, float axisLength = 0)
+public float GetDistance(double value, float axisLength = 0)
获得值在坐标轴上的距离
### Axis.GetIcon
-public Sprite GetIcon(int index)
+public Sprite GetIcon(int index)
### Axis.GetLabelValue
-public double GetLabelValue(int index)
+public double GetLabelValue(int index)
### Axis.GetLastLabelValue
-public double GetLastLabelValue()
+public double GetLastLabelValue()
### Axis.GetLogMaxIndex
-public double GetLogMaxIndex()
+public double GetLogMaxIndex()
### Axis.GetLogMinIndex
-public double GetLogMinIndex()
+public double GetLogMinIndex()
### Axis.GetLogValue
-public float GetLogValue(double value)
+public float GetLogValue(double value)
### Axis.GetValueLength
-public float GetValueLength(double value, float axisLength)
+public float GetValueLength(double value, float axisLength)
### Axis.IsBottom
-public bool IsBottom()
+public bool IsBottom()
### Axis.IsCategory
-public bool IsCategory()
+public bool IsCategory()
是否为类目轴。
### Axis.IsLeft
-public bool IsLeft()
+public bool IsLeft()
### Axis.IsLog
-public bool IsLog()
+public bool IsLog()
是否为对数轴。
### Axis.IsNeedShowLabel
-public bool IsNeedShowLabel(int index, int total = 0)
+public bool IsNeedShowLabel(int index, int total = 0)
### Axis.IsRight
-public bool IsRight()
+public bool IsRight()
### Axis.IsTime
-public bool IsTime()
+public bool IsTime()
是否为时间轴。
### Axis.IsTop
-public bool IsTop()
+public bool IsTop()
### Axis.IsValue
-public bool IsValue()
+public bool IsValue()
是否为数值轴。
### Axis.RemoveData
-public void RemoveData(int dataIndex)
+public void RemoveData(int dataIndex)
### Axis.ResetStatus
-public override void ResetStatus()
+public override void ResetStatus()
重置状态。
### Axis.SetComponentDirty
-public override void SetComponentDirty()
+public override void SetComponentDirty()
### Axis.SetNeedUpdateFilterData
-public void SetNeedUpdateFilterData()
+public void SetNeedUpdateFilterData()
### Axis.UpdateData
-public void UpdateData(int index, string category)
+public void UpdateData(int index, string category)
更新类目数据
### Axis.UpdateIcon
-public void UpdateIcon(int index, Sprite icon)
+public void UpdateIcon(int index, Sprite icon)
更新图标
### Axis.UpdateZeroOffset
-public void UpdateZeroOffset(float axisLength)
+public void UpdateZeroOffset(float axisLength)
## Axis.AxisMinMaxType
@@ -980,12 +980,12 @@ class in XCharts.Runtime
### Axis3DHelper.Get3DGridPosition
-public static Vector3 Get3DGridPosition(GridCoord3D grid, XAxis3D xAxis, YAxis3D yAxis, double xValue, double yValue)
+public static Vector3 Get3DGridPosition(GridCoord3D grid, XAxis3D xAxis, YAxis3D yAxis, double xValue, double yValue)
### Axis3DHelper.GetLabelPosition
-public static Vector3 GetLabelPosition(int i, Axis axis, Axis relativedAxis, AxisTheme theme, float scaleWid)
+public static Vector3 GetLabelPosition(int i, Axis axis, Axis relativedAxis, AxisTheme theme, float scaleWid)
## AxisAnimation
@@ -997,11 +997,11 @@ animation style of axis.
### AxisAnimation.Clone
-public AxisAnimation Clone()
+public AxisAnimation Clone()
### AxisAnimation.Copy
-public void Copy(AxisAnimation animation)
+public void Copy(AxisAnimation animation)
## AxisContext
@@ -1009,37 +1009,37 @@ class in XCharts.Runtime / Inherits from: [MainComponentContext](#maincomponentc
### AxisContext.destMaxValue
-public double destMaxValue
+public double destMaxValue
### AxisContext.destMinValue
-public double destMinValue
+public double destMinValue
### AxisContext.labelObjectList
-public List<ChartLabel> labelObjectList
+public List<ChartLabel> labelObjectList
### AxisContext.labelValueList
-public List<double> labelValueList
+public List<double> labelValueList
### AxisContext.lastMaxValue
-public double lastMaxValue
+public double lastMaxValue
the current maximum value.
### AxisContext.lastMinValue
-public double lastMinValue
+public double lastMinValue
the current minimun value.
### AxisContext.needAnimation
-public bool needAnimation
+public bool needAnimation
### AxisContext.runtimeData
-public List<string> runtimeData
+public List<string> runtimeData
the tick value of value axis.
## AxisHandler<T>
@@ -1048,7 +1048,7 @@ class in XCharts / Inherits from: [MainComponentHandler](#maincomponenthandler)
### AxisHandler<T>.component
-public T component
+public T component
## AxisHelper
@@ -1056,95 +1056,95 @@ class in XCharts.Runtime
### AxisHelper.AdjustCircleLabelPos
-public static void AdjustCircleLabelPos(ChartLabel txt, Vector3 pos, Vector3 cenPos, float txtHig, Vector3 offset)
+public static void AdjustCircleLabelPos(ChartLabel txt, Vector3 pos, Vector3 cenPos, float txtHig, Vector3 offset)
### AxisHelper.AdjustMinMaxValue
-public static void AdjustMinMaxValue(Axis axis, ref double minValue, ref double maxValue, bool needFormat, double ceilRate = 0)
+public static void AdjustMinMaxValue(Axis axis, ref double minValue, ref double maxValue, bool needFormat, double ceilRate = 0)
调整最大最小值
### AxisHelper.AdjustRadiusAxisLabelPos
-public static void AdjustRadiusAxisLabelPos(ChartLabel txt, Vector3 pos, Vector3 cenPos, float txtHig, Vector3 offset)
+public static void AdjustRadiusAxisLabelPos(ChartLabel txt, Vector3 pos, Vector3 cenPos, float txtHig, Vector3 offset)
### AxisHelper.GetAxisLineArrowOffset
-public static float GetAxisLineArrowOffset(Axis axis)
+public static float GetAxisLineArrowOffset(Axis axis)
包含箭头偏移的轴线长度
### AxisHelper.GetAxisPosition
-public static float GetAxisPosition(GridCoord grid, Axis axis, double value, int dataCount = 0, DataZoom dataZoom = null)
+public static float GetAxisPosition(GridCoord grid, Axis axis, double value, int dataCount = 0, DataZoom dataZoom = null)
### AxisHelper.GetAxisPositionValue
-public static double GetAxisPositionValue(float xy, float axisLength, double axisRange, float axisStart, float axisOffset)
+public static double GetAxisPositionValue(float xy, float axisLength, double axisRange, float axisStart, float axisOffset)
### AxisHelper.GetAxisValueDistance
-public static float GetAxisValueDistance(GridCoord grid, Axis axis, float scaleWidth, double value)
+public static float GetAxisValueDistance(GridCoord grid, Axis axis, float scaleWidth, double value)
获得数值value在坐标轴上相对起点的距离
### AxisHelper.GetAxisValueLength
-public static float GetAxisValueLength(GridCoord grid, Axis axis, float scaleWidth, double value)
+public static float GetAxisValueLength(GridCoord grid, Axis axis, float scaleWidth, double value)
获得数值value在坐标轴上对应的长度
### AxisHelper.GetAxisValuePosition
-public static float GetAxisValuePosition(GridCoord grid, Axis axis, float scaleWidth, double value)
+public static float GetAxisValuePosition(GridCoord grid, Axis axis, float scaleWidth, double value)
获得数值value在坐标轴上的坐标位置
### AxisHelper.GetAxisValueSplitIndex
-public static int GetAxisValueSplitIndex(Axis axis, double value, bool checkMaxCache, int totalSplitNumber = -1)
+public static int GetAxisValueSplitIndex(Axis axis, double value, bool checkMaxCache, int totalSplitNumber = -1)
获得数值value在坐标轴上对应的split索引
### AxisHelper.GetAxisXOrY
-public static float GetAxisXOrY(GridCoord grid, Axis axis, Axis relativedAxis)
+public static float GetAxisXOrY(GridCoord grid, Axis axis, Axis relativedAxis)
### AxisHelper.GetDataWidth
-public static float GetDataWidth(Axis axis, float coordinateWidth, int dataCount, DataZoom dataZoom)
+public static float GetDataWidth(Axis axis, float coordinateWidth, int dataCount, DataZoom dataZoom)
获得一个类目数据在坐标系中代表的宽度
### AxisHelper.GetEachWidth
-public static float GetEachWidth(Axis axis, float coordinateWidth, DataZoom dataZoom = null)
+public static float GetEachWidth(Axis axis, float coordinateWidth, DataZoom dataZoom = null)
### AxisHelper.GetScaleNumber
-public static int GetScaleNumber(Axis axis, float coordinateWidth, DataZoom dataZoom = null)
+public static int GetScaleNumber(Axis axis, float coordinateWidth, DataZoom dataZoom = null)
获得分割线条数
### AxisHelper.GetScaleWidth
-public static float GetScaleWidth(Axis axis, float coordinateWidth, int index, DataZoom dataZoom = null)
+public static float GetScaleWidth(Axis axis, float coordinateWidth, int index, DataZoom dataZoom = null)
获得分割段宽度
### AxisHelper.GetSplitNumber
-public static int GetSplitNumber(Axis axis, float coordinateWid, DataZoom dataZoom)
+public static int GetSplitNumber(Axis axis, float coordinateWid, DataZoom dataZoom)
获得分割段数
### AxisHelper.GetTotalSplitGridNum
-public static int GetTotalSplitGridNum(Axis axis)
+public static int GetTotalSplitGridNum(Axis axis)
获得分割网格个数,包含次刻度
### AxisHelper.GetXAxisXOrY
-public static float GetXAxisXOrY(GridCoord grid, Axis xAxis, Axis relativedAxis)
+public static float GetXAxisXOrY(GridCoord grid, Axis xAxis, Axis relativedAxis)
### AxisHelper.GetYAxisXOrY
-public static float GetYAxisXOrY(GridCoord grid, Axis yAxis, Axis relativedAxis)
+public static float GetYAxisXOrY(GridCoord grid, Axis yAxis, Axis relativedAxis)
### AxisHelper.NeedShowSplit
-public static bool NeedShowSplit(Axis axis)
+public static bool NeedShowSplit(Axis axis)
## AxisLabel
@@ -1154,32 +1154,32 @@ Settings related to axis label.
### AxisLabel.componentDirty
-public override bool componentDirty
+public override bool componentDirty
### AxisLabel.ClearComponentDirty
-public override void ClearComponentDirty()
+public override void ClearComponentDirty()
### AxisLabel.Clone
-public new AxisLabel Clone()
+public new AxisLabel Clone()
### AxisLabel.Copy
-public void Copy(AxisLabel axisLabel)
+public void Copy(AxisLabel axisLabel)
### AxisLabel.GetFormatterContent
-public override string GetFormatterContent(int labelIndex, double value, double minValue, double maxValue, bool isLog = false)
+public override string GetFormatterContent(int labelIndex, double value, double minValue, double maxValue, bool isLog = false)
### AxisLabel.IsNeedShowLabel
-public bool IsNeedShowLabel(int index, int total)
+public bool IsNeedShowLabel(int index, int total)
### AxisLabel.SetRelatedText
-public void SetRelatedText(ChartText txt, float labelWidth)
+public void SetRelatedText(ChartText txt, float labelWidth)
## AxisLine
@@ -1189,11 +1189,11 @@ Settings related to axis line.
### AxisLine.Clone
-public AxisLine Clone()
+public AxisLine Clone()
### AxisLine.Copy
-public void Copy(AxisLine axisLine)
+public void Copy(AxisLine axisLine)
## AxisMinorSplitLine
@@ -1205,29 +1205,29 @@ Minor split line of axis in grid area.
### AxisMinorSplitLine.autoColor
-public bool autoColor
+public bool autoColor
auto color.
### AxisMinorSplitLine.distance
-public float distance
+public float distance
The distance between the split line and axis line.
### AxisMinorSplitLine.vertsDirty
-public override bool vertsDirty
+public override bool vertsDirty
### AxisMinorSplitLine.ClearVerticesDirty
-public override void ClearVerticesDirty()
+public override void ClearVerticesDirty()
### AxisMinorSplitLine.Clone
-public AxisMinorSplitLine Clone()
+public AxisMinorSplitLine Clone()
### AxisMinorSplitLine.Copy
-public void Copy(AxisMinorSplitLine splitLine)
+public void Copy(AxisMinorSplitLine splitLine)
## AxisMinorTick
@@ -1239,23 +1239,23 @@ Settings related to axis minor tick.
### AxisMinorTick.autoColor
-public bool autoColor
+public bool autoColor
### AxisMinorTick.vertsDirty
-public override bool vertsDirty
+public override bool vertsDirty
### AxisMinorTick.ClearVerticesDirty
-public override void ClearVerticesDirty()
+public override void ClearVerticesDirty()
### AxisMinorTick.Clone
-public AxisMinorTick Clone()
+public AxisMinorTick Clone()
### AxisMinorTick.Copy
-public void Copy(AxisMinorTick axisTick)
+public void Copy(AxisMinorTick axisTick)
## AxisName
@@ -1265,11 +1265,11 @@ the name of axis.
### AxisName.Clone
-public AxisName Clone()
+public AxisName Clone()
### AxisName.Copy
-public void Copy(AxisName axisName)
+public void Copy(AxisName axisName)
## AxisSplitArea
@@ -1279,15 +1279,15 @@ Split area of axis in grid area, not shown by default.
### AxisSplitArea.Clone
-public AxisSplitArea Clone()
+public AxisSplitArea Clone()
### AxisSplitArea.Copy
-public void Copy(AxisSplitArea splitArea)
+public void Copy(AxisSplitArea splitArea)
### AxisSplitArea.GetColor
-public Color32 GetColor(int index, BaseAxisTheme theme)
+public Color32 GetColor(int index, BaseAxisTheme theme)
## AxisSplitLine
@@ -1297,29 +1297,29 @@ Split line of axis in grid area.
### AxisSplitLine.autoColor
-public bool autoColor
+public bool autoColor
auto color.
### AxisSplitLine.distance
-public float distance
+public float distance
The distance between the split line and axis line.
### AxisSplitLine.vertsDirty
-public override bool vertsDirty
+public override bool vertsDirty
### AxisSplitLine.ClearVerticesDirty
-public override void ClearVerticesDirty()
+public override void ClearVerticesDirty()
### AxisSplitLine.Clone
-public AxisSplitLine Clone()
+public AxisSplitLine Clone()
### AxisSplitLine.Copy
-public void Copy(AxisSplitLine splitLine)
+public void Copy(AxisSplitLine splitLine)
## AxisTheme
@@ -1327,11 +1327,11 @@ class in XCharts.Runtime / Inherits from: [BaseAxisTheme](#baseaxistheme)
### AxisTheme.base(theme)
-public AxisTheme(ThemeType theme) : base(theme)
+public AxisTheme(ThemeType theme) : base(theme)
### AxisTheme.AxisTheme
-public AxisTheme(ThemeType theme) : base(theme) { }
+public AxisTheme(ThemeType theme) : base(theme) { }
## AxisTick
@@ -1341,20 +1341,20 @@ Settings related to axis tick.
### AxisTick.autoColor
-public bool autoColor
+public bool autoColor
### AxisTick.distance
-public float distance
+public float distance
The distance between the tick line and axis line.
### AxisTick.Clone
-public AxisTick Clone()
+public AxisTick Clone()
### AxisTick.Copy
-public void Copy(AxisTick axisTick)
+public void Copy(AxisTick axisTick)
## Background
@@ -1364,7 +1364,7 @@ Background component.
### Background.SetDefaultValue
-public override void SetDefaultValue()
+public override void SetDefaultValue()
## Bar
@@ -1372,19 +1372,19 @@ class in XCharts.Runtime / Inherits from: [Serie](#serie),[INeedSerieContainer](
### Bar.containerIndex
-public int containerIndex
+public int containerIndex
### Bar.containterInstanceId
-public int containterInstanceId
+public int containterInstanceId
### Bar.AddDefaultSerie
-public static Serie AddDefaultSerie(BaseChart chart, string serieName)
+public static Serie AddDefaultSerie(BaseChart chart, string serieName)
### Bar.ConvertSerie
-public static Bar ConvertSerie(Serie serie)
+public static Bar ConvertSerie(Serie serie)
## BarChart
@@ -1394,57 +1394,57 @@ Bar chart shows different data through the height of a bar, which is used in rec
### BarChart.DefaultBarChart
-public void DefaultBarChart()
+public void DefaultBarChart()
default bar chart.
### BarChart.DefaultCapsuleBarChart
-public void DefaultCapsuleBarChart()
+public void DefaultCapsuleBarChart()
default capsule bar chart.
### BarChart.DefaultCapsuleColumnChart
-public void DefaultCapsuleColumnChart()
+public void DefaultCapsuleColumnChart()
default capsule column chart.
### BarChart.DefaultGroupedBarChart
-public void DefaultGroupedBarChart()
+public void DefaultGroupedBarChart()
default grouped bar chart.
### BarChart.DefaultGroupedColumnChart
-public void DefaultGroupedColumnChart()
+public void DefaultGroupedColumnChart()
default grouped column chart.
### BarChart.DefaultPercentBarChart
-public void DefaultPercentBarChart()
+public void DefaultPercentBarChart()
default percent bar chart.
### BarChart.DefaultPercentColumnChart
-public void DefaultPercentColumnChart()
+public void DefaultPercentColumnChart()
default percent column chart.
### BarChart.DefaultStackedBarChart
-public void DefaultStackedBarChart()
+public void DefaultStackedBarChart()
default stacked bar chart.
### BarChart.DefaultStackedColumnChart
-public void DefaultStackedColumnChart()
+public void DefaultStackedColumnChart()
default stacked column chart.
### BarChart.DefaultZebraBarChart
-public void DefaultZebraBarChart()
+public void DefaultZebraBarChart()
default zebra bar chart.
### BarChart.DefaultZebraColumnChart
-public void DefaultZebraColumnChart()
+public void DefaultZebraColumnChart()
default zebra column chart.
## BarType
@@ -1465,11 +1465,11 @@ class in XCharts.Runtime / Inherits from: [ComponentTheme](#componenttheme) / Su
### BaseAxisTheme.BaseAxisTheme
-public BaseAxisTheme(ThemeType theme) : base(theme)
+public BaseAxisTheme(ThemeType theme) : base(theme)
### BaseAxisTheme.Copy
-public void Copy(BaseAxisTheme theme)
+public void Copy(BaseAxisTheme theme)
## BaseChart
@@ -1477,138 +1477,138 @@ class in XCharts.Runtime / Inherits from: [BaseGraph](#basegraph),[ISerializatio
### BaseChart.axis)
-public virtual void InitAxisRuntimeData(Axis axis)
+public virtual void InitAxisRuntimeData(Axis axis)
### BaseChart.chartHeight
-public float chartHeight
+public float chartHeight
The height of chart.
### BaseChart.chartHideFlags
-public override HideFlags chartHideFlags
+public override HideFlags chartHideFlags
### BaseChart.chartMaxAnchor
-public Vector2 chartMaxAnchor
+public Vector2 chartMaxAnchor
### BaseChart.chartMinAnchor
-public Vector2 chartMinAnchor
+public Vector2 chartMinAnchor
### BaseChart.chartPivot
-public Vector2 chartPivot
+public Vector2 chartPivot
### BaseChart.chartPosition
-public Vector3 chartPosition
+public Vector3 chartPosition
The position of chart.
### BaseChart.chartRect
-public Rect chartRect
+public Rect chartRect
### BaseChart.chartSizeDelta
-public Vector2 chartSizeDelta
+public Vector2 chartSizeDelta
### BaseChart.chartWidth
-public float chartWidth
+public float chartWidth
The width of chart.
### BaseChart.chartX
-public float chartX
+public float chartX
The x of chart.
### BaseChart.chartY
-public float chartY
+public float chartY
The y of chart.
### BaseChart.components
-public List<MainComponent> components
+public List<MainComponent> components
### BaseChart.customDrawGaugePointerFunction
-public CustomDrawGaugePointerFunction customDrawGaugePointerFunction
+public CustomDrawGaugePointerFunction customDrawGaugePointerFunction
自定义仪表盘指针绘制委托。
### BaseChart.debug
-public DebugInfo debug
+public DebugInfo debug
### BaseChart.onAxisPointerValueChanged
-public Action<Axis, double> onAxisPointerValueChanged
+public Action<Axis, double> onAxisPointerValueChanged
坐标轴变更数据索引时回调。参数:axis, dataIndex/dataValue
### BaseChart.onDraw
-public Action<VertexHelper> onDraw
+public Action<VertexHelper> onDraw
自定义绘制回调。在绘制Serie前调用。
### BaseChart.onDrawAfterSerie
-public Action<VertexHelper, Serie> onDrawAfterSerie
+public Action<VertexHelper, Serie> onDrawAfterSerie
自定义Serie绘制回调。在每个Serie绘制完后调用。
### BaseChart.onDrawBeforeSerie
-public Action<VertexHelper, Serie> onDrawBeforeSerie
+public Action<VertexHelper, Serie> onDrawBeforeSerie
自定义Serie绘制回调。在每个Serie绘制完前调用。
### BaseChart.onDrawTop
-public Action<VertexHelper> onDrawTop
+public Action<VertexHelper> onDrawTop
自定义Top层绘制回调。在绘制Tooltip前调用。
### BaseChart.onDrawUpper
-public Action<VertexHelper> onDrawUpper
+public Action<VertexHelper> onDrawUpper
自定义Upper层绘制回调。在绘制Tooltip前调用。
### BaseChart.onInit
-public Action onInit
+public Action onInit
The callback function of chart init.
### BaseChart.onLegendClick
-public Action<Legend, int, string, bool> onLegendClick
+public Action<Legend, int, string, bool> onLegendClick
the callback function of click legend.
### BaseChart.onLegendEnter
-public Action<Legend, int, string> onLegendEnter
+public Action<Legend, int, string> onLegendEnter
the callback function of enter legend.
### BaseChart.onLegendExit
-public Action<Legend, int, string> onLegendExit
+public Action<Legend, int, string> onLegendExit
the callback function of exit legend.
### BaseChart.onPointerClickBar
-public Action<PointerEventData, int> onPointerClickBar
+public Action<PointerEventData, int> onPointerClickBar
the callback function of click bar.
### BaseChart.onPointerClickPie
-public Action<PointerEventData, int, int> onPointerClickPie
+public Action<PointerEventData, int, int> onPointerClickPie
the callback function of pointer click pie area.
### BaseChart.onPointerEnterPie
-public Action<int, int> onPointerEnterPie
+public Action<int, int> onPointerEnterPie
the callback function of pointer enter pie area.
### BaseChart.onSerieClick
-public Action<SerieEventData> onSerieClick
+public Action<SerieEventData> onSerieClick
> Since `v3.6.0`
@@ -1616,7 +1616,7 @@ the callback function of pointer click serie.
### BaseChart.onSerieDown
-public Action<SerieEventData> onSerieDown
+public Action<SerieEventData> onSerieDown
> Since `v3.6.0`
@@ -1624,7 +1624,7 @@ the callback function of pointer down serie.
### BaseChart.onSerieEnter
-public Action<SerieEventData> onSerieEnter
+public Action<SerieEventData> onSerieEnter
> Since `v3.6.0`
@@ -1632,7 +1632,7 @@ the callback function of pointer enter serie.
### BaseChart.onSerieExit
-public Action<SerieEventData> onSerieExit
+public Action<SerieEventData> onSerieExit
> Since `v3.6.0`
@@ -1640,150 +1640,150 @@ the callback function of pointer exit serie.
### BaseChart.onUpdate
-public Action onUpdate
+public Action onUpdate
The callback function of chart update.
### BaseChart.series
-public List<Serie> series
+public List<Serie> series
### BaseChart.settings
-public Settings settings
+public Settings settings
Global parameter setting component.
### BaseChart.theme
-public ThemeStyle theme
+public ThemeStyle theme
### BaseChart.typeListForComponent
-public Dictionary<Type, FieldInfo> typeListForComponent
+public Dictionary<Type, FieldInfo> typeListForComponent
### BaseChart.typeListForSerie
-public Dictionary<Type, FieldInfo> typeListForSerie
+public Dictionary<Type, FieldInfo> typeListForSerie
### BaseChart.AddChartComponent
-public MainComponent AddChartComponent(Type type)
+public MainComponent AddChartComponent(Type type)
### BaseChart.AddChartComponent<T>
-public T AddChartComponent<T>() where T : MainComponent
+public T AddChartComponent<T>() where T : MainComponent
### BaseChart.AddChartComponentWhenNoExist<T>
-public T AddChartComponentWhenNoExist<T>() where T : MainComponent
+public T AddChartComponentWhenNoExist<T>() where T : MainComponent
### BaseChart.AddData
-public SerieData AddData(int serieIndex, DateTime time, double yValue, string dataName = null, string dataId = null)
+public SerieData AddData(int serieIndex, DateTime time, double yValue, string dataName = null, string dataId = null)
Add a (time,y) data to serie.
-public SerieData AddData(int serieIndex, double data, string dataName = null, string dataId = null)
+public SerieData AddData(int serieIndex, double data, string dataName = null, string dataId = null)
Add a data to serie.
-public SerieData AddData(int serieIndex, double indexOrTimestamp, double open, double close, double lowest, double heighest, string dataName = null, string dataId = null)
+public SerieData AddData(int serieIndex, double indexOrTimestamp, double open, double close, double lowest, double heighest, string dataName = null, string dataId = null)
-public SerieData AddData(int serieIndex, double xValue, double yValue, string dataName = null, string dataId = null)
+public SerieData AddData(int serieIndex, double xValue, double yValue, string dataName = null, string dataId = null)
Add a (x,y) data to serie.
-public SerieData AddData(int serieIndex, List<double> multidimensionalData, string dataName = null, string dataId = null)
+public SerieData AddData(int serieIndex, List<double> multidimensionalData, string dataName = null, string dataId = null)
Add an arbitray dimension data to serie,such as (x,y,z,...).
-public SerieData AddData(int serieIndex, params double[] multidimensionalData)
+public SerieData AddData(int serieIndex, params double[] multidimensionalData)
Add an arbitray dimension data to serie,such as (x,y,z,...).
-public SerieData AddData(string serieName, DateTime time, double yValue, string dataName = null, string dataId = null)
+public SerieData AddData(string serieName, DateTime time, double yValue, string dataName = null, string dataId = null)
Add a (time,y) data to serie.
-public SerieData AddData(string serieName, double indexOrTimestamp, double open, double close, double lowest, double heighest, string dataName = null, string dataId = null)
+public SerieData AddData(string serieName, double indexOrTimestamp, double open, double close, double lowest, double heighest, string dataName = null, string dataId = null)
-public SerieData AddData(string serieName, double xValue, double yValue, string dataName = null, string dataId = null)
+public SerieData AddData(string serieName, double xValue, double yValue, string dataName = null, string dataId = null)
Add a (x,y) data to serie.
-public SerieData AddData(string serieName, List<double> multidimensionalData, string dataName = null, string dataId = null)
+public SerieData AddData(string serieName, List<double> multidimensionalData, string dataName = null, string dataId = null)
Add an arbitray dimension data to serie,such as (x,y,z,...).
-public SerieData AddData(string serieName, params double[] multidimensionalData)
+public SerieData AddData(string serieName, params double[] multidimensionalData)
Add an arbitray dimension data to serie,such as (x,y,z,...).
### BaseChart.AddLink
-public SerieDataLink AddLink(int serieIndex, string sourceId, string targetId, double value = 0)
+public SerieDataLink AddLink(int serieIndex, string sourceId, string targetId, double value = 0)
Add a link data to serie.
### BaseChart.AddSerie<T>
-public T AddSerie<T>(string serieName = null, bool show = true, bool addToHead = false) where T : Serie
+public T AddSerie<T>(string serieName = null, bool show = true, bool addToHead = false) where T : Serie
### BaseChart.AddXAxisData
-public void AddXAxisData(string category, int xAxisIndex = 0)
+public void AddXAxisData(string category, int xAxisIndex = 0)
Add a category data to xAxis.
### BaseChart.AddXAxisIcon
-public void AddXAxisIcon(Sprite icon, int xAxisIndex = 0)
+public void AddXAxisIcon(Sprite icon, int xAxisIndex = 0)
Add an icon to xAxis.
### BaseChart.AddYAxisData
-public void AddYAxisData(string category, int yAxisIndex = 0)
+public void AddYAxisData(string category, int yAxisIndex = 0)
Add a category data to yAxis.
### BaseChart.AddYAxisIcon
-public void AddYAxisIcon(Sprite icon, int yAxisIndex = 0)
+public void AddYAxisIcon(Sprite icon, int yAxisIndex = 0)
Add an icon to yAxis.
### BaseChart.AnimationEnable
-public void AnimationEnable(bool flag)
+public void AnimationEnable(bool flag)
Whether enable serie animations.
### BaseChart.AnimationFadeIn
-public void AnimationFadeIn(bool reset = true)
+public void AnimationFadeIn(bool reset = true)
Start all serie fadein animations.
### BaseChart.AnimationFadeOut
-public void AnimationFadeOut()
+public void AnimationFadeOut()
Start all serie fadeout animations.
### BaseChart.AnimationPause
-public void AnimationPause()
+public void AnimationPause()
Pause all animations.
### BaseChart.AnimationReset
-public void AnimationReset()
+public void AnimationReset()
Reset all animations.
### BaseChart.AnimationResume
-public void AnimationResume()
+public void AnimationResume()
Resume all animations.
### BaseChart.CanAddChartComponent
-public bool CanAddChartComponent(Type type)
+public bool CanAddChartComponent(Type type)
### BaseChart.CanAddSerie
-public bool CanAddSerie(Type type)
+public bool CanAddSerie(Type type)
### BaseChart.CanAddSerie<T>
-public bool CanAddSerie<T>() where T : Serie
+public bool CanAddSerie<T>() where T : Serie
### BaseChart.CancelTooltip
-public void CancelTooltip()
+public void CancelTooltip()
> Since `v3.7.0`
@@ -1791,19 +1791,19 @@ cancel tooltip.
### BaseChart.CanMultipleComponent
-public bool CanMultipleComponent(Type type)
+public bool CanMultipleComponent(Type type)
### BaseChart.ClampInChart
-public void ClampInChart(ref Vector3 pos)
+public void ClampInChart(ref Vector3 pos)
### BaseChart.ClampInGrid
-public Vector3 ClampInGrid(GridCoord grid, Vector3 pos)
+public Vector3 ClampInGrid(GridCoord grid, Vector3 pos)
### BaseChart.ClearComponentData
-public virtual void ClearComponentData()
+public virtual void ClearComponentData()
> Since `v3.4.0`
@@ -1811,12 +1811,12 @@ Clear the data of all components.
### BaseChart.ClearData
-public virtual void ClearData()
+public virtual void ClearData()
Clear all components and series data. Note: serie only empties the data and does not remove serie.
### BaseChart.ClearSerieData
-public virtual void ClearSerieData()
+public virtual void ClearSerieData()
> Since `v3.4.0`
@@ -1824,7 +1824,7 @@ Clear the data of all series.
### BaseChart.ClearSerieLinks
-public virtual void ClearSerieLinks()
+public virtual void ClearSerieLinks()
> Since `v3.10.0`
@@ -1832,25 +1832,25 @@ Clear the link data of all series.
### BaseChart.ClickLegendButton
-public void ClickLegendButton(int legendIndex, string legendName, bool show)
+public void ClickLegendButton(int legendIndex, string legendName, bool show)
点击图例按钮
### BaseChart.ConvertSerie
-public bool ConvertSerie(Serie serie, Type type)
+public bool ConvertSerie(Serie serie, Type type)
### BaseChart.ConvertSerie<T>
-public bool ConvertSerie<T>(Serie serie) where T : Serie
+public bool ConvertSerie<T>(Serie serie) where T : Serie
### BaseChart.ConvertXYAxis
-public void ConvertXYAxis(int index)
+public void ConvertXYAxis(int index)
转换X轴和Y轴的配置
### BaseChart.EnsureChartComponent<T>
-public T EnsureChartComponent<T>() where T : MainComponent
+public T EnsureChartComponent<T>() where T : MainComponent
> Since `v3.6.0`
@@ -1858,71 +1858,71 @@ Ensure the chart has the component, if not, add it. Note: it may fail to add.
### BaseChart.GenerateDefaultSerieName
-public string GenerateDefaultSerieName()
+public string GenerateDefaultSerieName()
### BaseChart.GetAllSerieDataCount
-public int GetAllSerieDataCount()
+public int GetAllSerieDataCount()
### BaseChart.GetChartBackgroundColor
-public Color32 GetChartBackgroundColor()
+public Color32 GetChartBackgroundColor()
### BaseChart.GetChartComponent<T>
-public T GetChartComponent<T>(int index = 0) where T : MainComponent
+public T GetChartComponent<T>(int index = 0) where T : MainComponent
### BaseChart.GetChartComponentNum
-public int GetChartComponentNum(Type type)
+public int GetChartComponentNum(Type type)
### BaseChart.GetChartComponentNum<T>
-public int GetChartComponentNum<T>() where T : MainComponent
+public int GetChartComponentNum<T>() where T : MainComponent
### BaseChart.GetChartComponents<T>
-public List<MainComponent> GetChartComponents<T>() where T : MainComponent
+public List<MainComponent> GetChartComponents<T>() where T : MainComponent
### BaseChart.GetData
-public double GetData(int serieIndex, int dataIndex, int dimension = 1)
+public double GetData(int serieIndex, int dataIndex, int dimension = 1)
### BaseChart.GetDataZoomOfAxis
-public DataZoom GetDataZoomOfAxis(Axis axis)
+public DataZoom GetDataZoomOfAxis(Axis axis)
### BaseChart.GetDataZoomOfSerie
-public void GetDataZoomOfSerie(Serie serie, out DataZoom xDataZoom, out DataZoom yDataZoom)
+public void GetDataZoomOfSerie(Serie serie, out DataZoom xDataZoom, out DataZoom yDataZoom)
### BaseChart.GetGrid
-public GridCoord GetGrid(Vector2 local)
+public GridCoord GetGrid(Vector2 local)
### BaseChart.GetGridOfDataZoom
-public GridCoord GetGridOfDataZoom(DataZoom dataZoom)
+public GridCoord GetGridOfDataZoom(DataZoom dataZoom)
### BaseChart.GetItemColor
-public Color32 GetItemColor(Serie serie)
+public Color32 GetItemColor(Serie serie)
-public Color32 GetItemColor(Serie serie, SerieData serieData, int colorIndex)
+public Color32 GetItemColor(Serie serie, SerieData serieData, int colorIndex)
### BaseChart.GetLegendRealShowNameColor
-public Color32 GetLegendRealShowNameColor(string name)
+public Color32 GetLegendRealShowNameColor(string name)
### BaseChart.GetLegendRealShowNameIndex
-public int GetLegendRealShowNameIndex(string name)
+public int GetLegendRealShowNameIndex(string name)
### BaseChart.GetMarkColor
-public Color32 GetMarkColor(Serie serie, SerieData serieData)
+public Color32 GetMarkColor(Serie serie, SerieData serieData)
> Since `v3.4.0`
@@ -1930,244 +1930,244 @@ public Color32 GetMarkColor(Serie serie, SerieData serieData)
### BaseChart.GetOrAddChartComponent<T>
-public T GetOrAddChartComponent<T>() where T : MainComponent
+public T GetOrAddChartComponent<T>() where T : MainComponent
### BaseChart.GetPainter
-public Painter GetPainter(int index)
+public Painter GetPainter(int index)
### BaseChart.GetSerie
-public Serie GetSerie(int serieIndex)
+public Serie GetSerie(int serieIndex)
### BaseChart.GetSerie<T>
-public T GetSerie<T>(int serieIndex) where T : Serie
+public T GetSerie<T>(int serieIndex) where T : Serie
### BaseChart.GetSerieBarGap<T>
-public float GetSerieBarGap<T>() where T : Serie
+public float GetSerieBarGap<T>() where T : Serie
### BaseChart.GetSerieBarRealCount<T>
-public int GetSerieBarRealCount<T>() where T : Serie
+public int GetSerieBarRealCount<T>() where T : Serie
### BaseChart.GetSerieIndexIfStack<T>
-public int GetSerieIndexIfStack<T>(Serie currSerie) where T : Serie
+public int GetSerieIndexIfStack<T>(Serie currSerie) where T : Serie
### BaseChart.GetSerieSameStackTotalValue<T>
-public double GetSerieSameStackTotalValue<T>(string stack, int dataIndex) where T : Serie
+public double GetSerieSameStackTotalValue<T>(string stack, int dataIndex) where T : Serie
### BaseChart.GetSeriesMinMaxValue
-public virtual void GetSeriesMinMaxValue(Axis axis, int axisIndex, out double tempMinValue, out double tempMaxValue)
+public virtual void GetSeriesMinMaxValue(Axis axis, int axisIndex, out double tempMinValue, out double tempMaxValue)
### BaseChart.GetSerieTotalGap<T>
-public float GetSerieTotalGap<T>(float categoryWidth, float gap, int index) where T : Serie
+public float GetSerieTotalGap<T>(float categoryWidth, float gap, int index) where T : Serie
### BaseChart.GetSerieTotalWidth<T>
-public float GetSerieTotalWidth<T>(float categoryWidth, float gap, int realBarCount) where T : Serie
+public float GetSerieTotalWidth<T>(float categoryWidth, float gap, int realBarCount) where T : Serie
### BaseChart.GetTitlePosition
-public Vector3 GetTitlePosition(Title title)
+public Vector3 GetTitlePosition(Title title)
### BaseChart.GetVisualMapOfSerie
-public VisualMap GetVisualMapOfSerie(Serie serie)
+public VisualMap GetVisualMapOfSerie(Serie serie)
### BaseChart.GetXDataZoomOfSerie
-public DataZoom GetXDataZoomOfSerie(Serie serie)
+public DataZoom GetXDataZoomOfSerie(Serie serie)
### BaseChart.GetXLerpColor
-public Color32 GetXLerpColor(Color32 areaColor, Color32 areaToColor, Vector3 pos, GridCoord grid)
+public Color32 GetXLerpColor(Color32 areaColor, Color32 areaToColor, Vector3 pos, GridCoord grid)
### BaseChart.GetYLerpColor
-public Color32 GetYLerpColor(Color32 areaColor, Color32 areaToColor, Vector3 pos, GridCoord grid)
+public Color32 GetYLerpColor(Color32 areaColor, Color32 areaToColor, Vector3 pos, GridCoord grid)
### BaseChart.HasChartComponent
-public bool HasChartComponent(Type type)
+public bool HasChartComponent(Type type)
### BaseChart.HasChartComponent<T>
-public bool HasChartComponent<T>()
+public bool HasChartComponent<T>()
### BaseChart.HasSerie
-public bool HasSerie(Type type)
+public bool HasSerie(Type type)
### BaseChart.HasSerie<T>
-public bool HasSerie<T>() where T : Serie
+public bool HasSerie<T>() where T : Serie
### BaseChart.Init
-public void Init(bool defaultChart = true)
+public void Init(bool defaultChart = true)
### BaseChart.InitAxisRuntimeData
-public virtual void InitAxisRuntimeData(Axis axis) { }
+public virtual void InitAxisRuntimeData(Axis axis) { }
### BaseChart.InsertSerie
-public void InsertSerie(Serie serie, int index = -1, bool addToHead = false)
+public void InsertSerie(Serie serie, int index = -1, bool addToHead = false)
### BaseChart.InsertSerie<T>
-public T InsertSerie<T>(int index, string serieName = null, bool show = true) where T : Serie
+public T InsertSerie<T>(int index, string serieName = null, bool show = true) where T : Serie
### BaseChart.Internal_CheckAnimation
-public void Internal_CheckAnimation()
+public void Internal_CheckAnimation()
### BaseChart.IsActiveByLegend
-public virtual bool IsActiveByLegend(string legendName)
+public virtual bool IsActiveByLegend(string legendName)
Whether serie is activated.
### BaseChart.IsAllAxisCategory
-public bool IsAllAxisCategory()
+public bool IsAllAxisCategory()
纯类目轴。
### BaseChart.IsAllAxisValue
-public bool IsAllAxisValue()
+public bool IsAllAxisValue()
reutrn true when all the show axis is `Value` type.
### BaseChart.IsInAnyGrid
-public bool IsInAnyGrid(Vector2 local)
+public bool IsInAnyGrid(Vector2 local)
### BaseChart.IsInChart
-public bool IsInChart(float x, float y)
+public bool IsInChart(float x, float y)
### BaseChart.IsSerieName
-public bool IsSerieName(string name)
+public bool IsSerieName(string name)
### BaseChart.MoveDownSerie
-public bool MoveDownSerie(int serieIndex)
+public bool MoveDownSerie(int serieIndex)
### BaseChart.MoveUpSerie
-public bool MoveUpSerie(int serieIndex)
+public bool MoveUpSerie(int serieIndex)
### BaseChart.OnAfterDeserialize
-public void OnAfterDeserialize()
+public void OnAfterDeserialize()
### BaseChart.OnBeforeSerialize
-public void OnBeforeSerialize()
+public void OnBeforeSerialize()
### BaseChart.OnBeginDrag
-public override void OnBeginDrag(PointerEventData eventData)
+public override void OnBeginDrag(PointerEventData eventData)
### BaseChart.OnDataZoomRangeChanged
-public virtual void OnDataZoomRangeChanged(DataZoom dataZoom)
+public virtual void OnDataZoomRangeChanged(DataZoom dataZoom)
### BaseChart.OnDrag
-public override void OnDrag(PointerEventData eventData)
+public override void OnDrag(PointerEventData eventData)
### BaseChart.OnEndDrag
-public override void OnEndDrag(PointerEventData eventData)
+public override void OnEndDrag(PointerEventData eventData)
### BaseChart.OnLegendButtonClick
-public virtual void OnLegendButtonClick(int index, string legendName, bool show)
+public virtual void OnLegendButtonClick(int index, string legendName, bool show)
### BaseChart.OnLegendButtonEnter
-public virtual void OnLegendButtonEnter(int index, string legendName)
+public virtual void OnLegendButtonEnter(int index, string legendName)
### BaseChart.OnLegendButtonExit
-public virtual void OnLegendButtonExit(int index, string legendName)
+public virtual void OnLegendButtonExit(int index, string legendName)
### BaseChart.OnPointerClick
-public override void OnPointerClick(PointerEventData eventData)
+public override void OnPointerClick(PointerEventData eventData)
### BaseChart.OnPointerDown
-public override void OnPointerDown(PointerEventData eventData)
+public override void OnPointerDown(PointerEventData eventData)
### BaseChart.OnPointerEnter
-public override void OnPointerEnter(PointerEventData eventData)
+public override void OnPointerEnter(PointerEventData eventData)
### BaseChart.OnPointerExit
-public override void OnPointerExit(PointerEventData eventData)
+public override void OnPointerExit(PointerEventData eventData)
### BaseChart.OnPointerUp
-public override void OnPointerUp(PointerEventData eventData)
+public override void OnPointerUp(PointerEventData eventData)
### BaseChart.OnScroll
-public override void OnScroll(PointerEventData eventData)
+public override void OnScroll(PointerEventData eventData)
### BaseChart.RefreshBasePainter
-public void RefreshBasePainter()
+public void RefreshBasePainter()
### BaseChart.RefreshChart
-public void RefreshChart(int serieIndex)
+public void RefreshChart(int serieIndex)
Redraw chart serie in next frame.
-public void RefreshChart(Serie serie)
+public void RefreshChart(Serie serie)
Redraw chart serie in next frame.
### BaseChart.RefreshDataZoom
-public void RefreshDataZoom()
+public void RefreshDataZoom()
在下一帧刷新DataZoom
### BaseChart.RefreshGraph
-public override void RefreshGraph()
+public override void RefreshGraph()
### BaseChart.RefreshPainter
-public void RefreshPainter(Serie serie)
+public void RefreshPainter(Serie serie)
### BaseChart.RefreshTopPainter
-public void RefreshTopPainter()
+public void RefreshTopPainter()
### BaseChart.RefreshUpperPainter
-public void RefreshUpperPainter()
+public void RefreshUpperPainter()
### BaseChart.RemoveAllChartComponent
-public void RemoveAllChartComponent()
+public void RemoveAllChartComponent()
### BaseChart.RemoveAllSerie
-public virtual void RemoveAllSerie()
+public virtual void RemoveAllSerie()
> Since `v3.2.0`
@@ -2175,45 +2175,45 @@ Remove all of them Serie. This interface is used when Serie needs to be removed
### BaseChart.RemoveChartComponent
-public bool RemoveChartComponent(MainComponent component)
+public bool RemoveChartComponent(MainComponent component)
### BaseChart.RemoveChartComponent<T>
-public bool RemoveChartComponent<T>(int index = 0)
+public bool RemoveChartComponent<T>(int index = 0)
### BaseChart.RemoveChartComponents
-public int RemoveChartComponents(Type type)
+public int RemoveChartComponents(Type type)
### BaseChart.RemoveChartComponents<T>
-public int RemoveChartComponents<T>()
+public int RemoveChartComponents<T>()
### BaseChart.RemoveData
-public virtual void RemoveData(string serieName)
+public virtual void RemoveData(string serieName)
Remove legend and serie by name.
### BaseChart.RemoveSerie
-public void RemoveSerie(int serieIndex)
+public void RemoveSerie(int serieIndex)
-public void RemoveSerie(Serie serie)
+public void RemoveSerie(Serie serie)
### BaseChart.RemoveSerie<T>
-public void RemoveSerie<T>() where T : Serie
+public void RemoveSerie<T>() where T : Serie
### BaseChart.ReplaceSerie
-public bool ReplaceSerie(Serie oldSerie, Serie newSerie)
+public bool ReplaceSerie(Serie oldSerie, Serie newSerie)
### BaseChart.ResetChartStatus
-public void ResetChartStatus()
+public void ResetChartStatus()
> Since `v3.10.0`
@@ -2221,17 +2221,17 @@ reset chart status. When some parameters are set, due to the animation effect, t
### BaseChart.ResetDataIndex
-public bool ResetDataIndex(int serieIndex)
+public bool ResetDataIndex(int serieIndex)
重置serie的数据项索引。避免数据项索引异常。
### BaseChart.SetBasePainterMaterial
-public void SetBasePainterMaterial(Material material)
+public void SetBasePainterMaterial(Material material)
设置Base Painter的材质球
### BaseChart.SetInsertDataToHead
-public void SetInsertDataToHead(bool insertDataToHead)
+public void SetInsertDataToHead(bool insertDataToHead)
> Since `v3.11.0`
@@ -2239,39 +2239,39 @@ set insert data to head.
### BaseChart.SetMaxCache
-public void SetMaxCache(int maxCache)
+public void SetMaxCache(int maxCache)
设置可缓存的最大数据量。当数据量超过该值时,会自动删除第一个值再加入最新值。
### BaseChart.SetPainterActive
-public void SetPainterActive(int index, bool flag)
+public void SetPainterActive(int index, bool flag)
### BaseChart.SetSerieActive
-public void SetSerieActive(int serieIndex, bool active)
+public void SetSerieActive(int serieIndex, bool active)
Whether to show serie.
-public void SetSerieActive(Serie serie, bool active)
+public void SetSerieActive(Serie serie, bool active)
### BaseChart.SetSeriePainterMaterial
-public void SetSeriePainterMaterial(Material material)
+public void SetSeriePainterMaterial(Material material)
设置Serie Painter的材质球
### BaseChart.SetTopPainterMaterial
-public void SetTopPainterMaterial(Material material)
+public void SetTopPainterMaterial(Material material)
设置Top Painter的材质球
### BaseChart.SetUpperPainterMaterial
-public void SetUpperPainterMaterial(Material material)
+public void SetUpperPainterMaterial(Material material)
设置Upper Painter的材质球
### BaseChart.TriggerTooltip
-public bool TriggerTooltip(Vector3 localPosition)
+public bool TriggerTooltip(Vector3 localPosition)
> Since `v3.7.0`
@@ -2280,69 +2280,69 @@ trigger tooltip by chart local position.
### BaseChart.TryAddChartComponent
-public bool TryAddChartComponent(Type type)
+public bool TryAddChartComponent(Type type)
### BaseChart.TryAddChartComponent<T>
-public bool TryAddChartComponent<T>(out T component) where T : MainComponent
+public bool TryAddChartComponent<T>(out T component) where T : MainComponent
### BaseChart.TryGetChartComponent<T>
-public bool TryGetChartComponent<T>(out T component, int index = 0)
+public bool TryGetChartComponent<T>(out T component, int index = 0)
### BaseChart.UpdateData
-public bool UpdateData(int serieIndex, int dataIndex, double value)
+public bool UpdateData(int serieIndex, int dataIndex, double value)
Update serie data by serie index.
-public bool UpdateData(int serieIndex, int dataIndex, int dimension, double value)
+public bool UpdateData(int serieIndex, int dataIndex, int dimension, double value)
更新指定系列指定索引指定维数的数据。维数从0开始。
-public bool UpdateData(int serieIndex, int dataIndex, List<double> multidimensionalData)
+public bool UpdateData(int serieIndex, int dataIndex, List<double> multidimensionalData)
更新指定系列指定索引的数据项的多维数据。
-public bool UpdateData(string serieName, int dataIndex, int dimension, double value)
+public bool UpdateData(string serieName, int dataIndex, int dimension, double value)
更新指定系列指定索引指定维数的数据。维数从0开始。
-public bool UpdateData(string serieName, int dataIndex, List<double> multidimensionalData)
+public bool UpdateData(string serieName, int dataIndex, List<double> multidimensionalData)
更新指定系列指定索引的数据项的多维数据。
### BaseChart.UpdateDataName
-public bool UpdateDataName(int serieIndex, int dataIndex, string dataName)
+public bool UpdateDataName(int serieIndex, int dataIndex, string dataName)
Update serie data name.
### BaseChart.UpdateLegendColor
-public virtual void UpdateLegendColor(string legendName, bool active)
+public virtual void UpdateLegendColor(string legendName, bool active)
### BaseChart.UpdateTheme
-public void UpdateTheme(Theme theme)
+public void UpdateTheme(Theme theme)
Update chart theme info.
### BaseChart.UpdateXAxisData
-public void UpdateXAxisData(int index, string category, int xAxisIndex = 0)
+public void UpdateXAxisData(int index, string category, int xAxisIndex = 0)
Update category data.
### BaseChart.UpdateXAxisIcon
-public void UpdateXAxisIcon(int index, Sprite icon, int xAxisIndex = 0)
+public void UpdateXAxisIcon(int index, Sprite icon, int xAxisIndex = 0)
Update xAxis icon.
### BaseChart.UpdateYAxisData
-public void UpdateYAxisData(int index, string category, int yAxisIndex = 0)
+public void UpdateYAxisData(int index, string category, int yAxisIndex = 0)
Update category data.
### BaseChart.UpdateYAxisIcon
-public void UpdateYAxisIcon(int index, Sprite icon, int yAxisIndex = 0)
+public void UpdateYAxisIcon(int index, Sprite icon, int yAxisIndex = 0)
更新Y轴图标。
## BaseGraph
@@ -2351,143 +2351,143 @@ class in XCharts.Runtime / Inherits from: [MaskableGraphic](https://docs.unity3d
### BaseGraph.chartHideFlags
-public virtual HideFlags chartHideFlags
+public virtual HideFlags chartHideFlags
### BaseGraph.clickPos
-public Vector2 clickPos
+public Vector2 clickPos
### BaseGraph.forceOpenRaycastTarget
-public bool forceOpenRaycastTarget
+public bool forceOpenRaycastTarget
强制开启鼠标事件检测。
### BaseGraph.graphAnchoredPosition
-public Vector2 graphAnchoredPosition
+public Vector2 graphAnchoredPosition
### BaseGraph.graphHeight
-public float graphHeight
+public float graphHeight
The height of graph.
### BaseGraph.graphMaxAnchor
-public Vector2 graphMaxAnchor
+public Vector2 graphMaxAnchor
### BaseGraph.graphMinAnchor
-public Vector2 graphMinAnchor
+public Vector2 graphMinAnchor
### BaseGraph.graphPivot
-public Vector2 graphPivot
+public Vector2 graphPivot
### BaseGraph.graphPosition
-public Vector3 graphPosition
+public Vector3 graphPosition
The position of graph.
### BaseGraph.graphRect
-public Rect graphRect
+public Rect graphRect
### BaseGraph.graphSizeDelta
-public Vector2 graphSizeDelta
+public Vector2 graphSizeDelta
### BaseGraph.graphWidth
-public float graphWidth
+public float graphWidth
The width of graph.
### BaseGraph.graphX
-public float graphX
+public float graphX
The x of graph.
### BaseGraph.graphY
-public float graphY
+public float graphY
The y of graph.
### BaseGraph.isPointerClick
-public bool isPointerClick
+public bool isPointerClick
Whether the mouse click the chart.
### BaseGraph.isPointerInChart
-public bool isPointerInChart
+public bool isPointerInChart
Whether the mouse pointer is in the chart.
### BaseGraph.onBeginDrag
-public Action<PointerEventData, BaseGraph> onBeginDrag
+public Action<PointerEventData, BaseGraph> onBeginDrag
鼠标开始拖拽回调。
### BaseGraph.onDrag
-public Action<PointerEventData, BaseGraph> onDrag
+public Action<PointerEventData, BaseGraph> onDrag
鼠标拖拽回调。
### BaseGraph.onEndDrag
-public Action<PointerEventData, BaseGraph> onEndDrag
+public Action<PointerEventData, BaseGraph> onEndDrag
鼠标结束拖拽回调。
### BaseGraph.onPointerClick
-public Action<PointerEventData, BaseGraph> onPointerClick
+public Action<PointerEventData, BaseGraph> onPointerClick
鼠标点击回调。
### BaseGraph.onPointerDown
-public Action<PointerEventData, BaseGraph> onPointerDown
+public Action<PointerEventData, BaseGraph> onPointerDown
鼠标按下回调。
### BaseGraph.onPointerEnter
-public Action<PointerEventData, BaseGraph> onPointerEnter
+public Action<PointerEventData, BaseGraph> onPointerEnter
鼠标进入回调。
### BaseGraph.onPointerExit
-public Action<PointerEventData, BaseGraph> onPointerExit
+public Action<PointerEventData, BaseGraph> onPointerExit
鼠标退出回调。
### BaseGraph.onPointerUp
-public Action<PointerEventData, BaseGraph> onPointerUp
+public Action<PointerEventData, BaseGraph> onPointerUp
鼠标弹起回调。
### BaseGraph.onScroll
-public Action<PointerEventData, BaseGraph> onScroll
+public Action<PointerEventData, BaseGraph> onScroll
鼠标滚动回调。
### BaseGraph.painter
-public Painter painter
+public Painter painter
### BaseGraph.pointerPos
-public Vector2 pointerPos
+public Vector2 pointerPos
The postion of pointer move.
### BaseGraph.warningInfo
-public string warningInfo
+public string warningInfo
警告信息。
### BaseGraph.CheckWarning
-public string CheckWarning()
+public string CheckWarning()
检测警告信息。
### BaseGraph.LocalPointToScreenPoint
-public Vector2 LocalPointToScreenPoint(Vector2 localPoint)
+public Vector2 LocalPointToScreenPoint(Vector2 localPoint)
> Since `v3.7.0`
@@ -2495,7 +2495,7 @@ chart local point to screen point.
### BaseGraph.LocalPointToWorldPoint
-public Vector2 LocalPointToWorldPoint(Vector2 localPoint)
+public Vector2 LocalPointToWorldPoint(Vector2 localPoint)
> Since `v3.7.0`
@@ -2503,71 +2503,71 @@ chart local point to world point.
### BaseGraph.OnBeginDrag
-public virtual void OnBeginDrag(PointerEventData eventData)
+public virtual void OnBeginDrag(PointerEventData eventData)
### BaseGraph.OnDrag
-public virtual void OnDrag(PointerEventData eventData)
+public virtual void OnDrag(PointerEventData eventData)
### BaseGraph.OnEndDrag
-public virtual void OnEndDrag(PointerEventData eventData)
+public virtual void OnEndDrag(PointerEventData eventData)
### BaseGraph.OnPointerClick
-public virtual void OnPointerClick(PointerEventData eventData)
+public virtual void OnPointerClick(PointerEventData eventData)
### BaseGraph.OnPointerDown
-public virtual void OnPointerDown(PointerEventData eventData)
+public virtual void OnPointerDown(PointerEventData eventData)
### BaseGraph.OnPointerEnter
-public virtual void OnPointerEnter(PointerEventData eventData)
+public virtual void OnPointerEnter(PointerEventData eventData)
### BaseGraph.OnPointerExit
-public virtual void OnPointerExit(PointerEventData eventData)
+public virtual void OnPointerExit(PointerEventData eventData)
### BaseGraph.OnPointerUp
-public virtual void OnPointerUp(PointerEventData eventData)
+public virtual void OnPointerUp(PointerEventData eventData)
### BaseGraph.OnScroll
-public virtual void OnScroll(PointerEventData eventData)
+public virtual void OnScroll(PointerEventData eventData)
### BaseGraph.RebuildChartObject
-public void RebuildChartObject()
+public void RebuildChartObject()
移除并重新创建所有图表的Object。
### BaseGraph.RefreshAllComponent
-public void RefreshAllComponent()
+public void RefreshAllComponent()
### BaseGraph.RefreshGraph
-public virtual void RefreshGraph()
+public virtual void RefreshGraph()
Redraw graph in next frame.
### BaseGraph.SaveAsImage
-public void SaveAsImage(string imageType = "png", string savePath = "")
+public void SaveAsImage(string imageType = "png", string savePath = "")
保存图表为图片。
### BaseGraph.ScreenPointToChartPoint
-public bool ScreenPointToChartPoint(Vector2 screenPoint, out Vector2 chartPoint)
+public bool ScreenPointToChartPoint(Vector2 screenPoint, out Vector2 chartPoint)
### BaseGraph.SetPainterDirty
-public void SetPainterDirty()
+public void SetPainterDirty()
重新初始化Painter
### BaseGraph.SetSize
-public virtual void SetSize(float width, float height)
+public virtual void SetSize(float width, float height)
设置图形的宽高(在非stretch pivot下才有效,其他情况需要自己调整RectTransform)
## BaseLine
@@ -2578,28 +2578,28 @@ Settings related to base line.
### BaseLine.BaseLine
-public BaseLine(bool show) : base()
+public BaseLine(bool show) : base()
### BaseLine.Copy
-public void Copy(BaseLine axisLine)
+public void Copy(BaseLine axisLine)
### BaseLine.GetColor
-public Color32 GetColor(Color32 themeColor)
+public Color32 GetColor(Color32 themeColor)
### BaseLine.GetLength
-public float GetLength(float themeLength)
+public float GetLength(float themeLength)
### BaseLine.GetType
-public LineStyle.Type GetType(LineStyle.Type themeType)
+public LineStyle.Type GetType(LineStyle.Type themeType)
### BaseLine.GetWidth
-public float GetWidth(float themeWidth)
+public float GetWidth(float themeWidth)
## BaseScatter
@@ -2607,11 +2607,11 @@ class in XCharts.Runtime / Inherits from: [Serie](#serie),[INeedSerieContainer](
### BaseScatter.containerIndex
-public int containerIndex
+public int containerIndex
### BaseScatter.containterInstanceId
-public int containterInstanceId
+public int containterInstanceId
## BaseSerie
@@ -2619,117 +2619,117 @@ class in XCharts.Runtime / Subclasses: [Serie](#serie)
### BaseSerie.anyDirty
-public bool anyDirty
+public bool anyDirty
### BaseSerie.ClearData()
-public virtual void ClearData()
+public virtual void ClearData()
### BaseSerie.componentDirty
-public virtual bool componentDirty
+public virtual bool componentDirty
### BaseSerie.defaultColorBy
-public virtual SerieColorBy defaultColorBy
+public virtual SerieColorBy defaultColorBy
### BaseSerie.gameObject
-public GameObject gameObject
+public GameObject gameObject
### BaseSerie.handler
-public SerieHandler handler
+public SerieHandler handler
### BaseSerie.multiDimensionLabel
-public virtual bool multiDimensionLabel
+public virtual bool multiDimensionLabel
### BaseSerie.OnBeforeSerialize()
-public virtual void OnBeforeSerialize()
+public virtual void OnBeforeSerialize()
### BaseSerie.OnDataUpdate()
-public virtual void OnDataUpdate()
+public virtual void OnDataUpdate()
### BaseSerie.painter
-public Painter painter
+public Painter painter
### BaseSerie.refreshComponent
-public Action refreshComponent
+public Action refreshComponent
### BaseSerie.titleJustForSerie
-public virtual bool titleJustForSerie
+public virtual bool titleJustForSerie
### BaseSerie.useSortData
-public virtual bool useSortData
+public virtual bool useSortData
### BaseSerie.vertsDirty
-public virtual bool vertsDirty
+public virtual bool vertsDirty
### BaseSerie.ClearComponentDirty
-public virtual void ClearComponentDirty()
+public virtual void ClearComponentDirty()
### BaseSerie.ClearData
-public virtual void ClearData() { }
+public virtual void ClearData() { }
### BaseSerie.ClearDirty
-public virtual void ClearDirty()
+public virtual void ClearDirty()
### BaseSerie.ClearVerticesDirty
-public virtual void ClearVerticesDirty()
+public virtual void ClearVerticesDirty()
### BaseSerie.IsComponentDirty
-public static bool IsComponentDirty(ChildComponent component)
+public static bool IsComponentDirty(ChildComponent component)
### BaseSerie.IsVertsDirty
-public static bool IsVertsDirty(ChildComponent component)
+public static bool IsVertsDirty(ChildComponent component)
### BaseSerie.OnAfterDeserialize
-public virtual void OnAfterDeserialize()
+public virtual void OnAfterDeserialize()
### BaseSerie.OnBeforeSerialize
-public virtual void OnBeforeSerialize() { }
+public virtual void OnBeforeSerialize() { }
### BaseSerie.OnDataUpdate
-public virtual void OnDataUpdate() { }
+public virtual void OnDataUpdate() { }
### BaseSerie.OnRemove
-public virtual void OnRemove()
+public virtual void OnRemove()
### BaseSerie.RefreshLabel
-public void RefreshLabel()
+public void RefreshLabel()
### BaseSerie.SetAllDirty
-public virtual void SetAllDirty()
+public virtual void SetAllDirty()
### BaseSerie.SetComponentDirty
-public virtual void SetComponentDirty()
+public virtual void SetComponentDirty()
### BaseSerie.SetVerticesDirty
-public virtual void SetVerticesDirty()
+public virtual void SetVerticesDirty()
## BlurStyle
@@ -2749,15 +2749,15 @@ The style of border.
### BorderStyle.GetRuntimeBorderColor
-public Color32 GetRuntimeBorderColor()
+public Color32 GetRuntimeBorderColor()
### BorderStyle.GetRuntimeBorderWidth
-public float GetRuntimeBorderWidth()
+public float GetRuntimeBorderWidth()
### BorderStyle.GetRuntimeCornerRadius
-public float[] GetRuntimeCornerRadius()
+public float[] GetRuntimeCornerRadius()
## CalendarCoord
@@ -2765,11 +2765,11 @@ class in XCharts.Runtime / Inherits from: [CoordSystem](#coordsystem),[IUpdateRu
### CalendarCoord.IsPointerEnter
-public bool IsPointerEnter()
+public bool IsPointerEnter()
### CalendarCoord.UpdateRuntimeData
-public void UpdateRuntimeData(BaseChart chart)
+public void UpdateRuntimeData(BaseChart chart)
## Candlestick
@@ -2777,15 +2777,15 @@ class in XCharts.Runtime / Inherits from: [Serie](#serie),[INeedSerieContainer](
### Candlestick.containerIndex
-public int containerIndex
+public int containerIndex
### Candlestick.containterInstanceId
-public int containterInstanceId
+public int containterInstanceId
### Candlestick.AddDefaultSerie
-public static Serie AddDefaultSerie(BaseChart chart, string serieName)
+public static Serie AddDefaultSerie(BaseChart chart, string serieName)
## CandlestickChart
@@ -2799,47 +2799,47 @@ class in XCharts.Runtime
### ChartCached.ColorToDotStr
-public static string ColorToDotStr(Color color)
+public static string ColorToDotStr(Color color)
### ChartCached.ColorToStr
-public static string ColorToStr(Color color)
+public static string ColorToStr(Color color)
### ChartCached.FloatToStr
-public static string FloatToStr(double value, string numericFormatter = "F", int precision = 0)
+public static string FloatToStr(double value, string numericFormatter = "F", int precision = 0)
### ChartCached.GetSerieLabelName
-public static string GetSerieLabelName(string prefix, int i, int j)
+public static string GetSerieLabelName(string prefix, int i, int j)
### ChartCached.GetString
-public static string GetString(string prefix, int suffix)
+public static string GetString(string prefix, int suffix)
### ChartCached.IntToStr
-public static string IntToStr(int value, string numericFormatter = "")
+public static string IntToStr(int value, string numericFormatter = "")
### ChartCached.NumberToDateStr
-public static string NumberToDateStr(double timestamp, string formatter)
+public static string NumberToDateStr(double timestamp, string formatter)
### ChartCached.NumberToDateTime
-public static DateTime NumberToDateTime(double timestamp)
+public static DateTime NumberToDateTime(double timestamp)
### ChartCached.NumberToStr
-public static string NumberToStr(double value, string formatter)
+public static string NumberToStr(double value, string formatter)
### ChartCached.NumberToTimeSpan
-public static TimeSpan NumberToTimeSpan(double timestamp)
+public static TimeSpan NumberToTimeSpan(double timestamp)
### ChartCached.NumberToTimeStr
-public static string NumberToTimeStr(double timestamp, string formatter)
+public static string NumberToTimeStr(double timestamp, string formatter)
## ChartConst
@@ -2855,239 +2855,239 @@ class in XCharts.Runtime
### ChartHelper.ignoreVector3
-public static Vector3 ignoreVector3
+public static Vector3 ignoreVector3
### ChartHelper.sb
-public static StringBuilder sb
+public static StringBuilder sb
### ChartHelper.ActiveAllObject
-public static void ActiveAllObject(Transform parent, bool active, string match = null)
+public static void ActiveAllObject(Transform parent, bool active, string match = null)
### ChartHelper.AddIcon
-public static Image AddIcon(string name, Transform parent, IconStyle iconStyle)
+public static Image AddIcon(string name, Transform parent, IconStyle iconStyle)
### ChartHelper.Cancat
-public static string Cancat(string str1, int i)
+public static string Cancat(string str1, int i)
### ChartHelper.ClearEventListener
-public static void ClearEventListener(GameObject obj)
+public static void ClearEventListener(GameObject obj)
### ChartHelper.CopyArray<T>
-public static bool CopyArray<T>(T[] toList, T[] fromList)
+public static bool CopyArray<T>(T[] toList, T[] fromList)
### ChartHelper.CopyList<T>
-public static bool CopyList<T>(List<T> toList, List<T> fromList)
+public static bool CopyList<T>(List<T> toList, List<T> fromList)
### ChartHelper.DestoryGameObject
-public static void DestoryGameObject(GameObject go)
+public static void DestoryGameObject(GameObject go)
### ChartHelper.DestoryGameObjectByMatch
-public static void DestoryGameObjectByMatch(Transform parent, string containString)
+public static void DestoryGameObjectByMatch(Transform parent, string containString)
### ChartHelper.DestroyAllChildren
-public static void DestroyAllChildren(Transform parent)
+public static void DestroyAllChildren(Transform parent)
### ChartHelper.EnsureComponent<T>
-public static T EnsureComponent<T>(GameObject gameObject) where T : Component
+public static T EnsureComponent<T>(GameObject gameObject) where T : Component
Ensure that the game object has the specified component, add it if not.
### ChartHelper.GetActualValue
-public static float GetActualValue(float valueOrRate, float total, float maxRate = 1.5f)
+public static float GetActualValue(float valueOrRate, float total, float maxRate = 1.5f)
### ChartHelper.GetAngle360
-public static float GetAngle360(Vector2 from, Vector2 to)
+public static float GetAngle360(Vector2 from, Vector2 to)
获得0-360的角度(12点钟方向为0度)
### ChartHelper.GetBlurColor
-public static Color32 GetBlurColor(Color32 color, float a = 0.3f)
+public static Color32 GetBlurColor(Color32 color, float a = 0.3f)
### ChartHelper.GetColor
-public static Color32 GetColor(string hexColorStr)
+public static Color32 GetColor(string hexColorStr)
### ChartHelper.GetDire
-public static Vector3 GetDire(float angle, bool isDegree = false)
+public static Vector3 GetDire(float angle, bool isDegree = false)
### ChartHelper.GetFullName
-public static string GetFullName(Transform transform)
+public static string GetFullName(Transform transform)
### ChartHelper.GetHighlightColor
-public static Color32 GetHighlightColor(Color32 color, float rate = 0.8f)
+public static Color32 GetHighlightColor(Color32 color, float rate = 0.8f)
### ChartHelper.GetLastValue
-public static Vector3 GetLastValue(List<Vector3> list)
+public static Vector3 GetLastValue(List<Vector3> list)
### ChartHelper.GetMaxCeilRate
-public static double GetMaxCeilRate(double value, double ceilRate)
+public static double GetMaxCeilRate(double value, double ceilRate)
### ChartHelper.GetMaxDivisibleValue
-public static double GetMaxDivisibleValue(double max, double ceilRate)
+public static double GetMaxDivisibleValue(double max, double ceilRate)
### ChartHelper.GetMaxLogValue
-public static double GetMaxLogValue(double value, float logBase, bool isLogBaseE, out int splitNumber)
+public static double GetMaxLogValue(double value, float logBase, bool isLogBaseE, out int splitNumber)
### ChartHelper.GetMinCeilRate
-public static double GetMinCeilRate(double value, double ceilRate)
+public static double GetMinCeilRate(double value, double ceilRate)
### ChartHelper.GetMinDivisibleValue
-public static double GetMinDivisibleValue(double min, double ceilRate)
+public static double GetMinDivisibleValue(double min, double ceilRate)
### ChartHelper.GetMinLogValue
-public static double GetMinLogValue(double value, float logBase, bool isLogBaseE, out int splitNumber)
+public static double GetMinLogValue(double value, float logBase, bool isLogBaseE, out int splitNumber)
### ChartHelper.GetOrAddComponent<T>
-public static T GetOrAddComponent<T>(GameObject gameObject) where T : Component
+public static T GetOrAddComponent<T>(GameObject gameObject) where T : Component
### ChartHelper.GetPointList
-public static void GetPointList(ref List<Vector3> posList, Vector3 sp, Vector3 ep, float k = 30f)
+public static void GetPointList(ref List<Vector3> posList, Vector3 sp, Vector3 ep, float k = 30f)
### ChartHelper.GetPos
-public static Vector3 GetPos(Vector3 center, float radius, float angle, bool isDegree = false)
+public static Vector3 GetPos(Vector3 center, float radius, float angle, bool isDegree = false)
### ChartHelper.GetPosition
-public static Vector3 GetPosition(Vector3 center, float angle, float radius)
+public static Vector3 GetPosition(Vector3 center, float angle, float radius)
### ChartHelper.GetSelectColor
-public static Color32 GetSelectColor(Color32 color, float rate = 0.8f)
+public static Color32 GetSelectColor(Color32 color, float rate = 0.8f)
### ChartHelper.GetVertialDire
-public static Vector3 GetVertialDire(Vector3 dire)
+public static Vector3 GetVertialDire(Vector3 dire)
### ChartHelper.HideAllObject
-public static void HideAllObject(Transform parent, string match = null)
+public static void HideAllObject(Transform parent, string match = null)
### ChartHelper.IsActiveByScale
-public static bool IsActiveByScale(Image image)
+public static bool IsActiveByScale(Image image)
-public static bool IsActiveByScale(Transform transform)
+public static bool IsActiveByScale(Transform transform)
### ChartHelper.IsClearColor
-public static bool IsClearColor(Color color)
+public static bool IsClearColor(Color color)
### ChartHelper.IsColorAlphaZero
-public static bool IsColorAlphaZero(Color color)
+public static bool IsColorAlphaZero(Color color)
### ChartHelper.IsEquals
-public static bool IsEquals(float d1, float d2)
+public static bool IsEquals(float d1, float d2)
### ChartHelper.IsIngore
-public static bool IsIngore(Vector3 pos)
+public static bool IsIngore(Vector3 pos)
### ChartHelper.IsInRect
-public static bool IsInRect(Vector3 pos, float xMin, float xMax, float yMin, float yMax)
+public static bool IsInRect(Vector3 pos, float xMin, float xMax, float yMin, float yMax)
### ChartHelper.IsPointInQuadrilateral
-public static bool IsPointInQuadrilateral(Vector3 P, Vector3 A, Vector3 B, Vector3 C, Vector3 D)
+public static bool IsPointInQuadrilateral(Vector3 P, Vector3 A, Vector3 B, Vector3 C, Vector3 D)
### ChartHelper.IsValueEqualsColor
-public static bool IsValueEqualsColor(Color color1, Color color2)
+public static bool IsValueEqualsColor(Color color1, Color color2)
### ChartHelper.IsValueEqualsList<T>
-public static bool IsValueEqualsList<T>(List<T> list1, List<T> list2)
+public static bool IsValueEqualsList<T>(List<T> list1, List<T> list2)
### ChartHelper.IsValueEqualsString
-public static bool IsValueEqualsString(string str1, string str2)
+public static bool IsValueEqualsString(string str1, string str2)
### ChartHelper.IsValueEqualsVector2
-public static bool IsValueEqualsVector2(Vector2 v1, Vector2 v2)
+public static bool IsValueEqualsVector2(Vector2 v1, Vector2 v2)
### ChartHelper.IsValueEqualsVector3
-public static bool IsValueEqualsVector3(Vector3 v1, Vector3 v2)
+public static bool IsValueEqualsVector3(Vector3 v1, Vector3 v2)
### ChartHelper.IsZeroVector
-public static bool IsZeroVector(Vector3 pos)
+public static bool IsZeroVector(Vector3 pos)
### ChartHelper.ParseFloatFromString
-public static List<float> ParseFloatFromString(string jsonData)
+public static List<float> ParseFloatFromString(string jsonData)
### ChartHelper.ParseStringFromString
-public static List<string> ParseStringFromString(string jsonData)
+public static List<string> ParseStringFromString(string jsonData)
### ChartHelper.RemoveComponent<T>
-public static void RemoveComponent<T>(GameObject gameObject)
+public static void RemoveComponent<T>(GameObject gameObject)
### ChartHelper.RotateRound
-public static Vector3 RotateRound(Vector3 position, Vector3 center, Vector3 axis, float angle)
+public static Vector3 RotateRound(Vector3 position, Vector3 center, Vector3 axis, float angle)
### ChartHelper.SaveAsImage
-public static Texture2D SaveAsImage(RectTransform rectTransform, Canvas canvas, string imageType = "png", string path = "")
+public static Texture2D SaveAsImage(RectTransform rectTransform, Canvas canvas, string imageType = "png", string path = "")
### ChartHelper.SetActive
-public static bool SetActive(Image image, bool active)
+public static bool SetActive(Image image, bool active)
-public static bool SetActive(Text text, bool active)
+public static bool SetActive(Text text, bool active)
-public static bool SetActive(Transform transform, bool active)
+public static bool SetActive(Transform transform, bool active)
通过设置scale实现是否显示,优化性能,减少GC
### ChartHelper.SetBackground
-public static void SetBackground(Image background, Background imageStyle)
+public static void SetBackground(Image background, Background imageStyle)
### ChartHelper.SetColorOpacity
-public static void SetColorOpacity(ref Color32 color, float opacity)
+public static void SetColorOpacity(ref Color32 color, float opacity)
## ChartLabel
@@ -3095,107 +3095,107 @@ class in XCharts.Runtime / Inherits from: [Image](https://docs.unity3d.com/Scrip
### ChartLabel.hideIconIfTextEmpty
-public bool hideIconIfTextEmpty
+public bool hideIconIfTextEmpty
### ChartLabel.isAnimationEnd
-public bool isAnimationEnd
+public bool isAnimationEnd
### ChartLabel.isIconActive
-public bool isIconActive
+public bool isIconActive
### ChartLabel.rect
-public Rect rect
+public Rect rect
### ChartLabel.GetHeight
-public float GetHeight()
+public float GetHeight()
### ChartLabel.GetPosition
-public Vector3 GetPosition()
+public Vector3 GetPosition()
### ChartLabel.GetTextHeight
-public float GetTextHeight()
+public float GetTextHeight()
### ChartLabel.GetTextWidth
-public float GetTextWidth()
+public float GetTextWidth()
### ChartLabel.GetWidth
-public float GetWidth()
+public float GetWidth()
### ChartLabel.IsActiveByScale
-public bool IsActiveByScale()
+public bool IsActiveByScale()
### ChartLabel.SetActive
-public void SetActive(bool flag, bool force = false)
+public void SetActive(bool flag, bool force = false)
### ChartLabel.SetIcon
-public void SetIcon(Image image)
+public void SetIcon(Image image)
### ChartLabel.SetIconActive
-public void SetIconActive(bool flag)
+public void SetIconActive(bool flag)
### ChartLabel.SetIconSize
-public void SetIconSize(float width, float height)
+public void SetIconSize(float width, float height)
### ChartLabel.SetIconSprite
-public void SetIconSprite(Sprite sprite)
+public void SetIconSprite(Sprite sprite)
### ChartLabel.SetPadding
-public void SetPadding(float[] padding)
+public void SetPadding(float[] padding)
### ChartLabel.SetPosition
-public void SetPosition(Vector3 position)
+public void SetPosition(Vector3 position)
### ChartLabel.SetRectPosition
-public void SetRectPosition(Vector3 position)
+public void SetRectPosition(Vector3 position)
### ChartLabel.SetRotate
-public void SetRotate(float rotate)
+public void SetRotate(float rotate)
### ChartLabel.SetSize
-public void SetSize(float width, float height)
+public void SetSize(float width, float height)
### ChartLabel.SetText
-public bool SetText(string text)
+public bool SetText(string text)
### ChartLabel.SetTextActive
-public void SetTextActive(bool flag)
+public void SetTextActive(bool flag)
### ChartLabel.SetTextColor
-public void SetTextColor(Color color)
+public void SetTextColor(Color color)
### ChartLabel.SetTextPadding
-public void SetTextPadding(TextPadding padding)
+public void SetTextPadding(TextPadding padding)
### ChartLabel.SetTextRotate
-public void SetTextRotate(float rotate)
+public void SetTextRotate(float rotate)
### ChartLabel.UpdateIcon
-public void UpdateIcon(IconStyle iconStyle, Sprite sprite = null, Color color = default(Color))
+public void UpdateIcon(IconStyle iconStyle, Sprite sprite = null, Color color = default(Color))
## ChartObject
@@ -3203,7 +3203,7 @@ class in XCharts.Runtime
### ChartObject.Destroy
-public virtual void Destroy()
+public virtual void Destroy()
## ChartText
@@ -3211,86 +3211,86 @@ class in XCharts.Runtime
### ChartText.tmpText
-public TextMeshProUGUI tmpText
+public TextMeshProUGUI tmpText
### ChartText.ChartText
-public ChartText(GameObject textParent)
+public ChartText(GameObject textParent)
### ChartText.GetColor
-public Color GetColor()
+public Color GetColor()
### ChartText.GetPreferredHeight
-public float GetPreferredHeight()
+public float GetPreferredHeight()
### ChartText.GetPreferredText
-public string GetPreferredText(string content, string suffix, float maxWidth)
+public string GetPreferredText(string content, string suffix, float maxWidth)
### ChartText.GetPreferredWidth
-public float GetPreferredWidth()
+public float GetPreferredWidth()
### ChartText.GetText
-public string GetText()
+public string GetText()
### ChartText.SetActive
-public void SetActive(bool flag)
+public void SetActive(bool flag)
### ChartText.SetAlignment
-public void SetAlignment(TextAnchor alignment)
+public void SetAlignment(TextAnchor alignment)
### ChartText.SetColor
-public void SetColor(Color color)
+public void SetColor(Color color)
### ChartText.SetFont
-public void SetFont(TMP_FontAsset font)
+public void SetFont(TMP_FontAsset font)
### ChartText.SetFontAndSizeAndStyle
-public void SetFontAndSizeAndStyle(TextStyle textStyle, ComponentTheme theme)
+public void SetFontAndSizeAndStyle(TextStyle textStyle, ComponentTheme theme)
### ChartText.SetFontSize
-public void SetFontSize(float fontSize)
+public void SetFontSize(float fontSize)
### ChartText.SetFontStyle
-public void SetFontStyle(FontStyle fontStyle)
+public void SetFontStyle(FontStyle fontStyle)
### ChartText.SetLineSpacing
-public void SetLineSpacing(float lineSpacing)
+public void SetLineSpacing(float lineSpacing)
### ChartText.SetLocalEulerAngles
-public void SetLocalEulerAngles(Vector3 position)
+public void SetLocalEulerAngles(Vector3 position)
### ChartText.SetLocalPosition
-public void SetLocalPosition(Vector3 position)
+public void SetLocalPosition(Vector3 position)
### ChartText.SetRectPosition
-public void SetRectPosition(Vector3 position)
+public void SetRectPosition(Vector3 position)
### ChartText.SetSizeDelta
-public void SetSizeDelta(Vector2 sizeDelta)
+public void SetSizeDelta(Vector2 sizeDelta)
### ChartText.SetText
-public void SetText(string text)
+public void SetText(string text)
## CheckHelper
@@ -3298,7 +3298,7 @@ class in XCharts.Runtime
### CheckHelper.CheckChart
-public static string CheckChart(BaseChart chart)
+public static string CheckChart(BaseChart chart)
## ChildComponent
@@ -3307,68 +3307,68 @@ class in XCharts.Runtime / Subclasses: [AnimationStyle](#animationstyle),[AxisAn
### ChildComponent.anyDirty
-public bool anyDirty
+public bool anyDirty
需要重绘图表或重新初始化组件。
### ChildComponent.componentDirty
-public virtual bool componentDirty
+public virtual bool componentDirty
组件重新初始化标记。
### ChildComponent.gameObject
-public GameObject gameObject
+public GameObject gameObject
### ChildComponent.index
-public virtual int index
+public virtual int index
### ChildComponent.painter
-public Painter painter
+public Painter painter
### ChildComponent.refreshComponent
-public Action refreshComponent
+public Action refreshComponent
### ChildComponent.vertsDirty
-public virtual bool vertsDirty
+public virtual bool vertsDirty
图表重绘标记。
### ChildComponent.ClearComponentDirty
-public virtual void ClearComponentDirty()
+public virtual void ClearComponentDirty()
### ChildComponent.ClearDirty
-public virtual void ClearDirty()
+public virtual void ClearDirty()
### ChildComponent.ClearVerticesDirty
-public virtual void ClearVerticesDirty()
+public virtual void ClearVerticesDirty()
### ChildComponent.IsComponentDirty
-public static bool IsComponentDirty(ChildComponent component)
+public static bool IsComponentDirty(ChildComponent component)
### ChildComponent.IsVertsDirty
-public static bool IsVertsDirty(ChildComponent component)
+public static bool IsVertsDirty(ChildComponent component)
### ChildComponent.SetAllDirty
-public virtual void SetAllDirty()
+public virtual void SetAllDirty()
### ChildComponent.SetComponentDirty
-public virtual void SetComponentDirty()
+public virtual void SetComponentDirty()
### ChildComponent.SetVerticesDirty
-public virtual void SetVerticesDirty()
+public virtual void SetVerticesDirty()
## ColorUtil
@@ -3376,7 +3376,7 @@ class in XCharts.Runtime
### ColorUtil.GetColor
-public static Color32 GetColor(string hexColorStr)
+public static Color32 GetColor(string hexColorStr)
Convert the html string to color.
## Comment
@@ -3387,25 +3387,25 @@ comment of chart.
### Comment.items
-public List<CommentItem> items
+public List<CommentItem> items
The items of comment.
### Comment.show
-public bool show
+public bool show
Set this to false to prevent the comment from showing.
### Comment.GetLabelStyle
-public LabelStyle GetLabelStyle(int index)
+public LabelStyle GetLabelStyle(int index)
### Comment.GetMarkStyle
-public CommentMarkStyle GetMarkStyle(int index)
+public CommentMarkStyle GetMarkStyle(int index)
### Comment.OnChanged
-public void OnChanged()
+public void OnChanged()
Callback handling when parameters change.
## CommentItem
@@ -3416,22 +3416,22 @@ comment of chart.
### CommentItem.content
-public string content
+public string content
content of comment.
### CommentItem.markRect
-public Rect markRect
+public Rect markRect
the mark rect of comment.
### CommentItem.markStyle
-public CommentMarkStyle markStyle
+public CommentMarkStyle markStyle
the mark rect style.
### CommentItem.show
-public bool show
+public bool show
Set this to false to prevent this comment item from showing.
## CommentMarkStyle
@@ -3442,12 +3442,12 @@ the comment mark style.
### CommentMarkStyle.lineStyle
-public LineStyle lineStyle
+public LineStyle lineStyle
line style of comment mark area.
### CommentMarkStyle.show
-public bool show
+public bool show
Set this to false to prevent this comment item from showing.
## ComponentHandlerAttribute
@@ -3456,7 +3456,7 @@ class in XCharts.Runtime / Inherits from: [Attribute](https://docs.unity3d.com/S
### ComponentHandlerAttribute.ComponentHandlerAttribute
-public ComponentHandlerAttribute(Type handler, bool allowMultiple, int order = 3)
+public ComponentHandlerAttribute(Type handler, bool allowMultiple, int order = 3)
## ComponentHelper
@@ -3465,23 +3465,23 @@ class in XCharts.Runtime
### ComponentHelper.GetAngleAxis
-public static AngleAxis GetAngleAxis(List<MainComponent> components, int polarIndex)
+public static AngleAxis GetAngleAxis(List<MainComponent> components, int polarIndex)
### ComponentHelper.GetRadiusAxis
-public static RadiusAxis GetRadiusAxis(List<MainComponent> components, int polarIndex)
+public static RadiusAxis GetRadiusAxis(List<MainComponent> components, int polarIndex)
### ComponentHelper.GetXAxisOnZeroOffset
-public static float GetXAxisOnZeroOffset(List<MainComponent> components, XAxis axis)
+public static float GetXAxisOnZeroOffset(List<MainComponent> components, XAxis axis)
### ComponentHelper.GetYAxisOnZeroOffset
-public static float GetYAxisOnZeroOffset(List<MainComponent> components, YAxis axis)
+public static float GetYAxisOnZeroOffset(List<MainComponent> components, YAxis axis)
### ComponentHelper.IsAnyCategoryOfYAxis
-public static bool IsAnyCategoryOfYAxis(List<MainComponent> components)
+public static bool IsAnyCategoryOfYAxis(List<MainComponent> components)
## ComponentTheme
@@ -3489,15 +3489,15 @@ class in XCharts.Runtime / Inherits from: [ChildComponent](#childcomponent) / Su
### ComponentTheme.ComponentTheme
-public ComponentTheme(ThemeType theme)
+public ComponentTheme(ThemeType theme)
### ComponentTheme.Copy
-public virtual void Copy(ComponentTheme theme)
+public virtual void Copy(ComponentTheme theme)
### ComponentTheme.Reset
-public virtual void Reset(ComponentTheme defaultTheme)
+public virtual void Reset(ComponentTheme defaultTheme)
## CoordOptionsAttribute
@@ -3505,15 +3505,15 @@ class in XCharts.Runtime / Inherits from: [Attribute](https://docs.unity3d.com/S
### CoordOptionsAttribute.Contains<T>
-public bool Contains<T>() where T : CoordSystem
+public bool Contains<T>() where T : CoordSystem
### CoordOptionsAttribute.CoordOptionsAttribute
-public CoordOptionsAttribute(Type coord, Type coord2)
+public CoordOptionsAttribute(Type coord, Type coord2)
-public CoordOptionsAttribute(Type coord, Type coord2, Type coord3)
+public CoordOptionsAttribute(Type coord, Type coord2, Type coord3)
-public CoordOptionsAttribute(Type coord, Type coord2, Type coord3, Type coord4)
+public CoordOptionsAttribute(Type coord, Type coord2, Type coord3, Type coord4)
## CoordSystem
@@ -3534,70 +3534,70 @@ DataZoom component is used for zooming a specific area, which enables user to in
### DataZoom.realtime
-public bool realtime
+public bool realtime
Whether to show data shadow in dataZoom-silder component, to indicate the data tendency in brief.
### DataZoom.startEndFunction
-public CustomDataZoomStartEndFunction startEndFunction
+public CustomDataZoomStartEndFunction startEndFunction
start和end变更委托。
### DataZoom.GetBackgroundColor
-public Color32 GetBackgroundColor(Color32 themeColor)
+public Color32 GetBackgroundColor(Color32 themeColor)
### DataZoom.GetBorderColor
-public Color32 GetBorderColor(Color32 themeColor)
+public Color32 GetBorderColor(Color32 themeColor)
### DataZoom.GetFillerColor
-public Color32 GetFillerColor(Color32 themeColor)
+public Color32 GetFillerColor(Color32 themeColor)
### DataZoom.IsContainsAxis
-public bool IsContainsAxis(Axis axis)
+public bool IsContainsAxis(Axis axis)
### DataZoom.IsContainsXAxis
-public bool IsContainsXAxis(int index)
+public bool IsContainsXAxis(int index)
### DataZoom.IsContainsYAxis
-public bool IsContainsYAxis(int index)
+public bool IsContainsYAxis(int index)
### DataZoom.IsInEndZoom
-public bool IsInEndZoom(Vector2 pos)
+public bool IsInEndZoom(Vector2 pos)
给定的坐标是否在结束活动条触发区域内
### DataZoom.IsInMarqueeArea
-public bool IsInMarqueeArea(Vector2 pos)
+public bool IsInMarqueeArea(Vector2 pos)
### DataZoom.IsInSelectedZoom
-public bool IsInSelectedZoom(int totalIndex, int index, bool invert)
+public bool IsInSelectedZoom(int totalIndex, int index, bool invert)
### DataZoom.IsInStartZoom
-public bool IsInStartZoom(Vector2 pos)
+public bool IsInStartZoom(Vector2 pos)
给定的坐标是否在开始活动条触发区域内
### DataZoom.IsInZoom
-public bool IsInZoom(Vector2 pos)
+public bool IsInZoom(Vector2 pos)
给定的坐标是否在缩放区域内
### DataZoom.SetDefaultValue
-public override void SetDefaultValue()
+public override void SetDefaultValue()
### DataZoom.UpdateRuntimeData
-public void UpdateRuntimeData(BaseChart chart)
+public void UpdateRuntimeData(BaseChart chart)
## DataZoom.FilterMode
@@ -3629,65 +3629,65 @@ class in XCharts.Runtime / Inherits from: [MainComponentContext](#maincomponentc
### DataZoomContext.endValue
-public double endValue
+public double endValue
运行时实际范围的结束值
### DataZoomContext.height
-public float height
+public float height
### DataZoomContext.invert
-public bool invert
+public bool invert
### DataZoomContext.isCoordinateDrag
-public bool isCoordinateDrag
+public bool isCoordinateDrag
### DataZoomContext.isDrag
-public bool isDrag
+public bool isDrag
### DataZoomContext.isEndDrag
-public bool isEndDrag
+public bool isEndDrag
### DataZoomContext.isMarqueeDrag
-public bool isMarqueeDrag
+public bool isMarqueeDrag
### DataZoomContext.isStartDrag
-public bool isStartDrag
+public bool isStartDrag
### DataZoomContext.marqueeEndPos
-public Vector3 marqueeEndPos
+public Vector3 marqueeEndPos
### DataZoomContext.marqueeRect
-public Rect marqueeRect
+public Rect marqueeRect
### DataZoomContext.marqueeStartPos
-public Vector3 marqueeStartPos
+public Vector3 marqueeStartPos
### DataZoomContext.startValue
-public double startValue
+public double startValue
运行时实际范围的开始值
### DataZoomContext.width
-public float width
+public float width
### DataZoomContext.x
-public float x
+public float x
### DataZoomContext.y
-public float y
+public float y
## DataZoomHelper
@@ -3695,11 +3695,11 @@ class in XCharts.Runtime
### DataZoomHelper.UpdateDataZoomRuntimeStartEndValue
-public static void UpdateDataZoomRuntimeStartEndValue(DataZoom dataZoom, Serie serie)
+public static void UpdateDataZoomRuntimeStartEndValue(DataZoom dataZoom, Serie serie)
### DataZoomHelper.UpdateDataZoomRuntimeStartEndValue<T>
-public static void UpdateDataZoomRuntimeStartEndValue<T>(BaseChart chart) where T : Serie
+public static void UpdateDataZoomRuntimeStartEndValue<T>(BaseChart chart) where T : Serie
## DataZoomTheme
@@ -3707,11 +3707,11 @@ class in XCharts.Runtime / Inherits from: [ComponentTheme](#componenttheme)
### DataZoomTheme.Copy
-public void Copy(DataZoomTheme theme)
+public void Copy(DataZoomTheme theme)
### DataZoomTheme.DataZoomTheme
-public DataZoomTheme(ThemeType theme) : base(theme)
+public DataZoomTheme(ThemeType theme) : base(theme)
## DateTimeUtil
@@ -3719,22 +3719,22 @@ class in XCharts.Runtime
### DateTimeUtil.GetDateTime
-public static DateTime GetDateTime(double timestamp, bool local = true)
+public static DateTime GetDateTime(double timestamp, bool local = true)
### DateTimeUtil.GetDefaultDateTimeString
-public static string GetDefaultDateTimeString(int timestamp, double range = 0)
+public static string GetDefaultDateTimeString(int timestamp, double range = 0)
### DateTimeUtil.GetTimestamp
-public static int GetTimestamp(DateTime time, bool local = false)
+public static int GetTimestamp(DateTime time, bool local = false)
-public static int GetTimestamp(string dateTime, bool local = false)
+public static int GetTimestamp(string dateTime, bool local = false)
### DateTimeUtil.IsDateOrTimeRegex
-public static bool IsDateOrTimeRegex(string regex, ref bool date, ref string formatter)
+public static bool IsDateOrTimeRegex(string regex, ref bool date, ref string formatter)
## DebugInfo
@@ -3743,41 +3743,41 @@ class in XCharts.Runtime
### DebugInfo.avgFps
-public float avgFps
+public float avgFps
The average frame rate.
### DebugInfo.foldSeries
-public bool foldSeries
+public bool foldSeries
Whether to fold series in inspector view.
### DebugInfo.fps
-public float fps
+public float fps
frame rate.
### DebugInfo.refreshCount
-public int refreshCount
+public int refreshCount
The fefresh count of chart per second.
### DebugInfo.show
-public bool show
+public bool show
Whether show debug component.
### DebugInfo.showAllChartObject
-public bool showAllChartObject
+public bool showAllChartObject
Whether show children components of chart in hierarchy view.
### DebugInfo.Init
-public void Init(BaseChart chart)
+public void Init(BaseChart chart)
### DebugInfo.Update
-public void Update()
+public void Update()
## DefaultAnimationAttribute
@@ -3785,7 +3785,7 @@ class in XCharts.Runtime / Inherits from: [Attribute](https://docs.unity3d.com/S
### DefaultAnimationAttribute.DefaultAnimationAttribute
-public DefaultAnimationAttribute(AnimationType handler, bool enableSerieDataAddedAnimation)
+public DefaultAnimationAttribute(AnimationType handler, bool enableSerieDataAddedAnimation)
## DefaultTooltipAttribute
@@ -3794,7 +3794,7 @@ class in XCharts.Runtime / Inherits from: [Attribute](https://docs.unity3d.com/S
### DefaultTooltipAttribute.DefaultTooltipAttribute
-public DefaultTooltipAttribute(Tooltip.Type type, Tooltip.Trigger trigger)
+public DefaultTooltipAttribute(Tooltip.Type type, Tooltip.Trigger trigger)
## DefineSymbolsUtil
@@ -3802,11 +3802,11 @@ class in XCharts.Runtime
### DefineSymbolsUtil.AddGlobalDefine
-public static void AddGlobalDefine(string symbol)
+public static void AddGlobalDefine(string symbol)
### DefineSymbolsUtil.RemoveGlobalDefine
-public static void RemoveGlobalDefine(string symbol)
+public static void RemoveGlobalDefine(string symbol)
## EffectScatter
@@ -3814,7 +3814,7 @@ class in XCharts.Runtime / Inherits from: [BaseScatter](#basescatter)
### EffectScatter.AddDefaultSerie
-public static Serie AddDefaultSerie(BaseChart chart, string serieName)
+public static Serie AddDefaultSerie(BaseChart chart, string serieName)
## EmphasisStyle
@@ -3854,7 +3854,7 @@ class in XCharts.Runtime / Inherits from: [LabelStyle](#labelstyle)
### EndLabelStyle.EndLabelStyle
-public EndLabelStyle()
+public EndLabelStyle()
## FormatterHelper
@@ -3862,16 +3862,16 @@ class in XCharts.Runtime
### FormatterHelper.NeedFormat
-public static bool NeedFormat(string content)
+public static bool NeedFormat(string content)
### FormatterHelper.ReplaceAxisLabelContent
-public static void ReplaceAxisLabelContent(ref string content, string value)
+public static void ReplaceAxisLabelContent(ref string content, string value)
### FormatterHelper.TrimAndReplaceLine
-public static string TrimAndReplaceLine(string content)
+public static string TrimAndReplaceLine(string content)
## GraphData
@@ -3882,82 +3882,82 @@ the data struct of graph.
### GraphData.AddEdge
-public GraphEdge AddEdge(string nodeId1, string nodeId2, double value)
+public GraphEdge AddEdge(string nodeId1, string nodeId2, double value)
### GraphData.AddNode
-public GraphNode AddNode(string nodeId, string nodeName, int dataIndex, double value)
+public GraphNode AddNode(string nodeId, string nodeName, int dataIndex, double value)
### GraphData.BreadthFirstTraverse
-public void BreadthFirstTraverse(GraphNode startNode, System.Action<GraphNode> onTraverse)
+public void BreadthFirstTraverse(GraphNode startNode, System.Action<GraphNode> onTraverse)
### GraphData.Clear
-public void Clear()
+public void Clear()
### GraphData.DeepFirstTraverse
-public void DeepFirstTraverse(GraphNode startNode, System.Action<GraphNode> onTraverse)
+public void DeepFirstTraverse(GraphNode startNode, System.Action<GraphNode> onTraverse)
### GraphData.EachNode
-public void EachNode(System.Action<GraphNode> onEach)
+public void EachNode(System.Action<GraphNode> onEach)
### GraphData.ExpandAllNodes
-public void ExpandAllNodes(bool flag, int level = -1)
+public void ExpandAllNodes(bool flag, int level = -1)
### GraphData.ExpandNode
-public void ExpandNode(string nodeId, bool flag)
+public void ExpandNode(string nodeId, bool flag)
### GraphData.GetDepthNodes
-public List<List<GraphNode>> GetDepthNodes()
+public List<List<GraphNode>> GetDepthNodes()
### GraphData.GetEdge
-public GraphEdge GetEdge(string nodeId1, string nodeId2)
+public GraphEdge GetEdge(string nodeId1, string nodeId2)
### GraphData.GetExpandedNodesCount
-public static int GetExpandedNodesCount(List<GraphNode> nodes)
+public static int GetExpandedNodesCount(List<GraphNode> nodes)
### GraphData.GetMaxDepth
-public int GetMaxDepth()
+public int GetMaxDepth()
### GraphData.GetNode
-public GraphNode GetNode(string nodeId)
+public GraphNode GetNode(string nodeId)
### GraphData.GetNodeDepth
-// public void GetNodeDepth(GraphNode node, ref int depth, int recursiveCount = 0)
+// public void GetNodeDepth(GraphNode node, ref int depth, int recursiveCount = 0)
-public int GetNodeDepth(GraphNode node, int recursiveCount = 0)
+public int GetNodeDepth(GraphNode node, int recursiveCount = 0)
### GraphData.GetNodesTotalValue
-public static double GetNodesTotalValue(List<GraphNode> nodes)
+public static double GetNodesTotalValue(List<GraphNode> nodes)
### GraphData.GetRootNodes
-public List<GraphNode> GetRootNodes()
+public List<GraphNode> GetRootNodes()
### GraphData.GraphData
-public GraphData(bool directed)
+public GraphData(bool directed)
### GraphData.IsAllNodeInZeroPosition
-public bool IsAllNodeInZeroPosition()
+public bool IsAllNodeInZeroPosition()
### GraphData.Refresh
-public void Refresh()
+public void Refresh()
## GraphEdge
@@ -3967,11 +3967,11 @@ The edge of graph.
### GraphEdge.GraphEdge
-public GraphEdge(GraphNode node1, GraphNode node2, double value)
+public GraphEdge(GraphNode node1, GraphNode node2, double value)
### GraphEdge.IsPointInEdge
-public bool IsPointInEdge(Vector2 point)
+public bool IsPointInEdge(Vector2 point)
## GraphNode
@@ -3981,35 +3981,35 @@ The node of graph.
### GraphNode.degree
-public int degree
+public int degree
### GraphNode.inDegree
-public int inDegree
+public int inDegree
### GraphNode.outDegree
-public int outDegree
+public int outDegree
### GraphNode.Expand
-public void Expand(bool flag)
+public void Expand(bool flag)
### GraphNode.GraphNode
-public GraphNode(string id, string name, int dataIndex)
+public GraphNode(string id, string name, int dataIndex)
### GraphNode.IsAllInEdgesCollapsed
-public bool IsAllInEdgesCollapsed()
+public bool IsAllInEdgesCollapsed()
### GraphNode.IsAnyInEdgesExpanded
-public bool IsAnyInEdgesExpanded()
+public bool IsAnyInEdgesExpanded()
### GraphNode.ToString
-public override string ToString()
+public override string ToString()
## GridCoord
@@ -4019,13 +4019,13 @@ Grid component.
### GridCoord.BoundaryPoint
-public bool BoundaryPoint(Vector3 sp, Vector3 ep, ref List<Vector3> point)
+public bool BoundaryPoint(Vector3 sp, Vector3 ep, ref List<Vector3> point)
给定的线段和Grid边界的交点
### GridCoord.Clamp
-public void Clamp(ref Vector3 pos)
+public void Clamp(ref Vector3 pos)
> Since `v3.7.0`
@@ -4033,7 +4033,7 @@ Clamp the position of pos to the grid.
### GridCoord.ClampX
-public void ClampX(ref Vector3 pos)
+public void ClampX(ref Vector3 pos)
> Since `v3.7.0`
@@ -4041,7 +4041,7 @@ Clamp the x position of pos to the grid.
### GridCoord.ClampY
-public void ClampY(ref Vector3 pos)
+public void ClampY(ref Vector3 pos)
> Since `v3.7.0`
@@ -4049,10 +4049,10 @@ Clamp the y position of pos to the grid.
### GridCoord.Contains
-public bool Contains(float x, float y)
+public bool Contains(float x, float y)
Whether the given position is in the grid.
-public bool Contains(Vector3 pos, bool isYAxis)
+public bool Contains(Vector3 pos, bool isYAxis)
> Since `v3.7.0`
@@ -4061,7 +4061,7 @@ Whether the given position is in the grid.
### GridCoord.ContainsX
-public bool ContainsX(float x)
+public bool ContainsX(float x)
> Since `v3.7.0`
@@ -4069,7 +4069,7 @@ Whether the given x is in the grid.
### GridCoord.ContainsY
-public bool ContainsY(float y)
+public bool ContainsY(float y)
> Since `v3.7.0`
@@ -4077,12 +4077,12 @@ Whether the given y is in the grid.
### GridCoord.IsPointerEnter
-public bool IsPointerEnter()
+public bool IsPointerEnter()
Whether the pointer is in the grid.
### GridCoord.NotAnyIntersect
-public bool NotAnyIntersect(Vector3 sp, Vector3 ep)
+public bool NotAnyIntersect(Vector3 sp, Vector3 ep)
> Since `v3.10.0`
@@ -4090,7 +4090,7 @@ Determines whether a given line segment will not intersect the Grid boundary at
### GridCoord.UpdateRuntimeData
-public void UpdateRuntimeData(BaseChart chart)
+public void UpdateRuntimeData(BaseChart chart)
## GridCoord3D
@@ -4102,32 +4102,32 @@ Grid component.
### GridCoord3D.Clamp
-public void Clamp(ref Vector3 pos)
+public void Clamp(ref Vector3 pos)
Clamp the position of pos to the grid.
### GridCoord3D.Contains
-public bool Contains(Vector3 pos)
+public bool Contains(Vector3 pos)
Whether the given position is in the grid.
### GridCoord3D.IsLeft
-public bool IsLeft()
+public bool IsLeft()
The opening of the coordinate system faces to the left. 坐标系开口朝向左边。
### GridCoord3D.IsPointerEnter
-public bool IsPointerEnter()
+public bool IsPointerEnter()
Whether the pointer is in the grid.
### GridCoord3D.NotAnyIntersect
-public bool NotAnyIntersect(Vector3 sp, Vector3 ep)
+public bool NotAnyIntersect(Vector3 sp, Vector3 ep)
Determines whether a given line segment will not intersect the Grid boundary at all.
### GridCoord3D.UpdateRuntimeData
-public void UpdateRuntimeData(BaseChart chart)
+public void UpdateRuntimeData(BaseChart chart)
## GridCoord3DContext
@@ -4147,7 +4147,7 @@ Grid layout component. Used to manage the layout of multiple `GridCoord`, and th
### GridLayout.UpdateRuntimeData
-public void UpdateRuntimeData(BaseChart chart)
+public void UpdateRuntimeData(BaseChart chart)
## GridLayoutContext
@@ -4159,15 +4159,15 @@ class in XCharts.Runtime / Inherits from: [Serie](#serie),[INeedSerieContainer](
### Heatmap.containerIndex
-public int containerIndex
+public int containerIndex
### Heatmap.containterInstanceId
-public int containterInstanceId
+public int containterInstanceId
### Heatmap.AddDefaultSerie
-public static Serie AddDefaultSerie(BaseChart chart, string serieName)
+public static Serie AddDefaultSerie(BaseChart chart, string serieName)
## HeatmapChart
@@ -4177,7 +4177,7 @@ Heat map mainly use colors to represent values, which must be used along with vi
### HeatmapChart.DefaultCountHeatmapChart
-public void DefaultCountHeatmapChart()
+public void DefaultCountHeatmapChart()
default count heatmap chart.
## HeatmapType
@@ -4197,65 +4197,65 @@ class in XCharts.Runtime / Inherits from: [ChildComponent](#childcomponent)
### IconStyle.align
-public Align align
+public Align align
水平方向对齐方式。
### IconStyle.autoHideWhenLabelEmpty
-public bool autoHideWhenLabelEmpty
+public bool autoHideWhenLabelEmpty
当label内容为空时是否自动隐藏图标
### IconStyle.color
-public Color color
+public Color color
图标颜色。
### IconStyle.height
-public float height
+public float height
图标高。
### IconStyle.layer
-public Layer layer
+public Layer layer
显示在上层还是在下层。
### IconStyle.offset
-public Vector3 offset
+public Vector3 offset
图标偏移。
### IconStyle.show
-public bool show
+public bool show
Whether the data icon is show.
### IconStyle.sprite
-public Sprite sprite
+public Sprite sprite
The image of icon.
### IconStyle.type
-public Image.Type type
+public Image.Type type
How to display the icon.
### IconStyle.width
-public float width
+public float width
图标宽。
### IconStyle.Clone
-public IconStyle Clone()
+public IconStyle Clone()
### IconStyle.Copy
-public void Copy(IconStyle iconStyle)
+public void Copy(IconStyle iconStyle)
### IconStyle.Reset
-public void Reset()
+public void Reset()
## IconStyle.Layer
@@ -4272,7 +4272,7 @@ class in XCharts.Runtime / Inherits from: [Attribute](https://docs.unity3d.com/S
### IgnoreDoc.IgnoreDoc
-public IgnoreDoc()
+public IgnoreDoc()
## ImageStyle
@@ -4280,50 +4280,50 @@ class in XCharts.Runtime / Inherits from: [ChildComponent](#childcomponent),[ISe
### ImageStyle.autoColor
-public bool autoColor
+public bool autoColor
是否自动颜色。
### ImageStyle.color
-public Color color
+public Color color
图标颜色。
### ImageStyle.height
-public float height
+public float height
图标高。
### ImageStyle.show
-public bool show
+public bool show
Whether the data icon is show.
### ImageStyle.sprite
-public Sprite sprite
+public Sprite sprite
The image of icon.
### ImageStyle.type
-public Image.Type type
+public Image.Type type
How to display the image.
### ImageStyle.width
-public float width
+public float width
图标宽。
### ImageStyle.Clone
-public ImageStyle Clone()
+public ImageStyle Clone()
### ImageStyle.Copy
-public void Copy(ImageStyle imageStyle)
+public void Copy(ImageStyle imageStyle)
### ImageStyle.Reset
-public void Reset()
+public void Reset()
## Indicator
@@ -4333,94 +4333,94 @@ Indicator of radar chart, which is used to assign multiple variables(dimensions)
### Indicator.indicatorList
-public List<Indicator> indicatorList
+public List<Indicator> indicatorList
the indicator list.
### Indicator.max
-public double max
+public double max
The maximum value of indicator, with default value of 0, but we recommend to set it manually.
### Indicator.min
-public double min
+public double min
The minimum value of indicator, with default value of 0.
### Indicator.name
-public string name
+public string name
The name of indicator.
### Indicator.show
-public bool show
+public bool show
[default:true] Set this to false to prevent the radar from showing.
### Indicator.text
-public Text text
+public Text text
the text conponent of indicator.
### Indicator.AddIndicator
-public RadarCoord.Indicator AddIndicator(string name, double min, double max)
+public RadarCoord.Indicator AddIndicator(string name, double min, double max)
### Indicator.AddIndicatorList
-public void AddIndicatorList(List<string> nameList, double min = 0, double max = 0)
+public void AddIndicatorList(List<string> nameList, double min = 0, double max = 0)
> Since `v3.3.0`
### Indicator.ClearData
-public override void ClearData()
+public override void ClearData()
### Indicator.GetFormatterIndicatorContent
-public string GetFormatterIndicatorContent(string indicatorName)
+public string GetFormatterIndicatorContent(string indicatorName)
### Indicator.GetIndicator
-public RadarCoord.Indicator GetIndicator(int indicatorIndex)
+public RadarCoord.Indicator GetIndicator(int indicatorIndex)
### Indicator.GetIndicatorMax
-public double GetIndicatorMax(int index)
+public double GetIndicatorMax(int index)
### Indicator.GetIndicatorMin
-public double GetIndicatorMin(int index)
+public double GetIndicatorMin(int index)
### Indicator.GetIndicatorName
-public string GetIndicatorName(int indicatorIndex)
+public string GetIndicatorName(int indicatorIndex)
### Indicator.GetIndicatorPosition
-public Vector3 GetIndicatorPosition(int index)
+public Vector3 GetIndicatorPosition(int index)
### Indicator.IsInIndicatorRange
-public bool IsInIndicatorRange(int index, double value)
+public bool IsInIndicatorRange(int index, double value)
### Indicator.IsInRange
-public bool IsInRange(double value)
+public bool IsInRange(double value)
### Indicator.IsPointerEnter
-public bool IsPointerEnter()
+public bool IsPointerEnter()
### Indicator.SetDefaultValue
-public override void SetDefaultValue()
+public override void SetDefaultValue()
### Indicator.UpdateIndicator
-public bool UpdateIndicator(int indicatorIndex, string name, double min, double max)
+public bool UpdateIndicator(int indicatorIndex, string name, double min, double max)
## INeedSerieContainer
@@ -4432,11 +4432,11 @@ class in XCharts.Runtime
### InputHelper.GetKeyDown
-public static bool GetKeyDown(KeyCode keyCode)
+public static bool GetKeyDown(KeyCode keyCode)
### InputHelper.GetTouch
-public static Touch GetTouch(int v)
+public static Touch GetTouch(int v)
## InteractData
@@ -4444,49 +4444,49 @@ class in XCharts.Runtime
### InteractData.Reset
-public void Reset()
+public void Reset()
### InteractData.SetColor
-public void SetColor(ref bool needInteract, Color32 color, Color32 toColor)
+public void SetColor(ref bool needInteract, Color32 color, Color32 toColor)
### InteractData.SetPosition
-public void SetPosition(ref bool needInteract, Vector3 pos)
+public void SetPosition(ref bool needInteract, Vector3 pos)
### InteractData.SetValue
-public void SetValue(ref bool needInteract, float value, bool previousValueZero = false)
+public void SetValue(ref bool needInteract, float value, bool previousValueZero = false)
### InteractData.SetValueAndColor
-public void SetValueAndColor(ref bool needInteract, float value, Color32 color, Color32 toColor)
+public void SetValueAndColor(ref bool needInteract, float value, Color32 color, Color32 toColor)
### InteractData.ToString
-public override string ToString()
+public override string ToString()
### InteractData.TryGetColor
-public bool TryGetColor(ref Color32 color, ref Color32 toColor, ref bool interacting, float animationDuration = 250)
+public bool TryGetColor(ref Color32 color, ref Color32 toColor, ref bool interacting, float animationDuration = 250)
### InteractData.TryGetPosition
-public bool TryGetPosition(ref Vector3 pos, ref bool interacting, float animationDuration = 250)
+public bool TryGetPosition(ref Vector3 pos, ref bool interacting, float animationDuration = 250)
### InteractData.TryGetValue
-public bool TryGetValue(ref float value, ref bool interacting, float animationDuration = 250)
+public bool TryGetValue(ref float value, ref bool interacting, float animationDuration = 250)
### InteractData.TryGetValueAndColor
-public bool TryGetValueAndColor(ref float value, ref Vector3 pos, ref bool interacting, float animationDuration = 250)
+public bool TryGetValueAndColor(ref float value, ref Vector3 pos, ref bool interacting, float animationDuration = 250)
-public bool TryGetValueAndColor(ref float value, ref Vector3 pos, ref Color32 color, ref Color32 toColor, ref bool interacting, float animationDuration = 250)
+public bool TryGetValueAndColor(ref float value, ref Vector3 pos, ref Color32 color, ref Color32 toColor, ref bool interacting, float animationDuration = 250)
## IPropertyChanged
@@ -4523,41 +4523,41 @@ class in XCharts.Runtime / Inherits from: [ChildComponent](#childcomponent),[ISe
### ItemStyle.GetBorderColor
-public Color32 GetBorderColor(Color32 defaultColor)
+public Color32 GetBorderColor(Color32 defaultColor)
### ItemStyle.GetBorderColor0
-public Color32 GetBorderColor0(Color32 defaultColor)
+public Color32 GetBorderColor0(Color32 defaultColor)
### ItemStyle.GetColor
-public Color32 GetColor(Color32 defaultColor)
+public Color32 GetColor(Color32 defaultColor)
### ItemStyle.GetColor0
-public Color32 GetColor0(Color32 defaultColor)
+public Color32 GetColor0(Color32 defaultColor)
### ItemStyle.GetGradientColor
-public Color32 GetGradientColor(float value, Color32 defaultColor)
+public Color32 GetGradientColor(float value, Color32 defaultColor)
### ItemStyle.GetToColor
-public Color32 GetToColor()
+public Color32 GetToColor()
### ItemStyle.IsNeedCorner
-public bool IsNeedCorner()
+public bool IsNeedCorner()
### ItemStyle.IsNeedGradient
-public bool IsNeedGradient()
+public bool IsNeedGradient()
### ItemStyle.Reset
-public void Reset()
+public void Reset()
## IUpdateRuntimeData
@@ -4569,15 +4569,15 @@ class in XCharts.Runtime
### JsonUtil.GetJsonArray<T>
-public static T[] GetJsonArray<T>(string json)
+public static T[] GetJsonArray<T>(string json)
### JsonUtil.GetJsonObject<T>
-public static T GetJsonObject<T>(string json)
+public static T GetJsonObject<T>(string json)
### JsonUtil.GetWebJson<T>
-public static IEnumerator GetWebJson<T>(string url, Action<T> callback)
+public static IEnumerator GetWebJson<T>(string url, Action<T> callback)
## LabelLine
@@ -4588,15 +4588,15 @@ class in XCharts.Runtime / Inherits from: [ChildComponent](#childcomponent),[ISe
### LabelLine.GetEndSymbolOffset
-public Vector3 GetEndSymbolOffset()
+public Vector3 GetEndSymbolOffset()
### LabelLine.GetStartSymbolOffset
-public Vector3 GetStartSymbolOffset()
+public Vector3 GetStartSymbolOffset()
### LabelLine.Reset
-public void Reset()
+public void Reset()
## LabelLine.LineType
@@ -4618,45 +4618,45 @@ Text label of chart, to explain some data information about graphic item like va
### LabelStyle.Clone
-public virtual LabelStyle Clone()
+public virtual LabelStyle Clone()
### LabelStyle.Copy
-public virtual void Copy(LabelStyle label)
+public virtual void Copy(LabelStyle label)
### LabelStyle.GetColor
-public Color GetColor(Color defaultColor)
+public Color GetColor(Color defaultColor)
### LabelStyle.GetFormatterContent
-public virtual string GetFormatterContent(int labelIndex, double value, double minValue, double maxValue, bool isLog = false)
+public virtual string GetFormatterContent(int labelIndex, double value, double minValue, double maxValue, bool isLog = false)
### LabelStyle.GetFormatterDateTime
-public string GetFormatterDateTime(int labelIndex, double value, double minValue, double maxValue)
+public string GetFormatterDateTime(int labelIndex, double value, double minValue, double maxValue)
### LabelStyle.GetOffset
-public Vector3 GetOffset(float radius)
+public Vector3 GetOffset(float radius)
### LabelStyle.IsAutoSize
-public bool IsAutoSize()
+public bool IsAutoSize()
### LabelStyle.IsDefaultPosition
-public bool IsDefaultPosition(Position position)
+public bool IsDefaultPosition(Position position)
### LabelStyle.IsInside
-public bool IsInside()
+public bool IsInside()
whether the label is inside.
### LabelStyle.Reset
-public void Reset()
+public void Reset()
## LabelStyle.Position
@@ -4686,15 +4686,15 @@ Language.
### Lang.GetCandlestickDimensionName
-public string GetCandlestickDimensionName(int i)
+public string GetCandlestickDimensionName(int i)
### Lang.GetDay
-public string GetDay(int day)
+public string GetDay(int day)
### Lang.GetMonthAbbr
-public string GetMonthAbbr(int month)
+public string GetMonthAbbr(int month)
## LangCandlestick
@@ -4702,7 +4702,7 @@ class in XCharts.Runtime
### LangCandlestick.List<string>()
-public List<string> dimensionNames = new List<string>()
+public List<string> dimensionNames = new List<string>()
## LangTime
@@ -4710,13 +4710,13 @@ class in XCharts.Runtime
### LangTime.List<string>
-public List<string> dayOfMonth = new List<string>()
+public List<string> dayOfMonth = new List<string>()
-public List<string> dayOfWeek = new List<string>()
+public List<string> dayOfWeek = new List<string>()
-public List<string> dayOfWeekAbbr = new List<string>()
+public List<string> dayOfWeekAbbr = new List<string>()
-public List<string> monthAbbr = new List<string>()
+public List<string> monthAbbr = new List<string>()
## LayerHelper
@@ -4725,11 +4725,11 @@ class in XCharts.Runtime
### LayerHelper.IsFixedWidthHeight
-public static bool IsFixedWidthHeight(RectTransform rt)
+public static bool IsFixedWidthHeight(RectTransform rt)
### LayerHelper.IsStretchPivot
-public static bool IsStretchPivot(RectTransform rt)
+public static bool IsStretchPivot(RectTransform rt)
## Legend
@@ -4739,79 +4739,79 @@ Legend component.The legend component shows different sets of tags, colors, and
### Legend.vertsDirty
-public override bool vertsDirty
+public override bool vertsDirty
图表是否需要刷新(图例组件不需要刷新图表)
### Legend.AddData
-public void AddData(string name)
+public void AddData(string name)
Add legend data.
### Legend.ClearComponentDirty
-public override void ClearComponentDirty()
+public override void ClearComponentDirty()
### Legend.ClearData
-public override void ClearData()
+public override void ClearData()
Clear legend data.
### Legend.ContainsData
-public bool ContainsData(string name)
+public bool ContainsData(string name)
Whether include in legend data by the specified name.
### Legend.GetColor
-public Color GetColor(int index)
+public Color GetColor(int index)
### Legend.GetData
-public string GetData(int index)
+public string GetData(int index)
Gets the legend for the specified index.
### Legend.GetIcon
-public Sprite GetIcon(int index)
+public Sprite GetIcon(int index)
Gets the legend button for the specified index.
### Legend.GetIndex
-public int GetIndex(string legendName)
+public int GetIndex(string legendName)
Gets the index of the specified legend.
### Legend.GetPosition
-public Vector3 GetPosition(int index, Vector3 defaultPos)
+public Vector3 GetPosition(int index, Vector3 defaultPos)
### Legend.OnChanged
-public void OnChanged()
+public void OnChanged()
Callback handling when parameters change.
### Legend.RemoveButton
-public void RemoveButton()
+public void RemoveButton()
Remove all legend buttons.
### Legend.RemoveData
-public void RemoveData(string name)
+public void RemoveData(string name)
Removes the legend with the specified name.
### Legend.SetButton
-public void SetButton(string name, LegendItem item, int total)
+public void SetButton(string name, LegendItem item, int total)
Bind buttons to legends.
### Legend.UpdateButtonColor
-public void UpdateButtonColor(string name, Color color)
+public void UpdateButtonColor(string name, Color color)
Update the legend button color.
### Legend.UpdateContentColor
-public void UpdateContentColor(string name, Color color)
+public void UpdateContentColor(string name, Color color)
Update the text color of legend.
## Legend.SelectedMode
@@ -4849,20 +4849,20 @@ class in XCharts.Runtime / Inherits from: [MainComponentContext](#maincomponentc
### LegendContext.background
-public Image background
+public Image background
### LegendContext.center
-public Vector2 center
+public Vector2 center
### LegendContext.height
-public float height
+public float height
运行时图例的总高度
### LegendContext.width
-public float width
+public float width
运行时图例的总宽度
## LegendHelper
@@ -4871,27 +4871,27 @@ class in XCharts.Runtime
### LegendHelper.CheckDataHighlighted
-public static int CheckDataHighlighted(Serie serie, string legendName, bool heighlight)
+public static int CheckDataHighlighted(Serie serie, string legendName, bool heighlight)
### LegendHelper.CheckDataShow
-public static bool CheckDataShow(Serie serie, string legendName, bool show)
+public static bool CheckDataShow(Serie serie, string legendName, bool show)
### LegendHelper.GetContentColor
-public static Color GetContentColor(BaseChart chart, int legendIndex, string legendName, Legend legend, ThemeStyle theme, bool active)
+public static Color GetContentColor(BaseChart chart, int legendIndex, string legendName, Legend legend, ThemeStyle theme, bool active)
### LegendHelper.GetIconColor
-public static Color GetIconColor(BaseChart chart, Legend legend, int readIndex, string legendName, bool active)
+public static Color GetIconColor(BaseChart chart, Legend legend, int readIndex, string legendName, bool active)
### LegendHelper.ResetItemPosition
-public static void ResetItemPosition(Legend legend, Vector3 chartPos, float chartWidth, float chartHeight)
+public static void ResetItemPosition(Legend legend, Vector3 chartPos, float chartWidth, float chartHeight)
### LegendHelper.SetLegendBackground
-public static void SetLegendBackground(Legend legend, ImageStyle style)
+public static void SetLegendBackground(Legend legend, ImageStyle style)
## LegendItem
@@ -4899,99 +4899,99 @@ class in XCharts.Runtime
### LegendItem.button
-public Button button
+public Button button
### LegendItem.gameObject
-public GameObject gameObject
+public GameObject gameObject
### LegendItem.index
-public int index
+public int index
### LegendItem.legendName
-public string legendName
+public string legendName
### LegendItem.name
-public string name
+public string name
### LegendItem.text
-public ChartText text
+public ChartText text
### LegendItem.GetIconColor
-public Color GetIconColor()
+public Color GetIconColor()
### LegendItem.GetIconRect
-public Rect GetIconRect()
+public Rect GetIconRect()
### LegendItem.SetActive
-public void SetActive(bool active)
+public void SetActive(bool active)
### LegendItem.SetBackground
-public void SetBackground(ImageStyle imageStyle)
+public void SetBackground(ImageStyle imageStyle)
### LegendItem.SetButton
-public void SetButton(Button button)
+public void SetButton(Button button)
### LegendItem.SetContent
-public bool SetContent(string content)
+public bool SetContent(string content)
### LegendItem.SetContentBackgroundColor
-public void SetContentBackgroundColor(Color color)
+public void SetContentBackgroundColor(Color color)
### LegendItem.SetContentColor
-public void SetContentColor(Color color)
+public void SetContentColor(Color color)
### LegendItem.SetContentPosition
-public void SetContentPosition(Vector3 offset)
+public void SetContentPosition(Vector3 offset)
### LegendItem.SetIcon
-public void SetIcon(Image icon)
+public void SetIcon(Image icon)
### LegendItem.SetIconActive
-public void SetIconActive(bool active)
+public void SetIconActive(bool active)
### LegendItem.SetIconColor
-public void SetIconColor(Color color)
+public void SetIconColor(Color color)
### LegendItem.SetIconImage
-public void SetIconImage(Sprite image)
+public void SetIconImage(Sprite image)
### LegendItem.SetIconSize
-public void SetIconSize(float width, float height)
+public void SetIconSize(float width, float height)
### LegendItem.SetObject
-public void SetObject(GameObject obj)
+public void SetObject(GameObject obj)
### LegendItem.SetPosition
-public void SetPosition(Vector3 position)
+public void SetPosition(Vector3 position)
### LegendItem.SetText
-public void SetText(ChartText text)
+public void SetText(ChartText text)
### LegendItem.SetTextBackground
-public void SetTextBackground(Image image)
+public void SetTextBackground(Image image)
## LegendTheme
@@ -4999,11 +4999,11 @@ class in XCharts.Runtime / Inherits from: [ComponentTheme](#componenttheme)
### LegendTheme.Copy
-public void Copy(LegendTheme theme)
+public void Copy(LegendTheme theme)
### LegendTheme.LegendTheme
-public LegendTheme(ThemeType theme) : base(theme)
+public LegendTheme(ThemeType theme) : base(theme)
## Level
@@ -5011,27 +5011,27 @@ class in XCharts.Runtime / Inherits from: [ChildComponent](#childcomponent)
### Level.depth
-public int depth
+public int depth
the depth of level.
### Level.itemStyle
-public ItemStyle itemStyle
+public ItemStyle itemStyle
the item style of level.
### Level.label
-public LabelStyle label
+public LabelStyle label
the label style of level.
### Level.lineStyle
-public LineStyle lineStyle
+public LineStyle lineStyle
the line style of level.
### Level.upperLabel
-public LabelStyle upperLabel
+public LabelStyle upperLabel
the upper label style of level.
## LevelStyle
@@ -5042,12 +5042,12 @@ class in XCharts.Runtime / Inherits from: [ChildComponent](#childcomponent)
### LevelStyle.levels
-public List<Level> levels
+public List<Level> levels
各层节点对应的配置。当enableLevels为true时生效,levels[0]对应的第一层的配置,levels[1]对应第二层,依次类推。当levels中没有对应层时用默认的设置。
### LevelStyle.show
-public bool show
+public bool show
是否启用LevelStyle
## Line
@@ -5056,19 +5056,19 @@ class in XCharts.Runtime / Inherits from: [Serie](#serie),[INeedSerieContainer](
### Line.containerIndex
-public int containerIndex
+public int containerIndex
### Line.containterInstanceId
-public int containterInstanceId
+public int containterInstanceId
### Line.AddDefaultSerie
-public static Serie AddDefaultSerie(BaseChart chart, string serieName)
+public static Serie AddDefaultSerie(BaseChart chart, string serieName)
### Line.ConvertSerie
-public static Line ConvertSerie(Serie serie)
+public static Line ConvertSerie(Serie serie)
## LineArrow
@@ -5091,47 +5091,47 @@ Line chart relates all the data points symbol by broken lines, which is used to
### LineChart.DefaultAreaLineChart
-public void DefaultAreaLineChart()
+public void DefaultAreaLineChart()
default area line chart.
### LineChart.DefaultDashLineChart
-public void DefaultDashLineChart()
+public void DefaultDashLineChart()
default dash line chart.
### LineChart.DefaultLogLineChart
-public void DefaultLogLineChart()
+public void DefaultLogLineChart()
default logarithmic line chart.
### LineChart.DefaultSmoothAreaLineChart
-public void DefaultSmoothAreaLineChart()
+public void DefaultSmoothAreaLineChart()
default smooth area line chart.
### LineChart.DefaultSmoothLineChart
-public void DefaultSmoothLineChart()
+public void DefaultSmoothLineChart()
default smooth line chart.
### LineChart.DefaultStackAreaLineChart
-public void DefaultStackAreaLineChart()
+public void DefaultStackAreaLineChart()
default stack area line chart.
### LineChart.DefaultStackLineChart
-public void DefaultStackLineChart()
+public void DefaultStackLineChart()
default stack line chart.
### LineChart.DefaultStepLineChart
-public void DefaultStepLineChart()
+public void DefaultStepLineChart()
default step line chart.
### LineChart.DefaultTimeLineChart
-public void DefaultTimeLineChart()
+public void DefaultTimeLineChart()
default time line chart.
## LineHelper
@@ -5140,11 +5140,11 @@ class in XCharts.Runtime
### LineHelper.GetDataAverageRate
-public static int GetDataAverageRate(Serie serie, float axisLength, int maxCount, bool isYAxis)
+public static int GetDataAverageRate(Serie serie, float axisLength, int maxCount, bool isYAxis)
### LineHelper.GetLineWidth
-public static float GetLineWidth(ref bool interacting, Serie serie, float defaultWidth)
+public static float GetLineWidth(ref bool interacting, Serie serie, float defaultWidth)
## LineStyle
@@ -5154,48 +5154,48 @@ The style of line.
### LineStyle.Clone
-public LineStyle Clone()
+public LineStyle Clone()
### LineStyle.Copy
-public void Copy(LineStyle lineStyle)
+public void Copy(LineStyle lineStyle)
### LineStyle.GetColor
-public Color32 GetColor(Color32 themeColor)
+public Color32 GetColor(Color32 themeColor)
### LineStyle.GetGradientColor
-public Color32 GetGradientColor(float value, Color32 defaultColor)
+public Color32 GetGradientColor(float value, Color32 defaultColor)
### LineStyle.GetLength
-public float GetLength(float themeLength)
+public float GetLength(float themeLength)
### LineStyle.GetType
-public Type GetType(Type themeType)
+public Type GetType(Type themeType)
### LineStyle.GetWidth
-public float GetWidth(float themeWidth)
+public float GetWidth(float themeWidth)
### LineStyle.IsNeedGradient
-public bool IsNeedGradient()
+public bool IsNeedGradient()
### LineStyle.IsNotSolidLine
-public bool IsNotSolidLine()
+public bool IsNotSolidLine()
### LineStyle.LineStyle
-public LineStyle(float width)
+public LineStyle(float width)
-public LineStyle(LineStyle.Type type)
+public LineStyle(LineStyle.Type type)
-public LineStyle(LineStyle.Type type, float width)
+public LineStyle(LineStyle.Type type, float width)
## LineStyle.Type
@@ -5233,7 +5233,7 @@ class in XCharts.Runtime / Inherits from: [Attribute](https://docs.unity3d.com/S
### ListFor.ListFor
-public ListFor(Type type)
+public ListFor(Type type)
## ListForComponent
@@ -5241,7 +5241,7 @@ class in XCharts.Runtime / Inherits from: [ListFor](#listfor)
### ListForComponent.ListForComponent
-public ListForComponent(Type type) : base(type)
+public ListForComponent(Type type) : base(type)
## ListForSerie
@@ -5249,7 +5249,7 @@ class in XCharts.Runtime / Inherits from: [ListFor](#listfor)
### ListForSerie.ListForSerie
-public ListForSerie(Type type) : base(type)
+public ListForSerie(Type type) : base(type)
## ListPool<T>
@@ -5257,15 +5257,15 @@ class in XCharts.Runtime
### ListPool<T>.ClearAll
-public static void ClearAll()
+public static void ClearAll()
### ListPool<T>.Get
-public static List<T> Get()
+public static List<T> Get()
### ListPool<T>.Release
-public static void Release(List<T> toRelease)
+public static void Release(List<T> toRelease)
## Location
@@ -5275,68 +5275,68 @@ Location type. Quick to set the general location.
### Location.runtimeAnchorMax
-public Vector2 runtimeAnchorMax
+public Vector2 runtimeAnchorMax
### Location.runtimeAnchorMin
-public Vector2 runtimeAnchorMin
+public Vector2 runtimeAnchorMin
the minimum achor.
### Location.runtimeBottom
-public float runtimeBottom
+public float runtimeBottom
### Location.runtimeLeft
-public float runtimeLeft
+public float runtimeLeft
### Location.runtimePivot
-public Vector2 runtimePivot
+public Vector2 runtimePivot
the povot.
### Location.runtimeRight
-public float runtimeRight
+public float runtimeRight
### Location.runtimeTextAlignment
-public TextAnchor runtimeTextAlignment
+public TextAnchor runtimeTextAlignment
the anchor of text.
### Location.runtimeTMPTextAlignment
-public TextAlignmentOptions runtimeTMPTextAlignment
+public TextAlignmentOptions runtimeTMPTextAlignment
### Location.runtimeTop
-public float runtimeTop
+public float runtimeTop
### Location.GetPosition
-public Vector3 GetPosition(float chartWidth, float chartHeight)
+public Vector3 GetPosition(float chartWidth, float chartHeight)
返回在坐标系中的具体位置
### Location.IsBottom
-public bool IsBottom()
+public bool IsBottom()
### Location.IsCenter
-public bool IsCenter()
+public bool IsCenter()
### Location.IsTop
-public bool IsTop()
+public bool IsTop()
### Location.OnChanged
-public void OnChanged()
+public void OnChanged()
属性变更时更新textAnchor,minAnchor,maxAnchor,pivot
### Location.UpdateRuntimeData
-public void UpdateRuntimeData(float chartWidth, float chartHeight)
+public void UpdateRuntimeData(float chartWidth, float chartHeight)
## Location.Align
@@ -5362,102 +5362,102 @@ class in XCharts.Runtime / Inherits from: [IComparable](https://docs.unity3d.com
### MainComponent.anyDirty
-public bool anyDirty
+public bool anyDirty
需要重绘图表或重新初始化组件。
### MainComponent.ClearData()
-public virtual void ClearData()
+public virtual void ClearData()
### MainComponent.componentDirty
-public virtual bool componentDirty
+public virtual bool componentDirty
组件重新初始化标记。
### MainComponent.gameObject
-public GameObject gameObject
+public GameObject gameObject
### MainComponent.index
-public int index
+public int index
### MainComponent.instanceId
-public int instanceId
+public int instanceId
### MainComponent.painter
-public Painter painter
+public Painter painter
### MainComponent.refreshComponent
-public Action refreshComponent
+public Action refreshComponent
### MainComponent.Reset()
-public virtual void Reset()
+public virtual void Reset()
### MainComponent.ResetStatus()
-public virtual void ResetStatus()
+public virtual void ResetStatus()
### MainComponent.SetDefaultValue()
-public virtual void SetDefaultValue()
+public virtual void SetDefaultValue()
### MainComponent.vertsDirty
-public virtual bool vertsDirty
+public virtual bool vertsDirty
图表重绘标记。
### MainComponent.ClearComponentDirty
-public virtual void ClearComponentDirty()
+public virtual void ClearComponentDirty()
### MainComponent.ClearData
-public virtual void ClearData() { }
+public virtual void ClearData() { }
### MainComponent.ClearDirty
-public virtual void ClearDirty()
+public virtual void ClearDirty()
### MainComponent.ClearVerticesDirty
-public virtual void ClearVerticesDirty()
+public virtual void ClearVerticesDirty()
### MainComponent.CompareTo
-public int CompareTo(object obj)
+public int CompareTo(object obj)
### MainComponent.OnRemove
-public virtual void OnRemove()
+public virtual void OnRemove()
### MainComponent.Reset
-public virtual void Reset() { }
+public virtual void Reset() { }
### MainComponent.ResetStatus
-public virtual void ResetStatus() { }
+public virtual void ResetStatus() { }
### MainComponent.SetAllDirty
-public virtual void SetAllDirty()
+public virtual void SetAllDirty()
### MainComponent.SetComponentDirty
-public virtual void SetComponentDirty()
+public virtual void SetComponentDirty()
### MainComponent.SetDefaultValue
-public virtual void SetDefaultValue() { }
+public virtual void SetDefaultValue() { }
### MainComponent.SetVerticesDirty
-public virtual void SetVerticesDirty()
+public virtual void SetVerticesDirty()
## MainComponentContext
@@ -5469,163 +5469,163 @@ class in XCharts.Runtime / Subclasses: [AxisHandler<T>](#axishandlert),[Ma
### MainComponentHandler.attribute
-public ComponentHandlerAttribute attribute
+public ComponentHandlerAttribute attribute
### MainComponentHandler.BeforceSerieUpdate()
-public virtual void BeforceSerieUpdate()
+public virtual void BeforceSerieUpdate()
### MainComponentHandler.chart
-public BaseChart chart
+public BaseChart chart
### MainComponentHandler.eventData)
-public virtual void OnBeginDrag(PointerEventData eventData)
+public virtual void OnBeginDrag(PointerEventData eventData)
### MainComponentHandler.eventData)
-public virtual void OnDrag(PointerEventData eventData)
+public virtual void OnDrag(PointerEventData eventData)
### MainComponentHandler.eventData)
-public virtual void OnEndDrag(PointerEventData eventData)
+public virtual void OnEndDrag(PointerEventData eventData)
### MainComponentHandler.eventData)
-public virtual void OnPointerClick(PointerEventData eventData)
+public virtual void OnPointerClick(PointerEventData eventData)
### MainComponentHandler.eventData)
-public virtual void OnPointerDown(PointerEventData eventData)
+public virtual void OnPointerDown(PointerEventData eventData)
### MainComponentHandler.eventData)
-public virtual void OnPointerEnter(PointerEventData eventData)
+public virtual void OnPointerEnter(PointerEventData eventData)
### MainComponentHandler.eventData)
-public virtual void OnPointerExit(PointerEventData eventData)
+public virtual void OnPointerExit(PointerEventData eventData)
### MainComponentHandler.eventData)
-public virtual void OnPointerUp(PointerEventData eventData)
+public virtual void OnPointerUp(PointerEventData eventData)
### MainComponentHandler.eventData)
-public virtual void OnScroll(PointerEventData eventData)
+public virtual void OnScroll(PointerEventData eventData)
### MainComponentHandler.InitComponent()
-public virtual void InitComponent()
+public virtual void InitComponent()
### MainComponentHandler.inited
-public bool inited
+public bool inited
### MainComponentHandler.order
-public int order
+public int order
### MainComponentHandler.RemoveComponent()
-public virtual void RemoveComponent()
+public virtual void RemoveComponent()
### MainComponentHandler.sb)
-public virtual void CheckComponent(StringBuilder sb)
+public virtual void CheckComponent(StringBuilder sb)
### MainComponentHandler.serieIndex)
-public virtual void OnSerieDataUpdate(int serieIndex)
+public virtual void OnSerieDataUpdate(int serieIndex)
### MainComponentHandler.Update()
-public virtual void Update()
+public virtual void Update()
### MainComponentHandler.vh)
-public virtual void DrawBase(VertexHelper vh)
+public virtual void DrawBase(VertexHelper vh)
### MainComponentHandler.vh)
-public virtual void DrawTop(VertexHelper vh)
+public virtual void DrawTop(VertexHelper vh)
### MainComponentHandler.vh)
-public virtual void DrawUpper(VertexHelper vh)
+public virtual void DrawUpper(VertexHelper vh)
### MainComponentHandler.BeforceSerieUpdate
-public virtual void BeforceSerieUpdate() { }
+public virtual void BeforceSerieUpdate() { }
### MainComponentHandler.CheckComponent
-public virtual void CheckComponent(StringBuilder sb) { }
+public virtual void CheckComponent(StringBuilder sb) { }
### MainComponentHandler.DrawBase
-public virtual void DrawBase(VertexHelper vh) { }
+public virtual void DrawBase(VertexHelper vh) { }
### MainComponentHandler.DrawTop
-public virtual void DrawTop(VertexHelper vh) { }
+public virtual void DrawTop(VertexHelper vh) { }
### MainComponentHandler.DrawUpper
-public virtual void DrawUpper(VertexHelper vh) { }
+public virtual void DrawUpper(VertexHelper vh) { }
### MainComponentHandler.InitComponent
-public virtual void InitComponent() { }
+public virtual void InitComponent() { }
### MainComponentHandler.OnBeginDrag
-public virtual void OnBeginDrag(PointerEventData eventData) { }
+public virtual void OnBeginDrag(PointerEventData eventData) { }
### MainComponentHandler.OnDrag
-public virtual void OnDrag(PointerEventData eventData) { }
+public virtual void OnDrag(PointerEventData eventData) { }
### MainComponentHandler.OnEndDrag
-public virtual void OnEndDrag(PointerEventData eventData) { }
+public virtual void OnEndDrag(PointerEventData eventData) { }
### MainComponentHandler.OnPointerClick
-public virtual void OnPointerClick(PointerEventData eventData) { }
+public virtual void OnPointerClick(PointerEventData eventData) { }
### MainComponentHandler.OnPointerDown
-public virtual void OnPointerDown(PointerEventData eventData) { }
+public virtual void OnPointerDown(PointerEventData eventData) { }
### MainComponentHandler.OnPointerEnter
-public virtual void OnPointerEnter(PointerEventData eventData) { }
+public virtual void OnPointerEnter(PointerEventData eventData) { }
### MainComponentHandler.OnPointerExit
-public virtual void OnPointerExit(PointerEventData eventData) { }
+public virtual void OnPointerExit(PointerEventData eventData) { }
### MainComponentHandler.OnPointerUp
-public virtual void OnPointerUp(PointerEventData eventData) { }
+public virtual void OnPointerUp(PointerEventData eventData) { }
### MainComponentHandler.OnScroll
-public virtual void OnScroll(PointerEventData eventData) { }
+public virtual void OnScroll(PointerEventData eventData) { }
### MainComponentHandler.OnSerieDataUpdate
-public virtual void OnSerieDataUpdate(int serieIndex) { }
+public virtual void OnSerieDataUpdate(int serieIndex) { }
### MainComponentHandler.RemoveComponent
-public virtual void RemoveComponent() { }
+public virtual void RemoveComponent() { }
### MainComponentHandler.Update
-public virtual void Update() { }
+public virtual void Update() { }
## MainComponentHandler<T>
@@ -5633,7 +5633,7 @@ class in XCharts.Runtime / Inherits from: [MainComponentHandler](#maincomponenth
### MainComponentHandler<T>.component
-public T component
+public T component
## MarkArea
@@ -5643,20 +5643,20 @@ Used to mark an area in chart. For example, mark a time interval.
### MarkArea.runtimeLabel
-public ChartLabel runtimeLabel
+public ChartLabel runtimeLabel
Used to mark an area in chart. For example, mark a time interval.
### MarkArea.runtimeLabelPosition
-public Vector3 runtimeLabelPosition
+public Vector3 runtimeLabelPosition
### MarkArea.runtimeRect
-public Rect runtimeRect
+public Rect runtimeRect
### MarkArea.SetDefaultValue
-public override void SetDefaultValue()
+public override void SetDefaultValue()
## MarkAreaData
@@ -5666,7 +5666,7 @@ class in XCharts.Runtime / Inherits from: [ChildComponent](#childcomponent)
### MarkAreaData.runtimeValue
-public double runtimeValue
+public double runtimeValue
标域的数据。
## MarkAreaType
@@ -5691,7 +5691,7 @@ Use a line in the chart to illustrate.
### MarkLine.SetDefaultValue
-public override void SetDefaultValue()
+public override void SetDefaultValue()
## MarkLineData
@@ -5703,27 +5703,27 @@ Data of marking line.
### MarkLineData.runtimeCurrentEndPosition
-public Vector3 runtimeCurrentEndPosition
+public Vector3 runtimeCurrentEndPosition
### MarkLineData.runtimeEndPosition
-public Vector3 runtimeEndPosition
+public Vector3 runtimeEndPosition
### MarkLineData.runtimeInGrid
-public bool runtimeInGrid
+public bool runtimeInGrid
### MarkLineData.runtimeLabel
-public ChartLabel runtimeLabel
+public ChartLabel runtimeLabel
### MarkLineData.runtimeStartPosition
-public Vector3 runtimeStartPosition
+public Vector3 runtimeStartPosition
### MarkLineData.runtimeValue
-public double runtimeValue
+public double runtimeValue
## MarkLineType
@@ -5749,37 +5749,37 @@ Marquee style. It can be used for the DataZoom component. 选取框样式。可
### MarqueeStyle.apply
-public bool apply
+public bool apply
Check whether the scope is applied to the DataZoom. If this parameter is set to true, the range after the selection is complete is the DataZoom selection range.
### MarqueeStyle.areaStyle
-public AreaStyle areaStyle
+public AreaStyle areaStyle
The area style of marquee.
### MarqueeStyle.lineStyle
-public LineStyle lineStyle
+public LineStyle lineStyle
The line style of marquee border.
### MarqueeStyle.onEnd
-public Action<DataZoom> onEnd
+public Action<DataZoom> onEnd
Customize the callback at the end of the selection.
### MarqueeStyle.onGoing
-public Action<DataZoom> onGoing
+public Action<DataZoom> onGoing
Custom checkboxes select ongoing callbacks.
### MarqueeStyle.onStart
-public Action<DataZoom> onStart
+public Action<DataZoom> onStart
Customize the callback to the start of the selection of the checkbox.
### MarqueeStyle.realRect
-public bool realRect
+public bool realRect
Whether to select the actual box selection area. When true, the actual range between the mouse's actual point and the end point is used as the box selection area.
## MathUtil
@@ -5788,31 +5788,31 @@ class in XCharts.Runtime
### MathUtil.Abs
-public static double Abs(double d)
+public static double Abs(double d)
### MathUtil.Approximately
-public static bool Approximately(double a, double b)
+public static bool Approximately(double a, double b)
### MathUtil.Clamp
-public static double Clamp(double d, double min, double max)
+public static double Clamp(double d, double min, double max)
### MathUtil.Clamp01
-public static double Clamp01(double value)
+public static double Clamp01(double value)
### MathUtil.GetPrecision
-public static int GetPrecision(double value)
+public static int GetPrecision(double value)
### MathUtil.IsInteger
-public static bool IsInteger(double value)
+public static bool IsInteger(double value)
### MathUtil.Lerp
-public static double Lerp(double a, double b, double t)
+public static double Lerp(double a, double b, double t)
## MLValue
@@ -5824,20 +5824,20 @@ class in XCharts.Runtime / Inherits from: [ChildComponent](#childcomponent)
### MLValue.type
-public Type type
+public Type type
### MLValue.value
-public float value
+public float value
### MLValue.GetValue
-public float GetValue(float total)
+public float GetValue(float total)
Get the value by type.
### MLValue.MLValue
-public MLValue(Type type, float value)
+public MLValue(Type type, float value)
## MLValue.Type
@@ -5862,35 +5862,35 @@ class in XCharts.Runtime / Inherits from: [new()](#new())
### ObjectPool<T> where T.countActive
-public int countActive
+public int countActive
### ObjectPool<T> where T.countAll
-public int countAll
+public int countAll
### ObjectPool<T> where T.countInactive
-public int countInactive
+public int countInactive
### ObjectPool<T> where T.ClearAll
-public void ClearAll()
+public void ClearAll()
### ObjectPool<T> where T.Get
-public T Get()
+public T Get()
### ObjectPool<T> where T.new
-public class ObjectPool<T> where T : new()
+public class ObjectPool<T> where T : new()
### ObjectPool<T> where T.ObjectPool
-public ObjectPool(UnityAction<T> actionOnGet, UnityAction<T> actionOnRelease, bool newIfEmpty = true)
+public ObjectPool(UnityAction<T> actionOnGet, UnityAction<T> actionOnRelease, bool newIfEmpty = true)
### ObjectPool<T> where T.Release
-public void Release(T element)
+public void Release(T element)
## Orient
@@ -5911,16 +5911,16 @@ padding setting of item or text.
### Padding.Padding()
-public Padding()
+public Padding()
### Padding.Padding
-public Padding(float top, float right, float bottom, float left)
+public Padding(float top, float right, float bottom, float left)
### Padding.SetPadding
-public void SetPadding(float top, float right, float bottom, float left)
+public void SetPadding(float top, float right, float bottom, float left)
## Painter
@@ -5928,31 +5928,31 @@ class in XCharts.Runtime / Inherits from: [MaskableGraphic](https://docs.unity3d
### Painter.index
-public int index
+public int index
### Painter.onPopulateMesh
-public Action<VertexHelper, Painter> onPopulateMesh
+public Action<VertexHelper, Painter> onPopulateMesh
### Painter.type
-public Type type
+public Type type
### Painter.CheckRefresh
-public void CheckRefresh()
+public void CheckRefresh()
### Painter.Init
-public void Init()
+public void Init()
### Painter.Refresh
-public void Refresh()
+public void Refresh()
### Painter.SetActive
-public void SetActive(bool flag, bool isDebugMode = false)
+public void SetActive(bool flag, bool isDebugMode = false)
## Painter.Type
@@ -5970,15 +5970,15 @@ class in XCharts.Runtime / Inherits from: [Serie](#serie),[INeedSerieContainer](
### Parallel.containerIndex
-public int containerIndex
+public int containerIndex
### Parallel.containterInstanceId
-public int containterInstanceId
+public int containterInstanceId
### Parallel.AddDefaultSerie
-public static Serie AddDefaultSerie(BaseChart chart, string serieName)
+public static Serie AddDefaultSerie(BaseChart chart, string serieName)
## ParallelAxis
@@ -5986,7 +5986,7 @@ class in XCharts.Runtime / Inherits from: [Axis](#axis)
### ParallelAxis.SetDefaultValue
-public override void SetDefaultValue()
+public override void SetDefaultValue()
## ParallelChart
@@ -6002,16 +6002,16 @@ Grid component.
### ParallelCoord.Contains
-public bool Contains(float x, float y)
+public bool Contains(float x, float y)
### ParallelCoord.IsPointerEnter
-public bool IsPointerEnter()
+public bool IsPointerEnter()
### ParallelCoord.UpdateRuntimeData
-public void UpdateRuntimeData(BaseChart chart)
+public void UpdateRuntimeData(BaseChart chart)
## ParallelCoordContext
@@ -6023,19 +6023,19 @@ class in XCharts.Runtime / Inherits from: [Serie](#serie)
### Pie.defaultColorBy
-public override SerieColorBy defaultColorBy
+public override SerieColorBy defaultColorBy
### Pie.titleJustForSerie
-public override bool titleJustForSerie
+public override bool titleJustForSerie
### Pie.AddDefaultSerie
-public static Serie AddDefaultSerie(BaseChart chart, string serieName)
+public static Serie AddDefaultSerie(BaseChart chart, string serieName)
### Pie.ConvertSerie
-public static Pie ConvertSerie(Serie serie)
+public static Pie ConvertSerie(Serie serie)
## PieChart
@@ -6045,27 +6045,27 @@ The pie chart is mainly used for showing proportion of different categories. Eac
### PieChart.DefaultAreaRosePieChart
-public void DefaultAreaRosePieChart()
+public void DefaultAreaRosePieChart()
default area rose pie chart.
### PieChart.DefaultDonutPieChart
-public void DefaultDonutPieChart()
+public void DefaultDonutPieChart()
default donut pie chart.
### PieChart.DefaultLabelDonutPieChart
-public void DefaultLabelDonutPieChart()
+public void DefaultLabelDonutPieChart()
default label donut pie chart.
### PieChart.DefaultLabelPieChart
-public void DefaultLabelPieChart()
+public void DefaultLabelPieChart()
default label pie chart.
### PieChart.DefaultRadiusRosePieChart
-public void DefaultRadiusRosePieChart()
+public void DefaultRadiusRosePieChart()
default rose pie chart.
## PolarAxisTheme
@@ -6074,11 +6074,11 @@ class in XCharts.Runtime / Inherits from: [BaseAxisTheme](#baseaxistheme)
### PolarAxisTheme.base(theme)
-public PolarAxisTheme(ThemeType theme) : base(theme)
+public PolarAxisTheme(ThemeType theme) : base(theme)
### PolarAxisTheme.PolarAxisTheme
-public PolarAxisTheme(ThemeType theme) : base(theme) { }
+public PolarAxisTheme(ThemeType theme) : base(theme) { }
## PolarChart
@@ -6088,17 +6088,17 @@ Polar coordinates are usually used in a circular layout.
### PolarChart.DefaultHeatmapPolarChart
-public void DefaultHeatmapPolarChart()
+public void DefaultHeatmapPolarChart()
default heatmap polar chart.
### PolarChart.DefaultRadialBarPolarChart
-public void DefaultRadialBarPolarChart()
+public void DefaultRadialBarPolarChart()
default radial bar polar chart.
### PolarChart.DefaultTangentialBarPolarChart
-public void DefaultTangentialBarPolarChart()
+public void DefaultTangentialBarPolarChart()
default tangential bar polar chart.
## PolarCoord
@@ -6109,11 +6109,11 @@ Polar coordinate can be used in scatter and line chart. Every polar coordinate h
### PolarCoord.Contains
-public bool Contains(Vector3 pos)
+public bool Contains(Vector3 pos)
### PolarCoord.IsPointerEnter
-public bool IsPointerEnter()
+public bool IsPointerEnter()
## PolarCoordContext
@@ -6125,16 +6125,16 @@ class in XCharts.Runtime
### PropertyUtil.SetClass<T>
-public static bool SetClass<T>(ref T currentValue, T newValue, bool notNull = false) where T : class
+public static bool SetClass<T>(ref T currentValue, T newValue, bool notNull = false) where T : class
### PropertyUtil.SetColor
-public static bool SetColor(ref Color32 currentValue, Color32 newValue)
+public static bool SetColor(ref Color32 currentValue, Color32 newValue)
### PropertyUtil.SetStruct<T>
-public static bool SetStruct<T>(ref T currentValue, T newValue) where T : struct
+public static bool SetStruct<T>(ref T currentValue, T newValue) where T : struct
## Radar
@@ -6142,23 +6142,23 @@ class in XCharts.Runtime / Inherits from: [Serie](#serie),[INeedSerieContainer](
### Radar.containerIndex
-public int containerIndex
+public int containerIndex
### Radar.containterInstanceId
-public int containterInstanceId
+public int containterInstanceId
### Radar.defaultColorBy
-public override SerieColorBy defaultColorBy
+public override SerieColorBy defaultColorBy
### Radar.multiDimensionLabel
-public override bool multiDimensionLabel
+public override bool multiDimensionLabel
### Radar.AddDefaultSerie
-public static Serie AddDefaultSerie(BaseChart chart, string serieName)
+public static Serie AddDefaultSerie(BaseChart chart, string serieName)
## RadarAxisTheme
@@ -6166,7 +6166,7 @@ class in XCharts.Runtime / Inherits from: [BaseAxisTheme](#baseaxistheme)
### RadarAxisTheme.RadarAxisTheme
-public RadarAxisTheme(ThemeType theme) : base(theme)
+public RadarAxisTheme(ThemeType theme) : base(theme)
## RadarChart
@@ -6176,7 +6176,7 @@ Radar chart is mainly used to show multi-variable data, such as the analysis of
### RadarChart.DefaultCircleRadarChart
-public void DefaultCircleRadarChart()
+public void DefaultCircleRadarChart()
default circle radar chart.
## RadarCoord
@@ -6213,20 +6213,20 @@ class in XCharts.Runtime / Inherits from: [MainComponentContext](#maincomponentc
### RadarCoordContext.center
-public Vector3 center
+public Vector3 center
the center position of radar in container.
### RadarCoordContext.dataRadius
-public float dataRadius
+public float dataRadius
### RadarCoordContext.isPointerEnter
-public bool isPointerEnter
+public bool isPointerEnter
### RadarCoordContext.radius
-public float radius
+public float radius
the true radius of radar.
## RadarType
@@ -6248,7 +6248,7 @@ Radial axis of polar coordinate.
### RadiusAxis.SetDefaultValue
-public override void SetDefaultValue()
+public override void SetDefaultValue()
Radial axis of polar coordinate.
## RadiusAxisTheme
@@ -6257,11 +6257,11 @@ class in XCharts.Runtime / Inherits from: [BaseAxisTheme](#baseaxistheme)
### RadiusAxisTheme.base(theme)
-public RadiusAxisTheme(ThemeType theme) : base(theme)
+public RadiusAxisTheme(ThemeType theme) : base(theme)
### RadiusAxisTheme.RadiusAxisTheme
-public RadiusAxisTheme(ThemeType theme) : base(theme) { }
+public RadiusAxisTheme(ThemeType theme) : base(theme) { }
## ReflectionUtil
@@ -6269,27 +6269,27 @@ class in XCharts.Runtime
### ReflectionUtil.DeepCloneSerializeField
-public static object DeepCloneSerializeField(object obj)
+public static object DeepCloneSerializeField(object obj)
### ReflectionUtil.InvokeListAdd
-public static void InvokeListAdd(object obj, FieldInfo field, object item)
+public static void InvokeListAdd(object obj, FieldInfo field, object item)
### ReflectionUtil.InvokeListAddTo<T>
-public static void InvokeListAddTo<T>(object obj, FieldInfo field, Action<T> callback)
+public static void InvokeListAddTo<T>(object obj, FieldInfo field, Action<T> callback)
### ReflectionUtil.InvokeListClear
-public static void InvokeListClear(object obj, FieldInfo field)
+public static void InvokeListClear(object obj, FieldInfo field)
### ReflectionUtil.InvokeListCount
-public static int InvokeListCount(object obj, FieldInfo field)
+public static int InvokeListCount(object obj, FieldInfo field)
### ReflectionUtil.InvokeListGet<T>
-public static T InvokeListGet<T>(object obj, FieldInfo field, int i)
+public static T InvokeListGet<T>(object obj, FieldInfo field, int i)
## RequireChartComponentAttribute
@@ -6297,9 +6297,9 @@ class in XCharts.Runtime / Inherits from: [Attribute](https://docs.unity3d.com/S
### RequireChartComponentAttribute.RequireChartComponentAttribute
-public RequireChartComponentAttribute(Type requiredComponent, Type requiredComponent2)
+public RequireChartComponentAttribute(Type requiredComponent, Type requiredComponent2)
-public RequireChartComponentAttribute(Type requiredComponent, Type requiredComponent2, Type requiredComponent3)
+public RequireChartComponentAttribute(Type requiredComponent, Type requiredComponent2, Type requiredComponent3)
## Ring
@@ -6308,15 +6308,15 @@ class in XCharts.Runtime / Inherits from: [Serie](#serie)
### Ring.defaultColorBy
-public override SerieColorBy defaultColorBy
+public override SerieColorBy defaultColorBy
### Ring.AddDefaultSerie
-public static Serie AddDefaultSerie(BaseChart chart, string serieName)
+public static Serie AddDefaultSerie(BaseChart chart, string serieName)
### Ring.GetDataTotal
-public override double GetDataTotal(int dimension, SerieData serieData = null)
+public override double GetDataTotal(int dimension, SerieData serieData = null)
## RingChart
@@ -6326,7 +6326,7 @@ Ring chart is mainly used to show the proportion of each item and the relationsh
### RingChart.DefaultMultipleRingChart
-public void DefaultMultipleRingChart()
+public void DefaultMultipleRingChart()
default multiple ring chart.
## RoseType
@@ -6347,24 +6347,24 @@ class in XCharts.Runtime
### RuntimeUtil.GetAllAssemblyTypes
-public static IEnumerable<Type> GetAllAssemblyTypes()
+public static IEnumerable<Type> GetAllAssemblyTypes()
### RuntimeUtil.GetAllTypesDerivedFrom
-public static IEnumerable<Type> GetAllTypesDerivedFrom(Type type)
+public static IEnumerable<Type> GetAllTypesDerivedFrom(Type type)
### RuntimeUtil.GetAllTypesDerivedFrom<T>
-public static IEnumerable<Type> GetAllTypesDerivedFrom<T>()
+public static IEnumerable<Type> GetAllTypesDerivedFrom<T>()
### RuntimeUtil.GetAttribute<T>
-public static T GetAttribute<T>(this MemberInfo type, bool check = true) where T : Attribute
+public static T GetAttribute<T>(this MemberInfo type, bool check = true) where T : Attribute
### RuntimeUtil.HasSubclass
-public static bool HasSubclass(Type type)
+public static bool HasSubclass(Type type)
## SampleType
@@ -6386,7 +6386,7 @@ class in XCharts.Runtime / Inherits from: [BaseScatter](#basescatter)
### Scatter.AddDefaultSerie
-public static Serie AddDefaultSerie(BaseChart chart, string serieName)
+public static Serie AddDefaultSerie(BaseChart chart, string serieName)
## ScatterChart
@@ -6396,7 +6396,7 @@ Scatter chart is mainly used to show the relationship between two data dimension
### ScatterChart.DefaultBubbleChart
-public void DefaultBubbleChart()
+public void DefaultBubbleChart()
default bubble chart.
## SelectStyle
@@ -6415,424 +6415,424 @@ class in XCharts.Runtime / Inherits from: [BaseSerie](#baseserie),[IComparable](
### Serie.areaStyle
-public AreaStyle areaStyle
+public AreaStyle areaStyle
The style of area.
### Serie.blurStyle
-public BlurStyle blurStyle
+public BlurStyle blurStyle
style of blur state.
### Serie.colorByData
-public bool colorByData
+public bool colorByData
取色策略是否为按数据项分配。
### Serie.data
-public List<SerieData> data
+public List<SerieData> data
系列中的数据内容数组。SerieData可以设置1到n维数据。
### Serie.dataCount
-public int dataCount
+public int dataCount
the count of data list.
### Serie.dataDirty
-public bool dataDirty
+public bool dataDirty
### Serie.emphasisStyle
-public EmphasisStyle emphasisStyle
+public EmphasisStyle emphasisStyle
style of emphasis state.
### Serie.endLabel
-public LabelStyle endLabel
+public LabelStyle endLabel
### Serie.highlight
-public bool highlight
+public bool highlight
Whether the serie is highlighted.
### Serie.index
-public int index
+public int index
The index of serie.
### Serie.interactDirty
-public bool interactDirty
+public bool interactDirty
### Serie.label
-public LabelStyle label
+public LabelStyle label
Text label of graphic element,to explain some data information about graphic item like value, name and so on.
### Serie.labelDirty
-public bool labelDirty
+public bool labelDirty
### Serie.labelLine
-public LabelLine labelLine
+public LabelLine labelLine
The line of label.
### Serie.legendName
-public string legendName
+public string legendName
Legend name. When the serie name is not empty, the legend name is the series name; Otherwise, it is index.
### Serie.lineArrow
-public LineArrow lineArrow
+public LineArrow lineArrow
The arrow of line.
### Serie.links
-public List<SerieDataLink> links
+public List<SerieDataLink> links
数据节点的边。
### Serie.nameDirty
-public bool nameDirty
+public bool nameDirty
### Serie.onClick
-public Action<SerieEventData> onClick
+public Action<SerieEventData> onClick
event callback when click serie.
### Serie.onDown
-public Action<SerieEventData> onDown
+public Action<SerieEventData> onDown
event callback when mouse down on serie.
### Serie.onEnter
-public Action<SerieEventData> onEnter
+public Action<SerieEventData> onEnter
event callback when mouse enter serie.
### Serie.onExit
-public Action<SerieEventData> onExit
+public Action<SerieEventData> onExit
event callback when mouse leave serie.
### Serie.selectStyle
-public SelectStyle selectStyle
+public SelectStyle selectStyle
style of select state.
### Serie.showDataDimension
-public int showDataDimension
+public int showDataDimension
数据项里的数据维数。
### Serie.showDataName
-public bool showDataName
+public bool showDataName
在Editor的inpsector上是否显示name参数
### Serie.titleDirty
-public bool titleDirty
+public bool titleDirty
### Serie.titleStyle
-public TitleStyle titleStyle
+public TitleStyle titleStyle
the icon of data.
### Serie.AddChildData
-public SerieData AddChildData(SerieData parent, List<double> value, string name, string id)
+public SerieData AddChildData(SerieData parent, List<double> value, string name, string id)
-public void AddChildData(SerieData parent, SerieData serieData)
+public void AddChildData(SerieData parent, SerieData serieData)
### Serie.AddData
-public SerieData AddData(List<double> valueList, string dataName = null, string dataId = null)
+public SerieData AddData(List<double> valueList, string dataName = null, string dataId = null)
将一组数据添加到系列中。 如果数据只有一个,默认添加到维度Y中。
-public SerieData AddData(params double[] values)
+public SerieData AddData(params double[] values)
添加任意维数据到系列中。
### Serie.AddExtraComponent<T>
-public T AddExtraComponent<T>() where T : ChildComponent, ISerieComponent
+public T AddExtraComponent<T>() where T : ChildComponent, ISerieComponent
### Serie.AddLink
-public virtual SerieDataLink AddLink(string sourceId, string targetId, double value = 0)
+public virtual SerieDataLink AddLink(string sourceId, string targetId, double value = 0)
Add a link data.
### Serie.AddSerieData
-public virtual void AddSerieData(SerieData serieData)
+public virtual void AddSerieData(SerieData serieData)
### Serie.AddXYData
-public SerieData AddXYData(double xValue, double yValue, string dataName = null, string dataId = null)
+public SerieData AddXYData(double xValue, double yValue, string dataName = null, string dataId = null)
添加(x,y)数据到维度X和维度Y
### Serie.AddYData
-public SerieData AddYData(double value, string dataName = null, string dataId = null)
+public SerieData AddYData(double value, string dataName = null, string dataId = null)
添加一个数据到维度Y(此时维度X对应的数据是索引)
### Serie.AnimationEnable
-public void AnimationEnable(bool flag)
+public void AnimationEnable(bool flag)
启用或取消初始动画
### Serie.AnimationFadeIn
-public void AnimationFadeIn()
+public void AnimationFadeIn()
渐入动画
### Serie.AnimationFadeOut
-public void AnimationFadeOut()
+public void AnimationFadeOut()
渐出动画
### Serie.AnimationPause
-public void AnimationPause()
+public void AnimationPause()
暂停动画
### Serie.AnimationReset
-public void AnimationReset()
+public void AnimationReset()
重置动画
### Serie.AnimationRestart
-public void AnimationRestart()
+public void AnimationRestart()
重置动画
### Serie.AnimationResume
-public void AnimationResume()
+public void AnimationResume()
继续动画
### Serie.CanAddComponent
-public bool CanAddComponent(Type type)
+public bool CanAddComponent(Type type)
### Serie.CanAddComponent<T>
-public bool CanAddComponent<T>() where T : ChildComponent, ISerieComponent
+public bool CanAddComponent<T>() where T : ChildComponent, ISerieComponent
### Serie.ClearComponentDirty
-public override void ClearComponentDirty()
+public override void ClearComponentDirty()
### Serie.ClearData
-public override void ClearData()
+public override void ClearData()
清空所有数据
### Serie.ClearDirty
-public override void ClearDirty()
+public override void ClearDirty()
### Serie.ClearHighlight
-public void ClearHighlight()
+public void ClearHighlight()
清除所有数据的高亮标志
### Serie.ClearLinks
-public void ClearLinks()
+public void ClearLinks()
清空所有Link数据
### Serie.ClearSerieNameDirty
-public void ClearSerieNameDirty()
+public void ClearSerieNameDirty()
### Serie.ClearVerticesDirty
-public override void ClearVerticesDirty()
+public override void ClearVerticesDirty()
### Serie.Clone
-public Serie Clone()
+public Serie Clone()
### Serie.Clone<T>
-public T Clone<T>() where T : Serie
+public T Clone<T>() where T : Serie
### Serie.CompareTo
-public int CompareTo(object obj)
+public int CompareTo(object obj)
### Serie.EnsureComponent
-public ISerieComponent EnsureComponent(Type type)
+public ISerieComponent EnsureComponent(Type type)
### Serie.EnsureComponent<T>
-public T EnsureComponent<T>() where T : ChildComponent, ISerieComponent
+public T EnsureComponent<T>() where T : ChildComponent, ISerieComponent
Ensure the serie has the component. If not, add it.
### Serie.GetBarWidth
-public float GetBarWidth(float categoryWidth, int barCount = 0, float defaultRate = 0.6f)
+public float GetBarWidth(float categoryWidth, int barCount = 0, float defaultRate = 0.6f)
### Serie.GetComponent
-public ISerieComponent GetComponent(Type type)
+public ISerieComponent GetComponent(Type type)
### Serie.GetComponent<T>
-public T GetComponent<T>() where T : ChildComponent, ISerieComponent
+public T GetComponent<T>() where T : ChildComponent, ISerieComponent
### Serie.GetData
-public double GetData(int index, int dimension, DataZoom dataZoom = null)
+public double GetData(int index, int dimension, DataZoom dataZoom = null)
获得指定index指定维数的数据
### Serie.GetDataList
-public List<SerieData> GetDataList(DataZoom dataZoom = null)
+public List<SerieData> GetDataList(DataZoom dataZoom = null)
获得系列的数据列表
### Serie.GetDataTotal
-public virtual double GetDataTotal(int dimension, SerieData serieData = null)
+public virtual double GetDataTotal(int dimension, SerieData serieData = null)
### Serie.GetSerieData
-public SerieData GetSerieData(SerieData parent, string id)
+public SerieData GetSerieData(SerieData parent, string id)
-public SerieData GetSerieData(string id, DataZoom dataZoom = null)
+public SerieData GetSerieData(string id, DataZoom dataZoom = null)
### Serie.GetXYData
-public void GetXYData(int index, DataZoom dataZoom, out double xValue, out double yVlaue)
+public void GetXYData(int index, DataZoom dataZoom, out double xValue, out double yVlaue)
获得指定索引的维度X和维度Y的数据
### Serie.GetYCurrData
-public double GetYCurrData(int index, DataZoom dataZoom = null)
+public double GetYCurrData(int index, DataZoom dataZoom = null)
### Serie.GetYData
-public void GetYData(int index, out double yData, out string dataName, DataZoom dataZoom = null)
+public void GetYData(int index, out double yData, out string dataName, DataZoom dataZoom = null)
获得维度Y索引对应的数据和数据名
### Serie.IsIgnoreIndex
-public bool IsIgnoreIndex(int index, int dimension = 1)
+public bool IsIgnoreIndex(int index, int dimension = 1)
### Serie.IsIgnorePoint
-public bool IsIgnorePoint(int index)
+public bool IsIgnorePoint(int index)
### Serie.IsIgnoreValue
-public bool IsIgnoreValue(double value)
+public bool IsIgnoreValue(double value)
-public bool IsIgnoreValue(SerieData serieData, double value)
+public bool IsIgnoreValue(SerieData serieData, double value)
### Serie.IsLegendName
-public bool IsLegendName(string legendName)
+public bool IsLegendName(string legendName)
### Serie.IsMinShowLabelValue
-public bool IsMinShowLabelValue(double value)
+public bool IsMinShowLabelValue(double value)
-public bool IsMinShowLabelValue(SerieData serieData, int dimension = 1)
+public bool IsMinShowLabelValue(SerieData serieData, int dimension = 1)
### Serie.IsPerformanceMode
-public bool IsPerformanceMode()
+public bool IsPerformanceMode()
是否为性能模式。性能模式下不绘制Symbol,不刷新Label,不单独设置数据项配置。
### Serie.IsSerie<T>
-public bool IsSerie<T>() where T : Serie
+public bool IsSerie<T>() where T : Serie
### Serie.IsSerieDataLegendName
-public bool IsSerieDataLegendName(string legendName)
+public bool IsSerieDataLegendName(string legendName)
### Serie.IsSerieLegendName
-public bool IsSerieLegendName(string legendName)
+public bool IsSerieLegendName(string legendName)
### Serie.IsUseCoord<T>
-public bool IsUseCoord<T>() where T : CoordSystem
+public bool IsUseCoord<T>() where T : CoordSystem
### Serie.RemoveAllComponents
-public void RemoveAllComponents()
+public void RemoveAllComponents()
Remove all extra components.
### Serie.RemoveComponent
-public void RemoveComponent(Type type)
+public void RemoveComponent(Type type)
### Serie.RemoveComponent<T>
-public void RemoveComponent<T>() where T : ISerieComponent
+public void RemoveComponent<T>() where T : ISerieComponent
### Serie.RemoveData
-public void RemoveData(int index)
+public void RemoveData(int index)
移除指定索引的数据
### Serie.ResetDataIndex
-public bool ResetDataIndex()
+public bool ResetDataIndex()
重置数据项索引。避免部分数据项的索引异常。
### Serie.ResetInteract
-public void ResetInteract()
+public void ResetInteract()
### Serie.SetAllDirty
-public override void SetAllDirty()
+public override void SetAllDirty()
### Serie.SetCoord<T>
-public bool SetCoord<T>() where T : CoordSystem
+public bool SetCoord<T>() where T : CoordSystem
### Serie.SetHighlight
-public void SetHighlight(int index, bool flag)
+public void SetHighlight(int index, bool flag)
设置指定索引的数据为高亮状态
### Serie.SetVerticesDirty
-public override void SetVerticesDirty()
+public override void SetVerticesDirty()
### Serie.UpdateData
-public bool UpdateData(int index, List<double> values)
+public bool UpdateData(int index, List<double> values)
更新指定索引的数据项数据列表
### Serie.UpdateDataName
-public bool UpdateDataName(int index, string name)
+public bool UpdateDataName(int index, string name)
### Serie.UpdateXYData
-public bool UpdateXYData(int index, double xValue, double yValue)
+public bool UpdateXYData(int index, double xValue, double yValue)
更新指定索引的维度X和维度Y的数据
### Serie.UpdateYData
-public bool UpdateYData(int index, double value)
+public bool UpdateYData(int index, double value)
更新指定索引的维度Y数据
## SerieColorBy
@@ -6855,27 +6855,27 @@ The attribute for serie component.
### SerieComponentAttribute.Contains
-public bool Contains(Type type)
+public bool Contains(Type type)
### SerieComponentAttribute.Contains<T>
-public bool Contains<T>() where T : ISerieComponent
+public bool Contains<T>() where T : ISerieComponent
### SerieComponentAttribute.SerieComponentAttribute
-public SerieComponentAttribute(Type type1)
+public SerieComponentAttribute(Type type1)
-public SerieComponentAttribute(Type type1, Type type2)
+public SerieComponentAttribute(Type type1, Type type2)
-public SerieComponentAttribute(Type type1, Type type2, Type type3)
+public SerieComponentAttribute(Type type1, Type type2, Type type3)
-public SerieComponentAttribute(Type type1, Type type2, Type type3, Type type4)
+public SerieComponentAttribute(Type type1, Type type2, Type type3, Type type4)
-public SerieComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5)
+public SerieComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5)
-public SerieComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6)
+public SerieComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6)
-public SerieComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6, Type type7)
+public SerieComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6, Type type7)
## SerieContext
@@ -6884,7 +6884,7 @@ class in XCharts.Runtime
### SerieContext.titleObject
-public ChartLabel titleObject
+public ChartLabel titleObject
绘制点
## SerieConvertAttribute
@@ -6895,19 +6895,19 @@ The attribute for which serie types can be converted to.
### SerieConvertAttribute.Contains
-public bool Contains(Type type)
+public bool Contains(Type type)
### SerieConvertAttribute.Contains<T>
-public bool Contains<T>() where T : Serie
+public bool Contains<T>() where T : Serie
### SerieConvertAttribute.SerieConvertAttribute
-public SerieConvertAttribute(Type serie, Type serie2)
+public SerieConvertAttribute(Type serie, Type serie2)
-public SerieConvertAttribute(Type serie, Type serie2, Type serie3)
+public SerieConvertAttribute(Type serie, Type serie2, Type serie3)
-public SerieConvertAttribute(Type serie, Type serie2, Type serie3, Type serie4)
+public SerieConvertAttribute(Type serie, Type serie2, Type serie3, Type serie4)
## SerieData
@@ -6918,119 +6918,119 @@ A data item of serie.
### SerieData.areaStyle
-public AreaStyle areaStyle
+public AreaStyle areaStyle
### SerieData.blurStyle
-public BlurStyle blurStyle
+public BlurStyle blurStyle
淡出状态的样式。
### SerieData.data
-public List<double> data
+public List<double> data
An arbitrary dimension data list of data item.
### SerieData.emphasisStyle
-public EmphasisStyle emphasisStyle
+public EmphasisStyle emphasisStyle
高亮状态的样式
### SerieData.id
-public string id
+public string id
the id of data.
### SerieData.index
-public override int index
+public override int index
the index of SerieData.
### SerieData.itemStyle
-public ItemStyle itemStyle
+public ItemStyle itemStyle
单个数据项的样式设置。
### SerieData.labelLine
-public LabelLine labelLine
+public LabelLine labelLine
### SerieData.labelObject
-public ChartLabel labelObject
+public ChartLabel labelObject
### SerieData.labelStyle
-public LabelStyle labelStyle
+public LabelStyle labelStyle
单个数据项的标签设置。
### SerieData.legendName
-public string legendName
+public string legendName
数据项图例名称。当数据项名称不为空时,图例名称即为系列名称;反之则为索引index。
### SerieData.lineStyle
-public LineStyle lineStyle
+public LineStyle lineStyle
### SerieData.name
-public string name
+public string name
the name of data item.
### SerieData.parentId
-public string parentId
+public string parentId
the id of parent SerieData.
### SerieData.radius
-public float radius
+public float radius
自定义半径。可用在饼图中自定义某个数据项的半径。
### SerieData.selected
-public bool selected
+public bool selected
Whether the data item is selected.
### SerieData.selectStyle
-public SelectStyle selectStyle
+public SelectStyle selectStyle
选中状态的样式。
### SerieData.show
-public bool show
+public bool show
[default:true] Whether the data item is showed.
### SerieData.state
-public SerieState state
+public SerieState state
the state of serie data.
### SerieData.symbol
-public SerieSymbol symbol
+public SerieSymbol symbol
单个数据项的标记设置。
### SerieData.titleObject
-public ChartLabel titleObject
+public ChartLabel titleObject
### SerieData.titleStyle
-public TitleStyle titleStyle
+public TitleStyle titleStyle
### SerieData.ClearComponentDirty
-public override void ClearComponentDirty()
+public override void ClearComponentDirty()
### SerieData.ClearVerticesDirty
-public override void ClearVerticesDirty()
+public override void ClearVerticesDirty()
### SerieData.EnsureComponent
-public ISerieDataComponent EnsureComponent(Type type)
+public ISerieDataComponent EnsureComponent(Type type)
> Since `v3.6.0`
@@ -7038,7 +7038,7 @@ Ensure the serie data has the component, if not, add it.
### SerieData.EnsureComponent<T>
-public T EnsureComponent<T>() where T : ChildComponent, ISerieDataComponent
+public T EnsureComponent<T>() where T : ChildComponent, ISerieDataComponent
> Since `v3.6.0`
@@ -7046,120 +7046,120 @@ Ensure the serie data has the component, if not, add it.
### SerieData.GetAddAnimationData
-public double GetAddAnimationData(double min, double max, float animationDuration = 500f, bool unscaledTime = false)
+public double GetAddAnimationData(double min, double max, float animationDuration = 500f, bool unscaledTime = false)
### SerieData.GetComponent<T>
-public T GetComponent<T>() where T : ChildComponent, ISerieDataComponent
+public T GetComponent<T>() where T : ChildComponent, ISerieDataComponent
Get the component of the serie data. return null if not exist.
### SerieData.GetCurrData
-public double GetCurrData(int index, AnimationStyle animation, bool inverse, double min, double max, bool loop = false)
+public double GetCurrData(int index, AnimationStyle animation, bool inverse, double min, double max, bool loop = false)
-public double GetCurrData(int index, float dataAddDuration = 500f, float animationDuration = 500f, bool unscaledTime = false, bool inverse = false)
+public double GetCurrData(int index, float dataAddDuration = 500f, float animationDuration = 500f, bool unscaledTime = false, bool inverse = false)
-public double GetCurrData(int index, float dataAddDuration, float animationDuration, bool inverse, double min, double max, bool unscaledTime, bool loop = false)
+public double GetCurrData(int index, float dataAddDuration, float animationDuration, bool inverse, double min, double max, bool unscaledTime, bool loop = false)
### SerieData.GetData
-public double GetData(int index, double min, double max)
+public double GetData(int index, double min, double max)
### SerieData.GetFirstData
-public double GetFirstData(bool unscaledTime, float animationDuration = 500f)
+public double GetFirstData(bool unscaledTime, float animationDuration = 500f)
### SerieData.GetLabelHeight
-public float GetLabelHeight()
+public float GetLabelHeight()
### SerieData.GetLabelWidth
-public float GetLabelWidth()
+public float GetLabelWidth()
### SerieData.GetLastData
-public double GetLastData()
+public double GetLastData()
### SerieData.GetMaxData
-public double GetMaxData(bool inverse = false)
+public double GetMaxData(bool inverse = false)
the maxinum value.
### SerieData.GetMinData
-public double GetMinData(bool inverse = false)
+public double GetMinData(bool inverse = false)
the mininum value.
### SerieData.GetMinMaxData
-public void GetMinMaxData(int startDimensionIndex, bool inverse, out double min, out double max)
+public void GetMinMaxData(int startDimensionIndex, bool inverse, out double min, out double max)
### SerieData.GetOrAddComponent<T>
-public T GetOrAddComponent<T>() where T : ChildComponent, ISerieDataComponent
+public T GetOrAddComponent<T>() where T : ChildComponent, ISerieDataComponent
### SerieData.GetPreviousData
-public double GetPreviousData(int index, bool inverse = false)
+public double GetPreviousData(int index, bool inverse = false)
### SerieData.GetTotalData
-public double GetTotalData()
+public double GetTotalData()
### SerieData.IsDataChanged
-public bool IsDataChanged()
+public bool IsDataChanged()
### SerieData.IsInPolygon
-public bool IsInPolygon(Vector2 p)
+public bool IsInPolygon(Vector2 p)
### SerieData.List<string>
-public static List<string> extraFieldList = new List<string>()
+public static List<string> extraFieldList = new List<string>()
A data item of serie.
### SerieData.OnAdd
-public void OnAdd(AnimationStyle animation, double startValue = 0)
+public void OnAdd(AnimationStyle animation, double startValue = 0)
### SerieData.RemoveAllComponent
-public void RemoveAllComponent()
+public void RemoveAllComponent()
### SerieData.RemoveComponent
-public void RemoveComponent(Type type)
+public void RemoveComponent(Type type)
### SerieData.RemoveComponent<T>
-public void RemoveComponent<T>() where T : ISerieDataComponent
+public void RemoveComponent<T>() where T : ISerieDataComponent
### SerieData.Reset
-public void Reset()
+public void Reset()
### SerieData.SetIconActive
-public void SetIconActive(bool flag)
+public void SetIconActive(bool flag)
### SerieData.SetLabelActive
-public void SetLabelActive(bool flag)
+public void SetLabelActive(bool flag)
### SerieData.SetPolygon
-public void SetPolygon(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4)
+public void SetPolygon(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4)
-public void SetPolygon(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 p5)
+public void SetPolygon(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 p5)
### SerieData.UpdateData
-public bool UpdateData(int dimension, double value)
+public bool UpdateData(int dimension, double value)
## SerieDataComponentAttribute
@@ -7170,27 +7170,27 @@ The attribute for serie data component.
### SerieDataComponentAttribute.Contains
-public bool Contains(Type type)
+public bool Contains(Type type)
### SerieDataComponentAttribute.Contains<T>
-public bool Contains<T>() where T : ISerieComponent
+public bool Contains<T>() where T : ISerieComponent
### SerieDataComponentAttribute.SerieDataComponentAttribute
-public SerieDataComponentAttribute(Type type1)
+public SerieDataComponentAttribute(Type type1)
-public SerieDataComponentAttribute(Type type1, Type type2)
+public SerieDataComponentAttribute(Type type1, Type type2)
-public SerieDataComponentAttribute(Type type1, Type type2, Type type3)
+public SerieDataComponentAttribute(Type type1, Type type2, Type type3)
-public SerieDataComponentAttribute(Type type1, Type type2, Type type3, Type type4)
+public SerieDataComponentAttribute(Type type1, Type type2, Type type3, Type type4)
-public SerieDataComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5)
+public SerieDataComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5)
-public SerieDataComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6)
+public SerieDataComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6)
-public SerieDataComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6, Type type7)
+public SerieDataComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6, Type type7)
## SerieDataContext
@@ -7199,7 +7199,7 @@ class in XCharts.Runtime
### SerieDataContext.Reset
-public void Reset()
+public void Reset()
## SerieDataExtraFieldAttribute
@@ -7207,23 +7207,23 @@ class in XCharts.Runtime / Inherits from: [Attribute](https://docs.unity3d.com/S
### SerieDataExtraFieldAttribute.Contains
-public bool Contains(string field)
+public bool Contains(string field)
### SerieDataExtraFieldAttribute.SerieDataExtraFieldAttribute
-public SerieDataExtraFieldAttribute(string field1)
+public SerieDataExtraFieldAttribute(string field1)
-public SerieDataExtraFieldAttribute(string field1, string field2)
+public SerieDataExtraFieldAttribute(string field1, string field2)
-public SerieDataExtraFieldAttribute(string field1, string field2, string field3)
+public SerieDataExtraFieldAttribute(string field1, string field2, string field3)
-public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4)
+public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4)
-public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4, string field5)
+public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4, string field5)
-public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4, string field5, string field6)
+public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4, string field5, string field6)
-public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4, string field5, string field6, string field7)
+public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4, string field5, string field6, string field7)
## SerieDataLink
@@ -7254,32 +7254,32 @@ the data of serie event.
### SerieEventData.dataIndex
-public int dataIndex
+public int dataIndex
the index of data in serie.data.
### SerieEventData.dimension
-public int dimension
+public int dimension
the dimension of data.
### SerieEventData.pointerPos
-public Vector3 pointerPos
+public Vector3 pointerPos
the position of pointer in chart.
### SerieEventData.serieIndex
-public int serieIndex
+public int serieIndex
the index of serie in chart.series.
### SerieEventData.value
-public double value
+public double value
the value of data.
### SerieEventData.Reset
-public void Reset()
+public void Reset()
## SerieEventDataPool
@@ -7287,11 +7287,11 @@ class in XCharts.Runtime
### SerieEventDataPool.Get
-public static SerieEventData Get(Vector3 pos, int serieIndex, int dataIndex, int dimension, double value)
+public static SerieEventData Get(Vector3 pos, int serieIndex, int dataIndex, int dimension, double value)
### SerieEventDataPool.Release
-public static void Release(SerieEventData toRelease)
+public static void Release(SerieEventData toRelease)
## SerieHandler
@@ -7299,243 +7299,243 @@ class in XCharts.Runtime
### SerieHandler.AfterUpdate()
-public virtual void AfterUpdate()
+public virtual void AfterUpdate()
### SerieHandler.attribute
-public SerieHandlerAttribute attribute
+public SerieHandlerAttribute attribute
### SerieHandler.BeforeUpdate()
-public virtual void BeforeUpdate()
+public virtual void BeforeUpdate()
### SerieHandler.chart
-public BaseChart chart
+public BaseChart chart
### SerieHandler.defaultDimension
-public virtual int defaultDimension
+public virtual int defaultDimension
### SerieHandler.eventData)
-public virtual void OnBeginDrag(PointerEventData eventData)
+public virtual void OnBeginDrag(PointerEventData eventData)
### SerieHandler.eventData)
-public virtual void OnDrag(PointerEventData eventData)
+public virtual void OnDrag(PointerEventData eventData)
### SerieHandler.eventData)
-public virtual void OnEndDrag(PointerEventData eventData)
+public virtual void OnEndDrag(PointerEventData eventData)
### SerieHandler.eventData)
-public virtual void OnPointerClick(PointerEventData eventData)
+public virtual void OnPointerClick(PointerEventData eventData)
### SerieHandler.eventData)
-public virtual void OnPointerDown(PointerEventData eventData)
+public virtual void OnPointerDown(PointerEventData eventData)
### SerieHandler.eventData)
-public virtual void OnPointerEnter(PointerEventData eventData)
+public virtual void OnPointerEnter(PointerEventData eventData)
### SerieHandler.eventData)
-public virtual void OnPointerExit(PointerEventData eventData)
+public virtual void OnPointerExit(PointerEventData eventData)
### SerieHandler.eventData)
-public virtual void OnPointerUp(PointerEventData eventData)
+public virtual void OnPointerUp(PointerEventData eventData)
### SerieHandler.eventData)
-public virtual void OnScroll(PointerEventData eventData)
+public virtual void OnScroll(PointerEventData eventData)
### SerieHandler.ForceUpdateSerieContext()
-public virtual void ForceUpdateSerieContext()
+public virtual void ForceUpdateSerieContext()
### SerieHandler.GetPointerItemDataDimension()
-public virtual int GetPointerItemDataDimension()
+public virtual int GetPointerItemDataDimension()
### SerieHandler.GetPointerItemDataIndex()
-public virtual int GetPointerItemDataIndex()
+public virtual int GetPointerItemDataIndex()
### SerieHandler.InitComponent()
-public virtual void InitComponent()
+public virtual void InitComponent()
### SerieHandler.inited
-public bool inited
+public bool inited
### SerieHandler.legendName)
-public virtual void OnLegendButtonEnter(int index, string legendName)
+public virtual void OnLegendButtonEnter(int index, string legendName)
### SerieHandler.legendName)
-public virtual void OnLegendButtonExit(int index, string legendName)
+public virtual void OnLegendButtonExit(int index, string legendName)
### SerieHandler.OnDataUpdate()
-public virtual void OnDataUpdate()
+public virtual void OnDataUpdate()
### SerieHandler.RefreshLabelInternal()
-public virtual void RefreshLabelInternal()
+public virtual void RefreshLabelInternal()
### SerieHandler.RefreshLabelNextFrame()
-public virtual void RefreshLabelNextFrame()
+public virtual void RefreshLabelNextFrame()
### SerieHandler.RemoveComponent()
-public virtual void RemoveComponent()
+public virtual void RemoveComponent()
### SerieHandler.sb)
-public virtual void CheckComponent(StringBuilder sb)
+public virtual void CheckComponent(StringBuilder sb)
### SerieHandler.show)
-public virtual void OnLegendButtonClick(int index, string legendName, bool show)
+public virtual void OnLegendButtonClick(int index, string legendName, bool show)
### SerieHandler.Update()
-public virtual void Update()
+public virtual void Update()
### SerieHandler.UpdateSerieContext()
-public virtual void UpdateSerieContext()
+public virtual void UpdateSerieContext()
### SerieHandler.vh)
-public virtual void DrawBase(VertexHelper vh)
+public virtual void DrawBase(VertexHelper vh)
### SerieHandler.vh)
-public virtual void DrawSerie(VertexHelper vh)
+public virtual void DrawSerie(VertexHelper vh)
### SerieHandler.vh)
-public virtual void DrawTop(VertexHelper vh)
+public virtual void DrawTop(VertexHelper vh)
### SerieHandler.vh)
-public virtual void DrawUpper(VertexHelper vh)
+public virtual void DrawUpper(VertexHelper vh)
### SerieHandler.AfterUpdate
-public virtual void AfterUpdate() { }
+public virtual void AfterUpdate() { }
### SerieHandler.BeforeUpdate
-public virtual void BeforeUpdate() { }
+public virtual void BeforeUpdate() { }
### SerieHandler.CheckComponent
-public virtual void CheckComponent(StringBuilder sb) { }
+public virtual void CheckComponent(StringBuilder sb) { }
### SerieHandler.DrawBase
-public virtual void DrawBase(VertexHelper vh) { }
+public virtual void DrawBase(VertexHelper vh) { }
### SerieHandler.DrawSerie
-public virtual void DrawSerie(VertexHelper vh) { }
+public virtual void DrawSerie(VertexHelper vh) { }
### SerieHandler.DrawTop
-public virtual void DrawTop(VertexHelper vh) { }
+public virtual void DrawTop(VertexHelper vh) { }
### SerieHandler.DrawUpper
-public virtual void DrawUpper(VertexHelper vh) { }
+public virtual void DrawUpper(VertexHelper vh) { }
### SerieHandler.ForceUpdateSerieContext
-public virtual void ForceUpdateSerieContext() { }
+public virtual void ForceUpdateSerieContext() { }
### SerieHandler.InitComponent
-public virtual void InitComponent() { }
+public virtual void InitComponent() { }
### SerieHandler.OnBeginDrag
-public virtual void OnBeginDrag(PointerEventData eventData) { }
+public virtual void OnBeginDrag(PointerEventData eventData) { }
### SerieHandler.OnDataUpdate
-public virtual void OnDataUpdate() { }
+public virtual void OnDataUpdate() { }
### SerieHandler.OnDrag
-public virtual void OnDrag(PointerEventData eventData) { }
+public virtual void OnDrag(PointerEventData eventData) { }
### SerieHandler.OnEndDrag
-public virtual void OnEndDrag(PointerEventData eventData) { }
+public virtual void OnEndDrag(PointerEventData eventData) { }
### SerieHandler.OnLegendButtonClick
-public virtual void OnLegendButtonClick(int index, string legendName, bool show) { }
+public virtual void OnLegendButtonClick(int index, string legendName, bool show) { }
### SerieHandler.OnLegendButtonEnter
-public virtual void OnLegendButtonEnter(int index, string legendName) { }
+public virtual void OnLegendButtonEnter(int index, string legendName) { }
### SerieHandler.OnLegendButtonExit
-public virtual void OnLegendButtonExit(int index, string legendName) { }
+public virtual void OnLegendButtonExit(int index, string legendName) { }
### SerieHandler.OnPointerClick
-public virtual void OnPointerClick(PointerEventData eventData) { }
+public virtual void OnPointerClick(PointerEventData eventData) { }
### SerieHandler.OnPointerDown
-public virtual void OnPointerDown(PointerEventData eventData) { }
+public virtual void OnPointerDown(PointerEventData eventData) { }
### SerieHandler.OnPointerEnter
-public virtual void OnPointerEnter(PointerEventData eventData) { }
+public virtual void OnPointerEnter(PointerEventData eventData) { }
### SerieHandler.OnPointerExit
-public virtual void OnPointerExit(PointerEventData eventData) { }
+public virtual void OnPointerExit(PointerEventData eventData) { }
### SerieHandler.OnPointerUp
-public virtual void OnPointerUp(PointerEventData eventData) { }
+public virtual void OnPointerUp(PointerEventData eventData) { }
### SerieHandler.OnScroll
-public virtual void OnScroll(PointerEventData eventData) { }
+public virtual void OnScroll(PointerEventData eventData) { }
### SerieHandler.RefreshLabelInternal
-public virtual void RefreshLabelInternal() { }
+public virtual void RefreshLabelInternal() { }
### SerieHandler.RefreshLabelNextFrame
-public virtual void RefreshLabelNextFrame() { }
+public virtual void RefreshLabelNextFrame() { }
### SerieHandler.RemoveComponent
-public virtual void RemoveComponent() { }
+public virtual void RemoveComponent() { }
### SerieHandler.Update
-public virtual void Update() { }
+public virtual void Update() { }
### SerieHandler.UpdateSerieContext
-public virtual void UpdateSerieContext() { }
+public virtual void UpdateSerieContext() { }
## SerieHandler where T
@@ -7547,95 +7547,95 @@ class in XCharts.Runtime / Inherits from: [SerieHandler where T](#seriehandler w
### SerieHandler<T>.labelObject
-public GameObject labelObject
+public GameObject labelObject
### SerieHandler<T>.serie
-public T serie
+public T serie
### SerieHandler<T>.AfterUpdate
-public override void AfterUpdate()
+public override void AfterUpdate()
### SerieHandler<T>.BeforeUpdate
-public override void BeforeUpdate()
+public override void BeforeUpdate()
### SerieHandler<T>.DrawLabelLineSymbol
-public void DrawLabelLineSymbol(VertexHelper vh, LabelLine labelLine, Vector3 startPos, Vector3 endPos, Color32 defaultColor)
+public void DrawLabelLineSymbol(VertexHelper vh, LabelLine labelLine, Vector3 startPos, Vector3 endPos, Color32 defaultColor)
### SerieHandler<T>.ForceUpdateSerieContext
-public override void ForceUpdateSerieContext()
+public override void ForceUpdateSerieContext()
### SerieHandler<T>.GetPointerItemDataDimension
-public override int GetPointerItemDataDimension()
+public override int GetPointerItemDataDimension()
### SerieHandler<T>.GetPointerItemDataIndex
-public override int GetPointerItemDataIndex()
+public override int GetPointerItemDataIndex()
### SerieHandler<T>.GetSerieDataAutoColor
-public virtual Color GetSerieDataAutoColor(SerieData serieData)
+public virtual Color GetSerieDataAutoColor(SerieData serieData)
### SerieHandler<T>.GetSerieDataLabelOffset
-public virtual Vector3 GetSerieDataLabelOffset(SerieData serieData, LabelStyle label)
+public virtual Vector3 GetSerieDataLabelOffset(SerieData serieData, LabelStyle label)
### SerieHandler<T>.GetSerieDataLabelPosition
-public virtual Vector3 GetSerieDataLabelPosition(SerieData serieData, LabelStyle label)
+public virtual Vector3 GetSerieDataLabelPosition(SerieData serieData, LabelStyle label)
### SerieHandler<T>.GetSerieDataTitlePosition
-public virtual Vector3 GetSerieDataTitlePosition(SerieData serieData, TitleStyle titleStyle)
+public virtual Vector3 GetSerieDataTitlePosition(SerieData serieData, TitleStyle titleStyle)
### SerieHandler<T>.InitComponent
-public override void InitComponent()
+public override void InitComponent()
### SerieHandler<T>.OnLegendButtonClick
-public override void OnLegendButtonClick(int index, string legendName, bool show)
+public override void OnLegendButtonClick(int index, string legendName, bool show)
### SerieHandler<T>.OnLegendButtonEnter
-public override void OnLegendButtonEnter(int index, string legendName)
+public override void OnLegendButtonEnter(int index, string legendName)
### SerieHandler<T>.OnLegendButtonExit
-public override void OnLegendButtonExit(int index, string legendName)
+public override void OnLegendButtonExit(int index, string legendName)
### SerieHandler<T>.OnPointerClick
-public override void OnPointerClick(PointerEventData eventData)
+public override void OnPointerClick(PointerEventData eventData)
### SerieHandler<T>.OnPointerDown
-public override void OnPointerDown(PointerEventData eventData)
+public override void OnPointerDown(PointerEventData eventData)
### SerieHandler<T>.RefreshEndLabelInternal
-public virtual void RefreshEndLabelInternal()
+public virtual void RefreshEndLabelInternal()
### SerieHandler<T>.RefreshLabelInternal
-public override void RefreshLabelInternal()
+public override void RefreshLabelInternal()
### SerieHandler<T>.RefreshLabelNextFrame
-public override void RefreshLabelNextFrame()
+public override void RefreshLabelNextFrame()
### SerieHandler<T>.RemoveComponent
-public override void RemoveComponent()
+public override void RemoveComponent()
### SerieHandler<T>.Update
-public override void Update()
+public override void Update()
## SerieHandlerAttribute
@@ -7643,7 +7643,7 @@ class in XCharts.Runtime / Inherits from: [Attribute](https://docs.unity3d.com/S
### SerieHandlerAttribute.SerieHandlerAttribute
-public SerieHandlerAttribute(Type handler, bool allowMultiple)
+public SerieHandlerAttribute(Type handler, bool allowMultiple)
## SerieHelper
@@ -7652,151 +7652,151 @@ class in XCharts.Runtime
### SerieHelper.CloneSerie<T>
-public static T CloneSerie<T>(Serie serie) where T : Serie
+public static T CloneSerie<T>(Serie serie) where T : Serie
### SerieHelper.CopySerie
-public static void CopySerie(Serie oldSerie, Serie newSerie)
+public static void CopySerie(Serie oldSerie, Serie newSerie)
### SerieHelper.GetAllMinMaxData
-public static void GetAllMinMaxData(Serie serie, double ceilRate = 0, DataZoom dataZoom = null)
+public static void GetAllMinMaxData(Serie serie, double ceilRate = 0, DataZoom dataZoom = null)
### SerieHelper.GetAreaStyle
-public static AreaStyle GetAreaStyle(Serie serie, SerieData serieData)
+public static AreaStyle GetAreaStyle(Serie serie, SerieData serieData)
### SerieHelper.GetAverageData
-public static double GetAverageData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
+public static double GetAverageData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
### SerieHelper.GetBlurStyle
-public static BlurStyle GetBlurStyle(Serie serie, SerieData serieData)
+public static BlurStyle GetBlurStyle(Serie serie, SerieData serieData)
### SerieHelper.GetEmphasisStyle
-public static EmphasisStyle GetEmphasisStyle(Serie serie, SerieData serieData)
+public static EmphasisStyle GetEmphasisStyle(Serie serie, SerieData serieData)
### SerieHelper.GetItemColor
-public static Color32 GetItemColor(Serie serie, SerieData serieData, ThemeStyle theme, int index, SerieState state = SerieState.Auto, bool opacity = true)
+public static Color32 GetItemColor(Serie serie, SerieData serieData, ThemeStyle theme, int index, SerieState state = SerieState.Auto, bool opacity = true)
### SerieHelper.GetItemFormatter
-public static string GetItemFormatter(Serie serie, SerieData serieData, string defaultFormatter = null)
+public static string GetItemFormatter(Serie serie, SerieData serieData, string defaultFormatter = null)
### SerieHelper.GetItemMarker
-public static string GetItemMarker(Serie serie, SerieData serieData, string defaultMarker = null)
+public static string GetItemMarker(Serie serie, SerieData serieData, string defaultMarker = null)
### SerieHelper.GetItemStyle
-public static ItemStyle GetItemStyle(Serie serie, SerieData serieData, SerieState state = SerieState.Auto)
+public static ItemStyle GetItemStyle(Serie serie, SerieData serieData, SerieState state = SerieState.Auto)
### SerieHelper.GetLineColor
-public static Color32 GetLineColor(Serie serie, SerieData serieData, ThemeStyle theme, int index, SerieState state = SerieState.Auto)
+public static Color32 GetLineColor(Serie serie, SerieData serieData, ThemeStyle theme, int index, SerieState state = SerieState.Auto)
### SerieHelper.GetLineStyle
-public static LineStyle GetLineStyle(Serie serie, SerieData serieData)
+public static LineStyle GetLineStyle(Serie serie, SerieData serieData)
### SerieHelper.GetMaxData
-public static double GetMaxData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
+public static double GetMaxData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
### SerieHelper.GetMaxSerieData
-public static SerieData GetMaxSerieData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
+public static SerieData GetMaxSerieData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
### SerieHelper.GetMedianData
-public static double GetMedianData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
+public static double GetMedianData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
### SerieHelper.GetMinData
-public static double GetMinData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
+public static double GetMinData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
### SerieHelper.GetMinMaxData
-public static void GetMinMaxData(Serie serie, out double min, out double max, DataZoom dataZoom = null, int dimension = 0)
+public static void GetMinMaxData(Serie serie, out double min, out double max, DataZoom dataZoom = null, int dimension = 0)
Gets the maximum and minimum values of all data in the serie.
### SerieHelper.GetMinSerieData
-public static SerieData GetMinSerieData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
+public static SerieData GetMinSerieData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
### SerieHelper.GetNumericFormatter
-public static string GetNumericFormatter(Serie serie, SerieData serieData, string defaultFormatter = null)
+public static string GetNumericFormatter(Serie serie, SerieData serieData, string defaultFormatter = null)
### SerieHelper.GetSelectStyle
-public static SelectStyle GetSelectStyle(Serie serie, SerieData serieData)
+public static SelectStyle GetSelectStyle(Serie serie, SerieData serieData)
### SerieHelper.GetSerieLabel
-public static LabelStyle GetSerieLabel(Serie serie, SerieData serieData, SerieState state = SerieState.Auto)
+public static LabelStyle GetSerieLabel(Serie serie, SerieData serieData, SerieState state = SerieState.Auto)
### SerieHelper.GetSerieLabelLine
-public static LabelLine GetSerieLabelLine(Serie serie, SerieData serieData, SerieState state = SerieState.Auto)
+public static LabelLine GetSerieLabelLine(Serie serie, SerieData serieData, SerieState state = SerieState.Auto)
### SerieHelper.GetSerieState
-public static SerieState GetSerieState(Serie serie, SerieData serieData, bool defaultSerieState = false)
+public static SerieState GetSerieState(Serie serie, SerieData serieData, bool defaultSerieState = false)
-public static SerieState GetSerieState(SerieData serieData)
+public static SerieState GetSerieState(SerieData serieData)
### SerieHelper.GetSerieSymbol
-public static SerieSymbol GetSerieSymbol(Serie serie, SerieData serieData, SerieState state = SerieState.Auto)
+public static SerieSymbol GetSerieSymbol(Serie serie, SerieData serieData, SerieState state = SerieState.Auto)
### SerieHelper.GetStateStyle
-public static StateStyle GetStateStyle(Serie serie, SerieData serieData, SerieState state)
+public static StateStyle GetStateStyle(Serie serie, SerieData serieData, SerieState state)
### SerieHelper.GetSysmbolSize
-public static float GetSysmbolSize(Serie serie, SerieData serieData, float defaultSize, SerieState state = SerieState.Auto, bool checkAnimation = false)
+public static float GetSysmbolSize(Serie serie, SerieData serieData, float defaultSize, SerieState state = SerieState.Auto, bool checkAnimation = false)
### SerieHelper.GetTitleStyle
-public static TitleStyle GetTitleStyle(Serie serie, SerieData serieData)
+public static TitleStyle GetTitleStyle(Serie serie, SerieData serieData)
### SerieHelper.IsAllZeroValue
-public static bool IsAllZeroValue(Serie serie, int dimension = 1)
+public static bool IsAllZeroValue(Serie serie, int dimension = 1)
Whether the data for the specified dimension of serie are all 0.
### SerieHelper.IsDownPoint
-public static bool IsDownPoint(Serie serie, int index)
+public static bool IsDownPoint(Serie serie, int index)
### SerieHelper.UpdateCenter
-public static void UpdateCenter(Serie serie, BaseChart chart)
+public static void UpdateCenter(Serie serie, BaseChart chart)
更新运行时中心点和半径
### SerieHelper.UpdateFilterData
-public static void UpdateFilterData(Serie serie, DataZoom dataZoom)
+public static void UpdateFilterData(Serie serie, DataZoom dataZoom)
根据dataZoom更新数据列表缓存
### SerieHelper.UpdateMinMaxData
-public static void UpdateMinMaxData(Serie serie, int dimension, double ceilRate = 0, DataZoom dataZoom = null)
+public static void UpdateMinMaxData(Serie serie, int dimension, double ceilRate = 0, DataZoom dataZoom = null)
获得指定维数的最大最小值
### SerieHelper.UpdateRect
-public static void UpdateRect(Serie serie, Vector3 chartPosition, float chartWidth, float chartHeight)
+public static void UpdateRect(Serie serie, Vector3 chartPosition, float chartWidth, float chartHeight)
### SerieHelper.UpdateSerieRuntimeFilterData
-public static void UpdateSerieRuntimeFilterData(Serie serie, bool filterInvisible = true)
+public static void UpdateSerieRuntimeFilterData(Serie serie, bool filterInvisible = true)
## SerieLabelHelper
@@ -7804,15 +7804,15 @@ class in XCharts.Runtime
### SerieLabelHelper.CanShowLabel
-public static bool CanShowLabel(Serie serie, SerieData serieData, LabelStyle label, int dimesion)
+public static bool CanShowLabel(Serie serie, SerieData serieData, LabelStyle label, int dimesion)
### SerieLabelHelper.GetLabelColor
-public static Color GetLabelColor(Serie serie, ThemeStyle theme, int index)
+public static Color GetLabelColor(Serie serie, ThemeStyle theme, int index)
### SerieLabelHelper.SetGaugeLabelText
-public static void SetGaugeLabelText(Serie serie)
+public static void SetGaugeLabelText(Serie serie)
## SerieLabelPool
@@ -7820,15 +7820,15 @@ class in XCharts.Runtime
### SerieLabelPool.ClearAll
-public static void ClearAll()
+public static void ClearAll()
### SerieLabelPool.Release
-public static void Release(GameObject element)
+public static void Release(GameObject element)
### SerieLabelPool.ReleaseAll
-public static void ReleaseAll(Transform parent)
+public static void ReleaseAll(Transform parent)
## SerieParams
@@ -7840,63 +7840,63 @@ class in XCharts.Runtime
### SeriesHelper.GetLastStackSerie
-public static Serie GetLastStackSerie(List<Serie> series, Serie serie)
+public static Serie GetLastStackSerie(List<Serie> series, Serie serie)
获得上一个同堆叠且显示的serie。
### SeriesHelper.GetLegalSerieNameList
-public static List<string> GetLegalSerieNameList(List<Serie> series)
+public static List<string> GetLegalSerieNameList(List<Serie> series)
### SeriesHelper.GetMaxSerieDataCount
-public static int GetMaxSerieDataCount(List<Serie> series)
+public static int GetMaxSerieDataCount(List<Serie> series)
### SeriesHelper.GetMinAnimationDuration
-public static float GetMinAnimationDuration(List<Serie> series)
+public static float GetMinAnimationDuration(List<Serie> series)
### SeriesHelper.GetNameColor
-public static Color GetNameColor(BaseChart chart, int index, string name)
+public static Color GetNameColor(BaseChart chart, int index, string name)
### SeriesHelper.GetStackSeries
-public static void GetStackSeries(List<Serie> series, ref Dictionary<int, List<Serie>> stackSeries)
+public static void GetStackSeries(List<Serie> series, ref Dictionary<int, List<Serie>> stackSeries)
获得堆叠系列列表
### SeriesHelper.IsAnyClipSerie
-public static bool IsAnyClipSerie(List<Serie> series)
+public static bool IsAnyClipSerie(List<Serie> series)
是否有需裁剪的serie。
### SeriesHelper.IsLegalLegendName
-public static bool IsLegalLegendName(string name)
+public static bool IsLegalLegendName(string name)
### SeriesHelper.IsPercentStack<T>
-public static bool IsPercentStack<T>(List<Serie> series, string stackName) where T : Serie
+public static bool IsPercentStack<T>(List<Serie> series, string stackName) where T : Serie
是否时百分比堆叠
### SeriesHelper.IsStack
-public static bool IsStack(List<Serie> series)
+public static bool IsStack(List<Serie> series)
是否由数据堆叠
### SeriesHelper.IsStack<T>
-public static bool IsStack<T>(List<Serie> series, string stackName) where T : Serie
+public static bool IsStack<T>(List<Serie> series, string stackName) where T : Serie
是否堆叠
### SeriesHelper.UpdateSerieNameList
-public static void UpdateSerieNameList(BaseChart chart, ref List<string> serieNameList)
+public static void UpdateSerieNameList(BaseChart chart, ref List<string> serieNameList)
获得所有系列名,不包含空名字。
### SeriesHelper.UpdateStackDataList
-public static void UpdateStackDataList(List<Serie> series, Serie currSerie, DataZoom dataZoom, List<List<SerieData>> dataList)
+public static void UpdateStackDataList(List<Serie> series, Serie currSerie, DataZoom dataZoom, List<List<SerieData>> dataList)
## SerieState
@@ -7920,16 +7920,16 @@ class in XCharts.Runtime / Inherits from: [SymbolStyle](#symbolstyle),[ISerieDat
### SerieSymbol.GetSize
-public float GetSize(List<double> data, float themeSize)
+public float GetSize(List<double> data, float themeSize)
根据指定的sizeType获得标记的大小
### SerieSymbol.Reset
-public override void Reset()
+public override void Reset()
### SerieSymbol.ShowSymbol
-public bool ShowSymbol(int dataIndex, int dataCount)
+public bool ShowSymbol(int dataIndex, int dataCount)
## SerieTheme
@@ -7937,11 +7937,11 @@ class in XCharts.Runtime / Inherits from: [ChildComponent](#childcomponent)
### SerieTheme.Copy
-public void Copy(SerieTheme theme)
+public void Copy(SerieTheme theme)
### SerieTheme.SerieTheme
-public SerieTheme(ThemeType theme)
+public SerieTheme(ThemeType theme)
## Settings
@@ -7951,15 +7951,15 @@ Global parameter setting component. The default value can be used in general, an
### Settings.show
-public bool show
+public bool show
### Settings.Copy
-public void Copy(Settings settings)
+public void Copy(Settings settings)
### Settings.Reset
-public override void Reset()
+public override void Reset()
## SimplifiedBar
@@ -7967,19 +7967,19 @@ class in XCharts.Runtime / Inherits from: [Serie](#serie),[INeedSerieContainer](
### SimplifiedBar.containerIndex
-public int containerIndex
+public int containerIndex
### SimplifiedBar.containterInstanceId
-public int containterInstanceId
+public int containterInstanceId
### SimplifiedBar.AddDefaultSerie
-public static Serie AddDefaultSerie(BaseChart chart, string serieName)
+public static Serie AddDefaultSerie(BaseChart chart, string serieName)
### SimplifiedBar.ConvertSerie
-public static SimplifiedBar ConvertSerie(Serie serie)
+public static SimplifiedBar ConvertSerie(Serie serie)
## SimplifiedBarChart
@@ -7993,19 +7993,19 @@ class in XCharts.Runtime / Inherits from: [Serie](#serie),[INeedSerieContainer](
### SimplifiedCandlestick.containerIndex
-public int containerIndex
+public int containerIndex
### SimplifiedCandlestick.containterInstanceId
-public int containterInstanceId
+public int containterInstanceId
### SimplifiedCandlestick.AddDefaultSerie
-public static Serie AddDefaultSerie(BaseChart chart, string serieName)
+public static Serie AddDefaultSerie(BaseChart chart, string serieName)
### SimplifiedCandlestick.ConvertSerie
-public static SimplifiedCandlestick ConvertSerie(Serie serie)
+public static SimplifiedCandlestick ConvertSerie(Serie serie)
## SimplifiedCandlestickChart
@@ -8019,19 +8019,19 @@ class in XCharts.Runtime / Inherits from: [Serie](#serie),[INeedSerieContainer](
### SimplifiedLine.containerIndex
-public int containerIndex
+public int containerIndex
### SimplifiedLine.containterInstanceId
-public int containterInstanceId
+public int containterInstanceId
### SimplifiedLine.AddDefaultSerie
-public static Serie AddDefaultSerie(BaseChart chart, string serieName)
+public static Serie AddDefaultSerie(BaseChart chart, string serieName)
### SimplifiedLine.ConvertSerie
-public static SimplifiedLine ConvertSerie(Serie serie)
+public static SimplifiedLine ConvertSerie(Serie serie)
## SimplifiedLineChart
@@ -8045,7 +8045,7 @@ class in XCharts.Runtime / Inherits from: [Attribute](https://docs.unity3d.com/S
### Since.Since
-public Since(string version)
+public Since(string version)
## SingleAxis
@@ -8055,11 +8055,11 @@ Single axis.
### SingleAxis.SetDefaultValue
-public override void SetDefaultValue()
+public override void SetDefaultValue()
### SingleAxis.UpdateRuntimeData
-public void UpdateRuntimeData(BaseChart chart)
+public void UpdateRuntimeData(BaseChart chart)
## SingleAxisCoord
@@ -8071,17 +8071,17 @@ class in XCharts.Runtime / Inherits from: [ChildComponent](#childcomponent)
### StageColor.color
-public Color32 color
+public Color32 color
颜色。
### StageColor.percent
-public float percent
+public float percent
结束位置百分比。
### StageColor.StageColor
-public StageColor(float percent, Color32 color)
+public StageColor(float percent, Color32 color)
## StateStyle
@@ -8093,15 +8093,15 @@ the state style of serie.
### StateStyle.ClearComponentDirty
-public override void ClearComponentDirty()
+public override void ClearComponentDirty()
### StateStyle.ClearVerticesDirty
-public override void ClearVerticesDirty()
+public override void ClearVerticesDirty()
### StateStyle.Reset
-public void Reset()
+public void Reset()
## SubTitleTheme
@@ -8109,7 +8109,7 @@ class in XCharts.Runtime / Inherits from: [ComponentTheme](#componenttheme)
### SubTitleTheme.SubTitleTheme
-public SubTitleTheme(ThemeType theme) : base(theme)
+public SubTitleTheme(ThemeType theme) : base(theme)
## SVG
@@ -8117,12 +8117,12 @@ class in XUGL
### SVG.DrawPath
-public static void DrawPath(VertexHelper vh, SVGPath path)
+public static void DrawPath(VertexHelper vh, SVGPath path)
### SVG.Test
-public static void Test(VertexHelper vh)
+public static void Test(VertexHelper vh)
## SVGPath
@@ -8130,15 +8130,15 @@ class in XUGL
### SVGPath.AddSegment
-public void AddSegment(SVGPathSeg seg)
+public void AddSegment(SVGPathSeg seg)
### SVGPath.Draw
-public void Draw(VertexHelper vh)
+public void Draw(VertexHelper vh)
### SVGPath.Parse
-public static SVGPath Parse(string path)
+public static SVGPath Parse(string path)
## SVGPathSeg
@@ -8146,27 +8146,27 @@ class in XUGL
### SVGPathSeg.p1
-public Vector2 p1
+public Vector2 p1
### SVGPathSeg.p2
-public Vector2 p2
+public Vector2 p2
### SVGPathSeg.p3
-public Vector2 p3
+public Vector2 p3
### SVGPathSeg.x
-public float x
+public float x
### SVGPathSeg.y
-public float y
+public float y
### SVGPathSeg.SVGPathSeg
-public SVGPathSeg(SVGPathSegType type)
+public SVGPathSeg(SVGPathSegType type)
## SVGPathSegType
@@ -8205,20 +8205,20 @@ class in XCharts.Runtime / Inherits from: [ChildComponent](#childcomponent) / Su
### SymbolStyle.animationSize
-public List<float> animationSize
+public List<float> animationSize
the setting for effect scatter.
### SymbolStyle.offset3
-public Vector3 offset3
+public Vector3 offset3
### SymbolStyle.GetColor
-public Color32 GetColor(Color32 defaultColor)
+public Color32 GetColor(Color32 defaultColor)
### SymbolStyle.Reset
-public virtual void Reset()
+public virtual void Reset()
## SymbolType
@@ -8251,19 +8251,19 @@ Text character limitation and adaptation component. When the length of the text
### TextLimit.Clone
-public TextLimit Clone()
+public TextLimit Clone()
### TextLimit.Copy
-public void Copy(TextLimit textLimit)
+public void Copy(TextLimit textLimit)
### TextLimit.GetLimitContent
-public string GetLimitContent(string content)
+public string GetLimitContent(string content)
### TextLimit.SetRelatedText
-public void SetRelatedText(ChartText txt, float labelWidth)
+public void SetRelatedText(ChartText txt, float labelWidth)
## TextPadding
@@ -8273,12 +8273,12 @@ Settings related to text.
### TextPadding.TextPadding()
-public TextPadding()
+public TextPadding()
Settings related to text.
### TextPadding.TextPadding
-public TextPadding(float top, float right, float bottom, float left)
+public TextPadding(float top, float right, float bottom, float left)
## TextStyle
@@ -8289,38 +8289,38 @@ Settings related to text.
### TextStyle.TextStyle()
-public TextStyle()
+public TextStyle()
### TextStyle.Copy
-public void Copy(TextStyle textStyle)
+public void Copy(TextStyle textStyle)
### TextStyle.GetAlignment
-public TextAnchor GetAlignment(TextAnchor defaultAlignment)
+public TextAnchor GetAlignment(TextAnchor defaultAlignment)
### TextStyle.GetColor
-public Color GetColor(Color defaultColor)
+public Color GetColor(Color defaultColor)
### TextStyle.GetFontSize
-public int GetFontSize(ComponentTheme defaultTheme)
+public int GetFontSize(ComponentTheme defaultTheme)
### TextStyle.TextStyle
-public TextStyle(int fontSize)
+public TextStyle(int fontSize)
-public TextStyle(int fontSize, FontStyle fontStyle)
+public TextStyle(int fontSize, FontStyle fontStyle)
-public TextStyle(int fontSize, FontStyle fontStyle, Color color)
+public TextStyle(int fontSize, FontStyle fontStyle, Color color)
-public TextStyle(int fontSize, FontStyle fontStyle, Color color, int rorate)
+public TextStyle(int fontSize, FontStyle fontStyle, Color color, int rorate)
### TextStyle.UpdateAlignmentByLocation
-public void UpdateAlignmentByLocation(Location location)
+public void UpdateAlignmentByLocation(Location location)
## Theme
@@ -8330,105 +8330,105 @@ Theme.
### Theme.axis
-public AxisTheme axis
+public AxisTheme axis
### Theme.colorPalette
-public List<Color32> colorPalette
+public List<Color32> colorPalette
The color list of palette. If no color is set in series, the colors would be adopted sequentially and circularly from this list as the colors of series.
### Theme.common
-public ComponentTheme common
+public ComponentTheme common
### Theme.dataZoom
-public DataZoomTheme dataZoom
+public DataZoomTheme dataZoom
### Theme.legend
-public LegendTheme legend
+public LegendTheme legend
### Theme.serie
-public SerieTheme serie
+public SerieTheme serie
### Theme.subTitle
-public SubTitleTheme subTitle
+public SubTitleTheme subTitle
### Theme.title
-public TitleTheme title
+public TitleTheme title
### Theme.tooltip
-public TooltipTheme tooltip
+public TooltipTheme tooltip
### Theme.visualMap
-public VisualMapTheme visualMap
+public VisualMapTheme visualMap
### Theme.CheckWarning
-public void CheckWarning(StringBuilder sb)
+public void CheckWarning(StringBuilder sb)
### Theme.CloneTheme
-public Theme CloneTheme()
+public Theme CloneTheme()
克隆主题。
### Theme.CopyTheme
-public void CopyTheme(Theme theme)
+public void CopyTheme(Theme theme)
copy all configurations from theme.
### Theme.GetColor
-public static Color32 GetColor(string hexColorStr)
+public static Color32 GetColor(string hexColorStr)
Convert the html string to color.
### Theme.GetColorStr
-public string GetColorStr(int index)
+public string GetColorStr(int index)
Gets the hexadecimal color string of the specified index from the palette.
### Theme.GetHashCode
-public override int GetHashCode()
+public override int GetHashCode()
### Theme.ResetTheme
-public bool ResetTheme()
+public bool ResetTheme()
Clear all custom configurations.
### Theme.ResetToDarkTheme
-public static void ResetToDarkTheme(Theme theme)
+public static void ResetToDarkTheme(Theme theme)
dark theme.
### Theme.ResetToDefaultTheme
-public static void ResetToDefaultTheme(Theme theme)
+public static void ResetToDefaultTheme(Theme theme)
default theme.
### Theme.SetColorPalette
-public void SetColorPalette(List<string> hexColorStringList)
+public void SetColorPalette(List<string> hexColorStringList)
### Theme.SetDefaultFont
-public void SetDefaultFont()
+public void SetDefaultFont()
### Theme.SyncFontToSubComponent
-public void SyncFontToSubComponent()
+public void SyncFontToSubComponent()
### Theme.SyncTMPFontToSubComponent
-public void SyncTMPFontToSubComponent()
+public void SyncTMPFontToSubComponent()
## ThemeStyle
@@ -8438,70 +8438,70 @@ Theme.
### ThemeStyle.axis
-public AxisTheme axis
+public AxisTheme axis
### ThemeStyle.common
-public ComponentTheme common
+public ComponentTheme common
### ThemeStyle.customColorPalette
-public List<Color32> customColorPalette
+public List<Color32> customColorPalette
### ThemeStyle.dataZoom
-public DataZoomTheme dataZoom
+public DataZoomTheme dataZoom
### ThemeStyle.legend
-public LegendTheme legend
+public LegendTheme legend
### ThemeStyle.serie
-public SerieTheme serie
+public SerieTheme serie
### ThemeStyle.show
-public bool show
+public bool show
### ThemeStyle.subTitle
-public SubTitleTheme subTitle
+public SubTitleTheme subTitle
### ThemeStyle.title
-public TitleTheme title
+public TitleTheme title
### ThemeStyle.tooltip
-public TooltipTheme tooltip
+public TooltipTheme tooltip
### ThemeStyle.visualMap
-public VisualMapTheme visualMap
+public VisualMapTheme visualMap
### ThemeStyle.CheckWarning
-public void CheckWarning(StringBuilder sb)
+public void CheckWarning(StringBuilder sb)
### ThemeStyle.GetBackgroundColor
-public Color32 GetBackgroundColor(Background background)
+public Color32 GetBackgroundColor(Background background)
### ThemeStyle.GetColor
-public static Color32 GetColor(string hexColorStr)
+public static Color32 GetColor(string hexColorStr)
Convert the html string to color.
### ThemeStyle.GetColorStr
-public string GetColorStr(int index)
+public string GetColorStr(int index)
Gets the hexadecimal color string of the specified index from the palette.
### ThemeStyle.SyncSharedThemeColorToCustom
-public void SyncSharedThemeColorToCustom()
+public void SyncSharedThemeColorToCustom()
## ThemeType
@@ -8524,25 +8524,25 @@ Title component, including main title and subtitle.
### Title.show
-public bool show
+public bool show
[default:true] Set this to false to prevent the title from showing.
### Title.text
-public string text
+public string text
The main title text, supporting \n for newlines.
### Title.vertsDirty
-public override bool vertsDirty
+public override bool vertsDirty
### Title.ClearComponentDirty
-public override void ClearComponentDirty()
+public override void ClearComponentDirty()
### Title.OnChanged
-public void OnChanged()
+public void OnChanged()
## TitleStyle
@@ -8556,7 +8556,7 @@ class in XCharts.Runtime / Inherits from: [ComponentTheme](#componenttheme)
### TitleTheme.TitleTheme
-public TitleTheme(ThemeType theme) : base(theme)
+public TitleTheme(ThemeType theme) : base(theme)
## Tooltip
@@ -8566,160 +8566,160 @@ Tooltip component.
### Tooltip.alwayShowContent
-public bool alwayShowContent
+public bool alwayShowContent
Whether to trigger after always display.
### Tooltip.backgroundColor
-public Color backgroundColor
+public Color backgroundColor
The background color of tooltip.
### Tooltip.backgroundImage
-public Sprite backgroundImage
+public Sprite backgroundImage
The background image of tooltip.
### Tooltip.backgroundType
-public Image.Type backgroundType
+public Image.Type backgroundType
The background type of tooltip.
### Tooltip.fixedHeight
-public float fixedHeight
+public float fixedHeight
Fixed height. Higher priority than minHeight.
### Tooltip.fixedWidth
-public float fixedWidth
+public float fixedWidth
Fixed width. Higher priority than minWidth.
### Tooltip.ignoreDataDefaultContent
-public string ignoreDataDefaultContent
+public string ignoreDataDefaultContent
The default display character information for ignored data.
### Tooltip.ignoreDataShow
-public bool ignoreDataShow
+public bool ignoreDataShow
Whether to show ignored data on tooltip.
### Tooltip.itemFormatter
-public string itemFormatter
+public string itemFormatter
a string template formatter for a single Serie or data item content. Support for wrapping lines with \n. Template variables are {.}, {a}, {b}, {c}, {d}.
{.} is the dot of the corresponding color of a Serie that is currently indicated or whose index is 0.
{a} is the series name of the serie that is currently indicated or whose index is 0.
{b} is the name of the data item serieData that is currently indicated or whose index is 0, or a category value (such as the X-axis of a line chart).
{c} is the value of a Y-dimension (dimesion is 1) from a Serie that is currently indicated or whose index is 0.
{d} is the percentage value of Y-dimensions (dimesion is 1) from serie that is currently indicated or whose index is 0, with no % sign.
{e} is the name of the data item serieData that is currently indicated or whose index is 0.
{f} is sum of data.
{y} is category value of y axis.
{.1} represents a dot from serie corresponding color that specifies index as 1.
1 in {a1}, {b1}, {c1} represents a serie that specifies an index of 1.
{c1:2} represents the third data from serie's current indication data item indexed to 1 (a data item has multiple data, index 2 represents the third data).
{c1:2-2} represents the third data item from serie's third data item indexed to 1 (i.e., which data item must be specified to specify).
{d1:2: F2} indicates that a formatted string with a value specified separately is F2 (numericFormatter is used when numericFormatter is not specified).
{d:0.##} indicates that a formatted string with a value specified separately is 0.## (used for percentage, reserved 2 valid digits while avoiding the situation similar to "100.00%" when using f2 ).
Example: "{a}, {c}", "{a1}, {c1: f1}", "{a1}, {c1:0: f1}", "{a1} : {c1:1-1: f1}"
### Tooltip.marker
-public string marker
+public string marker
the marker of serie.
### Tooltip.minHeight
-public float minHeight
+public float minHeight
Minimum height. If fixedHeight has a value, take priority over fixedHeight.
### Tooltip.minWidth
-public float minWidth
+public float minWidth
Minimum width. If fixedWidth has a value, get fixedWidth first.
### Tooltip.offset
-public Vector2 offset
+public Vector2 offset
The position offset of tooltip relative to the mouse position.
### Tooltip.onClickIndex
-public System.Action<int> onClickIndex
+public System.Action<int> onClickIndex
the callback of tooltip click index.
### Tooltip.paddingLeftRight
-public int paddingLeftRight
+public int paddingLeftRight
the text padding of left and right. defaut:5.
### Tooltip.paddingTopBottom
-public int paddingTopBottom
+public int paddingTopBottom
the text padding of top and bottom. defaut:5.
### Tooltip.runtimeDataIndex
-public List<int> runtimeDataIndex
+public List<int> runtimeDataIndex
The data index currently indicated by Tooltip.
### Tooltip.showContent
-public bool showContent
+public bool showContent
Whether to show the tooltip floating layer, whose default value is true. It should be configurated to be false, if you only need tooltip to trigger the event or show the axisPointer without content.
### Tooltip.titleFormatter
-public string titleFormatter
+public string titleFormatter
String template formatter for tooltip title content. \n line wrapping is supported. The placeholder {i} can be set separately to indicate that title is ignored and not displayed. Template variables are {.}, {a}, {b}, {c}, {d}, {e}, {f}, and {g}.
{.} is the dot of the corresponding color of serie currently indicated or index 0.
{a} is the series name name of serie currently indicated or index 0.
{b} is the name of the serie data item serieData currently indicated or index 0, or the category value (such as the X-axis of a line chart).
{c} is the value of the serie y-dimension (dimesion is 1) currently indicated or index is 0.
{d} is the serie y-dimensional (dimesion 1) percentage value of the currently indicated or index 0, note without the % sign.
{e} is the name of the serie data item serieData currently indicated or whose index is 0.
{h} is the hexadecimal color value of serieData for the serie data item currently indicated or index 0.
{f} is the sum of data.
{g} indicates the total number of data.
{y} is category value of y axis.
{.1} represents a dot of the corresponding color with serie specified as index 1.
The 1 in {a1}, {b1}, {c1} represents serie where index is specified as 1.
{c1:2} represents the third data of the current indicator data item in serie with index 1 (one data item has multiple data, index 2 represents the third data).
{c1:2-2} represents the third data of serie third data item with index 1 (that is, the number of data items must be specified when specifying the number of data items).
{d1:2:f2} indicates that a format string with a single value is f2 (numericFormatter is used if no value is specified).
{d:0.##} indicates that the format string with a value specified alone is 0.## # (for percentages, preserving a 2-digit significant number while avoiding the "100.00%" situation with f2).
example: "{a}, {c}", "{a1}, {c1: f1}", "{a1}, {c1:0: f1}", "{a1}, {c1:1-1: f1}"
### Tooltip.AddSerieDataIndex
-public void AddSerieDataIndex(int serieIndex, int dataIndex)
+public void AddSerieDataIndex(int serieIndex, int dataIndex)
### Tooltip.ClearComponentDirty
-public override void ClearComponentDirty()
+public override void ClearComponentDirty()
### Tooltip.ClearData
-public override void ClearData()
+public override void ClearData()
### Tooltip.ClearSerieDataIndex
-public void ClearSerieDataIndex()
+public void ClearSerieDataIndex()
### Tooltip.GetContentLabelStyle
-public LabelStyle GetContentLabelStyle(int index)
+public LabelStyle GetContentLabelStyle(int index)
### Tooltip.IsActive
-public bool IsActive()
+public bool IsActive()
提示框是否显示
### Tooltip.isAnySerieDataIndex
-public bool isAnySerieDataIndex()
+public bool isAnySerieDataIndex()
### Tooltip.IsSelected
-public bool IsSelected(int index)
+public bool IsSelected(int index)
指定索引的数据项是否被提示框选中
### Tooltip.IsTriggerAxis
-public bool IsTriggerAxis()
+public bool IsTriggerAxis()
### Tooltip.IsTriggerItem
-public bool IsTriggerItem()
+public bool IsTriggerItem()
### Tooltip.KeepTop
-public void KeepTop()
+public void KeepTop()
Keep Tooltiop displayed at the top.
### Tooltip.SetActive
-public void SetActive(bool flag)
+public void SetActive(bool flag)
设置Tooltip组件是否显示
### Tooltip.SetContentActive
-public void SetContentActive(bool flag)
+public void SetContentActive(bool flag)
设置文本框是否显示
### Tooltip.UpdateContentPos
-public void UpdateContentPos(Vector2 pos, float width, float height)
+public void UpdateContentPos(Vector2 pos, float width, float height)
更新文本框位置
## Tooltip.Position
@@ -8787,19 +8787,19 @@ class in XCharts.Runtime
### TooltipHelper.GetItemNumericFormatter
-public static string GetItemNumericFormatter(Tooltip tooltip, Serie serie, SerieData serieData)
+public static string GetItemNumericFormatter(Tooltip tooltip, Serie serie, SerieData serieData)
### TooltipHelper.GetLineColor
-public static Color32 GetLineColor(Tooltip tooltip, Color32 defaultColor)
+public static Color32 GetLineColor(Tooltip tooltip, Color32 defaultColor)
### TooltipHelper.IsIgnoreFormatter
-public static bool IsIgnoreFormatter(string itemFormatter)
+public static bool IsIgnoreFormatter(string itemFormatter)
### TooltipHelper.LimitInRect
-public static void LimitInRect(Tooltip tooltip, Rect chartRect)
+public static void LimitInRect(Tooltip tooltip, Rect chartRect)
## TooltipTheme
@@ -8807,11 +8807,11 @@ class in XCharts.Runtime / Inherits from: [ComponentTheme](#componenttheme)
### TooltipTheme.Copy
-public void Copy(TooltipTheme theme)
+public void Copy(TooltipTheme theme)
### TooltipTheme.TooltipTheme
-public TooltipTheme(ThemeType theme) : base(theme)
+public TooltipTheme(ThemeType theme) : base(theme)
## TooltipView
@@ -8819,31 +8819,31 @@ class in XCharts.Runtime
### TooltipView.CreateView
-public static TooltipView CreateView(Tooltip tooltip, ThemeStyle theme, Transform parent)
+public static TooltipView CreateView(Tooltip tooltip, ThemeStyle theme, Transform parent)
### TooltipView.GetCurrentPos
-public Vector3 GetCurrentPos()
+public Vector3 GetCurrentPos()
### TooltipView.GetTargetPos
-public Vector3 GetTargetPos()
+public Vector3 GetTargetPos()
### TooltipView.Refresh
-public void Refresh()
+public void Refresh()
### TooltipView.SetActive
-public void SetActive(bool flag)
+public void SetActive(bool flag)
### TooltipView.Update
-public void Update()
+public void Update()
### TooltipView.UpdatePosition
-public void UpdatePosition(Vector3 pos)
+public void UpdatePosition(Vector3 pos)
## TooltipViewItem
@@ -8857,72 +8857,72 @@ UGUI Graphics Library.
### UGL.DrawDiamond
-public static void DrawDiamond(VertexHelper vh, Vector3 center, float size, Color32 color, Color32 toColor)
+public static void DrawDiamond(VertexHelper vh, Vector3 center, float size, Color32 color, Color32 toColor)
Draw a diamond. 画菱形(钻石形状)
-public static void DrawDiamond(VertexHelper vh, Vector3 center, float xRadius, float yRadius, Color32 color, Color32 toColor)
+public static void DrawDiamond(VertexHelper vh, Vector3 center, float xRadius, float yRadius, Color32 color, Color32 toColor)
### UGL.DrawEllipse
-public static void DrawEllipse(VertexHelper vh, Vector3 center, float w, float h, Color32 color, float smoothness = 1)
+public static void DrawEllipse(VertexHelper vh, Vector3 center, float w, float h, Color32 color, float smoothness = 1)
### UGL.DrawEmptyDiamond
-public static void DrawEmptyDiamond(VertexHelper vh, Vector3 center, float xRadius, float yRadius, float tickness, Color32 color, Color32 emptyColor)
+public static void DrawEmptyDiamond(VertexHelper vh, Vector3 center, float xRadius, float yRadius, float tickness, Color32 color, Color32 emptyColor)
### UGL.DrawEmptyTriangle
-public static void DrawEmptyTriangle(VertexHelper vh, Vector3 pos, float size, float tickness, Color32 color, Color32 backgroundColor)
+public static void DrawEmptyTriangle(VertexHelper vh, Vector3 pos, float size, float tickness, Color32 color, Color32 backgroundColor)
### UGL.DrawLine
-public static void DrawLine(VertexHelper vh, List<Vector3> points, float width, Color32 color, bool smooth, bool closepath = false)
+public static void DrawLine(VertexHelper vh, List<Vector3> points, float width, Color32 color, bool smooth, bool closepath = false)
-public static void DrawLine(VertexHelper vh, Vector3 startPoint, Vector3 endPoint, float width, Color32 color, Color32 toColor)
+public static void DrawLine(VertexHelper vh, Vector3 startPoint, Vector3 endPoint, float width, Color32 color, Color32 toColor)
Draw a line. 画直线
### UGL.DrawMinus
-public static void DrawMinus(VertexHelper vh, Vector3 center, float radius, float tickness, Color32 color)
+public static void DrawMinus(VertexHelper vh, Vector3 center, float radius, float tickness, Color32 color)
Draw minus sign.
### UGL.DrawPlus
-public static void DrawPlus(VertexHelper vh, Vector3 center, float radius, float tickness, Color32 color)
+public static void DrawPlus(VertexHelper vh, Vector3 center, float radius, float tickness, Color32 color)
Draw plus sign.
### UGL.DrawPolygon
-public static void DrawPolygon(VertexHelper vh, List<Vector3> points, Color32 color)
+public static void DrawPolygon(VertexHelper vh, List<Vector3> points, Color32 color)
填充任意多边形(目前只支持凸多边形)
### UGL.DrawRectangle
-public static void DrawRectangle(VertexHelper vh, Rect rect, Color32 color)
+public static void DrawRectangle(VertexHelper vh, Rect rect, Color32 color)
-public static void DrawRectangle(VertexHelper vh, Rect rect, Color32 color, Color32 toColor)
+public static void DrawRectangle(VertexHelper vh, Rect rect, Color32 color, Color32 toColor)
-public static void DrawRectangle(VertexHelper vh, Rect rect, float border, Color32 color)
+public static void DrawRectangle(VertexHelper vh, Rect rect, float border, Color32 color)
-public static void DrawRectangle(VertexHelper vh, Rect rect, float border, Color32 color, Color32 toColor)
+public static void DrawRectangle(VertexHelper vh, Rect rect, float border, Color32 color, Color32 toColor)
### UGL.DrawSquare
-public static void DrawSquare(VertexHelper vh, Vector3 center, float radius, Color32 color)
+public static void DrawSquare(VertexHelper vh, Vector3 center, float radius, Color32 color)
Draw a square. 画正方形
### UGL.DrawSvgPath
-public static void DrawSvgPath(VertexHelper vh, string path)
+public static void DrawSvgPath(VertexHelper vh, string path)
### UGL.DrawTriangle
-public static void DrawTriangle(VertexHelper vh, Vector3 pos, float size, Color32 color, Color32 toColor)
+public static void DrawTriangle(VertexHelper vh, Vector3 pos, float size, Color32 color, Color32 toColor)
## UGL.Direction
@@ -8947,84 +8947,84 @@ class in XUGL
### UGLHelper.GetAngle360
-public static float GetAngle360(Vector2 from, Vector2 to)
+public static float GetAngle360(Vector2 from, Vector2 to)
获得0-360的角度(12点钟方向为0度)
### UGLHelper.GetBezier
-public static Vector3 GetBezier(float t, Vector3 sp, Vector3 cp, Vector3 ep)
+public static Vector3 GetBezier(float t, Vector3 sp, Vector3 cp, Vector3 ep)
### UGLHelper.GetBezier2
-public static Vector3 GetBezier2(float t, Vector3 sp, Vector3 p1, Vector3 p2, Vector3 ep)
+public static Vector3 GetBezier2(float t, Vector3 sp, Vector3 p1, Vector3 p2, Vector3 ep)
### UGLHelper.GetBezierList
-public static List<Vector3> GetBezierList(Vector3 sp, Vector3 ep, int segment, Vector3 cp)
+public static List<Vector3> GetBezierList(Vector3 sp, Vector3 ep, int segment, Vector3 cp)
### UGLHelper.GetDire
-public static Vector3 GetDire(float angle, bool isDegree = false)
+public static Vector3 GetDire(float angle, bool isDegree = false)
### UGLHelper.GetIntersection
-public static bool GetIntersection(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 p4, ref List<Vector3> intersection)
+public static bool GetIntersection(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 p4, ref List<Vector3> intersection)
获得两直线的交点
### UGLHelper.GetPos
-public static Vector3 GetPos(Vector3 center, float radius, float angle, bool isDegree = false)
+public static Vector3 GetPos(Vector3 center, float radius, float angle, bool isDegree = false)
### UGLHelper.GetVertialDire
-public static Vector3 GetVertialDire(Vector3 dire)
+public static Vector3 GetVertialDire(Vector3 dire)
### UGLHelper.IsClearColor
-public static bool IsClearColor(Color color)
+public static bool IsClearColor(Color color)
### UGLHelper.IsPointInPolygon
-public static bool IsPointInPolygon(Vector3 p, List<Vector2> polyons)
+public static bool IsPointInPolygon(Vector3 p, List<Vector2> polyons)
-public static bool IsPointInPolygon(Vector3 p, params Vector3[] polyons)
+public static bool IsPointInPolygon(Vector3 p, params Vector3[] polyons)
### UGLHelper.IsPointInTriangle
-public static bool IsPointInTriangle(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 check)
+public static bool IsPointInTriangle(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 check)
### UGLHelper.IsValueEqualsColor
-public static bool IsValueEqualsColor(Color color1, Color color2)
+public static bool IsValueEqualsColor(Color color1, Color color2)
### UGLHelper.IsValueEqualsList<T>
-public static bool IsValueEqualsList<T>(List<T> list1, List<T> list2)
+public static bool IsValueEqualsList<T>(List<T> list1, List<T> list2)
### UGLHelper.IsValueEqualsString
-public static bool IsValueEqualsString(string str1, string str2)
+public static bool IsValueEqualsString(string str1, string str2)
### UGLHelper.IsValueEqualsVector2
-public static bool IsValueEqualsVector2(Vector2 v1, Vector2 v2)
+public static bool IsValueEqualsVector2(Vector2 v1, Vector2 v2)
### UGLHelper.IsValueEqualsVector3
-public static bool IsValueEqualsVector3(Vector3 v1, Vector2 v2)
+public static bool IsValueEqualsVector3(Vector3 v1, Vector2 v2)
### UGLHelper.IsZeroVector
-public static bool IsZeroVector(Vector3 pos)
+public static bool IsZeroVector(Vector3 pos)
### UGLHelper.RotateRound
-public static Vector3 RotateRound(Vector3 position, Vector3 center, Vector3 axis, float angle)
+public static Vector3 RotateRound(Vector3 position, Vector3 center, Vector3 axis, float angle)
## UIComponent
@@ -9034,35 +9034,35 @@ UI组件基类。
### UIComponent.background
-public Background background
+public Background background
背景样式。
### UIComponent.chartHideFlags
-public override HideFlags chartHideFlags
+public override HideFlags chartHideFlags
### UIComponent.theme
-public UIComponentTheme theme
+public UIComponentTheme theme
### UIComponent.SetAllDirty
-public override void SetAllDirty()
+public override void SetAllDirty()
### UIComponent.SetDataDirty
-public void SetDataDirty()
+public void SetDataDirty()
> Since `v3.9.0`
### UIComponent.SetVerticesDirty
-public override void SetVerticesDirty()
+public override void SetVerticesDirty()
### UIComponent.UpdateTheme
-public bool UpdateTheme(ThemeType theme)
+public bool UpdateTheme(ThemeType theme)
Update chart theme.
## UIComponentTheme
@@ -9071,11 +9071,11 @@ class in XCharts.Runtime / Inherits from: [ChildComponent](#childcomponent)
### UIComponentTheme.show
-public bool show
+public bool show
### UIComponentTheme.GetBackgroundColor
-public Color32 GetBackgroundColor(Background background)
+public Color32 GetBackgroundColor(Background background)
## UIHelper
@@ -9099,80 +9099,80 @@ VisualMap component. Mapping data to visual elements such as colors.
### VisualMap.range
-public double[] range
+public double[] range
Specifies the position of the numeric value corresponding to the handle. Range should be within the range of [min,max].
### VisualMap.runtimeRangeMaxHeight
-public float runtimeRangeMaxHeight
+public float runtimeRangeMaxHeight
### VisualMap.runtimeRangeMinHeight
-public float runtimeRangeMinHeight
+public float runtimeRangeMinHeight
### VisualMap.text
-public string[] text
+public string[] text
Text on both ends.
### VisualMap.textGap
-public float[] textGap
+public float[] textGap
The distance between the two text bodies.
### VisualMap.vertsDirty
-public override bool vertsDirty
+public override bool vertsDirty
### VisualMap.AddColors
-public void AddColors(List<string> colors)
+public void AddColors(List<string> colors)
### VisualMap.ClearComponentDirty
-public override void ClearComponentDirty()
+public override void ClearComponentDirty()
### VisualMap.ClearVerticesDirty
-public override void ClearVerticesDirty()
+public override void ClearVerticesDirty()
### VisualMap.GetColor
-public Color32 GetColor(double value)
+public Color32 GetColor(double value)
### VisualMap.GetIndex
-public int GetIndex(double value)
+public int GetIndex(double value)
### VisualMap.GetValue
-public double GetValue(Vector3 pos, Rect chartRect)
+public double GetValue(Vector3 pos, Rect chartRect)
### VisualMap.IsInRangeMaxRect
-public bool IsInRangeMaxRect(Vector3 local, Rect chartRect, float triangleLen)
+public bool IsInRangeMaxRect(Vector3 local, Rect chartRect, float triangleLen)
### VisualMap.IsInRangeMinRect
-public bool IsInRangeMinRect(Vector3 local, Rect chartRect, float triangleLen)
+public bool IsInRangeMinRect(Vector3 local, Rect chartRect, float triangleLen)
### VisualMap.IsInRangeRect
-public bool IsInRangeRect(Vector3 local, Rect chartRect)
+public bool IsInRangeRect(Vector3 local, Rect chartRect)
### VisualMap.IsInRect
-public bool IsInRect(Vector3 local, Rect chartRect, float triangleLen = 20)
+public bool IsInRect(Vector3 local, Rect chartRect, float triangleLen = 20)
### VisualMap.IsInSelectedValue
-public bool IsInSelectedValue(double value)
+public bool IsInSelectedValue(double value)
### VisualMap.IsPiecewise
-public bool IsPiecewise()
+public bool IsPiecewise()
## VisualMap.SelectedMode
@@ -9202,28 +9202,28 @@ class in XCharts.Runtime / Inherits from: [MainComponentContext](#maincomponentc
### VisualMapContext.max
-public double max
+public double max
### VisualMapContext.maxDrag
-public bool maxDrag
+public bool maxDrag
### VisualMapContext.min
-public double min
+public double min
### VisualMapContext.minDrag
-public bool minDrag
+public bool minDrag
### VisualMapContext.pointerIndex
-public int pointerIndex
+public int pointerIndex
鼠标悬停选中的index
### VisualMapContext.pointerValue
-public double pointerValue
+public double pointerValue
## VisualMapHelper
@@ -9231,27 +9231,27 @@ class in XCharts.Runtime
### VisualMapHelper.AutoSetLineMinMax
-public static void AutoSetLineMinMax(VisualMap visualMap, Serie serie, bool isY, Axis axis, Axis relativedAxis)
+public static void AutoSetLineMinMax(VisualMap visualMap, Serie serie, bool isY, Axis axis, Axis relativedAxis)
### VisualMapHelper.GetDimension
-public static int GetDimension(VisualMap visualMap, int defaultDimension)
+public static int GetDimension(VisualMap visualMap, int defaultDimension)
### VisualMapHelper.IsNeedAreaGradient
-public static bool IsNeedAreaGradient(VisualMap visualMap)
+public static bool IsNeedAreaGradient(VisualMap visualMap)
### VisualMapHelper.IsNeedGradient
-public static bool IsNeedGradient(VisualMap visualMap)
+public static bool IsNeedGradient(VisualMap visualMap)
### VisualMapHelper.IsNeedLineGradient
-public static bool IsNeedLineGradient(VisualMap visualMap)
+public static bool IsNeedLineGradient(VisualMap visualMap)
### VisualMapHelper.SetMinMax
-public static void SetMinMax(VisualMap visualMap, double min, double max)
+public static void SetMinMax(VisualMap visualMap, double min, double max)
## VisualMapRange
@@ -9259,27 +9259,27 @@ class in XCharts.Runtime / Inherits from: [ChildComponent](#childcomponent)
### VisualMapRange.color
-public Color32 color
+public Color32 color
颜色
### VisualMapRange.label
-public string label
+public string label
文字描述
### VisualMapRange.max
-public double max
+public double max
范围最大值
### VisualMapRange.min
-public double min
+public double min
范围最小值
### VisualMapRange.Contains
-public bool Contains(double value, double minMaxRange)
+public bool Contains(double value, double minMaxRange)
## VisualMapTheme
@@ -9287,11 +9287,11 @@ class in XCharts.Runtime / Inherits from: [ComponentTheme](#componenttheme)
### VisualMapTheme.Copy
-public void Copy(VisualMapTheme theme)
+public void Copy(VisualMapTheme theme)
### VisualMapTheme.VisualMapTheme
-public VisualMapTheme(ThemeType theme) : base(theme)
+public VisualMapTheme(ThemeType theme) : base(theme)
## Wrapper<T>
@@ -9305,7 +9305,7 @@ The x axis in cartesian(rectangular) coordinate.
### XAxis.SetDefaultValue
-public override void SetDefaultValue()
+public override void SetDefaultValue()
The x axis in cartesian(rectangular) coordinate.
## XAxis3D
@@ -9318,7 +9318,7 @@ The x axis in cartesian(rectangular) coordinate.
### XAxis3D.SetDefaultValue
-public override void SetDefaultValue()
+public override void SetDefaultValue()
The x axis in cartesian(rectangular) coordinate.
## XChartsMgr
@@ -9327,44 +9327,44 @@ class in XCharts.Runtime
### XChartsMgr.fullVersion
-public static string fullVersion
+public static string fullVersion
### XChartsMgr.AddChart
-public static void AddChart(BaseChart chart)
+public static void AddChart(BaseChart chart)
### XChartsMgr.ContainsChart
-public static bool ContainsChart(BaseChart chart)
+public static bool ContainsChart(BaseChart chart)
### XChartsMgr.GetChart
-public static BaseChart GetChart(string chartName)
+public static BaseChart GetChart(string chartName)
### XChartsMgr.GetCharts
-public static List<BaseChart> GetCharts(string chartName)
+public static List<BaseChart> GetCharts(string chartName)
### XChartsMgr.GetPackageFullPath
-public static string GetPackageFullPath()
+public static string GetPackageFullPath()
### XChartsMgr.GetRepeatChartNameInfo
-public static string GetRepeatChartNameInfo(BaseChart chart, string chartName)
+public static string GetRepeatChartNameInfo(BaseChart chart, string chartName)
### XChartsMgr.IsRepeatChartName
-public static bool IsRepeatChartName(BaseChart chart, string chartName = null)
+public static bool IsRepeatChartName(BaseChart chart, string chartName = null)
### XChartsMgr.RemoveAllChartObject
-public static void RemoveAllChartObject()
+public static void RemoveAllChartObject()
### XChartsMgr.RemoveChart
-public static void RemoveChart(string chartName)
+public static void RemoveChart(string chartName)
## XCResourceImporterWindow
@@ -9372,7 +9372,7 @@ class in XCharts.Runtime / Inherits from: [UnityEditor.EditorWindow](https://doc
### XCResourceImporterWindow.ShowPackageImporterWindow
-public static void ShowPackageImporterWindow()
+public static void ShowPackageImporterWindow()
## XCResourcesImporter
@@ -9380,23 +9380,23 @@ class in XCharts.Runtime
### XCResourcesImporter.OnDestroy()
-public void OnDestroy()
+public void OnDestroy()
### XCResourcesImporter.XCResourcesImporter()
-public XCResourcesImporter()
+public XCResourcesImporter()
### XCResourcesImporter.OnDestroy
-public void OnDestroy() { }
+public void OnDestroy() { }
### XCResourcesImporter.OnGUI
-public void OnGUI()
+public void OnGUI()
### XCResourcesImporter.XCResourcesImporter
-public XCResourcesImporter() { }
+public XCResourcesImporter() { }
## XCSettings
@@ -9404,156 +9404,156 @@ class in XCharts.Runtime / Inherits from: [ScriptableObject](https://docs.unity3
### XCSettings.axisLineType
-public static LineStyle.Type axisLineType
+public static LineStyle.Type axisLineType
### XCSettings.axisLineWidth
-public static float axisLineWidth
+public static float axisLineWidth
### XCSettings.axisSplitLineType
-public static LineStyle.Type axisSplitLineType
+public static LineStyle.Type axisSplitLineType
### XCSettings.axisSplitLineWidth
-public static float axisSplitLineWidth
+public static float axisSplitLineWidth
### XCSettings.axisTickLength
-public static float axisTickLength
+public static float axisTickLength
### XCSettings.axisTickWidth
-public static float axisTickWidth
+public static float axisTickWidth
### XCSettings.cicleSmoothness
-public static float cicleSmoothness
+public static float cicleSmoothness
### XCSettings.customThemes
-public static List<Theme> customThemes
+public static List<Theme> customThemes
### XCSettings.dataZoomBorderWidth
-public static float dataZoomBorderWidth
+public static float dataZoomBorderWidth
### XCSettings.dataZoomDataLineWidth
-public static float dataZoomDataLineWidth
+public static float dataZoomDataLineWidth
### XCSettings.editorShowAllListData
-public static bool editorShowAllListData
+public static bool editorShowAllListData
### XCSettings.font
-public static Font font
+public static Font font
### XCSettings.fontSizeLv1
-public static int fontSizeLv1
+public static int fontSizeLv1
一级字体大小。
### XCSettings.fontSizeLv2
-public static int fontSizeLv2
+public static int fontSizeLv2
### XCSettings.fontSizeLv3
-public static int fontSizeLv3
+public static int fontSizeLv3
### XCSettings.fontSizeLv4
-public static int fontSizeLv4
+public static int fontSizeLv4
### XCSettings.gaugeAxisLineWidth
-public static float gaugeAxisLineWidth
+public static float gaugeAxisLineWidth
### XCSettings.gaugeAxisSplitLineLength
-public static float gaugeAxisSplitLineLength
+public static float gaugeAxisSplitLineLength
### XCSettings.gaugeAxisSplitLineWidth
-public static float gaugeAxisSplitLineWidth
+public static float gaugeAxisSplitLineWidth
### XCSettings.gaugeAxisTickLength
-public static float gaugeAxisTickLength
+public static float gaugeAxisTickLength
### XCSettings.gaugeAxisTickWidth
-public static float gaugeAxisTickWidth
+public static float gaugeAxisTickWidth
### XCSettings.lang
-public static Lang lang
+public static Lang lang
### XCSettings.lineSegmentDistance
-public static float lineSegmentDistance
+public static float lineSegmentDistance
### XCSettings.lineSmoothness
-public static float lineSmoothness
+public static float lineSmoothness
### XCSettings.lineSmoothStyle
-public static float lineSmoothStyle
+public static float lineSmoothStyle
### XCSettings.maxPainter
-public static int maxPainter
+public static int maxPainter
### XCSettings.serieCandlestickBorderWidth
-public static float serieCandlestickBorderWidth
+public static float serieCandlestickBorderWidth
### XCSettings.serieLineSymbolSize
-public static float serieLineSymbolSize
+public static float serieLineSymbolSize
### XCSettings.serieLineWidth
-public static float serieLineWidth
+public static float serieLineWidth
### XCSettings.serieScatterSymbolSize
-public static float serieScatterSymbolSize
+public static float serieScatterSymbolSize
### XCSettings.serieSelectedRate
-public static float serieSelectedRate
+public static float serieSelectedRate
### XCSettings.tmpFont
-public static TMP_FontAsset tmpFont
+public static TMP_FontAsset tmpFont
### XCSettings.tootipLineWidth
-public static float tootipLineWidth
+public static float tootipLineWidth
### XCSettings.visualMapBorderWidth
-public static float visualMapBorderWidth
+public static float visualMapBorderWidth
### XCSettings.visualMapTriangeLen
-public static float visualMapTriangeLen
+public static float visualMapTriangeLen
### XCSettings.AddCustomTheme
-public static bool AddCustomTheme(Theme theme)
+public static bool AddCustomTheme(Theme theme)
### XCSettings.ExistAssetFile
-public static bool ExistAssetFile()
+public static bool ExistAssetFile()
### XCSettings.GetSettingAssetPath
-public static string GetSettingAssetPath()
+public static string GetSettingAssetPath()
## XCThemeMgr
@@ -9561,51 +9561,51 @@ class in XCharts.Runtime
### XCThemeMgr.AddTheme
-public static void AddTheme(Theme theme)
+public static void AddTheme(Theme theme)
### XCThemeMgr.CheckReloadTheme
-public static void CheckReloadTheme()
+public static void CheckReloadTheme()
### XCThemeMgr.ContainsTheme
-public static bool ContainsTheme(string themeName)
+public static bool ContainsTheme(string themeName)
### XCThemeMgr.ExportTheme
-public static bool ExportTheme(Theme theme)
+public static bool ExportTheme(Theme theme)
### XCThemeMgr.GetAllThemeNames
-public static List<string> GetAllThemeNames()
+public static List<string> GetAllThemeNames()
### XCThemeMgr.GetTheme
-public static Theme GetTheme(string themeName)
+public static Theme GetTheme(string themeName)
### XCThemeMgr.GetThemeAssetPath
-public static string GetThemeAssetPath(string themeName)
+public static string GetThemeAssetPath(string themeName)
### XCThemeMgr.GetThemeList
-public static List<Theme> GetThemeList()
+public static List<Theme> GetThemeList()
### XCThemeMgr.LoadTheme
-public static Theme LoadTheme(string themeName)
+public static Theme LoadTheme(string themeName)
### XCThemeMgr.ReloadThemeList
-public static void ReloadThemeList()
+public static void ReloadThemeList()
重新加载主题列表
### XCThemeMgr.SwitchTheme
-public static void SwitchTheme(BaseChart chart, string themeName)
+public static void SwitchTheme(BaseChart chart, string themeName)
## XLog
@@ -9615,63 +9615,63 @@ Log system. Used to output logs with date and log type, support output to file,
### XLog.CanLog
-public static bool CanLog(int level)
+public static bool CanLog(int level)
### XLog.ClearAllLog
-public static void ClearAllLog()
+public static void ClearAllLog()
### XLog.Debug
-public static void Debug(string log)
+public static void Debug(string log)
### XLog.EnableLog
-public static void EnableLog(int logType)
+public static void EnableLog(int logType)
### XLog.Error
-public static void Error(string log)
+public static void Error(string log)
### XLog.FlushLog
-public static void FlushLog()
+public static void FlushLog()
### XLog.GetNowTime
-public static string GetNowTime(string formatter = null)
+public static string GetNowTime(string formatter = null)
### XLog.GetTimestamp
-public static ulong GetTimestamp()
+public static ulong GetTimestamp()
### XLog.Info
-public static void Info(string log)
+public static void Info(string log)
### XLog.Log
-public static void Log(string log)
+public static void Log(string log)
### XLog.LogError
-public static void LogError(string log)
+public static void LogError(string log)
### XLog.LogWarning
-public static void LogWarning(string log)
+public static void LogWarning(string log)
### XLog.Proto
-public static void Proto(string log)
+public static void Proto(string log)
### XLog.Vital
-public static void Vital(string log)
+public static void Vital(string log)
### XLog.Warning
-public static void Warning(string log)
+public static void Warning(string log)
## YAxis
@@ -9681,7 +9681,7 @@ The x axis in cartesian(rectangular) coordinate.
### YAxis.SetDefaultValue
-public override void SetDefaultValue()
+public override void SetDefaultValue()
The x axis in cartesian(rectangular) coordinate.
## YAxis3D
@@ -9694,7 +9694,7 @@ The x axis in cartesian(rectangular) coordinate.
### YAxis3D.SetDefaultValue
-public override void SetDefaultValue()
+public override void SetDefaultValue()
The x axis in cartesian(rectangular) coordinate.
## ZAxis3D
@@ -9707,6 +9707,6 @@ The x axis in cartesian(rectangular) coordinate.
### ZAxis3D.SetDefaultValue
-public override void SetDefaultValue()
+public override void SetDefaultValue()
The x axis in cartesian(rectangular) coordinate.
diff --git a/Documentation~/en/configuration.md b/Documentation~/en/configuration.md
index 07f2d833..888d7fdd 100644
--- a/Documentation~/en/configuration.md
+++ b/Documentation~/en/configuration.md
@@ -212,7 +212,8 @@ Angle axis of Polar Coordinate.
### AngleAxis.startAngle
-`float` `0`
+`float` `default: 0`
+
Starting angle of axis. 0 degrees by default, standing for right position of center.
## AngleAxisTheme
@@ -269,22 +270,26 @@ the animation info.
### AnimationInfo.delay
-`float` `0` `v3.8.0`
+`float` `default: 0` `v3.8.0`
+
the delay time before animation start.
### AnimationInfo.duration
-`float` `1000` `v3.8.0`
+`float` `default: 1000` `v3.8.0`
+
the duration of animation.
### AnimationInfo.enable
-`bool` `true` `v3.8.0`
+`bool` `default: true` `v3.8.0`
+
whether enable animation.
### AnimationInfo.reverse
-`bool` `false` `v3.8.0`
+`bool` `default: false` `v3.8.0`
+
whether enable reverse animation.
## AnimationInteraction
@@ -298,16 +303,19 @@ Interactive animation of charts.
### AnimationInteraction.offset
`MLValue` `v3.8.0`
+
the mlvalue of offset. Such as the offset of the pie chart when the sector is selected. [MLValue](#mlvalue)
### AnimationInteraction.radius
`MLValue` `v3.8.0`
+
the mlvalue of radius. [MLValue](#mlvalue)
### AnimationInteraction.width
`MLValue` `v3.8.0`
+
the mlvalue of width. [MLValue](#mlvalue)
## AnimationStyle
@@ -319,11 +327,13 @@ the animation of serie. support animation type: fadeIn, fadeOut, change, additio
### AnimationStyle.addition
`AnimationAddition` `v3.8.0`
+
Add data animation configuration. [AnimationAddition](#animationaddition)
### AnimationStyle.change
`AnimationChange` `v3.8.0`
+
Update data animation configuration. [AnimationChange](#animationchange)
### AnimationStyle.easting
@@ -331,43 +341,51 @@ Update data animation configuration. [AnimationChange](#animationchange)
`AnimationEasing`
+
Options:
- `Linear`:
### AnimationStyle.enable
-`bool` `true`
+`bool` `default: true`
+
Whether to enable animation.
### AnimationStyle.fadeIn
`AnimationFadeIn` `v3.8.0`
+
Fade in animation configuration. [AnimationFadeIn](#animationfadein)
### AnimationStyle.fadeOut
`AnimationFadeOut` `v3.8.0`
+
Fade out animation configuration. [AnimationFadeOut](#animationfadeout)
### AnimationStyle.hiding
`AnimationHiding` `v3.8.0`
+
Data hiding animation configuration. [AnimationHiding](#animationhiding)
### AnimationStyle.interaction
`AnimationInteraction` `v3.8.0`
+
Interaction animation configuration. [AnimationInteraction](#animationinteraction)
### AnimationStyle.threshold
-`int` `2000`
+`int` `default: 2000`
+
Whether to set graphic number threshold to animation. Animation will be disabled when graphic number is larger than threshold.
### AnimationStyle.type
`AnimationType`
+
The type of animation.
Options:
@@ -382,6 +400,7 @@ Options:
### AnimationStyle.unscaledTime
`bool` `v3.4.0`
+
Animation updates independently of Time.timeScale.
## AreaStyle
@@ -393,21 +412,25 @@ The style of area.
### AreaStyle.color
`Color32`
+
the color of area,default use serie color.
### AreaStyle.innerFill
`bool` `v3.2.0`
+
Whether to fill only polygonal areas. Currently, only convex polygons are supported.
### AreaStyle.opacity
-`float` `0.6f`
+`float` `default: 0.6f`
+
Opacity of the component. Supports value from 0 to 1, and the component will not be drawn when set to 0.
### AreaStyle.origin
`AreaStyle.AreaOrigin`
+
the origin of area.
Options:
@@ -418,17 +441,20 @@ Options:
### AreaStyle.show
-`bool` `true`
+`bool` `default: true`
+
Set this to false to prevent the areafrom showing.
### AreaStyle.toColor
`Color32`
+
Gradient color, start color to toColor.
### AreaStyle.toTop
-`bool` `true` `v3.6.0`
+`bool` `default: true` `v3.6.0`
+
Whether to fill the gradient color to the top. The default is true, which means that the gradient color is filled to the top. If it is false, the gradient color is filled to the actual position.
## ArrowStyle
@@ -437,27 +463,32 @@ class in XCharts.Runtime / Inherits from: [ChildComponent](#childcomponent)
### ArrowStyle.color
-`Color32` `Color.clear`
+`Color32` `default: Color.clear`
+
the color of arrow.
### ArrowStyle.dent
-`float` `3`
+`float` `default: 3`
+
The dent of arrow.
### ArrowStyle.height
-`float` `15`
+`float` `default: 15`
+
The height of arrow.
### ArrowStyle.offset
-`float` `0`
+`float` `default: 0`
+
The offset of arrow.
### ArrowStyle.width
-`float` `10`
+`float` `default: 10`
+
The widht of arrow.
## Axis
@@ -469,111 +500,133 @@ The axis in rectangular coordinate.
### Axis.animation
`AxisAnimation`
+
animation of axis. [AxisAnimation](#axisanimation)
### Axis.axisLabel
`AxisLabel`
+
axis label. [AxisLabel](#axislabel)
### Axis.axisLine
`AxisLine`
+
axis Line. [AxisLine](#axisline)
### Axis.axisName
`AxisName`
+
axis name. [AxisName](#axisname)
### Axis.axisTick
`AxisTick`
+
axis tick. [AxisTick](#axistick)
### Axis.boundaryGap
-`bool` `true`
+`bool` `default: true`
+
The boundary gap on both sides of a coordinate axis, which is valid only for category axis with type: 'Category'.
### Axis.ceilRate
-`double` `0`
+`double` `default: 0`
+
The ratio of maximum and minimum values rounded upward. The default is 0, which is automatically calculated.
### Axis.clockwise
-`bool` `true`
+`bool` `default: true`
+
Whether the positive position of axis is in clockwise. True for clockwise by default.
### Axis.data
`List`
+
Category data, available in type: 'Category' axis.
### Axis.gridIndex
`int`
+
The index of the grid on which the axis are located, by default, is in the first grid.
### Axis.icons
`List`
+
类目数据对应的图标。
### Axis.indicatorLabel
`LabelStyle` `v3.4.0`
+
Style of axis tooltip indicator label. [LabelStyle](#labelstyle)
### Axis.insertDataToHead
`bool`
+
Whether to add new data at the head or at the end of the list.
### Axis.interval
-`double` `0`
+`double` `default: 0`
+
Compulsively set segmentation interval for axis.This is unavailable for category axis.
### Axis.inverse
-`bool` `false`
+`bool` `default: false`
+
Whether the axis are reversed or not. Invalid in `Category` axis.
### Axis.logBase
-`float` `10`
+`float` `default: 10`
+
Base of logarithm, which is valid only for numeric axes with type: 'Log'.
### Axis.logBaseE
-`bool` `false`
+`bool` `default: false`
+
On the log axis, if base e is the natural number, and is true, logBase fails.
### Axis.max
`double`
+
The maximum value of axis.Valid when `minMaxType` is `Custom`
### Axis.maxCache
-`int` `0`
+`int` `default: 0`
+
The max number of axis data cache.
### Axis.min
`double`
+
The minimun value of axis.Valid when `minMaxType` is `Custom`
### Axis.minCategorySpacing
-`float` `0` `v3.11.0`
+`float` `default: 0` `v3.11.0`
+
The minimum spacing between categories.
### Axis.minMaxType
`Axis.AxisMinMaxType`
+
the type of axis minmax.
Options:
@@ -586,31 +639,37 @@ Options:
### Axis.minorSplitLine
`AxisMinorSplitLine` `v3.2.0`
+
axis minor split line. [AxisMinorSplitLine](#axisminorsplitline)
### Axis.minorTick
`AxisMinorTick` `v3.2.0`
+
axis minor tick. [AxisMinorTick](#axisminortick)
### Axis.offset
`float`
+
the offset of axis from the default position. Useful when the same position has multiple axes.
### Axis.parallelIndex
`int`
+
The index of the parallel on which the axis are located, by default, is in the first parallel.
### Axis.polarIndex
`int`
+
The index of the polar on which the axis are located, by default, is in the first polar.
### Axis.position
`Axis.AxisPosition`
+
the position of axis in grid.
Options:
@@ -623,27 +682,32 @@ Options:
### Axis.show
-`bool` `true`
+`bool` `default: true`
+
Whether to show axis.
### Axis.splitArea
`AxisSplitArea`
+
axis split area. [AxisSplitArea](#axissplitarea)
### Axis.splitLine
`AxisSplitLine`
+
axis split line. [AxisSplitLine](#axissplitline)
### Axis.splitNumber
-`int` `0`
+`int` `default: 0`
+
Number of segments that the axis is split into.
### Axis.type
`Axis.AxisType`
+
the type of axis.
Options:
@@ -664,16 +728,19 @@ animation style of axis.
### AxisAnimation.duration
`float`
+
the duration of animation (ms). When it is set to 0, the animation duration will be automatically calculated according to the serie.
### AxisAnimation.show
-`bool` `true`
+`bool` `default: true`
+
whether to enable animation.
### AxisAnimation.unscaledTime
`bool`
+
Animation updates independently of Time.timeScale.
## AxisLabel
@@ -684,37 +751,44 @@ Settings related to axis label.
### AxisLabel.inside
-`bool` `false`
+`bool` `default: false`
+
Set this to true so the axis labels face the inside direction.
### AxisLabel.interval
-`int` `0`
+`int` `default: 0`
+
The display interval of the axis label.
### AxisLabel.onZero
-`bool` `false`
+`bool` `default: false`
+
刻度标签显示在0刻度上。
### AxisLabel.showAsPositiveNumber
-`bool` `false`
+`bool` `default: false`
+
Show negative number as positive number.
### AxisLabel.showEndLabel
-`bool` `true`
+`bool` `default: true`
+
Whether to display the last label.
### AxisLabel.showStartLabel
-`bool` `true`
+`bool` `default: true`
+
Whether to display the first label.
### AxisLabel.textLimit
`TextLimit`
+
文本限制。 [TextLimit](#textlimit)
## AxisLine
@@ -726,16 +800,19 @@ Settings related to axis line.
### AxisLine.arrow
`ArrowStyle`
+
the arrow of line. [ArrowStyle](#arrowstyle)
### AxisLine.onZero
`bool`
+
When mutiple axes exists, this option can be used to specify which axis can be "onZero" to.
### AxisLine.showArrow
`bool`
+
Whether to show the arrow symbol of axis.
## AxisMinorSplitLine
@@ -749,11 +826,13 @@ Minor split line of axis in grid area.
### AxisMinorSplitLine.autoColor
`bool`
+
auto color.
### AxisMinorSplitLine.distance
`float`
+
The distance between the split line and axis line.
## AxisMinorTick
@@ -768,9 +847,11 @@ Settings related to axis minor tick.
`bool`
+
### AxisMinorTick.splitNumber
-`int` `5`
+`int` `default: 5`
+
Number of segments that the axis is split into.
## AxisName
@@ -782,21 +863,25 @@ the name of axis.
### AxisName.labelStyle
`LabelStyle`
+
The text style of axis name. [LabelStyle](#labelstyle)
### AxisName.name
`string`
+
the name of axis.
### AxisName.onZero
`bool` `v3.1.0`
+
Whether the axis name position are the same with 0 position of YAxis.
### AxisName.show
`bool`
+
Whether to show axis name.
## AxisSplitArea
@@ -808,11 +893,13 @@ Split area of axis in grid area, not shown by default.
### AxisSplitArea.color
`List`
+
Color of split area. SplitArea color could also be set in color array, which the split lines would take as their colors in turns. Dark and light colors in turns are used by default.
### AxisSplitArea.show
`bool`
+
Set this to true to show the splitArea.
## AxisSplitLine
@@ -824,31 +911,37 @@ Split line of axis in grid area.
### AxisSplitLine.autoColor
`bool`
+
auto color.
### AxisSplitLine.distance
`float`
+
The distance between the split line and axis line.
### AxisSplitLine.interval
`int`
+
Interval of Axis splitLine.
### AxisSplitLine.showEndLine
-`bool` `true` `v3.3.0`
+`bool` `default: true` `v3.3.0`
+
Whether to show the last split line.
### AxisSplitLine.showStartLine
-`bool` `true` `v3.3.0`
+`bool` `default: true` `v3.3.0`
+
Whether to show the first split line.
### AxisSplitLine.showZLine
-`bool` `true` `v3.11.0`
+`bool` `default: true` `v3.11.0`
+
Whether to show the Z axis part of the split line. Generally used for 3D coordinate systems.
## AxisTheme
@@ -864,35 +957,42 @@ Settings related to axis tick.
### AxisTick.alignWithLabel
`bool`
+
Align axis tick with label, which is available only when boundaryGap is set to be true in category axis.
### AxisTick.autoColor
`bool`
+
### AxisTick.distance
`float`
+
The distance between the tick line and axis line.
### AxisTick.inside
`bool`
+
Set this to true so the axis labels face the inside direction.
### AxisTick.showEndTick
`bool`
+
Whether to display the last tick.
### AxisTick.showStartTick
`bool`
+
Whether to display the first tick.
### AxisTick.splitNumber
-`int` `0`
+`int` `default: 0`
+
Number of segments that the axis is split into.
## Background
@@ -903,42 +1003,50 @@ Background component.
### Background.autoColor
-`bool` `true`
+`bool` `default: true`
+
Whether to use theme background color for component color when the background component is on.
### Background.borderStyle
`BorderStyle` `v3.10.0`
+
the border style of background. [BorderStyle](#borderstyle)
### Background.image
`Sprite`
+
the image of background.
### Background.imageColor
`Color`
+
背景图颜色。
### Background.imageHeight
-`float` `0` `v3.10.0`
+`float` `default: 0` `v3.10.0`
+
the height of background image.
### Background.imageType
`Image.Type`
+
the fill type of background image.
### Background.imageWidth
-`float` `0` `v3.10.0`
+`float` `default: 0` `v3.10.0`
+
the width of background image.
### Background.show
-`bool` `true`
+`bool` `default: true`
+
Whether to enable the background component.
## Bar
@@ -952,16 +1060,19 @@ class in XCharts.Runtime / Inherits from: [ComponentTheme](#componenttheme) / Su
### BaseAxisTheme.lineColor
`Color32`
+
the color of line.
### BaseAxisTheme.lineLength
-`float` `0f`
+`float` `default: 0f`
+
the length of line.
### BaseAxisTheme.lineType
`LineStyle.Type`
+
the type of line.
Options:
@@ -975,32 +1086,38 @@ Options:
### BaseAxisTheme.lineWidth
-`float` `1f`
+`float` `default: 1f`
+
the width of line.
### BaseAxisTheme.minorSplitLineColor
`Color32`
+
the color of minor split line.
### BaseAxisTheme.splitAreaColors
`List`
+
the colors of split area.
### BaseAxisTheme.splitLineColor
`Color32`
+
the color of split line.
### BaseAxisTheme.splitLineLength
-`float` `0f`
+`float` `default: 0f`
+
the length of split line.
### BaseAxisTheme.splitLineType
`LineStyle.Type`
+
the type of split line.
Options:
@@ -1014,22 +1131,26 @@ Options:
### BaseAxisTheme.splitLineWidth
-`float` `1f`
+`float` `default: 1f`
+
the width of split line.
### BaseAxisTheme.tickColor
`Color32`
+
the color of tick.
### BaseAxisTheme.tickLength
-`float` `5f`
+`float` `default: 5f`
+
the length of tick.
### BaseAxisTheme.tickWidth
-`float` `1f`
+`float` `default: 1f`
+
the width of tick.
## BaseLine
@@ -1041,11 +1162,13 @@ Settings related to base line.
### BaseLine.lineStyle
`LineStyle`
+
线条样式 [LineStyle](#linestyle)
### BaseLine.show
`bool`
+
Set this to false to prevent the axis line from showing.
## BaseScatter
@@ -1075,26 +1198,31 @@ The style of border.
### BorderStyle.borderColor
`Color32`
+
the color of border.
### BorderStyle.borderWidth
`float`
+
the width of border.
### BorderStyle.cornerRadius
`float[]`
+
The radius of rounded corner. Its unit is px. Use array to respectively specify the 4 corner radiuses((clockwise upper left, upper right, bottom right and bottom left)). When is set to (1,1,1,1), all corners are rounded.
### BorderStyle.roundedCorner
-`bool` `true`
+`bool` `default: true`
+
whether the border is rounded corner.
### BorderStyle.show
-`bool` `false`
+`bool` `default: false`
+
whether the border is visible.
## CalendarCoord
@@ -1122,21 +1250,25 @@ comment of chart.
### Comment.items
`List`
+
The items of comment.
### Comment.labelStyle
`LabelStyle`
+
The text style of all comments. [LabelStyle](#labelstyle)
### Comment.markStyle
`CommentMarkStyle`
+
The text style of all comments. [CommentMarkStyle](#commentmarkstyle)
### Comment.show
-`bool` `true`
+`bool` `default: true`
+
Set this to false to prevent the comment from showing.
## CommentItem
@@ -1148,31 +1280,37 @@ comment of chart.
### CommentItem.content
`string`
+
content of comment.
### CommentItem.labelStyle
`LabelStyle`
+
The text style of all comments. [LabelStyle](#labelstyle)
### CommentItem.location
`Location` `v3.5.0`
+
The location of comment. [Location](#location)
### CommentItem.markRect
`Rect`
+
the mark rect of comment.
### CommentItem.markStyle
`CommentMarkStyle`
+
the mark rect style. [CommentMarkStyle](#commentmarkstyle)
### CommentItem.show
-`bool` `true`
+`bool` `default: true`
+
Set this to false to prevent this comment item from showing.
## CommentMarkStyle
@@ -1184,11 +1322,13 @@ the comment mark style.
### CommentMarkStyle.lineStyle
`LineStyle`
+
line style of comment mark area. [LineStyle](#linestyle)
### CommentMarkStyle.show
-`bool` `true`
+`bool` `default: true`
+
Set this to false to prevent this comment item from showing.
## ComponentTheme
@@ -1198,26 +1338,31 @@ class in XCharts.Runtime / Inherits from: [ChildComponent](#childcomponent) / Su
### ComponentTheme.font
`Font`
+
the font of text.
### ComponentTheme.fontSize
-`int` `18`
+`int` `default: 18`
+
the font size of text.
### ComponentTheme.textBackgroundColor
`Color`
+
the color of text.
### ComponentTheme.textColor
`Color`
+
the color of text.
### ComponentTheme.tMPFont
`TMP_FontAsset`
+
the font of chart text。
## CoordSystem
@@ -1235,51 +1380,61 @@ DataZoom component is used for zooming a specific area, which enables user to in
### DataZoom.areaStyle
`AreaStyle`
+
阴影填充样式。 [AreaStyle](#areastyle)
### DataZoom.backgroundColor
`Color32`
+
The background color of the component.
### DataZoom.borderColor
`Color32`
+
the color of dataZoom border.
### DataZoom.borderWidth
`float`
+
边框宽。
### DataZoom.bottom
`float`
+
Distance between dataZoom component and the bottom side of the container. bottom value is a instant pixel value like 10 or float value [0-1].
### DataZoom.enable
-`bool` `true`
+`bool` `default: true`
+
Whether to show dataZoom.
### DataZoom.end
`float`
+
The end percentage of the window out of the data extent, in the range of 0 ~ 100.
### DataZoom.endLock
`bool` `v3.6.0`
+
Lock end value.
### DataZoom.fillerColor
`Color32`
+
the color of dataZoom data area.
### DataZoom.filterMode
`DataZoom.FilterMode`
+
The mode of data filter.
Options:
@@ -1292,31 +1447,37 @@ Options:
### DataZoom.labelStyle
`LabelStyle`
+
label style. [LabelStyle](#labelstyle)
### DataZoom.left
`float`
+
Distance between dataZoom component and the left side of the container. left value is a instant pixel value like 10 or float value [0-1].
### DataZoom.lineStyle
`LineStyle`
+
阴影线条样式。 [LineStyle](#linestyle)
### DataZoom.marqueeStyle
`MarqueeStyle` `v3.5.0`
+
选取框样式。 [MarqueeStyle](#marqueestyle)
### DataZoom.minShowNum
-`int` `2`
+`int` `default: 2`
+
Minimum number of display data. Minimum number of data displayed when DataZoom is enlarged to maximum.
### DataZoom.orient
`Orient`
+
Specify whether the layout of dataZoom component is horizontal or vertical. What's more, it indicates whether the horizontal axis or vertical axis is controlled by default in catesian coordinate system.
Options:
@@ -1327,6 +1488,7 @@ Options:
### DataZoom.rangeMode
`DataZoom.RangeMode`
+
Use absolute value or percent value in DataZoom.start and DataZoom.end.
Options:
@@ -1337,76 +1499,91 @@ Options:
### DataZoom.right
`float`
+
Distance between dataZoom component and the right side of the container. right value is a instant pixel value like 10 or float value [0-1].
### DataZoom.scrollSensitivity
-`float` `1.1f`
+`float` `default: 1.1f`
+
The sensitivity of dataZoom scroll. The larger the number, the more sensitive it is.
### DataZoom.showDataShadow
`bool`
+
Whether to show data shadow, to indicate the data tendency in brief.
### DataZoom.showDetail
`bool`
+
Whether to show detail, that is, show the detailed data information when dragging.
### DataZoom.start
`float`
+
The start percentage of the window out of the data extent, in the range of 0 ~ 100.
### DataZoom.startLock
`bool` `v3.6.0`
+
Lock start value.
### DataZoom.supportInside
`bool`
+
Whether built-in support is supported. Built into the coordinate system to allow the user to zoom in and out of the coordinate system by mouse dragging, mouse wheel, finger swiping (on the touch screen).
### DataZoom.supportInsideDrag
-`bool` `true`
+`bool` `default: true`
+
Whether insde drag is supported.
### DataZoom.supportInsideScroll
-`bool` `true`
+`bool` `default: true`
+
Whether inside scrolling is supported.
### DataZoom.supportMarquee
`bool`
+
Supported Box Selected. Provides a marquee for scaling the data area.
### DataZoom.supportSlider
`bool`
+
Whether a slider is supported. There are separate sliders on which the user zooms or roams.
### DataZoom.top
`float`
+
Distance between dataZoom component and the top side of the container. top value is a instant pixel value like 10 or float value [0-1].
### DataZoom.xAxisIndexs
`List`
+
Specify which xAxis is controlled by the dataZoom.
### DataZoom.yAxisIndexs
`List`
+
Specify which yAxis is controlled by the dataZoom.
### DataZoom.zoomLock
`bool`
+
Specify whether to lock the size of window (selected area).
## DataZoomTheme
@@ -1416,36 +1593,43 @@ class in XCharts.Runtime / Inherits from: [ComponentTheme](#componenttheme)
### DataZoomTheme.backgroundColor
`Color32`
+
the background color of datazoom.
### DataZoomTheme.borderColor
`Color32`
+
the color of dataZoom border.
### DataZoomTheme.borderWidth
`float`
+
the width of border line.
### DataZoomTheme.dataAreaColor
`Color32`
+
the color of data area line.
### DataZoomTheme.dataLineColor
`Color32`
+
the color of data area line.
### DataZoomTheme.dataLineWidth
`float`
+
the width of data line.
### DataZoomTheme.fillerColor
`Color32`
+
the color of dataZoom data area.
## DebugInfo
@@ -1454,27 +1638,32 @@ class in XCharts.Runtime
### DebugInfo.foldSeries
-`bool` `false`
+`bool` `default: false`
+
Whether to fold series in inspector view.
### DebugInfo.labelStyle
`LabelStyle`
+
[LabelStyle](#labelstyle)
### DebugInfo.show
-`bool` `true`
+`bool` `default: true`
+
Whether show debug component.
### DebugInfo.showAllChartObject
-`bool` `false`
+`bool` `default: false`
+
Whether show children components of chart in hierarchy view.
### DebugInfo.showDebugInfo
-`bool` `false`
+`bool` `default: false`
+
## EffectScatter
@@ -1491,6 +1680,7 @@ Configurations of emphasis state.
### EmphasisStyle.blurScope
`EmphasisStyle.BlurScope`
+
The range of fade out when focus is enabled.
Options:
@@ -1502,6 +1692,7 @@ Options:
### EmphasisStyle.focus
`EmphasisStyle.FocusType`
+
When the data is highlighted, whether to fade out of other data to focus the highlighted.
Options:
@@ -1512,7 +1703,8 @@ Options:
### EmphasisStyle.scale
-`float` `1.1f`
+`float` `default: 1.1f`
+
Whether to scale to highlight the data in emphasis state.
## EndLabelStyle
@@ -1528,51 +1720,61 @@ Grid component.
### GridCoord.backgroundColor
`Color32`
+
Background color of grid, which is transparent by default.
### GridCoord.borderColor
`Color32`
+
The color of grid border.
### GridCoord.borderWidth
-`float` `0f`
+`float` `default: 0f`
+
Border width of grid.
### GridCoord.bottom
-`float` `0.14f`
+`float` `default: 0.14f`
+
Distance between grid component and the bottom side of the container.
### GridCoord.layoutIndex
-`int` `-1` `v3.8.0`
+`int` `default: -1` `v3.8.0`
+
The index of the grid layout component to which the grid belongs. The default is -1, which means that it does not belong to any grid layout component. When this value is set, the left, right, top, and bottom properties will be invalid.
### GridCoord.left
-`float` `0.11f`
+`float` `default: 0.11f`
+
Distance between grid component and the left side of the container.
### GridCoord.right
-`float` `0.08f`
+`float` `default: 0.08f`
+
Distance between grid component and the right side of the container.
### GridCoord.show
-`bool` `true`
+`bool` `default: true`
+
Whether to show the grid in rectangular coordinate.
### GridCoord.showBorder
-`bool` `false`
+`bool` `default: false`
+
Whether to show the grid border.
### GridCoord.top
-`float` `0.22f`
+`float` `default: 0.22f`
+
Distance between grid component and the top side of the container.
## GridCoord3D
@@ -1585,57 +1787,68 @@ Grid component.
### GridCoord3D.bottom
-`float` `0.15f`
+`float` `default: 0.15f`
+
Distance between grid component and the bottom side of the container.
### GridCoord3D.boxDepth
-`float` `0.2f`
+`float` `default: 0.2f`
+
The depth of the box in the coordinate system.
### GridCoord3D.boxHeight
-`float` `0.4f`
+`float` `default: 0.4f`
+
The height of the box in the coordinate system.
### GridCoord3D.boxWidth
-`float` `0.55f`
+`float` `default: 0.55f`
+
The width of the box in the coordinate system.
### GridCoord3D.left
-`float` `0.15f`
+`float` `default: 0.15f`
+
Distance between grid component and the left side of the container.
### GridCoord3D.right
-`float` `0.2f`
+`float` `default: 0.2f`
+
Distance between grid component and the right side of the container.
### GridCoord3D.show
-`bool` `true`
+`bool` `default: true`
+
Whether to show the grid in rectangular coordinate.
### GridCoord3D.showBorder
-`bool` `false`
+`bool` `default: false`
+
Whether to show the grid border.
### GridCoord3D.top
-`float` `0.3f`
+`float` `default: 0.3f`
+
Distance between grid component and the top side of the container.
### GridCoord3D.viewControl
`ViewControl`
+
View control component in 3D coordinate system. [ViewControl](#viewcontrol)
### GridCoord3D.xYExchanged
-`bool` `false`
+`bool` `default: false`
+
## GridLayout
@@ -1647,47 +1860,56 @@ Grid layout component. Used to manage the layout of multiple `GridCoord`, and th
### GridLayout.bottom
-`float` `0.12f`
+`float` `default: 0.12f`
+
Distance between grid component and the bottom side of the container.
### GridLayout.column
-`int` `2`
+`int` `default: 2`
+
the column count of grid layout.
### GridLayout.inverse
-`bool` `false`
+`bool` `default: false`
+
Whether to inverse the grid layout.
### GridLayout.left
-`float` `0.1f`
+`float` `default: 0.1f`
+
Distance between grid component and the left side of the container.
### GridLayout.right
-`float` `0.08f`
+`float` `default: 0.08f`
+
Distance between grid component and the right side of the container.
### GridLayout.row
-`int` `2`
+`int` `default: 2`
+
the row count of grid layout.
### GridLayout.show
-`bool` `true`
+`bool` `default: true`
+
Whether to show the grid in rectangular coordinate.
### GridLayout.spacing
-`Vector2` `Vector2.zero`
+`Vector2` `default: Vector2.zero`
+
the spacing of grid layout.
### GridLayout.top
-`float` `0.22f`
+`float` `default: 0.22f`
+
Distance between grid component and the top side of the container.
## Heatmap
@@ -1697,6 +1919,7 @@ class in XCharts.Runtime / Inherits from: [Serie](#serie), [INeedSerieContainer]
### Heatmap.heatmapType
`HeatmapType` `v3.3.0`
+
The mapping type of heatmap.
Options:
@@ -1711,6 +1934,7 @@ class in XCharts.Runtime / Inherits from: [ChildComponent](#childcomponent)
### IconStyle.align
`Align`
+
水平方向对齐方式。
Options:
@@ -1721,22 +1945,26 @@ Options:
### IconStyle.autoHideWhenLabelEmpty
-`bool` `false`
+`bool` `default: false`
+
当label内容为空时是否自动隐藏图标
### IconStyle.color
`Color`
+
图标颜色。
### IconStyle.height
-`float` `20`
+`float` `default: 20`
+
图标高。
### IconStyle.layer
`IconStyle.Layer`
+
显示在上层还是在下层。
Options:
@@ -1747,26 +1975,31 @@ Options:
### IconStyle.offset
`Vector3`
+
图标偏移。
### IconStyle.show
-`bool` `false`
+`bool` `default: false`
+
Whether the data icon is show.
### IconStyle.sprite
`Sprite`
+
The image of icon.
### IconStyle.type
`Image.Type`
+
How to display the icon.
### IconStyle.width
-`float` `20`
+`float` `default: 20`
+
图标宽。
## ImageStyle
@@ -1776,36 +2009,43 @@ class in XCharts.Runtime / Inherits from: [ChildComponent](#childcomponent), [IS
### ImageStyle.autoColor
`bool`
+
是否自动颜色。
### ImageStyle.color
`Color`
+
图标颜色。
### ImageStyle.height
-`float` `0`
+`float` `default: 0`
+
图标高。
### ImageStyle.show
-`bool` `true`
+`bool` `default: true`
+
Whether the data icon is show.
### ImageStyle.sprite
`Sprite`
+
The image of icon.
### ImageStyle.type
`Image.Type`
+
How to display the image.
### ImageStyle.width
-`float` `0`
+`float` `default: 0`
+
图标宽。
## Indicator
@@ -1817,121 +2057,145 @@ Indicator of radar chart, which is used to assign multiple variables(dimensions)
### Indicator.axisLine
`AxisLine`
+
axis line. [AxisLine](#axisline)
### Indicator.axisName
`AxisName`
+
Name options for radar indicators. [AxisName](#axisname)
### Indicator.ceilRate
-`double` `0`
+`double` `default: 0`
+
The ratio of maximum and minimum values rounded upward. The default is 0, which is automatically calculated.
### Indicator.center
`float[]`
+
the center of radar chart.
### Indicator.connectCenter
-`bool` `false`
+`bool` `default: false`
+
Whether serie data connect to radar center with line.
### Indicator.gridIndex
-`int` `-1` `v3.8.0`
+`int` `default: -1` `v3.8.0`
+
Index of layout component that serie uses. Default is -1 means not use layout, otherwise use the first layout component.
### Indicator.indicator
-`bool` `true`
+`bool` `default: true`
+
Whether to show indicator.
### Indicator.indicatorGap
-`float` `10`
+`float` `default: 10`
+
The gap of indicator and radar.
### Indicator.indicatorList
`List`
+
the indicator list.
### Indicator.isAxisTooltip
`bool`
+
是否Tooltip显示轴线上的所有数据。
### Indicator.lineGradient
-`bool` `true`
+`bool` `default: true`
+
Whether need gradient for data line.
### Indicator.max
`double`
+
The maximum value of indicator, with default value of 0, but we recommend to set it manually.
### Indicator.min
`double`
+
The minimum value of indicator, with default value of 0.
### Indicator.name
`string`
+
The name of indicator.
### Indicator.outRangeColor
-`Color32` `Color.red`
+`Color32` `default: Color.red`
+
The color displayed when data out of range.
### Indicator.positionType
`PositionType`
+
The position type of indicator.
### Indicator.radius
-`float` `100`
+`float` `default: 100`
+
the radius of radar.
### Indicator.range
`double[]`
+
Normal range. When the value is outside this range, the display color is automatically changed.
### Indicator.shape
`Shape`
+
Radar render type, in which 'Polygon' and 'Circle' are supported.
### Indicator.show
`bool`
+
[default:true] Set this to false to prevent the radar from showing.
### Indicator.splitArea
`AxisSplitArea`
+
Split area of axis in grid area. [AxisSplitArea](#axissplitarea)
### Indicator.splitLine
`AxisSplitLine`
+
split line. [AxisSplitLine](#axissplitline)
### Indicator.splitNumber
-`int` `5`
+`int` `default: 5`
+
Segments of indicator axis.
### Indicator.startAngle
`float` `v3.4.0`
+
起始角度。和时钟一样,12点钟位置是0度,顺时针到360度。
## INeedSerieContainer
@@ -1973,101 +2237,121 @@ class in XCharts.Runtime / Inherits from: [ChildComponent](#childcomponent), [IS
### ItemStyle.backgroundColor
`Color32`
+
数据项背景颜色。
### ItemStyle.backgroundWidth
`float`
+
数据项背景宽度。
### ItemStyle.borderColor
`Color32`
+
边框的颜色。
### ItemStyle.borderColor0
`Color32`
+
边框的颜色。
### ItemStyle.borderGap
-`float` `0`
+`float` `default: 0`
+
边框间隙。
### ItemStyle.borderToColor
`Color32`
+
边框的渐变色。
### ItemStyle.borderWidth
-`float` `0`
+`float` `default: 0`
+
边框宽。
### ItemStyle.centerColor
`Color32`
+
中心区域颜色。
### ItemStyle.centerGap
`float`
+
中心区域间隙。
### ItemStyle.color
`Color32`
+
数据项颜色。
### ItemStyle.color0
`Color32`
+
数据项颜色。
### ItemStyle.cornerRadius
`float[]`
+
The radius of rounded corner. Its unit is px. Use array to respectively specify the 4 corner radiuses((clockwise upper left, upper right, bottom right and bottom left)).
### ItemStyle.itemFormatter
`string`
+
提示框单项的字符串模版格式器。具体配置参考`Tooltip`的`formatter`
### ItemStyle.itemMarker
`string`
+
提示框单项的字符标志。用在Tooltip中。
### ItemStyle.markColor
`Color32` `v3.6.0`
+
Serie's mark color. It is only used to display Legend and Tooltip, and does not affect the drawing color. The default value is clear.
### ItemStyle.numericFormatter
`string`
+
Standard number and date format string. Used to format a Double value or a DateTime date as a string. numericFormatter is used as an argument to either `Double.ToString ()` or `DateTime.ToString()`.
The number format uses the Axx format: A is a single-character format specifier that supports C currency, D decimal, E exponent, F fixed-point number, G regular, N digit, P percentage, R round trip, and X hexadecimal. xx is precision specification, from 0-99. E.g. F1, E2
Date format: Starts with `date`, which is used to format DateTime. Common date formats are: yyyy year, MM month, dd day, HH hour, mm minute, ss second, fff millisecond. For example: date:yyyy-MM-dd HH:mm:ss
Time format: Starts with `time`, which is used to format TimeSpan. Common time formats are: d day, HH hour, mm minute, ss second, fffffff fractional part. Only the version of Unity2018 or later can support formatting, and the characters inside should be escaped. For example: time:HH\:mm\:ss
number format reference: https://docs.microsoft.com/en-us/dotnet/standard/base-types/standard-numeric-format-strings
date format reference: https://docs.microsoft.com/en-us/dotnet/standard/base-types/standard-numeric-format-strings
Note: The date and time formats are only supported by 'v3.12.0' or later.
### ItemStyle.opacity
-`float` `1`
+`float` `default: 1`
+
透明度。支持从 0 到 1 的数字,为 0 时不绘制该图形。
### ItemStyle.show
-`bool` `true`
+`bool` `default: true`
+
是否启用。
### ItemStyle.toColor
`Color32`
+
Gradient color1.
### ItemStyle.toColor2
`Color32`
+
Gradient color2.Only valid in line diagrams.
## IUpdateRuntimeData
@@ -2083,41 +2367,49 @@ class in XCharts.Runtime / Inherits from: [ChildComponent](#childcomponent), [IS
### LabelLine.endSymbol
`SymbolStyle`
+
The symbol of the end point of labelline. [SymbolStyle](#symbolstyle)
### LabelLine.lineAngle
-`float` `60`
+`float` `default: 60`
+
the angle of visual guild line. Valid for broken line and curve line. Invalid in Pie.
### LabelLine.lineColor
-`Color32` `Color32(0,0,0,0)`
+`Color32` `default: Color32(0,0,0,0)`
+
the color of visual guild line.
### LabelLine.lineEndX
-`float` `0f` `v3.8.0`
+`float` `default: 0f` `v3.8.0`
+
The fixed x position of the end point of visual guide line.
### LabelLine.lineGap
-`float` `1.0f`
+`float` `default: 1.0f`
+
the gap of container and guild line.
### LabelLine.lineLength1
-`float` `25f`
+`float` `default: 25f`
+
The length of the first segment of visual guide line.
### LabelLine.lineLength2
-`float` `15f`
+`float` `default: 15f`
+
The length of the second segment of visual guide line.
### LabelLine.lineType
`LabelLine.LineType`
+
the type of visual guide line.
Options:
@@ -2128,17 +2420,20 @@ Options:
### LabelLine.lineWidth
-`float` `1.0f`
+`float` `default: 1.0f`
+
the width of visual guild line.
### LabelLine.show
-`bool` `true`
+`bool` `default: true`
+
Whether the label line is showed.
### LabelLine.startSymbol
`SymbolStyle`
+
The symbol of the start point of labelline. [SymbolStyle](#symbolstyle)
## LabelStyle
@@ -2149,77 +2444,92 @@ Text label of chart, to explain some data information about graphic item like va
### LabelStyle.autoOffset
-`bool` `false`
+`bool` `default: false`
+
Whether to automatically offset. When turned on, the Y offset will automatically determine the opening of the curve to determine whether to offset up or down.
### LabelStyle.autoRotate
-`bool` `false` `v3.6.0`
+`bool` `default: false` `v3.6.0`
+
auto rotate of label.
### LabelStyle.background
`ImageStyle`
+
the sytle of background. [ImageStyle](#imagestyle)
### LabelStyle.distance
`float`
+
the distance of label to axis line.
### LabelStyle.formatter
`string`
+
label content string template formatter. \n line wrapping is supported. Formatters for some components will not take effect.
Template placeholder have the following, some of which apply only to fixed components:
`{.}` : indicates the dot mark.
`{a}` : indicates the series name.
`{b}` : category value of x axis or data name.
`{c}` : data value.
`{d}` : percentage.
`{e}` : indicates the data name.
`{f}` : data sum.
`{g}` : indicates the total number of data.
`{h}` : hexadecimal color value.
`{y}` : category value of y axis.
`{value}` : The value of the axis or legend.
The following placeholder apply to `UITable` components:
`{name}` : indicates the row name of the table.
`{index}` : indicates the row number of the table.
The following placeholder apply to `UIStatistc` components:
`{title}` : title text.
`{dd}` : day.
`{hh}` : hours.
`{mm}` : minutes.
`{ss}` : second.
`{fff}` : milliseconds.
`{d}` : day.
`{h}` : hours.
`{m}` : minutes.
`{s}` : second.
`{f}` : milliseconds.
Example :{b}:{c}
### LabelStyle.height
-`float` `0`
+`float` `default: 0`
+
the height of label. If set as default value 0, it means than the label height auto set as the text height.
### LabelStyle.icon
`IconStyle`
+
the sytle of icon. [IconStyle](#iconstyle)
### LabelStyle.numericFormatter
`string`
+
Standard number and date format string. Used to format a Double value or a DateTime date as a string. numericFormatter is used as an argument to either `Double.ToString ()` or `DateTime.ToString()`.
The number format uses the Axx format: A is a single-character format specifier that supports C currency, D decimal, E exponent, F fixed-point number, G regular, N digit, P percentage, R round trip, and X hexadecimal. xx is precision specification, from 0-99. E.g. F1, E2
Date format: Starts with `date`, which is used to format DateTime. Common date formats are: yyyy year, MM month, dd day, HH hour, mm minute, ss second, fff millisecond. For example: date:yyyy-MM-dd HH:mm:ss
Time format: Starts with `time`, which is used to format TimeSpan. Common time formats are: d day, HH hour, mm minute, ss second, fffffff fractional part. Only the version of Unity2018 or later can support formatting, and the characters inside should be escaped. For example: time:HH\:mm\:ss
number format reference: https://docs.microsoft.com/en-us/dotnet/standard/base-types/standard-numeric-format-strings
date format reference: https://docs.microsoft.com/en-us/dotnet/standard/base-types/standard-numeric-format-strings
Note: The date and time formats are only supported by 'v3.12.0' or later.
### LabelStyle.offset
`Vector3`
+
offset to the host graphic element.
### LabelStyle.Position
`[SerializeField]`
+
The position of label.
### LabelStyle.rotate
`float`
+
Rotation of label.
### LabelStyle.show
-`bool` `true`
+`bool` `default: true`
+
Whether the label is showed.
### LabelStyle.textPadding
`TextPadding`
+
the text padding of label. [TextPadding](#textpadding)
### LabelStyle.textStyle
`TextStyle`
+
the sytle of text. [TextStyle](#textstyle)
### LabelStyle.width
-`float` `0`
+`float` `default: 0`
+
the width of label. If set as default value 0, it means than the label width auto set as the text width.
## Lang
@@ -2245,31 +2555,37 @@ Legend component.The legend component shows different sets of tags, colors, and
### Legend.background
`ImageStyle` `v3.1.0`
+
the sytle of background. [ImageStyle](#imagestyle)
### Legend.colors
`List`
+
the colors of legend item.
### Legend.data
`List`
+
Data array of legend. An array item is usually a name representing string. (If it is a pie chart, it could also be the name of a single data in the pie chart) of a series. If data is not specified, it will be auto collected from series.
### Legend.formatter
`string`
+
No longer used, the use of LabelStyle.formatter instead.
### Legend.icons
`List`
+
自定义的图例标记图形。
### Legend.iconType
`Legend.Type`
+
Type of legend.
Options:
@@ -2285,42 +2601,50 @@ Options:
### Legend.itemAutoColor
-`bool` `true`
+`bool` `default: true`
+
Whether the legend symbol matches the color automatically.
### Legend.itemGap
-`float` `10f`
+`float` `default: 10f`
+
The distance between each legend, horizontal distance in horizontal layout, and vertical distance in vertical layout.
### Legend.itemHeight
-`float` `12.0f`
+`float` `default: 12.0f`
+
Image height of legend symbol.
### Legend.itemOpacity
-`float` `1`
+`float` `default: 1`
+
the opacity of item color.
### Legend.itemWidth
-`float` `25.0f`
+`float` `default: 25.0f`
+
Image width of legend symbol.
### Legend.labelStyle
`LabelStyle`
+
the style of text. [LabelStyle](#labelstyle)
### Legend.location
`Location`
+
The location of legend. [Location](#location)
### Legend.orient
`Orient`
+
Specify whether the layout of legend component is horizontal or vertical.
Options:
@@ -2331,16 +2655,19 @@ Options:
### Legend.padding
`Padding` `v3.1.0`
+
the paddinng of item and background. [Padding](#padding)
### Legend.positions
`List` `v3.6.0`
+
the custom positions of legend item.
### Legend.selectedMode
`Legend.SelectedMode`
+
Selected mode of legend, which controls whether series can be toggled displaying by clicking legends.
Options:
@@ -2351,12 +2678,14 @@ Options:
### Legend.show
-`bool` `true`
+`bool` `default: true`
+
Whether to show legend component.
### Legend.textLimit
`TextLimit` `v3.10.0`
+
the limit of text. [TextLimit](#textlimit)
## LegendTheme
@@ -2366,6 +2695,7 @@ class in XCharts.Runtime / Inherits from: [ComponentTheme](#componenttheme)
### LegendTheme.unableColor
`Color`
+
the color of text.
## Level
@@ -2374,27 +2704,32 @@ class in XCharts.Runtime / Inherits from: [ChildComponent](#childcomponent)
### Level.depth
-`int` `0` `v3.10.0`
+`int` `default: 0` `v3.10.0`
+
the depth of level.
### Level.itemStyle
`ItemStyle`
+
the item style of level. [ItemStyle](#itemstyle)
### Level.label
`LabelStyle`
+
the label style of level. [LabelStyle](#labelstyle)
### Level.lineStyle
`LineStyle` `v3.10.0`
+
the line style of level. [LineStyle](#linestyle)
### Level.upperLabel
`LabelStyle`
+
the upper label style of level. [LabelStyle](#labelstyle)
## LevelStyle
@@ -2406,11 +2741,13 @@ class in XCharts.Runtime / Inherits from: [ChildComponent](#childcomponent)
### LevelStyle.levels
`List`
+
各层节点对应的配置。当enableLevels为true时生效,levels[0]对应的第一层的配置,levels[1]对应第二层,依次类推。当levels中没有对应层时用默认的设置。
### LevelStyle.show
-`bool` `false`
+`bool` `default: false`
+
是否启用LevelStyle
## Line
@@ -2424,11 +2761,13 @@ class in XCharts.Runtime / Inherits from: [ChildComponent](#childcomponent), [IS
### LineArrow.arrow
`ArrowStyle`
+
the arrow of line. [ArrowStyle](#arrowstyle)
### LineArrow.position
`LineArrow.Position`
+
The position of arrow.
Options:
@@ -2439,6 +2778,7 @@ Options:
### LineArrow.show
`bool`
+
Whether to show the arrow.
## LineStyle
@@ -2450,51 +2790,61 @@ The style of line.
### LineStyle.color
`Color32`
+
the color of line, default use serie color.
### LineStyle.dashLength
-`float` `4` `v3.8.1`
+`float` `default: 4` `v3.8.1`
+
the length of dash line. default value is 0, which means the length of dash line is 12 times of line width. Represents a multiple of the number of segments in a line chart.
### LineStyle.dotLength
-`float` `2` `v3.8.1`
+`float` `default: 2` `v3.8.1`
+
the length of dot line. default value is 0, which means the length of dot line is 2 times of line width. Represents a multiple of the number of segments in a line chart.
### LineStyle.gapLength
-`float` `2` `v3.8.1`
+`float` `default: 2` `v3.8.1`
+
the length of gap line. default value is 0, which means the length of gap line is 3 times of line width. Represents a multiple of the number of segments in a line chart.
### LineStyle.length
-`float` `0`
+`float` `default: 0`
+
the length of line.
### LineStyle.opacity
-`float` `1`
+`float` `default: 1`
+
Opacity of the line. Supports value from 0 to 1, and the line will not be drawn when set to 0.
### LineStyle.show
-`bool` `true`
+`bool` `default: true`
+
Whether show line.
### LineStyle.toColor
`Color32`
+
the middle color of line, default use serie color.
### LineStyle.toColor2
`Color32`
+
the end color of line, default use serie color.
### LineStyle.type
`LineStyle.Type`
+
the type of line.
Options:
@@ -2508,7 +2858,8 @@ Options:
### LineStyle.width
-`float` `0`
+`float` `default: 0`
+
the width of line.
## Location
@@ -2520,6 +2871,7 @@ Location type. Quick to set the general location.
### Location.align
`Location.Align`
+
对齐方式。
Options:
@@ -2537,21 +2889,25 @@ Options:
### Location.bottom
`float`
+
Distance between component and the left side of the container.
### Location.left
`float`
+
Distance between component and the left side of the container.
### Location.right
`float`
+
Distance between component and the left side of the container.
### Location.top
`float`
+
Distance between component and the left side of the container.
## MainComponent
@@ -2567,36 +2923,43 @@ Used to mark an area in chart. For example, mark a time interval.
### MarkArea.end
`MarkAreaData`
+
标域范围的结束数据。 [MarkAreaData](#markareadata)
### MarkArea.itemStyle
`ItemStyle`
+
标域样式。 [ItemStyle](#itemstyle)
### MarkArea.label
`LabelStyle`
+
标域文本样式。 [LabelStyle](#labelstyle)
### MarkArea.serieIndex
-`int` `0`
+`int` `default: 0`
+
Serie index of markArea. 标域影响的Serie索引。
### MarkArea.show
-`bool` `true`
+`bool` `default: true`
+
是否显示标域。
### MarkArea.start
`MarkAreaData`
+
标域范围的起始数据。 [MarkAreaData](#markareadata)
### MarkArea.text
`string`
+
The text of markArea. 标域显示的文本。
## MarkAreaData
@@ -2607,17 +2970,20 @@ class in XCharts.Runtime / Inherits from: [ChildComponent](#childcomponent)
### MarkAreaData.dimension
-`int` `1`
+`int` `default: 1`
+
From which dimension of data to calculate the maximum and minimum value and so on.
### MarkAreaData.name
`string`
+
Name of the marker, which will display as a label.
### MarkAreaData.type
`MarkAreaType`
+
Special markArea types, are used to label maximum value, minimum value and so on.
Options:
@@ -2631,21 +2997,25 @@ Options:
### MarkAreaData.xPosition
`float`
+
The x coordinate relative to the origin, in pixels.
### MarkAreaData.xValue
`double`
+
The value specified on the X-axis. A value specified when the X-axis is the category axis represents the index of the category axis data, otherwise a specific value.
### MarkAreaData.yPosition
`float`
+
The y coordinate relative to the origin, in pixels.
### MarkAreaData.yValue
`double`
+
That's the value on the Y-axis. The value specified when the Y axis is the category axis represents the index of the category axis data, otherwise the specific value.
## MarkLine
@@ -2657,26 +3027,31 @@ Use a line in the chart to illustrate.
### MarkLine.animation
`AnimationStyle`
+
The animation of markline. [AnimationStyle](#animationstyle)
### MarkLine.data
`List`
+
A list of marked data. When the group of data item is 0, each data item represents a line; When the group is not 0, two data items of the same group represent the starting point and the ending point of the line respectively to form a line. In this case, the relevant style parameters of the line are the parameters of the starting point.
### MarkLine.onTop
-`bool` `true` `v3.9.0`
+`bool` `default: true` `v3.9.0`
+
whether the markline is on top.
### MarkLine.serieIndex
-`int` `0`
+`int` `default: 0`
+
The serie index of markLine.
### MarkLine.show
-`bool` `true`
+`bool` `default: true`
+
Whether to display the marking line.
## MarkLineData
@@ -2689,42 +3064,50 @@ Data of marking line.
### MarkLineData.dimension
-`int` `1`
+`int` `default: 1`
+
From which dimension of data to calculate the maximum and minimum value and so on.
### MarkLineData.endSymbol
`SymbolStyle`
+
The symbol of the end point of markline. [SymbolStyle](#symbolstyle)
### MarkLineData.group
-`int` `0`
+`int` `default: 0`
+
Grouping. When the group is not 0, it means that this data is the starting point or end point of the marking line. Data consistent with the group form a marking line.
### MarkLineData.label
`LabelStyle`
+
Text styles of label. You can set position to Start, Middle, and End to display text in different locations. [LabelStyle](#labelstyle)
### MarkLineData.lineStyle
`LineStyle`
+
The line style of markline. [LineStyle](#linestyle)
### MarkLineData.name
`string`
+
Name of the marker, which will display as a label.
### MarkLineData.startSymbol
`SymbolStyle`
+
The symbol of the start point of markline. [SymbolStyle](#symbolstyle)
### MarkLineData.type
`MarkLineType`
+
Special label types, are used to label maximum value, minimum value and so on.
Options:
@@ -2738,26 +3121,31 @@ Options:
### MarkLineData.xPosition
`float`
+
The x coordinate relative to the origin, in pixels.
### MarkLineData.xValue
`double`
+
The value specified on the X-axis. A value specified when the X-axis is the category axis represents the index of the category axis data, otherwise a specific value.
### MarkLineData.yPosition
`float`
+
The y coordinate relative to the origin, in pixels.
### MarkLineData.yValue
`double`
+
That's the value on the Y-axis. The value specified when the Y axis is the category axis represents the index of the category axis data, otherwise the specific value.
### MarkLineData.zeroPosition
-`bool` `false`
+`bool` `default: false`
+
Is the origin of the coordinate system.
## MarqueeStyle
@@ -2770,22 +3158,26 @@ Marquee style. It can be used for the DataZoom component. 选取框样式。可
### MarqueeStyle.apply
-`bool` `false` `v3.5.0`
+`bool` `default: false` `v3.5.0`
+
Check whether the scope is applied to the DataZoom. If this parameter is set to true, the range after the selection is complete is the DataZoom selection range.
### MarqueeStyle.areaStyle
`AreaStyle` `v3.5.0`
+
The area style of marquee. [AreaStyle](#areastyle)
### MarqueeStyle.lineStyle
`LineStyle` `v3.5.0`
+
The line style of marquee border. [LineStyle](#linestyle)
### MarqueeStyle.realRect
-`bool` `false` `v3.5.0`
+`bool` `default: false` `v3.5.0`
+
Whether to select the actual box selection area. When true, the actual range between the mouse's actual point and the end point is used as the box selection area.
## MLValue
@@ -2801,6 +3193,7 @@ class in XCharts.Runtime / Inherits from: [ChildComponent](#childcomponent)
`MLValue.Type`
+
Options:
- `Percent`: Percent value form.
@@ -2811,6 +3204,7 @@ Options:
`float`
+
## Padding
class in XCharts.Runtime / Inherits from: [ChildComponent](#childcomponent) / Subclasses: [TextPadding](#textpadding)
@@ -2819,27 +3213,32 @@ padding setting of item or text.
### Padding.bottom
-`float` `0`
+`float` `default: 0`
+
padding of bottom.
### Padding.left
-`float` `2f`
+`float` `default: 2f`
+
padding of left.
### Padding.right
-`float` `2f`
+`float` `default: 2f`
+
padding of right.
### Padding.show
-`bool` `true`
+`bool` `default: true`
+
show padding. 是否显示。
### Padding.top
-`float` `0`
+`float` `default: 0`
+
padding of top.
## Parallel
@@ -2859,21 +3258,25 @@ Grid component.
### ParallelCoord.backgroundColor
`Color`
+
Background color of grid, which is transparent by default.
### ParallelCoord.bottom
-`float` `0.12f`
+`float` `default: 0.12f`
+
Distance between grid component and the bottom side of the container.
### ParallelCoord.left
-`float` `0.1f`
+`float` `default: 0.1f`
+
Distance between grid component and the left side of the container.
### ParallelCoord.orient
`Orient`
+
Orientation of the axis. By default, it's 'Vertical'. You can set it to be 'Horizonal' to make a vertical axis.
Options:
@@ -2883,17 +3286,20 @@ Options:
### ParallelCoord.right
-`float` `0.08f`
+`float` `default: 0.08f`
+
Distance between grid component and the right side of the container.
### ParallelCoord.show
-`bool` `true`
+`bool` `default: true`
+
Whether to show the grid in rectangular coordinate.
### ParallelCoord.top
-`float` `0.22f`
+`float` `default: 0.22f`
+
Distance between grid component and the top side of the container.
## Pie
@@ -2902,7 +3308,8 @@ class in XCharts.Runtime / Inherits from: [Serie](#serie)
### Pie.radiusGradient
-`bool` `false` `v3.8.1`
+`bool` `default: false` `v3.8.1`
+
Whether to use gradient color in pie chart.
## PolarAxisTheme
@@ -2918,26 +3325,31 @@ Polar coordinate can be used in scatter and line chart. Every polar coordinate h
### PolarCoord.backgroundColor
`Color`
+
Background color of polar, which is transparent by default.
### PolarCoord.center
`float[]`
+
The center of ploar. The center[0] is the x-coordinate, and the center[1] is the y-coordinate. When value between 0 and 1 represents a percentage relative to the chart.
### PolarCoord.indicatorLabelOffset
-`float` `30f` `v3.8.0`
+`float` `default: 30f` `v3.8.0`
+
The offset of indicator label.
### PolarCoord.radius
`float[]`
+
the radius of polar.
### PolarCoord.show
-`bool` `true`
+`bool` `default: true`
+
Whether to show the polor component.
## Radar
@@ -2946,7 +3358,8 @@ class in XCharts.Runtime / Inherits from: [Serie](#serie), [INeedSerieContainer]
### Radar.smooth
-`bool` `false` `v3.2.0`
+`bool` `default: false` `v3.2.0`
+
Whether use smooth curve.
## RadarAxisTheme
@@ -2975,7 +3388,8 @@ class in XCharts.Runtime / Inherits from: [Serie](#serie)
### Ring.radiusGradient
-`bool` `false` `v3.12.0`
+`bool` `default: false` `v3.12.0`
+
Whether to use gradient color in pie chart.
## Scatter
@@ -2999,6 +3413,7 @@ class in XCharts.Runtime / Inherits from: [BaseSerie](#baseserie), [IComparable]
### Serie.align
`Align`
+
组件水平方向对齐方式。
Options:
@@ -3010,31 +3425,37 @@ Options:
### Serie.animation
`AnimationStyle`
+
The start animation. [AnimationStyle](#animationstyle)
### Serie.avoidLabelOverlap
-`bool` `false`
+`bool` `default: false`
+
If the pie chart and labels are displayed externally, whether to enable the label overlap prevention policy is disabled by default. If labels are crowded and overlapped, the positions of labels are moved to prevent label overlap.
### Serie.barGap
-`float` `0.1f`
+`float` `default: 0.1f`
+
The gap between bars between different series, is a percent value like '0.3f' , which means 30% of the bar width, can be set as a fixed value. Set barGap as '-1' can overlap bars that belong to different series, which is useful when making a series of bar be background. In a single coodinate system, this attribute is shared by multiple 'bar' series. This attribute should be set on the last 'bar' series in the coodinate system, then it will be adopted by all 'bar' series in the coordinate system.
### Serie.barMaxWidth
-`float` `0` `v3.5.0`
+`float` `default: 0` `v3.5.0`
+
The max width of the bar. Adaptive when default 0.
### Serie.barPercentStack
-`bool` `false`
+`bool` `default: false`
+
柱形图是否为百分比堆积。相同stack的serie只要有一个barPercentStack为true,则就显示成百分比堆叠柱状图。
### Serie.barType
`BarType`
+
柱形图类型。
Options:
@@ -3045,47 +3466,56 @@ Options:
### Serie.barWidth
-`float` `0`
+`float` `default: 0`
+
The width of the bar. Adaptive when default 0.
### Serie.barZebraGap
-`float` `2f`
+`float` `default: 2f`
+
斑马线的间距。
### Serie.barZebraWidth
-`float` `4f`
+`float` `default: 4f`
+
斑马线的粗细。
### Serie.bottom
`float`
+
Distance between component and the bottom side of the container.
### Serie.center
`float[]`
+
the center of chart.
### Serie.clickOffset
-`bool` `true`
+`bool` `default: true`
+
Whether offset when mouse click pie chart item.
### Serie.clip
-`bool` `false`
+`bool` `default: false`
+
If clip the overflow on the coordinate system.
### Serie.clockwise
-`bool` `true`
+`bool` `default: true`
+
是否顺时针。
### Serie.colorBy
`SerieColorBy` `v3.2.0`
+
The policy to take color from theme.
Options:
@@ -3097,16 +3527,19 @@ Options:
### Serie.coordSystem
`string`
+
the chart coord system of serie.
### Serie.data
`List`
+
系列中的数据内容数组。SerieData可以设置1到n维数据。
### Serie.dataSortType
`SerieDataSortType`
+
组件的数据排序。
Options:
@@ -3118,71 +3551,85 @@ Options:
### Serie.endAngle
`float`
+
结束角度。和时钟一样,12点钟位置是0度,顺时针到360度。
### Serie.gap
`float`
+
gap of item.
### Serie.gridIndex
-`int` `-1` `v3.8.0`
+`int` `default: -1` `v3.8.0`
+
Index of layout component that serie uses. Default is -1 means not use layout, otherwise use the first layout component.
### Serie.ignore
-`bool` `false`
+`bool` `default: false`
+
是否开启忽略数据。当为 true 时,数据值为 ignoreValue 时不进行绘制。
### Serie.ignoreLineBreak
-`bool` `false`
+`bool` `default: false`
+
忽略数据时折线是断开还是连接。默认false为连接。
### Serie.ignoreValue
-`double` `0`
+`double` `default: 0`
+
忽略数据的默认值。当ignore为true才有效。
### Serie.index
`int`
+
The index of serie.
### Serie.insertDataToHead
`bool`
+
Whether to add new data at the head or at the end of the list.
### Serie.itemStyle
`ItemStyle`
+
The style of data item. [ItemStyle](#itemstyle)
### Serie.large
-`bool` `true`
+`bool` `default: true`
+
是否开启大数据量优化,在数据图形特别多而出现卡顿时候可以开启。 开启后配合 largeThreshold 在数据量大于指定阈值的时候对绘制进行优化。 缺点:优化后不能自定义设置单个数据项的样式,不能显示Label。
### Serie.largeThreshold
-`int` `200`
+`int` `default: 200`
+
Turn on the threshold for mass optimization. Enter performance mode only when large is enabled and the amount of data is greater than the threshold.
### Serie.left
`float`
+
Distance between component and the left side of the container.
### Serie.lineStyle
`LineStyle`
+
The style of line. [LineStyle](#linestyle)
### Serie.lineType
`LineType`
+
The type of line chart.
Options:
@@ -3196,66 +3643,79 @@ Options:
### Serie.links
`List`
+
数据节点的边。
### Serie.max
`float`
+
最大值。
### Serie.maxCache
`int`
+
The max number of serie data cache. The first data will be remove when the size of serie data is larger then maxCache.
### Serie.maxShow
`int`
+
The max number of data to show in chart.
### Serie.maxSize
-`float` `1f`
+`float` `default: 1f`
+
数据最大值 max 映射的宽度。
### Serie.min
`float`
+
最小值。
### Serie.minAngle
`float`
+
The minimum angle of sector(0-360). It prevents some sector from being too small when value is small.
### Serie.minRadius
-`float` `0f` `v3.8.0`
+`float` `default: 0f` `v3.8.0`
+
the min radius of chart. It can be used to limit the minimum radius of the rose chart.
### Serie.minShow
`int`
+
The min number of data to show in chart.
### Serie.minShowLabel
-`bool` `false` `v3.10.0`
+`bool` `default: false` `v3.10.0`
+
Whether the label is not displayed when the enabled value is less than the specified value.
### Serie.minShowLabelValue
-`double` `0` `v3.10.0`
+`double` `default: 0` `v3.10.0`
+
When 'minShowLabel' is enabled, labels are not displayed if the value is less than this value.
### Serie.minSize
-`float` `0f`
+`float` `default: 0f`
+
数据最小值 min 映射的宽度。
### Serie.orient
`Orient`
+
组件的朝向。
Options:
@@ -3265,27 +3725,32 @@ Options:
### Serie.parallelIndex
-`int` `0`
+`int` `default: 0`
+
Index of parallel coord component that serie uses.
### Serie.placeHolder
-`bool` `false`
+`bool` `default: false`
+
占位模式。占位模式时,数据有效但不参与渲染和显示。
### Serie.polarIndex
-`int` `0`
+`int` `default: 0`
+
Index of polar component that serie uses.
### Serie.radarIndex
-`int` `0`
+`int` `default: 0`
+
Index of radar component that radar chart uses.
### Serie.radarType
`RadarType`
+
雷达图类型。
Options:
@@ -3296,16 +3761,19 @@ Options:
### Serie.radius
`float[]`
+
the radius of chart.
### Serie.right
`float`
+
Distance between component and the right side of the container.
### Serie.roseType
`RoseType`
+
Whether to show as Nightingale chart.
Options:
@@ -3317,21 +3785,25 @@ Options:
### Serie.roundCap
`bool`
+
是否开启圆弧效果。
### Serie.sampleAverage
-`float` `0`
+`float` `default: 0`
+
设定的采样平均值。当sampleType 为 Peak 时,用于和过滤数据的平均值做对比是取最大值还是最小值。默认为0时会实时计算所有数据的平均值。
### Serie.sampleDist
-`float` `0`
+`float` `default: 0`
+
the min pixel dist of sample.
### Serie.sampleType
`SampleType`
+
the type of sample.
Options:
@@ -3345,61 +3817,73 @@ Options:
### Serie.serieName
`string`
+
Series name used for displaying in tooltip and filtering with legend.
### Serie.serieType
`string`
+
the type of serie.
### Serie.show
-`bool` `true`
+`bool` `default: true`
+
Whether to show serie in chart.
### Serie.showAsPositiveNumber
-`bool` `false`
+`bool` `default: false`
+
Show negative number as positive number.
### Serie.showDataDimension
`int`
+
数据项里的数据维数。
### Serie.showDataName
`bool`
+
在Editor的inpsector上是否显示name参数
### Serie.singleAxisIndex
-`int` `0`
+`int` `default: 0`
+
Index of single axis component that serie uses.
### Serie.smoothLimit
-`bool` `false` `v3.4.0`
+`bool` `default: false` `v3.4.0`
+
Whether to restrict the curve. When true, the curve between two continuous data of the same value is restricted to not exceed the data point, and is flat to the data point.
### Serie.splitNumber
`int`
+
刻度分割段数。最大可设置36。
### Serie.stack
`string`
+
If stack the value. On the same category axis, the series with the same stack name would be put on top of each other.
### Serie.startAngle
`float`
+
起始角度。和时钟一样,12点钟位置是0度,顺时针到360度。
### Serie.state
`SerieState` `v3.2.0`
+
The default state of a serie.
Options:
@@ -3413,26 +3897,31 @@ Options:
### Serie.symbol
`SerieSymbol`
+
the symbol of serie data item. [SerieSymbol](#seriesymbol)
### Serie.top
`float`
+
Distance between component and the top side of the container.
### Serie.vesselIndex
-`int` `0`
+`int` `default: 0`
+
Index of vesel component that liquid chart uses.
### Serie.xAxisIndex
-`int` `0`
+`int` `default: 0`
+
the index of XAxis.
### Serie.yAxisIndex
-`int` `0`
+`int` `default: 0`
+
the index of YAxis.
## SerieData
@@ -3444,46 +3933,55 @@ A data item of serie.
### SerieData.data
`List`
+
An arbitrary dimension data list of data item.
### SerieData.id
`string`
+
the id of data.
### SerieData.ignore
`bool`
+
是否忽略数据。当为 true 时,数据不进行绘制。
### SerieData.index
`int`
+
the index of SerieData.
### SerieData.name
`string`
+
the name of data item.
### SerieData.parentId
`string`
+
the id of parent SerieData.
### SerieData.radius
`float`
+
自定义半径。可用在饼图中自定义某个数据项的半径。
### SerieData.selected
`bool`
+
Whether the data item is selected.
### SerieData.state
`SerieState` `v3.2.0`
+
the state of serie data.
Options:
@@ -3505,16 +4003,19 @@ the link of serie data. Used for sankey chart. Sankey chart only supports direct
### SerieDataLink.source
`string`
+
the source node name.
### SerieDataLink.target
`string`
+
the target node name.
### SerieDataLink.value
`double`
+
the value of link. decide the width of link.
## SerieSymbol
@@ -3525,47 +4026,56 @@ class in XCharts.Runtime / Inherits from: [SymbolStyle](#symbolstyle), [ISerieDa
### SerieSymbol.dataIndex
-`int` `1`
+`int` `default: 1`
+
whitch data index is when the sizeType assined as FromData.
### SerieSymbol.dataScale
-`float` `1`
+`float` `default: 1`
+
the scale of data when sizeType assined as FromData.
### SerieSymbol.forceShowLast
-`bool` `false`
+`bool` `default: false`
+
whether to show the last symbol.
### SerieSymbol.interval
`int`
+
the interval of show symbol.
### SerieSymbol.maxSize
-`float` `0f` `v3.3.0`
+`float` `default: 0f` `v3.3.0`
+
Maximum symbol size.
### SerieSymbol.minSize
-`float` `0f` `v3.3.0`
+`float` `default: 0f` `v3.3.0`
+
Minimum symbol size.
### SerieSymbol.repeat
-`bool` `false`
+`bool` `default: false`
+
图形是否重复。
### SerieSymbol.sizeFunction
`SymbolSizeFunction`
+
the function of size when sizeType assined as Function.
### SerieSymbol.sizeType
`SymbolSizeType`
+
the type of symbol size.
Options:
@@ -3577,6 +4087,7 @@ Options:
### SerieSymbol.startIndex
`int`
+
the index start to show symbol.
## SerieTheme
@@ -3585,42 +4096,50 @@ class in XCharts.Runtime / Inherits from: [ChildComponent](#childcomponent)
### SerieTheme.candlestickBorderColor
-`Color32` `Color32(235, 84, 84, 255)`
+`Color32` `default: Color32(235, 84, 84, 255)`
+
K线图阳线(跌)边框色
### SerieTheme.candlestickBorderColor0
-`Color32` `Color32(71, 178, 98, 255)`
+`Color32` `default: Color32(71, 178, 98, 255)`
+
K线图阴线(跌)边框色
### SerieTheme.candlestickBorderWidth
-`float` `1`
+`float` `default: 1`
+
K线图边框宽度
### SerieTheme.candlestickColor
-`Color32` `Color32(235, 84, 84, 255)`
+`Color32` `default: Color32(235, 84, 84, 255)`
+
K线图阳线(涨)填充色
### SerieTheme.candlestickColor0
-`Color32` `Color32(71, 178, 98, 255)`
+`Color32` `default: Color32(71, 178, 98, 255)`
+
K线图阴线(跌)填充色
### SerieTheme.lineSymbolSize
`float`
+
the symbol size of line serie.
### SerieTheme.lineWidth
`float`
+
the color of text.
### SerieTheme.scatterSymbolSize
`float`
+
the symbol size of scatter serie.
## Settings
@@ -3631,71 +4150,85 @@ Global parameter setting component. The default value can be used in general, an
### Settings.axisMaxSplitNumber
-`float` `50` `v3.1.0`
+`float` `default: 50` `v3.1.0`
+
the max splitnumber of axis.
### Settings.basePainterMaterial
`Material`
+
Base Pointer 材质球,设置后会影响Axis等。
### Settings.cicleSmoothness
-`float` `2f`
+`float` `default: 2f`
+
the smoothess of cricle.
### Settings.legendIconCornerRadius
`float[]`
+
The radius of rounded corner. Its unit is px. Use array to respectively specify the 4 corner radiuses((clockwise upper left, upper right, bottom right and bottom left)).
### Settings.legendIconLineWidth
-`float` `2`
+`float` `default: 2`
+
the width of line serie legend.
### Settings.lineSegmentDistance
-`float` `3f`
+`float` `default: 3f`
+
The partition distance of a line segment. A line in a normal line chart is made up of many segments, the number of which is determined by the change in value. The smaller the number of segments, the higher the number of vertices. When the area with gradient is filled, the larger the value, the worse the transition effect.
### Settings.lineSmoothness
-`float` `2f`
+`float` `default: 2f`
+
Smoothness of curve. The smaller the value, the smoother the curve, but the number of vertices will increase.
### Settings.lineSmoothStyle
-`float` `2.5f`
+`float` `default: 2.5f`
+
Curve smoothing factor. By adjusting the smoothing coefficient, the curvature of the curve can be changed, and different curves with slightly different appearance can be obtained.
### Settings.maxPainter
-`int` `10`
+`int` `default: 10`
+
max painter.
### Settings.reversePainter
-`bool` `false`
+`bool` `default: false`
+
Painter是否逆序。逆序时index大的serie最先绘制。
### Settings.seriePainterMaterial
`Material`
+
Serie Pointer 材质球,设置后会影响所有Serie。
### Settings.show
-`bool` `true`
+`bool` `default: true`
+
### Settings.topPainterMaterial
`Material`
+
Top Pointer 材质球。
### Settings.upperPainterMaterial
`Material`
+
Upper Pointer 材质球。
## SimplifiedBar
@@ -3718,22 +4251,26 @@ Single axis.
### SingleAxis.bottom
-`float` `0.2f`
+`float` `default: 0.2f`
+
Distance between component and the bottom side of the container.
### SingleAxis.height
-`float` `50`
+`float` `default: 50`
+
height of axis.
### SingleAxis.left
-`float` `0.1f`
+`float` `default: 0.1f`
+
Distance between component and the left side of the container.
### SingleAxis.orient
`Orient`
+
Orientation of the axis. By default, it's 'Horizontal'. You can set it to be 'Vertical' to make a vertical axis.
Options:
@@ -3743,17 +4280,20 @@ Options:
### SingleAxis.right
-`float` `0.1f`
+`float` `default: 0.1f`
+
Distance between component and the right side of the container.
### SingleAxis.top
-`float` `0f`
+`float` `default: 0f`
+
Distance between component and the top side of the container.
### SingleAxis.width
-`float` `0`
+`float` `default: 0`
+
width of axis.
## SingleAxisCoord
@@ -3767,11 +4307,13 @@ class in XCharts.Runtime / Inherits from: [ChildComponent](#childcomponent)
### StageColor.color
`Color32`
+
颜色。
### StageColor.percent
`float`
+
结束位置百分比。
## StateStyle
@@ -3785,36 +4327,43 @@ the state style of serie.
### StateStyle.areaStyle
`AreaStyle`
+
区域样式。 [AreaStyle](#areastyle)
### StateStyle.itemStyle
`ItemStyle`
+
图形样式。 [ItemStyle](#itemstyle)
### StateStyle.label
`LabelStyle`
+
图形文本标签。 [LabelStyle](#labelstyle)
### StateStyle.labelLine
`LabelLine`
+
图形文本引导线样式。 [LabelLine](#labelline)
### StateStyle.lineStyle
`LineStyle`
+
折线样式。 [LineStyle](#linestyle)
### StateStyle.show
-`bool` `true`
+`bool` `default: true`
+
是否启用高亮样式。
### StateStyle.symbol
`SerieSymbol`
+
标记样式。 [SerieSymbol](#seriesymbol)
## SubTitleTheme
@@ -3830,46 +4379,55 @@ class in XCharts.Runtime / Inherits from: [ChildComponent](#childcomponent) / Su
### SymbolStyle.color
`Color32`
+
图形的颜色。
### SymbolStyle.gap
-`float` `0`
+`float` `default: 0`
+
the gap of symbol and line segment.
### SymbolStyle.height
-`float` `0f`
+`float` `default: 0f`
+
图形的高。
### SymbolStyle.image
`Sprite`
+
自定义的标记图形。
### SymbolStyle.imageType
`Image.Type`
+
the fill type of image.
### SymbolStyle.offset
-`Vector2` `Vector2.zero`
+`Vector2` `default: Vector2.zero`
+
图形的偏移。
### SymbolStyle.show
-`bool` `true`
+`bool` `default: true`
+
Whether the symbol is showed.
### SymbolStyle.size
-`float` `0f`
+`float` `default: 0f`
+
the size of symbol.
### SymbolStyle.type
`SymbolType`
+
the type of symbol.
Options:
@@ -3891,7 +4449,8 @@ Options:
### SymbolStyle.width
-`float` `0f`
+`float` `default: 0f`
+
图形的宽。
## TextLimit
@@ -3902,22 +4461,26 @@ Text character limitation and adaptation component. When the length of the text
### TextLimit.enable
-`bool` `false`
+`bool` `default: false`
+
Whether to enable text limit.
### TextLimit.gap
-`float` `1`
+`float` `default: 1`
+
White pixel distance at both ends.
### TextLimit.maxWidth
-`float` `0`
+`float` `default: 0`
+
Set the maximum width. A default of 0 indicates automatic fetch; otherwise, custom.
### TextLimit.suffix
`string`
+
Suffixes when the length exceeds.
## TextPadding
@@ -3935,75 +4498,90 @@ Settings related to text.
### TextStyle.alignment
`TextAnchor`
+
对齐方式。
### TextStyle.autoAlign
-`bool` `true`
+`bool` `default: true`
+
文本是否让系统自动选对齐方式。为false时才会用alignment。
### TextStyle.autoColor
-`bool` `false`
+`bool` `default: false`
+
是否开启自动颜色。当开启时,会自动设置颜色。
### TextStyle.autoWrap
-`bool` `false`
+`bool` `default: false`
+
是否自动换行。
### TextStyle.color
`Color`
+
the color of text.
### TextStyle.font
`Font`
+
the font of text. When `null`, the theme's font is used by default.
### TextStyle.fontSize
-`int` `0`
+`int` `default: 0`
+
font size.
### TextStyle.fontStyle
`FontStyle`
+
font style.
### TextStyle.lineSpacing
-`float` `1f`
+`float` `default: 1f`
+
text line spacing.
### TextStyle.rotate
-`float` `0`
+`float` `default: 0`
+
Rotation of text.
### TextStyle.show
-`bool` `true`
+`bool` `default: true`
+
Settings related to text.
### TextStyle.tMPAlignment
`TextAlignmentOptions`
+
### TextStyle.tMPFont
`TMP_FontAsset`
+
the font of textmeshpro.
### TextStyle.tMPFontStyle
`FontStyles`
+
### TextStyle.tMPSpriteAsset
`TMP_SpriteAsset` `v3.1.0`
+
## Theme
class in XCharts.Runtime / Inherits from: [ScriptableObject](https://docs.unity3d.com/ScriptReference/30_search.html?q=ScriptableObject)
@@ -4013,61 +4591,73 @@ Theme.
### Theme.axis
`AxisTheme`
+
[AxisTheme](#axistheme)
### Theme.backgroundColor
`Color32`
+
the background color of chart.
### Theme.colorPalette
`List`
+
The color list of palette. If no color is set in series, the colors would be adopted sequentially and circularly from this list as the colors of series.
### Theme.common
`ComponentTheme`
+
[ComponentTheme](#componenttheme)
### Theme.contrastColor
`Color32`
+
the contrast color of chart.
### Theme.dataZoom
`DataZoomTheme`
+
[DataZoomTheme](#datazoomtheme)
### Theme.font
`Font`
+
the font of chart text。
### Theme.legend
`LegendTheme`
+
[LegendTheme](#legendtheme)
### Theme.serie
`SerieTheme`
+
[SerieTheme](#serietheme)
### Theme.subTitle
`SubTitleTheme`
+
[SubTitleTheme](#subtitletheme)
### Theme.themeName
`string`
+
the name of theme.
### Theme.themeType
`ThemeType`
+
the theme of chart.
Options:
@@ -4080,21 +4670,25 @@ Options:
### Theme.title
`TitleTheme`
+
[TitleTheme](#titletheme)
### Theme.tMPFont
`TMP_FontAsset`
+
the font of chart text。
### Theme.tooltip
`TooltipTheme`
+
[TooltipTheme](#tooltiptheme)
### Theme.visualMap
`VisualMapTheme`
+
[VisualMapTheme](#visualmaptheme)
## ThemeStyle
@@ -4106,33 +4700,40 @@ Theme.
### ThemeStyle.customBackgroundColor
`Color32`
+
the custom background color of chart.
### ThemeStyle.customColorPalette
`List`
+
### ThemeStyle.customFont
`Font`
+
### ThemeStyle.enableCustomTheme
-`bool` `false`
+`bool` `default: false`
+
Whether to customize theme colors. When set to true, you can use 'sync color to custom' to synchronize the theme color to the custom color. It can also be set manually.
### ThemeStyle.sharedTheme
`Theme`
+
the asset of theme. [Theme](#theme)
### ThemeStyle.show
-`bool` `true`
+`bool` `default: true`
+
### ThemeStyle.transparentBackground
-`bool` `false`
+`bool` `default: false`
+
Whether the background color is transparent. When true, the background color is not drawn.
## Title
@@ -4143,37 +4744,44 @@ Title component, including main title and subtitle.
### Title.itemGap
-`float` `0`
+`float` `default: 0`
+
[default:8] The gap between the main title and subtitle.
### Title.labelStyle
`LabelStyle`
+
The text style of main title. [LabelStyle](#labelstyle)
### Title.location
`Location`
+
The location of title component. [Location](#location)
### Title.show
-`bool` `true`
+`bool` `default: true`
+
[default:true] Set this to false to prevent the title from showing.
### Title.subLabelStyle
`LabelStyle`
+
The text style of sub title. [LabelStyle](#labelstyle)
### Title.subText
`string`
+
Subtitle text, supporting for \n for newlines.
### Title.text
`string`
+
The main title text, supporting \n for newlines.
## TitleStyle
@@ -4194,122 +4802,146 @@ Tooltip component.
### Tooltip.alwayShowContent
-`bool` `false`
+`bool` `default: false`
+
Whether to trigger after always display.
### Tooltip.backgroundColor
`Color`
+
The background color of tooltip.
### Tooltip.backgroundImage
`Sprite`
+
The background image of tooltip.
### Tooltip.backgroundType
`Image.Type`
+
The background type of tooltip.
### Tooltip.borderColor
-`Color32` `Color32(230, 230, 230, 255)`
+`Color32` `default: Color32(230, 230, 230, 255)`
+
the color of tooltip border.
### Tooltip.borderWidth
-`float` `2f`
+`float` `default: 2f`
+
the width of tooltip border.
### Tooltip.contentLabelStyles
`List`
+
the textstyle list of content.
### Tooltip.fixedHeight
-`float` `0`
+`float` `default: 0`
+
Fixed height. Higher priority than minHeight.
### Tooltip.fixedWidth
-`float` `0`
+`float` `default: 0`
+
Fixed width. Higher priority than minWidth.
### Tooltip.fixedX
-`float` `0f`
+`float` `default: 0f`
+
the x positionn of fixedX.
### Tooltip.fixedY
-`float` `0.7f`
+`float` `default: 0.7f`
+
the y position of fixedY.
### Tooltip.ignoreDataDefaultContent
`string`
+
The default display character information for ignored data.
### Tooltip.ignoreDataShow
-`bool` `false`
+`bool` `default: false`
+
Whether to show ignored data on tooltip.
### Tooltip.itemFormatter
`string`
+
a string template formatter for a single Serie or data item content. Support for wrapping lines with \n. Template variables are {.}, {a}, {b}, {c}, {d}.
{.} is the dot of the corresponding color of a Serie that is currently indicated or whose index is 0.
{a} is the series name of the serie that is currently indicated or whose index is 0.
{b} is the name of the data item serieData that is currently indicated or whose index is 0, or a category value (such as the X-axis of a line chart).
{c} is the value of a Y-dimension (dimesion is 1) from a Serie that is currently indicated or whose index is 0.
{d} is the percentage value of Y-dimensions (dimesion is 1) from serie that is currently indicated or whose index is 0, with no % sign.
{e} is the name of the data item serieData that is currently indicated or whose index is 0.
{f} is sum of data.
{y} is category value of y axis.
{.1} represents a dot from serie corresponding color that specifies index as 1.
1 in {a1}, {b1}, {c1} represents a serie that specifies an index of 1.
{c1:2} represents the third data from serie's current indication data item indexed to 1 (a data item has multiple data, index 2 represents the third data).
{c1:2-2} represents the third data item from serie's third data item indexed to 1 (i.e., which data item must be specified to specify).
{d1:2: F2} indicates that a formatted string with a value specified separately is F2 (numericFormatter is used when numericFormatter is not specified).
{d:0.##} indicates that a formatted string with a value specified separately is 0.## (used for percentage, reserved 2 valid digits while avoiding the situation similar to "100.00%" when using f2 ).
Example: "{a}, {c}", "{a1}, {c1: f1}", "{a1}, {c1:0: f1}", "{a1} : {c1:1-1: f1}"
### Tooltip.itemHeight
-`float` `25f`
+`float` `default: 25f`
+
height of content text.
### Tooltip.lineStyle
`LineStyle`
+
the line style of indicator line. [LineStyle](#linestyle)
### Tooltip.marker
`string`
+
the marker of serie.
### Tooltip.minHeight
-`float` `0`
+`float` `default: 0`
+
Minimum height. If fixedHeight has a value, take priority over fixedHeight.
### Tooltip.minWidth
-`float` `0`
+`float` `default: 0`
+
Minimum width. If fixedWidth has a value, get fixedWidth first.
### Tooltip.numericFormatter
`string`
+
Standard number and date format string. Used to format a Double value or a DateTime date as a string. numericFormatter is used as an argument to either `Double.ToString ()` or `DateTime.ToString()`.
The number format uses the Axx format: A is a single-character format specifier that supports C currency, D decimal, E exponent, F fixed-point number, G regular, N digit, P percentage, R round trip, and X hexadecimal. xx is precision specification, from 0-99. E.g. F1, E2
Date format: Starts with `date`, which is used to format DateTime. Common date formats are: yyyy year, MM month, dd day, HH hour, mm minute, ss second, fff millisecond. For example: date:yyyy-MM-dd HH:mm:ss
Time format: Starts with `time`, which is used to format TimeSpan. Common time formats are: d day, HH hour, mm minute, ss second, fffffff fractional part. Only the version of Unity2018 or later can support formatting, and the characters inside should be escaped. For example: time:HH\:mm\:ss
number format reference: https://docs.microsoft.com/en-us/dotnet/standard/base-types/standard-numeric-format-strings
date format reference: https://docs.microsoft.com/en-us/dotnet/standard/base-types/standard-numeric-format-strings
Note: The date and time formats are only supported by 'v3.12.0' or later.
### Tooltip.offset
-`Vector2` `Vector2(18f, -25f)`
+`Vector2` `default: Vector2(18f, -25f)`
+
The position offset of tooltip relative to the mouse position.
### Tooltip.paddingLeftRight
-`int` `10`
+`int` `default: 10`
+
the text padding of left and right. defaut:5.
### Tooltip.paddingTopBottom
-`int` `10`
+`int` `default: 10`
+
the text padding of top and bottom. defaut:5.
### Tooltip.position
`Tooltip.Position` `v3.3.0`
+
Type of position.
Options:
@@ -4321,32 +4953,38 @@ Options:
### Tooltip.show
-`bool` `true`
+`bool` `default: true`
+
Whether to show the tooltip component.
### Tooltip.showContent
-`bool` `true`
+`bool` `default: true`
+
Whether to show the tooltip floating layer, whose default value is true. It should be configurated to be false, if you only need tooltip to trigger the event or show the axisPointer without content.
### Tooltip.titleFormatter
`string`
+
String template formatter for tooltip title content. \n line wrapping is supported. The placeholder {i} can be set separately to indicate that title is ignored and not displayed. Template variables are {.}, {a}, {b}, {c}, {d}, {e}, {f}, and {g}.
{.} is the dot of the corresponding color of serie currently indicated or index 0.
{a} is the series name name of serie currently indicated or index 0.
{b} is the name of the serie data item serieData currently indicated or index 0, or the category value (such as the X-axis of a line chart).
{c} is the value of the serie y-dimension (dimesion is 1) currently indicated or index is 0.
{d} is the serie y-dimensional (dimesion 1) percentage value of the currently indicated or index 0, note without the % sign.
{e} is the name of the serie data item serieData currently indicated or whose index is 0.
{h} is the hexadecimal color value of serieData for the serie data item currently indicated or index 0.
{f} is the sum of data.
{g} indicates the total number of data.
{y} is category value of y axis.
{.1} represents a dot of the corresponding color with serie specified as index 1.
The 1 in {a1}, {b1}, {c1} represents serie where index is specified as 1.
{c1:2} represents the third data of the current indicator data item in serie with index 1 (one data item has multiple data, index 2 represents the third data).
{c1:2-2} represents the third data of serie third data item with index 1 (that is, the number of data items must be specified when specifying the number of data items).
{d1:2:f2} indicates that a format string with a single value is f2 (numericFormatter is used if no value is specified).
{d:0.##} indicates that the format string with a value specified alone is 0.## # (for percentages, preserving a 2-digit significant number while avoiding the "100.00%" situation with f2).
example: "{a}, {c}", "{a1}, {c1: f1}", "{a1}, {c1:0: f1}", "{a1}, {c1:1-1: f1}"
### Tooltip.titleHeight
-`float` `25f`
+`float` `default: 25f`
+
height of title text.
### Tooltip.titleLabelStyle
`LabelStyle`
+
the textstyle of title. [LabelStyle](#labelstyle)
### Tooltip.trigger
`Tooltip.Trigger`
+
Type of triggering.
Options:
@@ -4359,6 +4997,7 @@ Options:
### Tooltip.triggerOn
`Tooltip.TriggerOn` `v3.11.0`
+
Condition of trigger tooltip.
Options:
@@ -4369,6 +5008,7 @@ Options:
### Tooltip.type
`Tooltip.Type`
+
Indicator type.
Options:
@@ -4386,26 +5026,31 @@ class in XCharts.Runtime / Inherits from: [ComponentTheme](#componenttheme)
### TooltipTheme.areaColor
`Color32`
+
the color of line.
### TooltipTheme.labelBackgroundColor
`Color32`
+
the background color of tooltip cross indicator's axis label.
### TooltipTheme.labelTextColor
`Color32`
+
the text color of tooltip cross indicator's axis label.
### TooltipTheme.lineColor
`Color32`
+
the color of line.
### TooltipTheme.lineType
`LineStyle.Type`
+
the type of line.
Options:
@@ -4419,7 +5064,8 @@ Options:
### TooltipTheme.lineWidth
-`float` `1f`
+`float` `default: 1f`
+
the width of line.
## UIComponentTheme
@@ -4429,15 +5075,18 @@ class in XCharts.Runtime / Inherits from: [ChildComponent](#childcomponent)
### UIComponentTheme.sharedTheme
`Theme`
+
the asset of theme. [Theme](#theme)
### UIComponentTheme.show
-`bool` `true`
+`bool` `default: true`
+
### UIComponentTheme.transparentBackground
-`bool` `false`
+`bool` `default: false`
+
## ViewControl
@@ -4449,12 +5098,14 @@ View control component in 3D coordinate system.
### ViewControl.alpha
-`float` `90f`
+`float` `default: 90f`
+
The angle of the view in the x-z plane.
### ViewControl.beta
-`float` `55f`
+`float` `default: 55f`
+
The angle of the view in the y-z plane.
## VisualMap
@@ -4465,67 +5116,80 @@ VisualMap component. Mapping data to visual elements such as colors.
### VisualMap.autoMinMax
-`bool` `true`
+`bool` `default: true`
+
Automatically set min, Max value 自动设置min,max的值
### VisualMap.borderWidth
-`float` `0`
+`float` `default: 0`
+
Border line width.
### VisualMap.calculable
-`bool` `false`
+`bool` `default: false`
+
Whether the handle used for dragging is displayed (the handle can be dragged to adjust the selected range).
### VisualMap.dimension
-`int` `-1`
+`int` `default: -1`
+
Specifies "which dimension" of the data to map to the visual element. "Data" is series.data.
### VisualMap.hoverLink
-`bool` `true`
+`bool` `default: true`
+
When the hoverLink function is turned on, when the mouse hovers over the visualMap component, the corresponding value of the mouse position is highlighted in the corresponding graphic element in the diagram.
### VisualMap.inRange
`List`
+
分段式每一段的相关配置。
### VisualMap.itemGap
-`float` `10f`
+`float` `default: 10f`
+
每个图元之间的间隔距离。
### VisualMap.itemHeight
-`float` `140f`
+`float` `default: 140f`
+
The height of the figure, that is, the height of the color bar.
### VisualMap.itemWidth
-`float` `20f`
+`float` `default: 20f`
+
The width of the figure, that is, the width of the color bar.
### VisualMap.location
`Location`
+
The location of component. [Location](#location)
### VisualMap.max
-`double` `0`
+`double` `default: 0`
+
范围最大值
### VisualMap.min
-`double` `0`
+`double` `default: 0`
+
范围最小值
### VisualMap.orient
`Orient`
+
Specify whether the layout of component is horizontal or vertical.
Options:
@@ -4536,21 +5200,25 @@ Options:
### VisualMap.outOfRange
`List`
+
Defines a visual color outside of the selected range.
### VisualMap.range
`double[]`
+
Specifies the position of the numeric value corresponding to the handle. Range should be within the range of [min,max].
### VisualMap.realtime
-`bool` `true`
+`bool` `default: true`
+
Whether to update in real time while dragging.
### VisualMap.selectedMode
`VisualMap.SelectedMode`
+
the selected mode for Piecewise visualMap.
Options:
@@ -4560,37 +5228,44 @@ Options:
### VisualMap.serieIndex
-`int` `0`
+`int` `default: 0`
+
the serie index of visualMap.
### VisualMap.show
-`bool` `true`
+`bool` `default: true`
+
Whether to enable components.
### VisualMap.showUI
-`bool` `false`
+`bool` `default: false`
+
Whether to display components. If set to false, it will not show up, but the data mapping function still exists.
### VisualMap.splitNumber
-`int` `5`
+`int` `default: 5`
+
For continuous data, it is automatically evenly divided into several segments and automatically matches the size of inRange color list when the default is 0.
### VisualMap.text
`string[]`
+
Text on both ends.
### VisualMap.textGap
`float[]`
+
The distance between the two text bodies.
### VisualMap.type
`VisualMap.Type`
+
the type of visualmap component.
Options:
@@ -4600,12 +5275,14 @@ Options:
### VisualMap.workOnArea
-`bool` `false`
+`bool` `default: false`
+
Whether the visualmap is work on areaStyle of linechart.
### VisualMap.workOnLine
-`bool` `true`
+`bool` `default: true`
+
Whether the visualmap is work on linestyle of linechart.
## VisualMapRange
@@ -4615,21 +5292,25 @@ class in XCharts.Runtime / Inherits from: [ChildComponent](#childcomponent)
### VisualMapRange.color
`Color32`
+
颜色
### VisualMapRange.label
`string`
+
文字描述
### VisualMapRange.max
`double`
+
范围最大值
### VisualMapRange.min
`double`
+
范围最小值
## VisualMapTheme
@@ -4639,21 +5320,25 @@ class in XCharts.Runtime / Inherits from: [ComponentTheme](#componenttheme)
### VisualMapTheme.backgroundColor
`Color32`
+
the background color of visualmap.
### VisualMapTheme.borderColor
`Color32`
+
the color of dataZoom border.
### VisualMapTheme.borderWidth
`float`
+
the width of border.
### VisualMapTheme.triangeLen
-`float` `20f`
+`float` `default: 20f`
+
可视化组件的调节三角形边长。
## Wrapper<T>
@@ -4687,6 +5372,7 @@ class in XCharts.Runtime / Inherits from: [ScriptableObject](https://docs.unity3
`LineStyle.Type`
+
Options:
- `Solid`: 实线
@@ -4698,13 +5384,15 @@ Options:
### XCSettings.axisLineWidth
-`float` `0.8f`
+`float` `default: 0.8f`
+
### XCSettings.axisSplitLineType
`LineStyle.Type`
+
Options:
- `Solid`: 实线
@@ -4716,133 +5404,165 @@ Options:
### XCSettings.axisSplitLineWidth
-`float` `0.8f`
+`float` `default: 0.8f`
+
### XCSettings.axisTickLength
-`float` `5f`
+`float` `default: 5f`
+
### XCSettings.axisTickWidth
-`float` `0.8f`
+`float` `default: 0.8f`
+
### XCSettings.cicleSmoothness
-`float` `2f`
+`float` `default: 2f`
+
### XCSettings.customThemes
`List`
+
### XCSettings.dataZoomBorderWidth
-`float` `0.5f`
+`float` `default: 0.5f`
+
### XCSettings.dataZoomDataLineWidth
-`float` `0.5f`
+`float` `default: 0.5f`
+
### XCSettings.editorShowAllListData
-`bool` `false`
+`bool` `default: false`
+
### XCSettings.font
`Font`
+
### XCSettings.fontSizeLv1
-`int` `28`
+`int` `default: 28`
+
一级字体大小。
### XCSettings.fontSizeLv2
-`int` `24`
+`int` `default: 24`
+
### XCSettings.fontSizeLv3
-`int` `20`
+`int` `default: 20`
+
### XCSettings.fontSizeLv4
-`int` `18`
+`int` `default: 18`
+
### XCSettings.gaugeAxisLineWidth
-`float` `15f`
+`float` `default: 15f`
+
### XCSettings.gaugeAxisSplitLineLength
-`float` `15f`
+`float` `default: 15f`
+
### XCSettings.gaugeAxisSplitLineWidth
-`float` `0.8f`
+`float` `default: 0.8f`
+
### XCSettings.gaugeAxisTickLength
-`float` `5f`
+`float` `default: 5f`
+
### XCSettings.gaugeAxisTickWidth
-`float` `0.8f`
+`float` `default: 0.8f`
+
### XCSettings.lang
`Lang`
+
[Lang](#lang)
### XCSettings.lineSegmentDistance
-`float` `3f`
+`float` `default: 3f`
+
### XCSettings.lineSmoothness
-`float` `2f`
+`float` `default: 2f`
+
### XCSettings.lineSmoothStyle
-`float` `3f`
+`float` `default: 3f`
+
### XCSettings.maxPainter
-`int` `10`
+`int` `default: 10`
+
### XCSettings.serieCandlestickBorderWidth
-`float` `1f`
+`float` `default: 1f`
+
### XCSettings.serieLineSymbolSize
-`float` `5f`
+`float` `default: 5f`
+
### XCSettings.serieLineWidth
-`float` `1.8f`
+`float` `default: 1.8f`
+
### XCSettings.serieScatterSymbolSize
-`float` `20f`
+`float` `default: 20f`
+
### XCSettings.serieSelectedRate
-`float` `1.3f`
+`float` `default: 1.3f`
+
### XCSettings.tMPFont
`TMP_FontAsset`
+
### XCSettings.tootipLineWidth
-`float` `0.8f`
+`float` `default: 0.8f`
+
### XCSettings.visualMapBorderWidth
-`float` `0f`
+`float` `default: 0f`
+
### XCSettings.visualMapTriangeLen
-`float` `20f`
+`float` `default: 20f`
+
## YAxis
diff --git a/Documentation~/zh/api.md b/Documentation~/zh/api.md
index d3cddd5e..12876bd3 100644
--- a/Documentation~/zh/api.md
+++ b/Documentation~/zh/api.md
@@ -317,12 +317,12 @@ class in XCharts.Runtime / 继承自: [Axis](#axis)
### AngleAxis.GetValueAngle
-public float GetValueAngle(double value)
+public float GetValueAngle(double value)
### AngleAxis.SetDefaultValue
-public override void SetDefaultValue()
+public override void SetDefaultValue()
## AngleAxisTheme
@@ -330,11 +330,11 @@ class in XCharts.Runtime / 继承自: [BaseAxisTheme](#baseaxistheme)
### AngleAxisTheme.base(theme)
-public AngleAxisTheme(ThemeType theme) : base(theme)
+public AngleAxisTheme(ThemeType theme) : base(theme)
### AngleAxisTheme.AngleAxisTheme
-public AngleAxisTheme(ThemeType theme) : base(theme) { }
+public AngleAxisTheme(ThemeType theme) : base(theme) { }
## AnimationAddition
@@ -394,92 +394,92 @@ class in XCharts.Runtime / 子类: [AnimationFadeIn](#animationfadein),[Animatio
### AnimationInfo.delay
-public float delay
+public float delay
动画开始前的延迟时间。
### AnimationInfo.delayFunction
-public AnimationDelayFunction delayFunction
+public AnimationDelayFunction delayFunction
动画延迟的委托函数。
### AnimationInfo.duration
-public float duration
+public float duration
动画的时长。
### AnimationInfo.durationFunction
-public AnimationDurationFunction durationFunction
+public AnimationDurationFunction durationFunction
动画时长的委托函数。
### AnimationInfo.enable
-public bool enable
+public bool enable
是否开启动画效果。
### AnimationInfo.OnAnimationEnd
-public Action OnAnimationEnd
+public Action OnAnimationEnd
动画结束的回调。
### AnimationInfo.OnAnimationStart
-public Action OnAnimationStart
+public Action OnAnimationStart
动画开始的回调。
### AnimationInfo.reverse
-public bool reverse
+public bool reverse
是否开启反向动画效果。
### AnimationInfo.End
-public void End()
+public void End()
结束动画。
### AnimationInfo.GetIndexDelay
-public float GetIndexDelay(int dataIndex)
+public float GetIndexDelay(int dataIndex)
获取动画延迟。
### AnimationInfo.Init
-public bool Init(float curr, float dest, int totalPointIndex)
+public bool Init(float curr, float dest, int totalPointIndex)
初始化动画。
### AnimationInfo.IsFinish
-public bool IsFinish()
+public bool IsFinish()
动画是否结束。
### AnimationInfo.IsInDelay
-public bool IsInDelay()
+public bool IsInDelay()
动画是否在延迟中。
### AnimationInfo.IsInIndexDelay
-public bool IsInIndexDelay(int dataIndex)
+public bool IsInIndexDelay(int dataIndex)
动画是否在索引延迟中。
### AnimationInfo.Pause
-public void Pause()
+public void Pause()
暂停动画。
### AnimationInfo.Reset
-public void Reset()
+public void Reset()
重置动画。
### AnimationInfo.Resume
-public void Resume()
+public void Resume()
恢复动画。
### AnimationInfo.Start
-public void Start(bool reset = true)
+public void Start(bool reset = true)
开始动画。
## AnimationInfoContext
@@ -496,31 +496,31 @@ class in XCharts.Runtime / 继承自: [AnimationInfo](#animationinfo)
### AnimationInteraction.offset
-public MLValue offset
+public MLValue offset
交互的多样式数值。如饼图的扇形选中时的偏移。
### AnimationInteraction.radius
-public MLValue radius
+public MLValue radius
半径的多样式数值。
### AnimationInteraction.width
-public MLValue width
+public MLValue width
宽度的多样式数值。
### AnimationInteraction.GetOffset
-public float GetOffset()
+public float GetOffset()
### AnimationInteraction.GetRadius
-public float GetRadius(float radius)
+public float GetRadius(float radius)
### AnimationInteraction.GetWidth
-public float GetWidth(float width)
+public float GetWidth(float width)
## AnimationStyle
@@ -530,180 +530,180 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent)
### AnimationStyle.addition
-public AnimationAddition addition
+public AnimationAddition addition
数据新增动画配置。
### AnimationStyle.change
-public AnimationChange change
+public AnimationChange change
数据变更动画配置。
### AnimationStyle.enable
-public bool enable
+public bool enable
是否开启动画效果。
### AnimationStyle.fadeIn
-public AnimationFadeIn fadeIn
+public AnimationFadeIn fadeIn
渐入动画配置。
### AnimationStyle.fadeInFinishCallback
-public Action fadeInFinishCallback
+public Action fadeInFinishCallback
### AnimationStyle.fadeOut
-public AnimationFadeOut fadeOut
+public AnimationFadeOut fadeOut
渐出动画配置。
### AnimationStyle.fadeOutFinishCallback
-public Action fadeOutFinishCallback
+public Action fadeOutFinishCallback
### AnimationStyle.hiding
-public AnimationHiding hiding
+public AnimationHiding hiding
数据隐藏动画配置。
### AnimationStyle.interaction
-public AnimationInteraction interaction
+public AnimationInteraction interaction
交互动画配置。
### AnimationStyle.threshold
-public int threshold
+public int threshold
是否开启动画的阈值,当单个系列显示的图形数量大于这个阈值时会关闭动画。
### AnimationStyle.unscaledTime
-public bool unscaledTime
+public bool unscaledTime
动画是否受TimeScaled的影响。默认为 false 受TimeScaled的影响。
### AnimationStyle.Addition
-public void Addition()
+public void Addition()
开始数据新增动画。
### AnimationStyle.CanCheckInteract
-public bool CanCheckInteract()
+public bool CanCheckInteract()
### AnimationStyle.CheckDetailBreak
-public bool CheckDetailBreak(Vector3 pos, bool isYAxis)
+public bool CheckDetailBreak(Vector3 pos, bool isYAxis)
### AnimationStyle.CheckProgress
-public void CheckProgress(double total)
+public void CheckProgress(double total)
### AnimationStyle.CheckSymbol
-public void CheckSymbol(float dest)
+public void CheckSymbol(float dest)
### AnimationStyle.FadeIn
-public void FadeIn()
+public void FadeIn()
开始渐入动画。
### AnimationStyle.FadeOut
-public void FadeOut()
+public void FadeOut()
开始渐出动画。
### AnimationStyle.GetAdditionDuration
-public float GetAdditionDuration()
+public float GetAdditionDuration()
### AnimationStyle.GetChangeDuration
-public float GetChangeDuration()
+public float GetChangeDuration()
### AnimationStyle.GetCurrDetail
-public float GetCurrDetail()
+public float GetCurrDetail()
### AnimationStyle.GetCurrIndex
-public int GetCurrIndex()
+public int GetCurrIndex()
### AnimationStyle.GetCurrRate
-public float GetCurrRate()
+public float GetCurrRate()
### AnimationStyle.GetInteractionDuration
-public float GetInteractionDuration()
+public float GetInteractionDuration()
### AnimationStyle.GetInteractionRadius
-public float GetInteractionRadius(float radius)
+public float GetInteractionRadius(float radius)
### AnimationStyle.GetSysmbolSize
-public float GetSysmbolSize(float dest)
+public float GetSysmbolSize(float dest)
### AnimationStyle.HasFadeOut
-public bool HasFadeOut()
+public bool HasFadeOut()
### AnimationStyle.InitProgress
-public void InitProgress(List<Vector3> paths, bool isY)
+public void InitProgress(List<Vector3> paths, bool isY)
初始化动画配置。
### AnimationStyle.IsDataAnimation
-public bool IsDataAnimation()
+public bool IsDataAnimation()
是否为数据动画。BottomToTop和InsideOut类型的为数据动画。
### AnimationStyle.IsEnd
-public bool IsEnd()
+public bool IsEnd()
### AnimationStyle.IsFadeIn
-public bool IsFadeIn()
+public bool IsFadeIn()
### AnimationStyle.IsFadeOut
-public bool IsFadeOut()
+public bool IsFadeOut()
### AnimationStyle.IsFinish
-public bool IsFinish()
+public bool IsFinish()
### AnimationStyle.IsInDelay
-public bool IsInDelay()
+public bool IsInDelay()
### AnimationStyle.IsSerieAnimation
-public bool IsSerieAnimation()
+public bool IsSerieAnimation()
是否为系列动画。LeftToRight、AlongPath和Clockwise类型的为系列动画。
### AnimationStyle.Pause
-public void Pause()
+public void Pause()
暂停所有动画。
### AnimationStyle.Reset
-public void Reset()
+public void Reset()
Reset all animations.
### AnimationStyle.Restart
-public void Restart()
+public void Restart()
重启当前激活的动画。
### AnimationStyle.Resume
-public void Resume()
+public void Resume()
恢复所有动画。
## AnimationStyleHelper
@@ -712,19 +712,19 @@ class in XCharts.Runtime
### AnimationStyleHelper.CheckDataAnimation
-public static float CheckDataAnimation(BaseChart chart, Serie serie, int dataIndex, float destProgress, float startPorgress = 0)
+public static float CheckDataAnimation(BaseChart chart, Serie serie, int dataIndex, float destProgress, float startPorgress = 0)
### AnimationStyleHelper.GetAnimationPosition
-public static bool GetAnimationPosition(AnimationStyle animation, bool isY, Vector3 lp, Vector3 cp, float progress, ref Vector3 ip, ref float rate)
+public static bool GetAnimationPosition(AnimationStyle animation, bool isY, Vector3 lp, Vector3 cp, float progress, ref Vector3 ip, ref float rate)
### AnimationStyleHelper.UpdateAnimationType
-public static void UpdateAnimationType(AnimationStyle animation, AnimationType defaultType, bool enableSerieDataAnimation)
+public static void UpdateAnimationType(AnimationStyle animation, AnimationType defaultType, bool enableSerieDataAnimation)
### AnimationStyleHelper.UpdateSerieAnimation
-public static void UpdateSerieAnimation(Serie serie)
+public static void UpdateSerieAnimation(Serie serie)
## AnimationType
@@ -747,7 +747,7 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent),[ISerieC
### AreaStyle.GetColor
-public Color32 GetColor(Color32 themeColor)
+public Color32 GetColor(Color32 themeColor)
## AreaStyle.AreaOrigin
@@ -768,15 +768,15 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent)
### ArrowStyle.Clone
-public ArrowStyle Clone()
+public ArrowStyle Clone()
### ArrowStyle.Copy
-public void Copy(ArrowStyle arrow)
+public void Copy(ArrowStyle arrow)
### ArrowStyle.GetColor
-public Color32 GetColor(Color32 defaultColor)
+public Color32 GetColor(Color32 defaultColor)
## Axis
@@ -786,153 +786,153 @@ class in XCharts.Runtime / 继承自: [MainComponent](#maincomponent) / 子类:
### Axis.AddData
-public void AddData(string category)
+public void AddData(string category)
添加一个类目到类目数据列表
### Axis.AddIcon
-public void AddIcon(Sprite icon)
+public void AddIcon(Sprite icon)
添加图标
### Axis.ClearComponentDirty
-public override void ClearComponentDirty()
+public override void ClearComponentDirty()
### Axis.ClearData
-public override void ClearData()
+public override void ClearData()
清空类目数据
### Axis.ClearVerticesDirty
-public override void ClearVerticesDirty()
+public override void ClearVerticesDirty()
### Axis.Clone
-public Axis Clone()
+public Axis Clone()
### Axis.Copy
-public void Copy(Axis axis)
+public void Copy(Axis axis)
### Axis.GetAddedDataCount
-public int GetAddedDataCount()
+public int GetAddedDataCount()
获得添加过的历史数据总数
### Axis.GetCategoryPosition
-public Vector3 GetCategoryPosition(int categoryIndex, int dataCount = 0)
+public Vector3 GetCategoryPosition(int categoryIndex, int dataCount = 0)
### Axis.GetData
-public string GetData(int index, DataZoom dataZoom)
+public string GetData(int index, DataZoom dataZoom)
获得在dataZoom范围内指定索引的类目数据
### Axis.GetDistance
-public float GetDistance(double value, float axisLength = 0)
+public float GetDistance(double value, float axisLength = 0)
获得值在坐标轴上的距离
### Axis.GetIcon
-public Sprite GetIcon(int index)
+public Sprite GetIcon(int index)
### Axis.GetLabelValue
-public double GetLabelValue(int index)
+public double GetLabelValue(int index)
### Axis.GetLastLabelValue
-public double GetLastLabelValue()
+public double GetLastLabelValue()
### Axis.GetLogMaxIndex
-public double GetLogMaxIndex()
+public double GetLogMaxIndex()
### Axis.GetLogMinIndex
-public double GetLogMinIndex()
+public double GetLogMinIndex()
### Axis.GetLogValue
-public float GetLogValue(double value)
+public float GetLogValue(double value)
### Axis.GetValueLength
-public float GetValueLength(double value, float axisLength)
+public float GetValueLength(double value, float axisLength)
### Axis.IsBottom
-public bool IsBottom()
+public bool IsBottom()
### Axis.IsCategory
-public bool IsCategory()
+public bool IsCategory()
是否为类目轴。
### Axis.IsLeft
-public bool IsLeft()
+public bool IsLeft()
### Axis.IsLog
-public bool IsLog()
+public bool IsLog()
是否为对数轴。
### Axis.IsNeedShowLabel
-public bool IsNeedShowLabel(int index, int total = 0)
+public bool IsNeedShowLabel(int index, int total = 0)
### Axis.IsRight
-public bool IsRight()
+public bool IsRight()
### Axis.IsTime
-public bool IsTime()
+public bool IsTime()
是否为时间轴。
### Axis.IsTop
-public bool IsTop()
+public bool IsTop()
### Axis.IsValue
-public bool IsValue()
+public bool IsValue()
是否为数值轴。
### Axis.RemoveData
-public void RemoveData(int dataIndex)
+public void RemoveData(int dataIndex)
### Axis.ResetStatus
-public override void ResetStatus()
+public override void ResetStatus()
重置状态。
### Axis.SetComponentDirty
-public override void SetComponentDirty()
+public override void SetComponentDirty()
### Axis.SetNeedUpdateFilterData
-public void SetNeedUpdateFilterData()
+public void SetNeedUpdateFilterData()
### Axis.UpdateData
-public void UpdateData(int index, string category)
+public void UpdateData(int index, string category)
更新类目数据
### Axis.UpdateIcon
-public void UpdateIcon(int index, Sprite icon)
+public void UpdateIcon(int index, Sprite icon)
更新图标
### Axis.UpdateZeroOffset
-public void UpdateZeroOffset(float axisLength)
+public void UpdateZeroOffset(float axisLength)
## Axis.AxisMinMaxType
@@ -980,12 +980,12 @@ class in XCharts.Runtime
### Axis3DHelper.Get3DGridPosition
-public static Vector3 Get3DGridPosition(GridCoord3D grid, XAxis3D xAxis, YAxis3D yAxis, double xValue, double yValue)
+public static Vector3 Get3DGridPosition(GridCoord3D grid, XAxis3D xAxis, YAxis3D yAxis, double xValue, double yValue)
### Axis3DHelper.GetLabelPosition
-public static Vector3 GetLabelPosition(int i, Axis axis, Axis relativedAxis, AxisTheme theme, float scaleWid)
+public static Vector3 GetLabelPosition(int i, Axis axis, Axis relativedAxis, AxisTheme theme, float scaleWid)
## AxisAnimation
@@ -997,11 +997,11 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent)
### AxisAnimation.Clone
-public AxisAnimation Clone()
+public AxisAnimation Clone()
### AxisAnimation.Copy
-public void Copy(AxisAnimation animation)
+public void Copy(AxisAnimation animation)
## AxisContext
@@ -1009,37 +1009,37 @@ class in XCharts.Runtime / 继承自: [MainComponentContext](#maincomponentconte
### AxisContext.destMaxValue
-public double destMaxValue
+public double destMaxValue
### AxisContext.destMinValue
-public double destMinValue
+public double destMinValue
### AxisContext.labelObjectList
-public List<ChartLabel> labelObjectList
+public List<ChartLabel> labelObjectList
### AxisContext.labelValueList
-public List<double> labelValueList
+public List<double> labelValueList
### AxisContext.lastMaxValue
-public double lastMaxValue
+public double lastMaxValue
当前最大值。
### AxisContext.lastMinValue
-public double lastMinValue
+public double lastMinValue
当前最小值。
### AxisContext.needAnimation
-public bool needAnimation
+public bool needAnimation
### AxisContext.runtimeData
-public List<string> runtimeData
+public List<string> runtimeData
数值轴时每个tick的数值。
## AxisHandler<T>
@@ -1048,7 +1048,7 @@ class in XCharts / 继承自: [MainComponentHandler](#maincomponenthandler)
### AxisHandler<T>.component
-public T component
+public T component
## AxisHelper
@@ -1056,95 +1056,95 @@ class in XCharts.Runtime
### AxisHelper.AdjustCircleLabelPos
-public static void AdjustCircleLabelPos(ChartLabel txt, Vector3 pos, Vector3 cenPos, float txtHig, Vector3 offset)
+public static void AdjustCircleLabelPos(ChartLabel txt, Vector3 pos, Vector3 cenPos, float txtHig, Vector3 offset)
### AxisHelper.AdjustMinMaxValue
-public static void AdjustMinMaxValue(Axis axis, ref double minValue, ref double maxValue, bool needFormat, double ceilRate = 0)
+public static void AdjustMinMaxValue(Axis axis, ref double minValue, ref double maxValue, bool needFormat, double ceilRate = 0)
调整最大最小值
### AxisHelper.AdjustRadiusAxisLabelPos
-public static void AdjustRadiusAxisLabelPos(ChartLabel txt, Vector3 pos, Vector3 cenPos, float txtHig, Vector3 offset)
+public static void AdjustRadiusAxisLabelPos(ChartLabel txt, Vector3 pos, Vector3 cenPos, float txtHig, Vector3 offset)
### AxisHelper.GetAxisLineArrowOffset
-public static float GetAxisLineArrowOffset(Axis axis)
+public static float GetAxisLineArrowOffset(Axis axis)
包含箭头偏移的轴线长度
### AxisHelper.GetAxisPosition
-public static float GetAxisPosition(GridCoord grid, Axis axis, double value, int dataCount = 0, DataZoom dataZoom = null)
+public static float GetAxisPosition(GridCoord grid, Axis axis, double value, int dataCount = 0, DataZoom dataZoom = null)
### AxisHelper.GetAxisPositionValue
-public static double GetAxisPositionValue(float xy, float axisLength, double axisRange, float axisStart, float axisOffset)
+public static double GetAxisPositionValue(float xy, float axisLength, double axisRange, float axisStart, float axisOffset)
### AxisHelper.GetAxisValueDistance
-public static float GetAxisValueDistance(GridCoord grid, Axis axis, float scaleWidth, double value)
+public static float GetAxisValueDistance(GridCoord grid, Axis axis, float scaleWidth, double value)
获得数值value在坐标轴上相对起点的距离
### AxisHelper.GetAxisValueLength
-public static float GetAxisValueLength(GridCoord grid, Axis axis, float scaleWidth, double value)
+public static float GetAxisValueLength(GridCoord grid, Axis axis, float scaleWidth, double value)
获得数值value在坐标轴上对应的长度
### AxisHelper.GetAxisValuePosition
-public static float GetAxisValuePosition(GridCoord grid, Axis axis, float scaleWidth, double value)
+public static float GetAxisValuePosition(GridCoord grid, Axis axis, float scaleWidth, double value)
获得数值value在坐标轴上的坐标位置
### AxisHelper.GetAxisValueSplitIndex
-public static int GetAxisValueSplitIndex(Axis axis, double value, bool checkMaxCache, int totalSplitNumber = -1)
+public static int GetAxisValueSplitIndex(Axis axis, double value, bool checkMaxCache, int totalSplitNumber = -1)
获得数值value在坐标轴上对应的split索引
### AxisHelper.GetAxisXOrY
-public static float GetAxisXOrY(GridCoord grid, Axis axis, Axis relativedAxis)
+public static float GetAxisXOrY(GridCoord grid, Axis axis, Axis relativedAxis)
### AxisHelper.GetDataWidth
-public static float GetDataWidth(Axis axis, float coordinateWidth, int dataCount, DataZoom dataZoom)
+public static float GetDataWidth(Axis axis, float coordinateWidth, int dataCount, DataZoom dataZoom)
获得一个类目数据在坐标系中代表的宽度
### AxisHelper.GetEachWidth
-public static float GetEachWidth(Axis axis, float coordinateWidth, DataZoom dataZoom = null)
+public static float GetEachWidth(Axis axis, float coordinateWidth, DataZoom dataZoom = null)
### AxisHelper.GetScaleNumber
-public static int GetScaleNumber(Axis axis, float coordinateWidth, DataZoom dataZoom = null)
+public static int GetScaleNumber(Axis axis, float coordinateWidth, DataZoom dataZoom = null)
获得分割线条数
### AxisHelper.GetScaleWidth
-public static float GetScaleWidth(Axis axis, float coordinateWidth, int index, DataZoom dataZoom = null)
+public static float GetScaleWidth(Axis axis, float coordinateWidth, int index, DataZoom dataZoom = null)
获得分割段宽度
### AxisHelper.GetSplitNumber
-public static int GetSplitNumber(Axis axis, float coordinateWid, DataZoom dataZoom)
+public static int GetSplitNumber(Axis axis, float coordinateWid, DataZoom dataZoom)
获得分割段数
### AxisHelper.GetTotalSplitGridNum
-public static int GetTotalSplitGridNum(Axis axis)
+public static int GetTotalSplitGridNum(Axis axis)
获得分割网格个数,包含次刻度
### AxisHelper.GetXAxisXOrY
-public static float GetXAxisXOrY(GridCoord grid, Axis xAxis, Axis relativedAxis)
+public static float GetXAxisXOrY(GridCoord grid, Axis xAxis, Axis relativedAxis)
### AxisHelper.GetYAxisXOrY
-public static float GetYAxisXOrY(GridCoord grid, Axis yAxis, Axis relativedAxis)
+public static float GetYAxisXOrY(GridCoord grid, Axis yAxis, Axis relativedAxis)
### AxisHelper.NeedShowSplit
-public static bool NeedShowSplit(Axis axis)
+public static bool NeedShowSplit(Axis axis)
## AxisLabel
@@ -1154,32 +1154,32 @@ class in XCharts.Runtime / 继承自: [LabelStyle](#labelstyle)
### AxisLabel.componentDirty
-public override bool componentDirty
+public override bool componentDirty
### AxisLabel.ClearComponentDirty
-public override void ClearComponentDirty()
+public override void ClearComponentDirty()
### AxisLabel.Clone
-public new AxisLabel Clone()
+public new AxisLabel Clone()
### AxisLabel.Copy
-public void Copy(AxisLabel axisLabel)
+public void Copy(AxisLabel axisLabel)
### AxisLabel.GetFormatterContent
-public override string GetFormatterContent(int labelIndex, double value, double minValue, double maxValue, bool isLog = false)
+public override string GetFormatterContent(int labelIndex, double value, double minValue, double maxValue, bool isLog = false)
### AxisLabel.IsNeedShowLabel
-public bool IsNeedShowLabel(int index, int total)
+public bool IsNeedShowLabel(int index, int total)
### AxisLabel.SetRelatedText
-public void SetRelatedText(ChartText txt, float labelWidth)
+public void SetRelatedText(ChartText txt, float labelWidth)
## AxisLine
@@ -1189,11 +1189,11 @@ class in XCharts.Runtime / 继承自: [BaseLine](#baseline)
### AxisLine.Clone
-public AxisLine Clone()
+public AxisLine Clone()
### AxisLine.Copy
-public void Copy(AxisLine axisLine)
+public void Copy(AxisLine axisLine)
## AxisMinorSplitLine
@@ -1205,29 +1205,29 @@ class in XCharts.Runtime / 继承自: [BaseLine](#baseline)
### AxisMinorSplitLine.autoColor
-public bool autoColor
+public bool autoColor
自动设置颜色。
### AxisMinorSplitLine.distance
-public float distance
+public float distance
刻度线与轴线的距离。
### AxisMinorSplitLine.vertsDirty
-public override bool vertsDirty
+public override bool vertsDirty
### AxisMinorSplitLine.ClearVerticesDirty
-public override void ClearVerticesDirty()
+public override void ClearVerticesDirty()
### AxisMinorSplitLine.Clone
-public AxisMinorSplitLine Clone()
+public AxisMinorSplitLine Clone()
### AxisMinorSplitLine.Copy
-public void Copy(AxisMinorSplitLine splitLine)
+public void Copy(AxisMinorSplitLine splitLine)
## AxisMinorTick
@@ -1239,23 +1239,23 @@ class in XCharts.Runtime / 继承自: [BaseLine](#baseline)
### AxisMinorTick.autoColor
-public bool autoColor
+public bool autoColor
### AxisMinorTick.vertsDirty
-public override bool vertsDirty
+public override bool vertsDirty
### AxisMinorTick.ClearVerticesDirty
-public override void ClearVerticesDirty()
+public override void ClearVerticesDirty()
### AxisMinorTick.Clone
-public AxisMinorTick Clone()
+public AxisMinorTick Clone()
### AxisMinorTick.Copy
-public void Copy(AxisMinorTick axisTick)
+public void Copy(AxisMinorTick axisTick)
## AxisName
@@ -1265,11 +1265,11 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent)
### AxisName.Clone
-public AxisName Clone()
+public AxisName Clone()
### AxisName.Copy
-public void Copy(AxisName axisName)
+public void Copy(AxisName axisName)
## AxisSplitArea
@@ -1279,15 +1279,15 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent)
### AxisSplitArea.Clone
-public AxisSplitArea Clone()
+public AxisSplitArea Clone()
### AxisSplitArea.Copy
-public void Copy(AxisSplitArea splitArea)
+public void Copy(AxisSplitArea splitArea)
### AxisSplitArea.GetColor
-public Color32 GetColor(int index, BaseAxisTheme theme)
+public Color32 GetColor(int index, BaseAxisTheme theme)
## AxisSplitLine
@@ -1297,29 +1297,29 @@ class in XCharts.Runtime / 继承自: [BaseLine](#baseline)
### AxisSplitLine.autoColor
-public bool autoColor
+public bool autoColor
自动设置颜色。
### AxisSplitLine.distance
-public float distance
+public float distance
刻度线与轴线的距离。
### AxisSplitLine.vertsDirty
-public override bool vertsDirty
+public override bool vertsDirty
### AxisSplitLine.ClearVerticesDirty
-public override void ClearVerticesDirty()
+public override void ClearVerticesDirty()
### AxisSplitLine.Clone
-public AxisSplitLine Clone()
+public AxisSplitLine Clone()
### AxisSplitLine.Copy
-public void Copy(AxisSplitLine splitLine)
+public void Copy(AxisSplitLine splitLine)
## AxisTheme
@@ -1327,11 +1327,11 @@ class in XCharts.Runtime / 继承自: [BaseAxisTheme](#baseaxistheme)
### AxisTheme.base(theme)
-public AxisTheme(ThemeType theme) : base(theme)
+public AxisTheme(ThemeType theme) : base(theme)
### AxisTheme.AxisTheme
-public AxisTheme(ThemeType theme) : base(theme) { }
+public AxisTheme(ThemeType theme) : base(theme) { }
## AxisTick
@@ -1341,20 +1341,20 @@ class in XCharts.Runtime / 继承自: [BaseLine](#baseline)
### AxisTick.autoColor
-public bool autoColor
+public bool autoColor
### AxisTick.distance
-public float distance
+public float distance
刻度线与轴线的距离。
### AxisTick.Clone
-public AxisTick Clone()
+public AxisTick Clone()
### AxisTick.Copy
-public void Copy(AxisTick axisTick)
+public void Copy(AxisTick axisTick)
## Background
@@ -1364,7 +1364,7 @@ class in XCharts.Runtime / 继承自: [MainComponent](#maincomponent)
### Background.SetDefaultValue
-public override void SetDefaultValue()
+public override void SetDefaultValue()
## Bar
@@ -1372,19 +1372,19 @@ class in XCharts.Runtime / 继承自: [Serie](#serie),[INeedSerieContainer](#ine
### Bar.containerIndex
-public int containerIndex
+public int containerIndex
### Bar.containterInstanceId
-public int containterInstanceId
+public int containterInstanceId
### Bar.AddDefaultSerie
-public static Serie AddDefaultSerie(BaseChart chart, string serieName)
+public static Serie AddDefaultSerie(BaseChart chart, string serieName)
### Bar.ConvertSerie
-public static Bar ConvertSerie(Serie serie)
+public static Bar ConvertSerie(Serie serie)
## BarChart
@@ -1394,57 +1394,57 @@ class in XCharts.Runtime / 继承自: [BaseChart](#basechart)
### BarChart.DefaultBarChart
-public void DefaultBarChart()
+public void DefaultBarChart()
默认条形图。
### BarChart.DefaultCapsuleBarChart
-public void DefaultCapsuleBarChart()
+public void DefaultCapsuleBarChart()
默认胶囊条形图。
### BarChart.DefaultCapsuleColumnChart
-public void DefaultCapsuleColumnChart()
+public void DefaultCapsuleColumnChart()
胶囊柱状图。
### BarChart.DefaultGroupedBarChart
-public void DefaultGroupedBarChart()
+public void DefaultGroupedBarChart()
默认分组条形图。
### BarChart.DefaultGroupedColumnChart
-public void DefaultGroupedColumnChart()
+public void DefaultGroupedColumnChart()
默认分组柱状图。
### BarChart.DefaultPercentBarChart
-public void DefaultPercentBarChart()
+public void DefaultPercentBarChart()
默认百分比条形图。
### BarChart.DefaultPercentColumnChart
-public void DefaultPercentColumnChart()
+public void DefaultPercentColumnChart()
默认百分比柱状图。
### BarChart.DefaultStackedBarChart
-public void DefaultStackedBarChart()
+public void DefaultStackedBarChart()
默认堆叠条形图。
### BarChart.DefaultStackedColumnChart
-public void DefaultStackedColumnChart()
+public void DefaultStackedColumnChart()
默认堆叠分组柱状图。
### BarChart.DefaultZebraBarChart
-public void DefaultZebraBarChart()
+public void DefaultZebraBarChart()
默认斑马条形图。
### BarChart.DefaultZebraColumnChart
-public void DefaultZebraColumnChart()
+public void DefaultZebraColumnChart()
斑马柱状图。
## BarType
@@ -1465,11 +1465,11 @@ class in XCharts.Runtime / 继承自: [ComponentTheme](#componenttheme) / 子类
### BaseAxisTheme.BaseAxisTheme
-public BaseAxisTheme(ThemeType theme) : base(theme)
+public BaseAxisTheme(ThemeType theme) : base(theme)
### BaseAxisTheme.Copy
-public void Copy(BaseAxisTheme theme)
+public void Copy(BaseAxisTheme theme)
## BaseChart
@@ -1477,138 +1477,138 @@ class in XCharts.Runtime / 继承自: [BaseGraph](#basegraph),[ISerializationCal
### BaseChart.axis)
-public virtual void InitAxisRuntimeData(Axis axis)
+public virtual void InitAxisRuntimeData(Axis axis)
### BaseChart.chartHeight
-public float chartHeight
+public float chartHeight
图表的高
### BaseChart.chartHideFlags
-public override HideFlags chartHideFlags
+public override HideFlags chartHideFlags
### BaseChart.chartMaxAnchor
-public Vector2 chartMaxAnchor
+public Vector2 chartMaxAnchor
### BaseChart.chartMinAnchor
-public Vector2 chartMinAnchor
+public Vector2 chartMinAnchor
### BaseChart.chartPivot
-public Vector2 chartPivot
+public Vector2 chartPivot
### BaseChart.chartPosition
-public Vector3 chartPosition
+public Vector3 chartPosition
图表的左下角起始坐标。
### BaseChart.chartRect
-public Rect chartRect
+public Rect chartRect
### BaseChart.chartSizeDelta
-public Vector2 chartSizeDelta
+public Vector2 chartSizeDelta
### BaseChart.chartWidth
-public float chartWidth
+public float chartWidth
图表的宽
### BaseChart.chartX
-public float chartX
+public float chartX
图表的X
### BaseChart.chartY
-public float chartY
+public float chartY
图表的Y
### BaseChart.components
-public List<MainComponent> components
+public List<MainComponent> components
### BaseChart.customDrawGaugePointerFunction
-public CustomDrawGaugePointerFunction customDrawGaugePointerFunction
+public CustomDrawGaugePointerFunction customDrawGaugePointerFunction
自定义仪表盘指针绘制委托。
### BaseChart.debug
-public DebugInfo debug
+public DebugInfo debug
### BaseChart.onAxisPointerValueChanged
-public Action<Axis, double> onAxisPointerValueChanged
+public Action<Axis, double> onAxisPointerValueChanged
坐标轴变更数据索引时回调。参数:axis, dataIndex/dataValue
### BaseChart.onDraw
-public Action<VertexHelper> onDraw
+public Action<VertexHelper> onDraw
自定义绘制回调。在绘制Serie前调用。
### BaseChart.onDrawAfterSerie
-public Action<VertexHelper, Serie> onDrawAfterSerie
+public Action<VertexHelper, Serie> onDrawAfterSerie
自定义Serie绘制回调。在每个Serie绘制完后调用。
### BaseChart.onDrawBeforeSerie
-public Action<VertexHelper, Serie> onDrawBeforeSerie
+public Action<VertexHelper, Serie> onDrawBeforeSerie
自定义Serie绘制回调。在每个Serie绘制完前调用。
### BaseChart.onDrawTop
-public Action<VertexHelper> onDrawTop
+public Action<VertexHelper> onDrawTop
自定义Top层绘制回调。在绘制Tooltip前调用。
### BaseChart.onDrawUpper
-public Action<VertexHelper> onDrawUpper
+public Action<VertexHelper> onDrawUpper
自定义Upper层绘制回调。在绘制Tooltip前调用。
### BaseChart.onInit
-public Action onInit
+public Action onInit
图表的初始化完成回调。
### BaseChart.onLegendClick
-public Action<Legend, int, string, bool> onLegendClick
+public Action<Legend, int, string, bool> onLegendClick
点击图例按钮回调。参数:legendIndex, legendName, show
### BaseChart.onLegendEnter
-public Action<Legend, int, string> onLegendEnter
+public Action<Legend, int, string> onLegendEnter
鼠标进入图例回调。参数:legendIndex, legendName
### BaseChart.onLegendExit
-public Action<Legend, int, string> onLegendExit
+public Action<Legend, int, string> onLegendExit
鼠标退出图例回调。参数:legendIndex, legendName
### BaseChart.onPointerClickBar
-public Action<PointerEventData, int> onPointerClickBar
+public Action<PointerEventData, int> onPointerClickBar
点击柱形图柱条回调。参数:eventData, dataIndex
### BaseChart.onPointerClickPie
-public Action<PointerEventData, int, int> onPointerClickPie
+public Action<PointerEventData, int, int> onPointerClickPie
点击饼图区域回调。参数:PointerEventData,SerieIndex,SerieDataIndex
### BaseChart.onPointerEnterPie
-public Action<int, int> onPointerEnterPie
+public Action<int, int> onPointerEnterPie
鼠标进入和离开饼图区域回调,SerieDataIndex为-1时表示离开。参数:PointerEventData,SerieIndex,SerieDataIndex
### BaseChart.onSerieClick
-public Action<SerieEventData> onSerieClick
+public Action<SerieEventData> onSerieClick
> 从 `v3.6.0` 开始支持
@@ -1616,7 +1616,7 @@ public Action<SerieEventData> onSerieClick
### BaseChart.onSerieDown
-public Action<SerieEventData> onSerieDown
+public Action<SerieEventData> onSerieDown
> 从 `v3.6.0` 开始支持
@@ -1624,7 +1624,7 @@ public Action<SerieEventData> onSerieDown
### BaseChart.onSerieEnter
-public Action<SerieEventData> onSerieEnter
+public Action<SerieEventData> onSerieEnter
> 从 `v3.6.0` 开始支持
@@ -1632,7 +1632,7 @@ public Action<SerieEventData> onSerieEnter
### BaseChart.onSerieExit
-public Action<SerieEventData> onSerieExit
+public Action<SerieEventData> onSerieExit
> 从 `v3.6.0` 开始支持
@@ -1640,150 +1640,150 @@ public Action<SerieEventData> onSerieExit
### BaseChart.onUpdate
-public Action onUpdate
+public Action onUpdate
图表的Update回调。
### BaseChart.series
-public List<Serie> series
+public List<Serie> series
### BaseChart.settings
-public Settings settings
+public Settings settings
全局设置组件。
### BaseChart.theme
-public ThemeStyle theme
+public ThemeStyle theme
### BaseChart.typeListForComponent
-public Dictionary<Type, FieldInfo> typeListForComponent
+public Dictionary<Type, FieldInfo> typeListForComponent
### BaseChart.typeListForSerie
-public Dictionary<Type, FieldInfo> typeListForSerie
+public Dictionary<Type, FieldInfo> typeListForSerie
### BaseChart.AddChartComponent
-public MainComponent AddChartComponent(Type type)
+public MainComponent AddChartComponent(Type type)
### BaseChart.AddChartComponent<T>
-public T AddChartComponent<T>() where T : MainComponent
+public T AddChartComponent<T>() where T : MainComponent
### BaseChart.AddChartComponentWhenNoExist<T>
-public T AddChartComponentWhenNoExist<T>() where T : MainComponent
+public T AddChartComponentWhenNoExist<T>() where T : MainComponent
### BaseChart.AddData
-public SerieData AddData(int serieIndex, DateTime time, double yValue, string dataName = null, string dataId = null)
+public SerieData AddData(int serieIndex, DateTime time, double yValue, string dataName = null, string dataId = null)
添加(time,y)数据到指定的系列中。
-public SerieData AddData(int serieIndex, double data, string dataName = null, string dataId = null)
+public SerieData AddData(int serieIndex, double data, string dataName = null, string dataId = null)
添加一个数据到指定的系列中。
-public SerieData AddData(int serieIndex, double indexOrTimestamp, double open, double close, double lowest, double heighest, string dataName = null, string dataId = null)
+public SerieData AddData(int serieIndex, double indexOrTimestamp, double open, double close, double lowest, double heighest, string dataName = null, string dataId = null)
-public SerieData AddData(int serieIndex, double xValue, double yValue, string dataName = null, string dataId = null)
+public SerieData AddData(int serieIndex, double xValue, double yValue, string dataName = null, string dataId = null)
添加(x,y)数据到指定系列中。
-public SerieData AddData(int serieIndex, List<double> multidimensionalData, string dataName = null, string dataId = null)
+public SerieData AddData(int serieIndex, List<double> multidimensionalData, string dataName = null, string dataId = null)
添加多维数据(x,y,z...)到指定的系列中。
-public SerieData AddData(int serieIndex, params double[] multidimensionalData)
+public SerieData AddData(int serieIndex, params double[] multidimensionalData)
添加多维数据(x,y,z...)到指定的系列中。
-public SerieData AddData(string serieName, DateTime time, double yValue, string dataName = null, string dataId = null)
+public SerieData AddData(string serieName, DateTime time, double yValue, string dataName = null, string dataId = null)
添加(time,y)数据到指定的系列中。
-public SerieData AddData(string serieName, double indexOrTimestamp, double open, double close, double lowest, double heighest, string dataName = null, string dataId = null)
+public SerieData AddData(string serieName, double indexOrTimestamp, double open, double close, double lowest, double heighest, string dataName = null, string dataId = null)
-public SerieData AddData(string serieName, double xValue, double yValue, string dataName = null, string dataId = null)
+public SerieData AddData(string serieName, double xValue, double yValue, string dataName = null, string dataId = null)
添加(x,y)数据到指定系列中。
-public SerieData AddData(string serieName, List<double> multidimensionalData, string dataName = null, string dataId = null)
+public SerieData AddData(string serieName, List<double> multidimensionalData, string dataName = null, string dataId = null)
添加多维数据(x,y,z...)到指定的系列中。
-public SerieData AddData(string serieName, params double[] multidimensionalData)
+public SerieData AddData(string serieName, params double[] multidimensionalData)
添加多维数据(x,y,z...)到指定的系列中。
### BaseChart.AddLink
-public SerieDataLink AddLink(int serieIndex, string sourceId, string targetId, double value = 0)
+public SerieDataLink AddLink(int serieIndex, string sourceId, string targetId, double value = 0)
添加一个关系图的关系数据。
### BaseChart.AddSerie<T>
-public T AddSerie<T>(string serieName = null, bool show = true, bool addToHead = false) where T : Serie
+public T AddSerie<T>(string serieName = null, bool show = true, bool addToHead = false) where T : Serie
### BaseChart.AddXAxisData
-public void AddXAxisData(string category, int xAxisIndex = 0)
+public void AddXAxisData(string category, int xAxisIndex = 0)
添加一个类目数据到指定的x轴。
### BaseChart.AddXAxisIcon
-public void AddXAxisIcon(Sprite icon, int xAxisIndex = 0)
+public void AddXAxisIcon(Sprite icon, int xAxisIndex = 0)
添加一个图标到指定的x轴。
### BaseChart.AddYAxisData
-public void AddYAxisData(string category, int yAxisIndex = 0)
+public void AddYAxisData(string category, int yAxisIndex = 0)
添加一个类目数据到指定的y轴。
### BaseChart.AddYAxisIcon
-public void AddYAxisIcon(Sprite icon, int yAxisIndex = 0)
+public void AddYAxisIcon(Sprite icon, int yAxisIndex = 0)
添加一个图标到指定的y轴。
### BaseChart.AnimationEnable
-public void AnimationEnable(bool flag)
+public void AnimationEnable(bool flag)
是否启用Serie动画。
### BaseChart.AnimationFadeIn
-public void AnimationFadeIn(bool reset = true)
+public void AnimationFadeIn(bool reset = true)
开始所有Serie的渐入动画。
### BaseChart.AnimationFadeOut
-public void AnimationFadeOut()
+public void AnimationFadeOut()
开始所有Serie的渐出动画。
### BaseChart.AnimationPause
-public void AnimationPause()
+public void AnimationPause()
暂停所有Serie的动画。
### BaseChart.AnimationReset
-public void AnimationReset()
+public void AnimationReset()
重置所有Serie的动画。
### BaseChart.AnimationResume
-public void AnimationResume()
+public void AnimationResume()
继续所有Serie的动画。
### BaseChart.CanAddChartComponent
-public bool CanAddChartComponent(Type type)
+public bool CanAddChartComponent(Type type)
### BaseChart.CanAddSerie
-public bool CanAddSerie(Type type)
+public bool CanAddSerie(Type type)
### BaseChart.CanAddSerie<T>
-public bool CanAddSerie<T>() where T : Serie
+public bool CanAddSerie<T>() where T : Serie
### BaseChart.CancelTooltip
-public void CancelTooltip()
+public void CancelTooltip()
> 从 `v3.7.0` 开始支持
@@ -1791,19 +1791,19 @@ public void CancelTooltip()
### BaseChart.CanMultipleComponent
-public bool CanMultipleComponent(Type type)
+public bool CanMultipleComponent(Type type)
### BaseChart.ClampInChart
-public void ClampInChart(ref Vector3 pos)
+public void ClampInChart(ref Vector3 pos)
### BaseChart.ClampInGrid
-public Vector3 ClampInGrid(GridCoord grid, Vector3 pos)
+public Vector3 ClampInGrid(GridCoord grid, Vector3 pos)
### BaseChart.ClearComponentData
-public virtual void ClearComponentData()
+public virtual void ClearComponentData()
> 从 `v3.4.0` 开始支持
@@ -1811,12 +1811,12 @@ public virtual void ClearComponentData()
### BaseChart.ClearData
-public virtual void ClearData()
+public virtual void ClearData()
清空所有组件和Serie的数据。注意:Serie只是清空数据,不会移除Serie。
### BaseChart.ClearSerieData
-public virtual void ClearSerieData()
+public virtual void ClearSerieData()
> 从 `v3.4.0` 开始支持
@@ -1824,7 +1824,7 @@ public virtual void ClearSerieData()
### BaseChart.ClearSerieLinks
-public virtual void ClearSerieLinks()
+public virtual void ClearSerieLinks()
> 从 `v3.10.0` 开始支持
@@ -1832,25 +1832,25 @@ public virtual void ClearSerieLinks()
### BaseChart.ClickLegendButton
-public void ClickLegendButton(int legendIndex, string legendName, bool show)
+public void ClickLegendButton(int legendIndex, string legendName, bool show)
点击图例按钮
### BaseChart.ConvertSerie
-public bool ConvertSerie(Serie serie, Type type)
+public bool ConvertSerie(Serie serie, Type type)
### BaseChart.ConvertSerie<T>
-public bool ConvertSerie<T>(Serie serie) where T : Serie
+public bool ConvertSerie<T>(Serie serie) where T : Serie
### BaseChart.ConvertXYAxis
-public void ConvertXYAxis(int index)
+public void ConvertXYAxis(int index)
转换X轴和Y轴的配置
### BaseChart.EnsureChartComponent<T>
-public T EnsureChartComponent<T>() where T : MainComponent
+public T EnsureChartComponent<T>() where T : MainComponent
> 从 `v3.6.0` 开始支持
@@ -1858,71 +1858,71 @@ public T EnsureChartComponent<T>() where T : MainComponent
### BaseChart.GenerateDefaultSerieName
-public string GenerateDefaultSerieName()
+public string GenerateDefaultSerieName()
### BaseChart.GetAllSerieDataCount
-public int GetAllSerieDataCount()
+public int GetAllSerieDataCount()
### BaseChart.GetChartBackgroundColor
-public Color32 GetChartBackgroundColor()
+public Color32 GetChartBackgroundColor()
### BaseChart.GetChartComponent<T>
-public T GetChartComponent<T>(int index = 0) where T : MainComponent
+public T GetChartComponent<T>(int index = 0) where T : MainComponent
### BaseChart.GetChartComponentNum
-public int GetChartComponentNum(Type type)
+public int GetChartComponentNum(Type type)
### BaseChart.GetChartComponentNum<T>
-public int GetChartComponentNum<T>() where T : MainComponent
+public int GetChartComponentNum<T>() where T : MainComponent
### BaseChart.GetChartComponents<T>
-public List<MainComponent> GetChartComponents<T>() where T : MainComponent
+public List<MainComponent> GetChartComponents<T>() where T : MainComponent
### BaseChart.GetData
-public double GetData(int serieIndex, int dataIndex, int dimension = 1)
+public double GetData(int serieIndex, int dataIndex, int dimension = 1)
### BaseChart.GetDataZoomOfAxis
-public DataZoom GetDataZoomOfAxis(Axis axis)
+public DataZoom GetDataZoomOfAxis(Axis axis)
### BaseChart.GetDataZoomOfSerie
-public void GetDataZoomOfSerie(Serie serie, out DataZoom xDataZoom, out DataZoom yDataZoom)
+public void GetDataZoomOfSerie(Serie serie, out DataZoom xDataZoom, out DataZoom yDataZoom)
### BaseChart.GetGrid
-public GridCoord GetGrid(Vector2 local)
+public GridCoord GetGrid(Vector2 local)
### BaseChart.GetGridOfDataZoom
-public GridCoord GetGridOfDataZoom(DataZoom dataZoom)
+public GridCoord GetGridOfDataZoom(DataZoom dataZoom)
### BaseChart.GetItemColor
-public Color32 GetItemColor(Serie serie)
+public Color32 GetItemColor(Serie serie)
-public Color32 GetItemColor(Serie serie, SerieData serieData, int colorIndex)
+public Color32 GetItemColor(Serie serie, SerieData serieData, int colorIndex)
### BaseChart.GetLegendRealShowNameColor
-public Color32 GetLegendRealShowNameColor(string name)
+public Color32 GetLegendRealShowNameColor(string name)
### BaseChart.GetLegendRealShowNameIndex
-public int GetLegendRealShowNameIndex(string name)
+public int GetLegendRealShowNameIndex(string name)
### BaseChart.GetMarkColor
-public Color32 GetMarkColor(Serie serie, SerieData serieData)
+public Color32 GetMarkColor(Serie serie, SerieData serieData)
> 从 `v3.4.0` 开始支持
@@ -1930,244 +1930,244 @@ public Color32 GetMarkColor(Serie serie, SerieData serieData)
### BaseChart.GetOrAddChartComponent<T>
-public T GetOrAddChartComponent<T>() where T : MainComponent
+public T GetOrAddChartComponent<T>() where T : MainComponent
### BaseChart.GetPainter
-public Painter GetPainter(int index)
+public Painter GetPainter(int index)
### BaseChart.GetSerie
-public Serie GetSerie(int serieIndex)
+public Serie GetSerie(int serieIndex)
### BaseChart.GetSerie<T>
-public T GetSerie<T>(int serieIndex) where T : Serie
+public T GetSerie<T>(int serieIndex) where T : Serie
### BaseChart.GetSerieBarGap<T>
-public float GetSerieBarGap<T>() where T : Serie
+public float GetSerieBarGap<T>() where T : Serie
### BaseChart.GetSerieBarRealCount<T>
-public int GetSerieBarRealCount<T>() where T : Serie
+public int GetSerieBarRealCount<T>() where T : Serie
### BaseChart.GetSerieIndexIfStack<T>
-public int GetSerieIndexIfStack<T>(Serie currSerie) where T : Serie
+public int GetSerieIndexIfStack<T>(Serie currSerie) where T : Serie
### BaseChart.GetSerieSameStackTotalValue<T>
-public double GetSerieSameStackTotalValue<T>(string stack, int dataIndex) where T : Serie
+public double GetSerieSameStackTotalValue<T>(string stack, int dataIndex) where T : Serie
### BaseChart.GetSeriesMinMaxValue
-public virtual void GetSeriesMinMaxValue(Axis axis, int axisIndex, out double tempMinValue, out double tempMaxValue)
+public virtual void GetSeriesMinMaxValue(Axis axis, int axisIndex, out double tempMinValue, out double tempMaxValue)
### BaseChart.GetSerieTotalGap<T>
-public float GetSerieTotalGap<T>(float categoryWidth, float gap, int index) where T : Serie
+public float GetSerieTotalGap<T>(float categoryWidth, float gap, int index) where T : Serie
### BaseChart.GetSerieTotalWidth<T>
-public float GetSerieTotalWidth<T>(float categoryWidth, float gap, int realBarCount) where T : Serie
+public float GetSerieTotalWidth<T>(float categoryWidth, float gap, int realBarCount) where T : Serie
### BaseChart.GetTitlePosition
-public Vector3 GetTitlePosition(Title title)
+public Vector3 GetTitlePosition(Title title)
### BaseChart.GetVisualMapOfSerie
-public VisualMap GetVisualMapOfSerie(Serie serie)
+public VisualMap GetVisualMapOfSerie(Serie serie)
### BaseChart.GetXDataZoomOfSerie
-public DataZoom GetXDataZoomOfSerie(Serie serie)
+public DataZoom GetXDataZoomOfSerie(Serie serie)
### BaseChart.GetXLerpColor
-public Color32 GetXLerpColor(Color32 areaColor, Color32 areaToColor, Vector3 pos, GridCoord grid)
+public Color32 GetXLerpColor(Color32 areaColor, Color32 areaToColor, Vector3 pos, GridCoord grid)
### BaseChart.GetYLerpColor
-public Color32 GetYLerpColor(Color32 areaColor, Color32 areaToColor, Vector3 pos, GridCoord grid)
+public Color32 GetYLerpColor(Color32 areaColor, Color32 areaToColor, Vector3 pos, GridCoord grid)
### BaseChart.HasChartComponent
-public bool HasChartComponent(Type type)
+public bool HasChartComponent(Type type)
### BaseChart.HasChartComponent<T>
-public bool HasChartComponent<T>()
+public bool HasChartComponent<T>()
### BaseChart.HasSerie
-public bool HasSerie(Type type)
+public bool HasSerie(Type type)
### BaseChart.HasSerie<T>
-public bool HasSerie<T>() where T : Serie
+public bool HasSerie<T>() where T : Serie
### BaseChart.Init
-public void Init(bool defaultChart = true)
+public void Init(bool defaultChart = true)
### BaseChart.InitAxisRuntimeData
-public virtual void InitAxisRuntimeData(Axis axis) { }
+public virtual void InitAxisRuntimeData(Axis axis) { }
### BaseChart.InsertSerie
-public void InsertSerie(Serie serie, int index = -1, bool addToHead = false)
+public void InsertSerie(Serie serie, int index = -1, bool addToHead = false)
### BaseChart.InsertSerie<T>
-public T InsertSerie<T>(int index, string serieName = null, bool show = true) where T : Serie
+public T InsertSerie<T>(int index, string serieName = null, bool show = true) where T : Serie
### BaseChart.Internal_CheckAnimation
-public void Internal_CheckAnimation()
+public void Internal_CheckAnimation()
### BaseChart.IsActiveByLegend
-public virtual bool IsActiveByLegend(string legendName)
+public virtual bool IsActiveByLegend(string legendName)
获得指定图例名字的系列是否显示。
### BaseChart.IsAllAxisCategory
-public bool IsAllAxisCategory()
+public bool IsAllAxisCategory()
纯类目轴。
### BaseChart.IsAllAxisValue
-public bool IsAllAxisValue()
+public bool IsAllAxisValue()
纯数值坐标轴(数值轴或对数轴)。
### BaseChart.IsInAnyGrid
-public bool IsInAnyGrid(Vector2 local)
+public bool IsInAnyGrid(Vector2 local)
### BaseChart.IsInChart
-public bool IsInChart(float x, float y)
+public bool IsInChart(float x, float y)
### BaseChart.IsSerieName
-public bool IsSerieName(string name)
+public bool IsSerieName(string name)
### BaseChart.MoveDownSerie
-public bool MoveDownSerie(int serieIndex)
+public bool MoveDownSerie(int serieIndex)
### BaseChart.MoveUpSerie
-public bool MoveUpSerie(int serieIndex)
+public bool MoveUpSerie(int serieIndex)
### BaseChart.OnAfterDeserialize
-public void OnAfterDeserialize()
+public void OnAfterDeserialize()
### BaseChart.OnBeforeSerialize
-public void OnBeforeSerialize()
+public void OnBeforeSerialize()
### BaseChart.OnBeginDrag
-public override void OnBeginDrag(PointerEventData eventData)
+public override void OnBeginDrag(PointerEventData eventData)
### BaseChart.OnDataZoomRangeChanged
-public virtual void OnDataZoomRangeChanged(DataZoom dataZoom)
+public virtual void OnDataZoomRangeChanged(DataZoom dataZoom)
### BaseChart.OnDrag
-public override void OnDrag(PointerEventData eventData)
+public override void OnDrag(PointerEventData eventData)
### BaseChart.OnEndDrag
-public override void OnEndDrag(PointerEventData eventData)
+public override void OnEndDrag(PointerEventData eventData)
### BaseChart.OnLegendButtonClick
-public virtual void OnLegendButtonClick(int index, string legendName, bool show)
+public virtual void OnLegendButtonClick(int index, string legendName, bool show)
### BaseChart.OnLegendButtonEnter
-public virtual void OnLegendButtonEnter(int index, string legendName)
+public virtual void OnLegendButtonEnter(int index, string legendName)
### BaseChart.OnLegendButtonExit
-public virtual void OnLegendButtonExit(int index, string legendName)
+public virtual void OnLegendButtonExit(int index, string legendName)
### BaseChart.OnPointerClick
-public override void OnPointerClick(PointerEventData eventData)
+public override void OnPointerClick(PointerEventData eventData)
### BaseChart.OnPointerDown
-public override void OnPointerDown(PointerEventData eventData)
+public override void OnPointerDown(PointerEventData eventData)
### BaseChart.OnPointerEnter
-public override void OnPointerEnter(PointerEventData eventData)
+public override void OnPointerEnter(PointerEventData eventData)
### BaseChart.OnPointerExit
-public override void OnPointerExit(PointerEventData eventData)
+public override void OnPointerExit(PointerEventData eventData)
### BaseChart.OnPointerUp
-public override void OnPointerUp(PointerEventData eventData)
+public override void OnPointerUp(PointerEventData eventData)
### BaseChart.OnScroll
-public override void OnScroll(PointerEventData eventData)
+public override void OnScroll(PointerEventData eventData)
### BaseChart.RefreshBasePainter
-public void RefreshBasePainter()
+public void RefreshBasePainter()
### BaseChart.RefreshChart
-public void RefreshChart(int serieIndex)
+public void RefreshChart(int serieIndex)
在下一帧刷新图表的指定serie。
-public void RefreshChart(Serie serie)
+public void RefreshChart(Serie serie)
在下一帧刷新图表的指定serie。
### BaseChart.RefreshDataZoom
-public void RefreshDataZoom()
+public void RefreshDataZoom()
在下一帧刷新DataZoom
### BaseChart.RefreshGraph
-public override void RefreshGraph()
+public override void RefreshGraph()
### BaseChart.RefreshPainter
-public void RefreshPainter(Serie serie)
+public void RefreshPainter(Serie serie)
### BaseChart.RefreshTopPainter
-public void RefreshTopPainter()
+public void RefreshTopPainter()
### BaseChart.RefreshUpperPainter
-public void RefreshUpperPainter()
+public void RefreshUpperPainter()
### BaseChart.RemoveAllChartComponent
-public void RemoveAllChartComponent()
+public void RemoveAllChartComponent()
### BaseChart.RemoveAllSerie
-public virtual void RemoveAllSerie()
+public virtual void RemoveAllSerie()
> 从 `v3.2.0` 开始支持
@@ -2175,45 +2175,45 @@ public virtual void RemoveAllSerie()
### BaseChart.RemoveChartComponent
-public bool RemoveChartComponent(MainComponent component)
+public bool RemoveChartComponent(MainComponent component)
### BaseChart.RemoveChartComponent<T>
-public bool RemoveChartComponent<T>(int index = 0)
+public bool RemoveChartComponent<T>(int index = 0)
### BaseChart.RemoveChartComponents
-public int RemoveChartComponents(Type type)
+public int RemoveChartComponents(Type type)
### BaseChart.RemoveChartComponents<T>
-public int RemoveChartComponents<T>()
+public int RemoveChartComponents<T>()
### BaseChart.RemoveData
-public virtual void RemoveData(string serieName)
+public virtual void RemoveData(string serieName)
清除指定系列名称的数据。
### BaseChart.RemoveSerie
-public void RemoveSerie(int serieIndex)
+public void RemoveSerie(int serieIndex)
-public void RemoveSerie(Serie serie)
+public void RemoveSerie(Serie serie)
### BaseChart.RemoveSerie<T>
-public void RemoveSerie<T>() where T : Serie
+public void RemoveSerie<T>() where T : Serie
### BaseChart.ReplaceSerie
-public bool ReplaceSerie(Serie oldSerie, Serie newSerie)
+public bool ReplaceSerie(Serie oldSerie, Serie newSerie)
### BaseChart.ResetChartStatus
-public void ResetChartStatus()
+public void ResetChartStatus()
> 从 `v3.10.0` 开始支持
@@ -2221,17 +2221,17 @@ public void ResetChartStatus()
### BaseChart.ResetDataIndex
-public bool ResetDataIndex(int serieIndex)
+public bool ResetDataIndex(int serieIndex)
重置serie的数据项索引。避免数据项索引异常。
### BaseChart.SetBasePainterMaterial
-public void SetBasePainterMaterial(Material material)
+public void SetBasePainterMaterial(Material material)
设置Base Painter的材质球
### BaseChart.SetInsertDataToHead
-public void SetInsertDataToHead(bool insertDataToHead)
+public void SetInsertDataToHead(bool insertDataToHead)
> 从 `v3.11.0` 开始支持
@@ -2239,39 +2239,39 @@ public void SetInsertDataToHead(bool insertDataToHead)
### BaseChart.SetMaxCache
-public void SetMaxCache(int maxCache)
+public void SetMaxCache(int maxCache)
设置可缓存的最大数据量。当数据量超过该值时,会自动删除第一个值再加入最新值。
### BaseChart.SetPainterActive
-public void SetPainterActive(int index, bool flag)
+public void SetPainterActive(int index, bool flag)
### BaseChart.SetSerieActive
-public void SetSerieActive(int serieIndex, bool active)
+public void SetSerieActive(int serieIndex, bool active)
设置指定系列是否显示。
-public void SetSerieActive(Serie serie, bool active)
+public void SetSerieActive(Serie serie, bool active)
### BaseChart.SetSeriePainterMaterial
-public void SetSeriePainterMaterial(Material material)
+public void SetSeriePainterMaterial(Material material)
设置Serie Painter的材质球
### BaseChart.SetTopPainterMaterial
-public void SetTopPainterMaterial(Material material)
+public void SetTopPainterMaterial(Material material)
设置Top Painter的材质球
### BaseChart.SetUpperPainterMaterial
-public void SetUpperPainterMaterial(Material material)
+public void SetUpperPainterMaterial(Material material)
设置Upper Painter的材质球
### BaseChart.TriggerTooltip
-public bool TriggerTooltip(Vector3 localPosition)
+public bool TriggerTooltip(Vector3 localPosition)
> 从 `v3.7.0` 开始支持
@@ -2280,69 +2280,69 @@ public bool TriggerTooltip(Vector3 localPosition)
### BaseChart.TryAddChartComponent
-public bool TryAddChartComponent(Type type)
+public bool TryAddChartComponent(Type type)
### BaseChart.TryAddChartComponent<T>
-public bool TryAddChartComponent<T>(out T component) where T : MainComponent
+public bool TryAddChartComponent<T>(out T component) where T : MainComponent
### BaseChart.TryGetChartComponent<T>
-public bool TryGetChartComponent<T>(out T component, int index = 0)
+public bool TryGetChartComponent<T>(out T component, int index = 0)
### BaseChart.UpdateData
-public bool UpdateData(int serieIndex, int dataIndex, double value)
+public bool UpdateData(int serieIndex, int dataIndex, double value)
更新指定系列中的指定索引数据。
-public bool UpdateData(int serieIndex, int dataIndex, int dimension, double value)
+public bool UpdateData(int serieIndex, int dataIndex, int dimension, double value)
更新指定系列指定索引指定维数的数据。维数从0开始。
-public bool UpdateData(int serieIndex, int dataIndex, List<double> multidimensionalData)
+public bool UpdateData(int serieIndex, int dataIndex, List<double> multidimensionalData)
更新指定系列指定索引的数据项的多维数据。
-public bool UpdateData(string serieName, int dataIndex, int dimension, double value)
+public bool UpdateData(string serieName, int dataIndex, int dimension, double value)
更新指定系列指定索引指定维数的数据。维数从0开始。
-public bool UpdateData(string serieName, int dataIndex, List<double> multidimensionalData)
+public bool UpdateData(string serieName, int dataIndex, List<double> multidimensionalData)
更新指定系列指定索引的数据项的多维数据。
### BaseChart.UpdateDataName
-public bool UpdateDataName(int serieIndex, int dataIndex, string dataName)
+public bool UpdateDataName(int serieIndex, int dataIndex, string dataName)
更新指定系列中的指定索引数据名称。
### BaseChart.UpdateLegendColor
-public virtual void UpdateLegendColor(string legendName, bool active)
+public virtual void UpdateLegendColor(string legendName, bool active)
### BaseChart.UpdateTheme
-public void UpdateTheme(Theme theme)
+public void UpdateTheme(Theme theme)
切换图表主题。
### BaseChart.UpdateXAxisData
-public void UpdateXAxisData(int index, string category, int xAxisIndex = 0)
+public void UpdateXAxisData(int index, string category, int xAxisIndex = 0)
更新X轴类目数据。
### BaseChart.UpdateXAxisIcon
-public void UpdateXAxisIcon(int index, Sprite icon, int xAxisIndex = 0)
+public void UpdateXAxisIcon(int index, Sprite icon, int xAxisIndex = 0)
更新X轴图标。
### BaseChart.UpdateYAxisData
-public void UpdateYAxisData(int index, string category, int yAxisIndex = 0)
+public void UpdateYAxisData(int index, string category, int yAxisIndex = 0)
更新Y轴类目数据。
### BaseChart.UpdateYAxisIcon
-public void UpdateYAxisIcon(int index, Sprite icon, int yAxisIndex = 0)
+public void UpdateYAxisIcon(int index, Sprite icon, int yAxisIndex = 0)
更新Y轴图标。
## BaseGraph
@@ -2351,143 +2351,143 @@ class in XCharts.Runtime / 继承自: [MaskableGraphic](https://docs.unity3d.com
### BaseGraph.chartHideFlags
-public virtual HideFlags chartHideFlags
+public virtual HideFlags chartHideFlags
### BaseGraph.clickPos
-public Vector2 clickPos
+public Vector2 clickPos
### BaseGraph.forceOpenRaycastTarget
-public bool forceOpenRaycastTarget
+public bool forceOpenRaycastTarget
强制开启鼠标事件检测。
### BaseGraph.graphAnchoredPosition
-public Vector2 graphAnchoredPosition
+public Vector2 graphAnchoredPosition
### BaseGraph.graphHeight
-public float graphHeight
+public float graphHeight
图形的高
### BaseGraph.graphMaxAnchor
-public Vector2 graphMaxAnchor
+public Vector2 graphMaxAnchor
### BaseGraph.graphMinAnchor
-public Vector2 graphMinAnchor
+public Vector2 graphMinAnchor
### BaseGraph.graphPivot
-public Vector2 graphPivot
+public Vector2 graphPivot
### BaseGraph.graphPosition
-public Vector3 graphPosition
+public Vector3 graphPosition
图形的左下角起始坐标。
### BaseGraph.graphRect
-public Rect graphRect
+public Rect graphRect
### BaseGraph.graphSizeDelta
-public Vector2 graphSizeDelta
+public Vector2 graphSizeDelta
### BaseGraph.graphWidth
-public float graphWidth
+public float graphWidth
图形的宽
### BaseGraph.graphX
-public float graphX
+public float graphX
图形的X
### BaseGraph.graphY
-public float graphY
+public float graphY
图形的Y
### BaseGraph.isPointerClick
-public bool isPointerClick
+public bool isPointerClick
鼠标是否点击了图表。
### BaseGraph.isPointerInChart
-public bool isPointerInChart
+public bool isPointerInChart
鼠标是否在图表内。
### BaseGraph.onBeginDrag
-public Action<PointerEventData, BaseGraph> onBeginDrag
+public Action<PointerEventData, BaseGraph> onBeginDrag
鼠标开始拖拽回调。
### BaseGraph.onDrag
-public Action<PointerEventData, BaseGraph> onDrag
+public Action<PointerEventData, BaseGraph> onDrag
鼠标拖拽回调。
### BaseGraph.onEndDrag
-public Action<PointerEventData, BaseGraph> onEndDrag
+public Action<PointerEventData, BaseGraph> onEndDrag
鼠标结束拖拽回调。
### BaseGraph.onPointerClick
-public Action<PointerEventData, BaseGraph> onPointerClick
+public Action<PointerEventData, BaseGraph> onPointerClick
鼠标点击回调。
### BaseGraph.onPointerDown
-public Action<PointerEventData, BaseGraph> onPointerDown
+public Action<PointerEventData, BaseGraph> onPointerDown
鼠标按下回调。
### BaseGraph.onPointerEnter
-public Action<PointerEventData, BaseGraph> onPointerEnter
+public Action<PointerEventData, BaseGraph> onPointerEnter
鼠标进入回调。
### BaseGraph.onPointerExit
-public Action<PointerEventData, BaseGraph> onPointerExit
+public Action<PointerEventData, BaseGraph> onPointerExit
鼠标退出回调。
### BaseGraph.onPointerUp
-public Action<PointerEventData, BaseGraph> onPointerUp
+public Action<PointerEventData, BaseGraph> onPointerUp
鼠标弹起回调。
### BaseGraph.onScroll
-public Action<PointerEventData, BaseGraph> onScroll
+public Action<PointerEventData, BaseGraph> onScroll
鼠标滚动回调。
### BaseGraph.painter
-public Painter painter
+public Painter painter
### BaseGraph.pointerPos
-public Vector2 pointerPos
+public Vector2 pointerPos
鼠标位置。
### BaseGraph.warningInfo
-public string warningInfo
+public string warningInfo
警告信息。
### BaseGraph.CheckWarning
-public string CheckWarning()
+public string CheckWarning()
检测警告信息。
### BaseGraph.LocalPointToScreenPoint
-public Vector2 LocalPointToScreenPoint(Vector2 localPoint)
+public Vector2 LocalPointToScreenPoint(Vector2 localPoint)
> 从 `v3.7.0` 开始支持
@@ -2495,7 +2495,7 @@ public Vector2 LocalPointToScreenPoint(Vector2 localPoint)
### BaseGraph.LocalPointToWorldPoint
-public Vector2 LocalPointToWorldPoint(Vector2 localPoint)
+public Vector2 LocalPointToWorldPoint(Vector2 localPoint)
> 从 `v3.7.0` 开始支持
@@ -2503,71 +2503,71 @@ public Vector2 LocalPointToWorldPoint(Vector2 localPoint)
### BaseGraph.OnBeginDrag
-public virtual void OnBeginDrag(PointerEventData eventData)
+public virtual void OnBeginDrag(PointerEventData eventData)
### BaseGraph.OnDrag
-public virtual void OnDrag(PointerEventData eventData)
+public virtual void OnDrag(PointerEventData eventData)
### BaseGraph.OnEndDrag
-public virtual void OnEndDrag(PointerEventData eventData)
+public virtual void OnEndDrag(PointerEventData eventData)
### BaseGraph.OnPointerClick
-public virtual void OnPointerClick(PointerEventData eventData)
+public virtual void OnPointerClick(PointerEventData eventData)
### BaseGraph.OnPointerDown
-public virtual void OnPointerDown(PointerEventData eventData)
+public virtual void OnPointerDown(PointerEventData eventData)
### BaseGraph.OnPointerEnter
-public virtual void OnPointerEnter(PointerEventData eventData)
+public virtual void OnPointerEnter(PointerEventData eventData)
### BaseGraph.OnPointerExit
-public virtual void OnPointerExit(PointerEventData eventData)
+public virtual void OnPointerExit(PointerEventData eventData)
### BaseGraph.OnPointerUp
-public virtual void OnPointerUp(PointerEventData eventData)
+public virtual void OnPointerUp(PointerEventData eventData)
### BaseGraph.OnScroll
-public virtual void OnScroll(PointerEventData eventData)
+public virtual void OnScroll(PointerEventData eventData)
### BaseGraph.RebuildChartObject
-public void RebuildChartObject()
+public void RebuildChartObject()
移除并重新创建所有图表的Object。
### BaseGraph.RefreshAllComponent
-public void RefreshAllComponent()
+public void RefreshAllComponent()
### BaseGraph.RefreshGraph
-public virtual void RefreshGraph()
+public virtual void RefreshGraph()
在下一帧刷新图形。
### BaseGraph.SaveAsImage
-public void SaveAsImage(string imageType = "png", string savePath = "")
+public void SaveAsImage(string imageType = "png", string savePath = "")
保存图表为图片。
### BaseGraph.ScreenPointToChartPoint
-public bool ScreenPointToChartPoint(Vector2 screenPoint, out Vector2 chartPoint)
+public bool ScreenPointToChartPoint(Vector2 screenPoint, out Vector2 chartPoint)
### BaseGraph.SetPainterDirty
-public void SetPainterDirty()
+public void SetPainterDirty()
重新初始化Painter
### BaseGraph.SetSize
-public virtual void SetSize(float width, float height)
+public virtual void SetSize(float width, float height)
设置图形的宽高(在非stretch pivot下才有效,其他情况需要自己调整RectTransform)
## BaseLine
@@ -2578,28 +2578,28 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent) / 子类
### BaseLine.BaseLine
-public BaseLine(bool show) : base()
+public BaseLine(bool show) : base()
### BaseLine.Copy
-public void Copy(BaseLine axisLine)
+public void Copy(BaseLine axisLine)
### BaseLine.GetColor
-public Color32 GetColor(Color32 themeColor)
+public Color32 GetColor(Color32 themeColor)
### BaseLine.GetLength
-public float GetLength(float themeLength)
+public float GetLength(float themeLength)
### BaseLine.GetType
-public LineStyle.Type GetType(LineStyle.Type themeType)
+public LineStyle.Type GetType(LineStyle.Type themeType)
### BaseLine.GetWidth
-public float GetWidth(float themeWidth)
+public float GetWidth(float themeWidth)
## BaseScatter
@@ -2607,11 +2607,11 @@ class in XCharts.Runtime / 继承自: [Serie](#serie),[INeedSerieContainer](#ine
### BaseScatter.containerIndex
-public int containerIndex
+public int containerIndex
### BaseScatter.containterInstanceId
-public int containterInstanceId
+public int containterInstanceId
## BaseSerie
@@ -2619,117 +2619,117 @@ class in XCharts.Runtime / 子类: [Serie](#serie)
### BaseSerie.anyDirty
-public bool anyDirty
+public bool anyDirty
### BaseSerie.ClearData()
-public virtual void ClearData()
+public virtual void ClearData()
### BaseSerie.componentDirty
-public virtual bool componentDirty
+public virtual bool componentDirty
### BaseSerie.defaultColorBy
-public virtual SerieColorBy defaultColorBy
+public virtual SerieColorBy defaultColorBy
### BaseSerie.gameObject
-public GameObject gameObject
+public GameObject gameObject
### BaseSerie.handler
-public SerieHandler handler
+public SerieHandler handler
### BaseSerie.multiDimensionLabel
-public virtual bool multiDimensionLabel
+public virtual bool multiDimensionLabel
### BaseSerie.OnBeforeSerialize()
-public virtual void OnBeforeSerialize()
+public virtual void OnBeforeSerialize()
### BaseSerie.OnDataUpdate()
-public virtual void OnDataUpdate()
+public virtual void OnDataUpdate()
### BaseSerie.painter
-public Painter painter
+public Painter painter
### BaseSerie.refreshComponent
-public Action refreshComponent
+public Action refreshComponent
### BaseSerie.titleJustForSerie
-public virtual bool titleJustForSerie
+public virtual bool titleJustForSerie
### BaseSerie.useSortData
-public virtual bool useSortData
+public virtual bool useSortData
### BaseSerie.vertsDirty
-public virtual bool vertsDirty
+public virtual bool vertsDirty
### BaseSerie.ClearComponentDirty
-public virtual void ClearComponentDirty()
+public virtual void ClearComponentDirty()
### BaseSerie.ClearData
-public virtual void ClearData() { }
+public virtual void ClearData() { }
### BaseSerie.ClearDirty
-public virtual void ClearDirty()
+public virtual void ClearDirty()
### BaseSerie.ClearVerticesDirty
-public virtual void ClearVerticesDirty()
+public virtual void ClearVerticesDirty()
### BaseSerie.IsComponentDirty
-public static bool IsComponentDirty(ChildComponent component)
+public static bool IsComponentDirty(ChildComponent component)
### BaseSerie.IsVertsDirty
-public static bool IsVertsDirty(ChildComponent component)
+public static bool IsVertsDirty(ChildComponent component)
### BaseSerie.OnAfterDeserialize
-public virtual void OnAfterDeserialize()
+public virtual void OnAfterDeserialize()
### BaseSerie.OnBeforeSerialize
-public virtual void OnBeforeSerialize() { }
+public virtual void OnBeforeSerialize() { }
### BaseSerie.OnDataUpdate
-public virtual void OnDataUpdate() { }
+public virtual void OnDataUpdate() { }
### BaseSerie.OnRemove
-public virtual void OnRemove()
+public virtual void OnRemove()
### BaseSerie.RefreshLabel
-public void RefreshLabel()
+public void RefreshLabel()
### BaseSerie.SetAllDirty
-public virtual void SetAllDirty()
+public virtual void SetAllDirty()
### BaseSerie.SetComponentDirty
-public virtual void SetComponentDirty()
+public virtual void SetComponentDirty()
### BaseSerie.SetVerticesDirty
-public virtual void SetVerticesDirty()
+public virtual void SetVerticesDirty()
## BlurStyle
@@ -2749,15 +2749,15 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent)
### BorderStyle.GetRuntimeBorderColor
-public Color32 GetRuntimeBorderColor()
+public Color32 GetRuntimeBorderColor()
### BorderStyle.GetRuntimeBorderWidth
-public float GetRuntimeBorderWidth()
+public float GetRuntimeBorderWidth()
### BorderStyle.GetRuntimeCornerRadius
-public float[] GetRuntimeCornerRadius()
+public float[] GetRuntimeCornerRadius()
## CalendarCoord
@@ -2765,11 +2765,11 @@ class in XCharts.Runtime / 继承自: [CoordSystem](#coordsystem),[IUpdateRuntim
### CalendarCoord.IsPointerEnter
-public bool IsPointerEnter()
+public bool IsPointerEnter()
### CalendarCoord.UpdateRuntimeData
-public void UpdateRuntimeData(BaseChart chart)
+public void UpdateRuntimeData(BaseChart chart)
## Candlestick
@@ -2777,15 +2777,15 @@ class in XCharts.Runtime / 继承自: [Serie](#serie),[INeedSerieContainer](#ine
### Candlestick.containerIndex
-public int containerIndex
+public int containerIndex
### Candlestick.containterInstanceId
-public int containterInstanceId
+public int containterInstanceId
### Candlestick.AddDefaultSerie
-public static Serie AddDefaultSerie(BaseChart chart, string serieName)
+public static Serie AddDefaultSerie(BaseChart chart, string serieName)
## CandlestickChart
@@ -2799,47 +2799,47 @@ class in XCharts.Runtime
### ChartCached.ColorToDotStr
-public static string ColorToDotStr(Color color)
+public static string ColorToDotStr(Color color)
### ChartCached.ColorToStr
-public static string ColorToStr(Color color)
+public static string ColorToStr(Color color)
### ChartCached.FloatToStr
-public static string FloatToStr(double value, string numericFormatter = "F", int precision = 0)
+public static string FloatToStr(double value, string numericFormatter = "F", int precision = 0)
### ChartCached.GetSerieLabelName
-public static string GetSerieLabelName(string prefix, int i, int j)
+public static string GetSerieLabelName(string prefix, int i, int j)
### ChartCached.GetString
-public static string GetString(string prefix, int suffix)
+public static string GetString(string prefix, int suffix)
### ChartCached.IntToStr
-public static string IntToStr(int value, string numericFormatter = "")
+public static string IntToStr(int value, string numericFormatter = "")
### ChartCached.NumberToDateStr
-public static string NumberToDateStr(double timestamp, string formatter)
+public static string NumberToDateStr(double timestamp, string formatter)
### ChartCached.NumberToDateTime
-public static DateTime NumberToDateTime(double timestamp)
+public static DateTime NumberToDateTime(double timestamp)
### ChartCached.NumberToStr
-public static string NumberToStr(double value, string formatter)
+public static string NumberToStr(double value, string formatter)
### ChartCached.NumberToTimeSpan
-public static TimeSpan NumberToTimeSpan(double timestamp)
+public static TimeSpan NumberToTimeSpan(double timestamp)
### ChartCached.NumberToTimeStr
-public static string NumberToTimeStr(double timestamp, string formatter)
+public static string NumberToTimeStr(double timestamp, string formatter)
## ChartConst
@@ -2855,239 +2855,239 @@ class in XCharts.Runtime
### ChartHelper.ignoreVector3
-public static Vector3 ignoreVector3
+public static Vector3 ignoreVector3
### ChartHelper.sb
-public static StringBuilder sb
+public static StringBuilder sb
### ChartHelper.ActiveAllObject
-public static void ActiveAllObject(Transform parent, bool active, string match = null)
+public static void ActiveAllObject(Transform parent, bool active, string match = null)
### ChartHelper.AddIcon
-public static Image AddIcon(string name, Transform parent, IconStyle iconStyle)
+public static Image AddIcon(string name, Transform parent, IconStyle iconStyle)
### ChartHelper.Cancat
-public static string Cancat(string str1, int i)
+public static string Cancat(string str1, int i)
### ChartHelper.ClearEventListener
-public static void ClearEventListener(GameObject obj)
+public static void ClearEventListener(GameObject obj)
### ChartHelper.CopyArray<T>
-public static bool CopyArray<T>(T[] toList, T[] fromList)
+public static bool CopyArray<T>(T[] toList, T[] fromList)
### ChartHelper.CopyList<T>
-public static bool CopyList<T>(List<T> toList, List<T> fromList)
+public static bool CopyList<T>(List<T> toList, List<T> fromList)
### ChartHelper.DestoryGameObject
-public static void DestoryGameObject(GameObject go)
+public static void DestoryGameObject(GameObject go)
### ChartHelper.DestoryGameObjectByMatch
-public static void DestoryGameObjectByMatch(Transform parent, string containString)
+public static void DestoryGameObjectByMatch(Transform parent, string containString)
### ChartHelper.DestroyAllChildren
-public static void DestroyAllChildren(Transform parent)
+public static void DestroyAllChildren(Transform parent)
### ChartHelper.EnsureComponent<T>
-public static T EnsureComponent<T>(GameObject gameObject) where T : Component
+public static T EnsureComponent<T>(GameObject gameObject) where T : Component
确保对象有指定的组件,如果没有则添加。
### ChartHelper.GetActualValue
-public static float GetActualValue(float valueOrRate, float total, float maxRate = 1.5f)
+public static float GetActualValue(float valueOrRate, float total, float maxRate = 1.5f)
### ChartHelper.GetAngle360
-public static float GetAngle360(Vector2 from, Vector2 to)
+public static float GetAngle360(Vector2 from, Vector2 to)
获得0-360的角度(12点钟方向为0度)
### ChartHelper.GetBlurColor
-public static Color32 GetBlurColor(Color32 color, float a = 0.3f)
+public static Color32 GetBlurColor(Color32 color, float a = 0.3f)
### ChartHelper.GetColor
-public static Color32 GetColor(string hexColorStr)
+public static Color32 GetColor(string hexColorStr)
### ChartHelper.GetDire
-public static Vector3 GetDire(float angle, bool isDegree = false)
+public static Vector3 GetDire(float angle, bool isDegree = false)
### ChartHelper.GetFullName
-public static string GetFullName(Transform transform)
+public static string GetFullName(Transform transform)
### ChartHelper.GetHighlightColor
-public static Color32 GetHighlightColor(Color32 color, float rate = 0.8f)
+public static Color32 GetHighlightColor(Color32 color, float rate = 0.8f)
### ChartHelper.GetLastValue
-public static Vector3 GetLastValue(List<Vector3> list)
+public static Vector3 GetLastValue(List<Vector3> list)
### ChartHelper.GetMaxCeilRate
-public static double GetMaxCeilRate(double value, double ceilRate)
+public static double GetMaxCeilRate(double value, double ceilRate)
### ChartHelper.GetMaxDivisibleValue
-public static double GetMaxDivisibleValue(double max, double ceilRate)
+public static double GetMaxDivisibleValue(double max, double ceilRate)
### ChartHelper.GetMaxLogValue
-public static double GetMaxLogValue(double value, float logBase, bool isLogBaseE, out int splitNumber)
+public static double GetMaxLogValue(double value, float logBase, bool isLogBaseE, out int splitNumber)
### ChartHelper.GetMinCeilRate
-public static double GetMinCeilRate(double value, double ceilRate)
+public static double GetMinCeilRate(double value, double ceilRate)
### ChartHelper.GetMinDivisibleValue
-public static double GetMinDivisibleValue(double min, double ceilRate)
+public static double GetMinDivisibleValue(double min, double ceilRate)
### ChartHelper.GetMinLogValue
-public static double GetMinLogValue(double value, float logBase, bool isLogBaseE, out int splitNumber)
+public static double GetMinLogValue(double value, float logBase, bool isLogBaseE, out int splitNumber)
### ChartHelper.GetOrAddComponent<T>
-public static T GetOrAddComponent<T>(GameObject gameObject) where T : Component
+public static T GetOrAddComponent<T>(GameObject gameObject) where T : Component
### ChartHelper.GetPointList
-public static void GetPointList(ref List<Vector3> posList, Vector3 sp, Vector3 ep, float k = 30f)
+public static void GetPointList(ref List<Vector3> posList, Vector3 sp, Vector3 ep, float k = 30f)
### ChartHelper.GetPos
-public static Vector3 GetPos(Vector3 center, float radius, float angle, bool isDegree = false)
+public static Vector3 GetPos(Vector3 center, float radius, float angle, bool isDegree = false)
### ChartHelper.GetPosition
-public static Vector3 GetPosition(Vector3 center, float angle, float radius)
+public static Vector3 GetPosition(Vector3 center, float angle, float radius)
### ChartHelper.GetSelectColor
-public static Color32 GetSelectColor(Color32 color, float rate = 0.8f)
+public static Color32 GetSelectColor(Color32 color, float rate = 0.8f)
### ChartHelper.GetVertialDire
-public static Vector3 GetVertialDire(Vector3 dire)
+public static Vector3 GetVertialDire(Vector3 dire)
### ChartHelper.HideAllObject
-public static void HideAllObject(Transform parent, string match = null)
+public static void HideAllObject(Transform parent, string match = null)
### ChartHelper.IsActiveByScale
-public static bool IsActiveByScale(Image image)
+public static bool IsActiveByScale(Image image)
-public static bool IsActiveByScale(Transform transform)
+public static bool IsActiveByScale(Transform transform)
### ChartHelper.IsClearColor
-public static bool IsClearColor(Color color)
+public static bool IsClearColor(Color color)
### ChartHelper.IsColorAlphaZero
-public static bool IsColorAlphaZero(Color color)
+public static bool IsColorAlphaZero(Color color)
### ChartHelper.IsEquals
-public static bool IsEquals(float d1, float d2)
+public static bool IsEquals(float d1, float d2)
### ChartHelper.IsIngore
-public static bool IsIngore(Vector3 pos)
+public static bool IsIngore(Vector3 pos)
### ChartHelper.IsInRect
-public static bool IsInRect(Vector3 pos, float xMin, float xMax, float yMin, float yMax)
+public static bool IsInRect(Vector3 pos, float xMin, float xMax, float yMin, float yMax)
### ChartHelper.IsPointInQuadrilateral
-public static bool IsPointInQuadrilateral(Vector3 P, Vector3 A, Vector3 B, Vector3 C, Vector3 D)
+public static bool IsPointInQuadrilateral(Vector3 P, Vector3 A, Vector3 B, Vector3 C, Vector3 D)
### ChartHelper.IsValueEqualsColor
-public static bool IsValueEqualsColor(Color color1, Color color2)
+public static bool IsValueEqualsColor(Color color1, Color color2)
### ChartHelper.IsValueEqualsList<T>
-public static bool IsValueEqualsList<T>(List<T> list1, List<T> list2)
+public static bool IsValueEqualsList<T>(List<T> list1, List<T> list2)
### ChartHelper.IsValueEqualsString
-public static bool IsValueEqualsString(string str1, string str2)
+public static bool IsValueEqualsString(string str1, string str2)
### ChartHelper.IsValueEqualsVector2
-public static bool IsValueEqualsVector2(Vector2 v1, Vector2 v2)
+public static bool IsValueEqualsVector2(Vector2 v1, Vector2 v2)
### ChartHelper.IsValueEqualsVector3
-public static bool IsValueEqualsVector3(Vector3 v1, Vector3 v2)
+public static bool IsValueEqualsVector3(Vector3 v1, Vector3 v2)
### ChartHelper.IsZeroVector
-public static bool IsZeroVector(Vector3 pos)
+public static bool IsZeroVector(Vector3 pos)
### ChartHelper.ParseFloatFromString
-public static List<float> ParseFloatFromString(string jsonData)
+public static List<float> ParseFloatFromString(string jsonData)
### ChartHelper.ParseStringFromString
-public static List<string> ParseStringFromString(string jsonData)
+public static List<string> ParseStringFromString(string jsonData)
### ChartHelper.RemoveComponent<T>
-public static void RemoveComponent<T>(GameObject gameObject)
+public static void RemoveComponent<T>(GameObject gameObject)
### ChartHelper.RotateRound
-public static Vector3 RotateRound(Vector3 position, Vector3 center, Vector3 axis, float angle)
+public static Vector3 RotateRound(Vector3 position, Vector3 center, Vector3 axis, float angle)
### ChartHelper.SaveAsImage
-public static Texture2D SaveAsImage(RectTransform rectTransform, Canvas canvas, string imageType = "png", string path = "")
+public static Texture2D SaveAsImage(RectTransform rectTransform, Canvas canvas, string imageType = "png", string path = "")
### ChartHelper.SetActive
-public static bool SetActive(Image image, bool active)
+public static bool SetActive(Image image, bool active)
-public static bool SetActive(Text text, bool active)
+public static bool SetActive(Text text, bool active)
-public static bool SetActive(Transform transform, bool active)
+public static bool SetActive(Transform transform, bool active)
通过设置scale实现是否显示,优化性能,减少GC
### ChartHelper.SetBackground
-public static void SetBackground(Image background, Background imageStyle)
+public static void SetBackground(Image background, Background imageStyle)
### ChartHelper.SetColorOpacity
-public static void SetColorOpacity(ref Color32 color, float opacity)
+public static void SetColorOpacity(ref Color32 color, float opacity)
## ChartLabel
@@ -3095,107 +3095,107 @@ class in XCharts.Runtime / 继承自: [Image](https://docs.unity3d.com/ScriptRef
### ChartLabel.hideIconIfTextEmpty
-public bool hideIconIfTextEmpty
+public bool hideIconIfTextEmpty
### ChartLabel.isAnimationEnd
-public bool isAnimationEnd
+public bool isAnimationEnd
### ChartLabel.isIconActive
-public bool isIconActive
+public bool isIconActive
### ChartLabel.rect
-public Rect rect
+public Rect rect
### ChartLabel.GetHeight
-public float GetHeight()
+public float GetHeight()
### ChartLabel.GetPosition
-public Vector3 GetPosition()
+public Vector3 GetPosition()
### ChartLabel.GetTextHeight
-public float GetTextHeight()
+public float GetTextHeight()
### ChartLabel.GetTextWidth
-public float GetTextWidth()
+public float GetTextWidth()
### ChartLabel.GetWidth
-public float GetWidth()
+public float GetWidth()
### ChartLabel.IsActiveByScale
-public bool IsActiveByScale()
+public bool IsActiveByScale()
### ChartLabel.SetActive
-public void SetActive(bool flag, bool force = false)
+public void SetActive(bool flag, bool force = false)
### ChartLabel.SetIcon
-public void SetIcon(Image image)
+public void SetIcon(Image image)
### ChartLabel.SetIconActive
-public void SetIconActive(bool flag)
+public void SetIconActive(bool flag)
### ChartLabel.SetIconSize
-public void SetIconSize(float width, float height)
+public void SetIconSize(float width, float height)
### ChartLabel.SetIconSprite
-public void SetIconSprite(Sprite sprite)
+public void SetIconSprite(Sprite sprite)
### ChartLabel.SetPadding
-public void SetPadding(float[] padding)
+public void SetPadding(float[] padding)
### ChartLabel.SetPosition
-public void SetPosition(Vector3 position)
+public void SetPosition(Vector3 position)
### ChartLabel.SetRectPosition
-public void SetRectPosition(Vector3 position)
+public void SetRectPosition(Vector3 position)
### ChartLabel.SetRotate
-public void SetRotate(float rotate)
+public void SetRotate(float rotate)
### ChartLabel.SetSize
-public void SetSize(float width, float height)
+public void SetSize(float width, float height)
### ChartLabel.SetText
-public bool SetText(string text)
+public bool SetText(string text)
### ChartLabel.SetTextActive
-public void SetTextActive(bool flag)
+public void SetTextActive(bool flag)
### ChartLabel.SetTextColor
-public void SetTextColor(Color color)
+public void SetTextColor(Color color)
### ChartLabel.SetTextPadding
-public void SetTextPadding(TextPadding padding)
+public void SetTextPadding(TextPadding padding)
### ChartLabel.SetTextRotate
-public void SetTextRotate(float rotate)
+public void SetTextRotate(float rotate)
### ChartLabel.UpdateIcon
-public void UpdateIcon(IconStyle iconStyle, Sprite sprite = null, Color color = default(Color))
+public void UpdateIcon(IconStyle iconStyle, Sprite sprite = null, Color color = default(Color))
## ChartObject
@@ -3203,7 +3203,7 @@ class in XCharts.Runtime
### ChartObject.Destroy
-public virtual void Destroy()
+public virtual void Destroy()
## ChartText
@@ -3211,86 +3211,86 @@ class in XCharts.Runtime
### ChartText.tmpText
-public TextMeshProUGUI tmpText
+public TextMeshProUGUI tmpText
### ChartText.ChartText
-public ChartText(GameObject textParent)
+public ChartText(GameObject textParent)
### ChartText.GetColor
-public Color GetColor()
+public Color GetColor()
### ChartText.GetPreferredHeight
-public float GetPreferredHeight()
+public float GetPreferredHeight()
### ChartText.GetPreferredText
-public string GetPreferredText(string content, string suffix, float maxWidth)
+public string GetPreferredText(string content, string suffix, float maxWidth)
### ChartText.GetPreferredWidth
-public float GetPreferredWidth()
+public float GetPreferredWidth()
### ChartText.GetText
-public string GetText()
+public string GetText()
### ChartText.SetActive
-public void SetActive(bool flag)
+public void SetActive(bool flag)
### ChartText.SetAlignment
-public void SetAlignment(TextAnchor alignment)
+public void SetAlignment(TextAnchor alignment)
### ChartText.SetColor
-public void SetColor(Color color)
+public void SetColor(Color color)
### ChartText.SetFont
-public void SetFont(TMP_FontAsset font)
+public void SetFont(TMP_FontAsset font)
### ChartText.SetFontAndSizeAndStyle
-public void SetFontAndSizeAndStyle(TextStyle textStyle, ComponentTheme theme)
+public void SetFontAndSizeAndStyle(TextStyle textStyle, ComponentTheme theme)
### ChartText.SetFontSize
-public void SetFontSize(float fontSize)
+public void SetFontSize(float fontSize)
### ChartText.SetFontStyle
-public void SetFontStyle(FontStyle fontStyle)
+public void SetFontStyle(FontStyle fontStyle)
### ChartText.SetLineSpacing
-public void SetLineSpacing(float lineSpacing)
+public void SetLineSpacing(float lineSpacing)
### ChartText.SetLocalEulerAngles
-public void SetLocalEulerAngles(Vector3 position)
+public void SetLocalEulerAngles(Vector3 position)
### ChartText.SetLocalPosition
-public void SetLocalPosition(Vector3 position)
+public void SetLocalPosition(Vector3 position)
### ChartText.SetRectPosition
-public void SetRectPosition(Vector3 position)
+public void SetRectPosition(Vector3 position)
### ChartText.SetSizeDelta
-public void SetSizeDelta(Vector2 sizeDelta)
+public void SetSizeDelta(Vector2 sizeDelta)
### ChartText.SetText
-public void SetText(string text)
+public void SetText(string text)
## CheckHelper
@@ -3298,7 +3298,7 @@ class in XCharts.Runtime
### CheckHelper.CheckChart
-public static string CheckChart(BaseChart chart)
+public static string CheckChart(BaseChart chart)
## ChildComponent
@@ -3307,68 +3307,68 @@ class in XCharts.Runtime / 子类: [AnimationStyle](#animationstyle),[AxisAnimat
### ChildComponent.anyDirty
-public bool anyDirty
+public bool anyDirty
需要重绘图表或重新初始化组件。
### ChildComponent.componentDirty
-public virtual bool componentDirty
+public virtual bool componentDirty
组件重新初始化标记。
### ChildComponent.gameObject
-public GameObject gameObject
+public GameObject gameObject
### ChildComponent.index
-public virtual int index
+public virtual int index
### ChildComponent.painter
-public Painter painter
+public Painter painter
### ChildComponent.refreshComponent
-public Action refreshComponent
+public Action refreshComponent
### ChildComponent.vertsDirty
-public virtual bool vertsDirty
+public virtual bool vertsDirty
图表重绘标记。
### ChildComponent.ClearComponentDirty
-public virtual void ClearComponentDirty()
+public virtual void ClearComponentDirty()
### ChildComponent.ClearDirty
-public virtual void ClearDirty()
+public virtual void ClearDirty()
### ChildComponent.ClearVerticesDirty
-public virtual void ClearVerticesDirty()
+public virtual void ClearVerticesDirty()
### ChildComponent.IsComponentDirty
-public static bool IsComponentDirty(ChildComponent component)
+public static bool IsComponentDirty(ChildComponent component)
### ChildComponent.IsVertsDirty
-public static bool IsVertsDirty(ChildComponent component)
+public static bool IsVertsDirty(ChildComponent component)
### ChildComponent.SetAllDirty
-public virtual void SetAllDirty()
+public virtual void SetAllDirty()
### ChildComponent.SetComponentDirty
-public virtual void SetComponentDirty()
+public virtual void SetComponentDirty()
### ChildComponent.SetVerticesDirty
-public virtual void SetVerticesDirty()
+public virtual void SetVerticesDirty()
## ColorUtil
@@ -3376,7 +3376,7 @@ class in XCharts.Runtime
### ColorUtil.GetColor
-public static Color32 GetColor(string hexColorStr)
+public static Color32 GetColor(string hexColorStr)
将字符串颜色值转成Color。
## Comment
@@ -3387,25 +3387,25 @@ class in XCharts.Runtime / 继承自: [MainComponent](#maincomponent),[IProperty
### Comment.items
-public List<CommentItem> items
+public List<CommentItem> items
注解项。每个注解组件可以设置多个注解项。
### Comment.show
-public bool show
+public bool show
是否显示注解组件。
### Comment.GetLabelStyle
-public LabelStyle GetLabelStyle(int index)
+public LabelStyle GetLabelStyle(int index)
### Comment.GetMarkStyle
-public CommentMarkStyle GetMarkStyle(int index)
+public CommentMarkStyle GetMarkStyle(int index)
### Comment.OnChanged
-public void OnChanged()
+public void OnChanged()
参数变更时的回调处理。
## CommentItem
@@ -3416,22 +3416,22 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent)
### CommentItem.content
-public string content
+public string content
注解的文本内容。支持模板参数,可以参考Tooltip的itemFormatter。
### CommentItem.markRect
-public Rect markRect
+public Rect markRect
注解区域。
### CommentItem.markStyle
-public CommentMarkStyle markStyle
+public CommentMarkStyle markStyle
注解标记区域样式。
### CommentItem.show
-public bool show
+public bool show
是否显示当前注解项。
## CommentMarkStyle
@@ -3442,12 +3442,12 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent)
### CommentMarkStyle.lineStyle
-public LineStyle lineStyle
+public LineStyle lineStyle
线条样式。
### CommentMarkStyle.show
-public bool show
+public bool show
是否显示当前注解项。
## ComponentHandlerAttribute
@@ -3456,7 +3456,7 @@ class in XCharts.Runtime / 继承自: [Attribute](https://docs.unity3d.com/Scrip
### ComponentHandlerAttribute.ComponentHandlerAttribute
-public ComponentHandlerAttribute(Type handler, bool allowMultiple, int order = 3)
+public ComponentHandlerAttribute(Type handler, bool allowMultiple, int order = 3)
## ComponentHelper
@@ -3465,23 +3465,23 @@ class in XCharts.Runtime
### ComponentHelper.GetAngleAxis
-public static AngleAxis GetAngleAxis(List<MainComponent> components, int polarIndex)
+public static AngleAxis GetAngleAxis(List<MainComponent> components, int polarIndex)
### ComponentHelper.GetRadiusAxis
-public static RadiusAxis GetRadiusAxis(List<MainComponent> components, int polarIndex)
+public static RadiusAxis GetRadiusAxis(List<MainComponent> components, int polarIndex)
### ComponentHelper.GetXAxisOnZeroOffset
-public static float GetXAxisOnZeroOffset(List<MainComponent> components, XAxis axis)
+public static float GetXAxisOnZeroOffset(List<MainComponent> components, XAxis axis)
### ComponentHelper.GetYAxisOnZeroOffset
-public static float GetYAxisOnZeroOffset(List<MainComponent> components, YAxis axis)
+public static float GetYAxisOnZeroOffset(List<MainComponent> components, YAxis axis)
### ComponentHelper.IsAnyCategoryOfYAxis
-public static bool IsAnyCategoryOfYAxis(List<MainComponent> components)
+public static bool IsAnyCategoryOfYAxis(List<MainComponent> components)
## ComponentTheme
@@ -3489,15 +3489,15 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent) / 子类
### ComponentTheme.ComponentTheme
-public ComponentTheme(ThemeType theme)
+public ComponentTheme(ThemeType theme)
### ComponentTheme.Copy
-public virtual void Copy(ComponentTheme theme)
+public virtual void Copy(ComponentTheme theme)
### ComponentTheme.Reset
-public virtual void Reset(ComponentTheme defaultTheme)
+public virtual void Reset(ComponentTheme defaultTheme)
## CoordOptionsAttribute
@@ -3505,15 +3505,15 @@ class in XCharts.Runtime / 继承自: [Attribute](https://docs.unity3d.com/Scrip
### CoordOptionsAttribute.Contains<T>
-public bool Contains<T>() where T : CoordSystem
+public bool Contains<T>() where T : CoordSystem
### CoordOptionsAttribute.CoordOptionsAttribute
-public CoordOptionsAttribute(Type coord, Type coord2)
+public CoordOptionsAttribute(Type coord, Type coord2)
-public CoordOptionsAttribute(Type coord, Type coord2, Type coord3)
+public CoordOptionsAttribute(Type coord, Type coord2, Type coord3)
-public CoordOptionsAttribute(Type coord, Type coord2, Type coord3, Type coord4)
+public CoordOptionsAttribute(Type coord, Type coord2, Type coord3, Type coord4)
## CoordSystem
@@ -3534,70 +3534,70 @@ DataZoom 组件 用于区域缩放,从而能自由关注细节的数据信息
### DataZoom.realtime
-public bool realtime
+public bool realtime
拖动时,是否实时更新系列的视图。如果设置为 false,则只在拖拽结束的时候更新。默认为true,暂不支持修改。
### DataZoom.startEndFunction
-public CustomDataZoomStartEndFunction startEndFunction
+public CustomDataZoomStartEndFunction startEndFunction
start和end变更委托。
### DataZoom.GetBackgroundColor
-public Color32 GetBackgroundColor(Color32 themeColor)
+public Color32 GetBackgroundColor(Color32 themeColor)
### DataZoom.GetBorderColor
-public Color32 GetBorderColor(Color32 themeColor)
+public Color32 GetBorderColor(Color32 themeColor)
### DataZoom.GetFillerColor
-public Color32 GetFillerColor(Color32 themeColor)
+public Color32 GetFillerColor(Color32 themeColor)
### DataZoom.IsContainsAxis
-public bool IsContainsAxis(Axis axis)
+public bool IsContainsAxis(Axis axis)
### DataZoom.IsContainsXAxis
-public bool IsContainsXAxis(int index)
+public bool IsContainsXAxis(int index)
### DataZoom.IsContainsYAxis
-public bool IsContainsYAxis(int index)
+public bool IsContainsYAxis(int index)
### DataZoom.IsInEndZoom
-public bool IsInEndZoom(Vector2 pos)
+public bool IsInEndZoom(Vector2 pos)
给定的坐标是否在结束活动条触发区域内
### DataZoom.IsInMarqueeArea
-public bool IsInMarqueeArea(Vector2 pos)
+public bool IsInMarqueeArea(Vector2 pos)
### DataZoom.IsInSelectedZoom
-public bool IsInSelectedZoom(int totalIndex, int index, bool invert)
+public bool IsInSelectedZoom(int totalIndex, int index, bool invert)
### DataZoom.IsInStartZoom
-public bool IsInStartZoom(Vector2 pos)
+public bool IsInStartZoom(Vector2 pos)
给定的坐标是否在开始活动条触发区域内
### DataZoom.IsInZoom
-public bool IsInZoom(Vector2 pos)
+public bool IsInZoom(Vector2 pos)
给定的坐标是否在缩放区域内
### DataZoom.SetDefaultValue
-public override void SetDefaultValue()
+public override void SetDefaultValue()
### DataZoom.UpdateRuntimeData
-public void UpdateRuntimeData(BaseChart chart)
+public void UpdateRuntimeData(BaseChart chart)
## DataZoom.FilterMode
@@ -3629,65 +3629,65 @@ class in XCharts.Runtime / 继承自: [MainComponentContext](#maincomponentconte
### DataZoomContext.endValue
-public double endValue
+public double endValue
运行时实际范围的结束值
### DataZoomContext.height
-public float height
+public float height
### DataZoomContext.invert
-public bool invert
+public bool invert
### DataZoomContext.isCoordinateDrag
-public bool isCoordinateDrag
+public bool isCoordinateDrag
### DataZoomContext.isDrag
-public bool isDrag
+public bool isDrag
### DataZoomContext.isEndDrag
-public bool isEndDrag
+public bool isEndDrag
### DataZoomContext.isMarqueeDrag
-public bool isMarqueeDrag
+public bool isMarqueeDrag
### DataZoomContext.isStartDrag
-public bool isStartDrag
+public bool isStartDrag
### DataZoomContext.marqueeEndPos
-public Vector3 marqueeEndPos
+public Vector3 marqueeEndPos
### DataZoomContext.marqueeRect
-public Rect marqueeRect
+public Rect marqueeRect
### DataZoomContext.marqueeStartPos
-public Vector3 marqueeStartPos
+public Vector3 marqueeStartPos
### DataZoomContext.startValue
-public double startValue
+public double startValue
运行时实际范围的开始值
### DataZoomContext.width
-public float width
+public float width
### DataZoomContext.x
-public float x
+public float x
### DataZoomContext.y
-public float y
+public float y
## DataZoomHelper
@@ -3695,11 +3695,11 @@ class in XCharts.Runtime
### DataZoomHelper.UpdateDataZoomRuntimeStartEndValue
-public static void UpdateDataZoomRuntimeStartEndValue(DataZoom dataZoom, Serie serie)
+public static void UpdateDataZoomRuntimeStartEndValue(DataZoom dataZoom, Serie serie)
### DataZoomHelper.UpdateDataZoomRuntimeStartEndValue<T>
-public static void UpdateDataZoomRuntimeStartEndValue<T>(BaseChart chart) where T : Serie
+public static void UpdateDataZoomRuntimeStartEndValue<T>(BaseChart chart) where T : Serie
## DataZoomTheme
@@ -3707,11 +3707,11 @@ class in XCharts.Runtime / 继承自: [ComponentTheme](#componenttheme)
### DataZoomTheme.Copy
-public void Copy(DataZoomTheme theme)
+public void Copy(DataZoomTheme theme)
### DataZoomTheme.DataZoomTheme
-public DataZoomTheme(ThemeType theme) : base(theme)
+public DataZoomTheme(ThemeType theme) : base(theme)
## DateTimeUtil
@@ -3719,22 +3719,22 @@ class in XCharts.Runtime
### DateTimeUtil.GetDateTime
-public static DateTime GetDateTime(double timestamp, bool local = true)
+public static DateTime GetDateTime(double timestamp, bool local = true)
### DateTimeUtil.GetDefaultDateTimeString
-public static string GetDefaultDateTimeString(int timestamp, double range = 0)
+public static string GetDefaultDateTimeString(int timestamp, double range = 0)
### DateTimeUtil.GetTimestamp
-public static int GetTimestamp(DateTime time, bool local = false)
+public static int GetTimestamp(DateTime time, bool local = false)
-public static int GetTimestamp(string dateTime, bool local = false)
+public static int GetTimestamp(string dateTime, bool local = false)
### DateTimeUtil.IsDateOrTimeRegex
-public static bool IsDateOrTimeRegex(string regex, ref bool date, ref string formatter)
+public static bool IsDateOrTimeRegex(string regex, ref bool date, ref string formatter)
## DebugInfo
@@ -3743,41 +3743,41 @@ class in XCharts.Runtime
### DebugInfo.avgFps
-public float avgFps
+public float avgFps
平均帧率。
### DebugInfo.foldSeries
-public bool foldSeries
+public bool foldSeries
是否在Inspector上折叠Serie。
### DebugInfo.fps
-public float fps
+public float fps
当前帧率。
### DebugInfo.refreshCount
-public int refreshCount
+public int refreshCount
图表每秒刷新次数。
### DebugInfo.show
-public bool show
+public bool show
是否显示Debug组件。
### DebugInfo.showAllChartObject
-public bool showAllChartObject
+public bool showAllChartObject
是否在Hierarchy试图显示所有chart下的节点。
### DebugInfo.Init
-public void Init(BaseChart chart)
+public void Init(BaseChart chart)
### DebugInfo.Update
-public void Update()
+public void Update()
## DefaultAnimationAttribute
@@ -3785,7 +3785,7 @@ class in XCharts.Runtime / 继承自: [Attribute](https://docs.unity3d.com/Scrip
### DefaultAnimationAttribute.DefaultAnimationAttribute
-public DefaultAnimationAttribute(AnimationType handler, bool enableSerieDataAddedAnimation)
+public DefaultAnimationAttribute(AnimationType handler, bool enableSerieDataAddedAnimation)
## DefaultTooltipAttribute
@@ -3794,7 +3794,7 @@ class in XCharts.Runtime / 继承自: [Attribute](https://docs.unity3d.com/Scrip
### DefaultTooltipAttribute.DefaultTooltipAttribute
-public DefaultTooltipAttribute(Tooltip.Type type, Tooltip.Trigger trigger)
+public DefaultTooltipAttribute(Tooltip.Type type, Tooltip.Trigger trigger)
## DefineSymbolsUtil
@@ -3802,11 +3802,11 @@ class in XCharts.Runtime
### DefineSymbolsUtil.AddGlobalDefine
-public static void AddGlobalDefine(string symbol)
+public static void AddGlobalDefine(string symbol)
### DefineSymbolsUtil.RemoveGlobalDefine
-public static void RemoveGlobalDefine(string symbol)
+public static void RemoveGlobalDefine(string symbol)
## EffectScatter
@@ -3814,7 +3814,7 @@ class in XCharts.Runtime / 继承自: [BaseScatter](#basescatter)
### EffectScatter.AddDefaultSerie
-public static Serie AddDefaultSerie(BaseChart chart, string serieName)
+public static Serie AddDefaultSerie(BaseChart chart, string serieName)
## EmphasisStyle
@@ -3854,7 +3854,7 @@ class in XCharts.Runtime / 继承自: [LabelStyle](#labelstyle)
### EndLabelStyle.EndLabelStyle
-public EndLabelStyle()
+public EndLabelStyle()
## FormatterHelper
@@ -3862,16 +3862,16 @@ class in XCharts.Runtime
### FormatterHelper.NeedFormat
-public static bool NeedFormat(string content)
+public static bool NeedFormat(string content)
### FormatterHelper.ReplaceAxisLabelContent
-public static void ReplaceAxisLabelContent(ref string content, string value)
+public static void ReplaceAxisLabelContent(ref string content, string value)
### FormatterHelper.TrimAndReplaceLine
-public static string TrimAndReplaceLine(string content)
+public static string TrimAndReplaceLine(string content)
## GraphData
@@ -3882,82 +3882,82 @@ class in XCharts.Runtime
### GraphData.AddEdge
-public GraphEdge AddEdge(string nodeId1, string nodeId2, double value)
+public GraphEdge AddEdge(string nodeId1, string nodeId2, double value)
### GraphData.AddNode
-public GraphNode AddNode(string nodeId, string nodeName, int dataIndex, double value)
+public GraphNode AddNode(string nodeId, string nodeName, int dataIndex, double value)
### GraphData.BreadthFirstTraverse
-public void BreadthFirstTraverse(GraphNode startNode, System.Action<GraphNode> onTraverse)
+public void BreadthFirstTraverse(GraphNode startNode, System.Action<GraphNode> onTraverse)
### GraphData.Clear
-public void Clear()
+public void Clear()
### GraphData.DeepFirstTraverse
-public void DeepFirstTraverse(GraphNode startNode, System.Action<GraphNode> onTraverse)
+public void DeepFirstTraverse(GraphNode startNode, System.Action<GraphNode> onTraverse)
### GraphData.EachNode
-public void EachNode(System.Action<GraphNode> onEach)
+public void EachNode(System.Action<GraphNode> onEach)
### GraphData.ExpandAllNodes
-public void ExpandAllNodes(bool flag, int level = -1)
+public void ExpandAllNodes(bool flag, int level = -1)
### GraphData.ExpandNode
-public void ExpandNode(string nodeId, bool flag)
+public void ExpandNode(string nodeId, bool flag)
### GraphData.GetDepthNodes
-public List<List<GraphNode>> GetDepthNodes()
+public List<List<GraphNode>> GetDepthNodes()
### GraphData.GetEdge
-public GraphEdge GetEdge(string nodeId1, string nodeId2)
+public GraphEdge GetEdge(string nodeId1, string nodeId2)
### GraphData.GetExpandedNodesCount
-public static int GetExpandedNodesCount(List<GraphNode> nodes)
+public static int GetExpandedNodesCount(List<GraphNode> nodes)
### GraphData.GetMaxDepth
-public int GetMaxDepth()
+public int GetMaxDepth()
### GraphData.GetNode
-public GraphNode GetNode(string nodeId)
+public GraphNode GetNode(string nodeId)
### GraphData.GetNodeDepth
-// public void GetNodeDepth(GraphNode node, ref int depth, int recursiveCount = 0)
+// public void GetNodeDepth(GraphNode node, ref int depth, int recursiveCount = 0)
-public int GetNodeDepth(GraphNode node, int recursiveCount = 0)
+public int GetNodeDepth(GraphNode node, int recursiveCount = 0)
### GraphData.GetNodesTotalValue
-public static double GetNodesTotalValue(List<GraphNode> nodes)
+public static double GetNodesTotalValue(List<GraphNode> nodes)
### GraphData.GetRootNodes
-public List<GraphNode> GetRootNodes()
+public List<GraphNode> GetRootNodes()
### GraphData.GraphData
-public GraphData(bool directed)
+public GraphData(bool directed)
### GraphData.IsAllNodeInZeroPosition
-public bool IsAllNodeInZeroPosition()
+public bool IsAllNodeInZeroPosition()
### GraphData.Refresh
-public void Refresh()
+public void Refresh()
## GraphEdge
@@ -3967,11 +3967,11 @@ class in XCharts.Runtime
### GraphEdge.GraphEdge
-public GraphEdge(GraphNode node1, GraphNode node2, double value)
+public GraphEdge(GraphNode node1, GraphNode node2, double value)
### GraphEdge.IsPointInEdge
-public bool IsPointInEdge(Vector2 point)
+public bool IsPointInEdge(Vector2 point)
## GraphNode
@@ -3981,35 +3981,35 @@ class in XCharts.Runtime
### GraphNode.degree
-public int degree
+public int degree
### GraphNode.inDegree
-public int inDegree
+public int inDegree
### GraphNode.outDegree
-public int outDegree
+public int outDegree
### GraphNode.Expand
-public void Expand(bool flag)
+public void Expand(bool flag)
### GraphNode.GraphNode
-public GraphNode(string id, string name, int dataIndex)
+public GraphNode(string id, string name, int dataIndex)
### GraphNode.IsAllInEdgesCollapsed
-public bool IsAllInEdgesCollapsed()
+public bool IsAllInEdgesCollapsed()
### GraphNode.IsAnyInEdgesExpanded
-public bool IsAnyInEdgesExpanded()
+public bool IsAnyInEdgesExpanded()
### GraphNode.ToString
-public override string ToString()
+public override string ToString()
## GridCoord
@@ -4019,13 +4019,13 @@ Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart
### GridCoord.BoundaryPoint
-public bool BoundaryPoint(Vector3 sp, Vector3 ep, ref List<Vector3> point)
+public bool BoundaryPoint(Vector3 sp, Vector3 ep, ref List<Vector3> point)
给定的线段和Grid边界的交点
### GridCoord.Clamp
-public void Clamp(ref Vector3 pos)
+public void Clamp(ref Vector3 pos)
> 从 `v3.7.0` 开始支持
@@ -4033,7 +4033,7 @@ public void Clamp(ref Vector3 pos)
### GridCoord.ClampX
-public void ClampX(ref Vector3 pos)
+public void ClampX(ref Vector3 pos)
> 从 `v3.7.0` 开始支持
@@ -4041,7 +4041,7 @@ public void ClampX(ref Vector3 pos)
### GridCoord.ClampY
-public void ClampY(ref Vector3 pos)
+public void ClampY(ref Vector3 pos)
> 从 `v3.7.0` 开始支持
@@ -4049,10 +4049,10 @@ public void ClampY(ref Vector3 pos)
### GridCoord.Contains
-public bool Contains(float x, float y)
+public bool Contains(float x, float y)
给定的位置是否在网格内。
-public bool Contains(Vector3 pos, bool isYAxis)
+public bool Contains(Vector3 pos, bool isYAxis)
> 从 `v3.7.0` 开始支持
@@ -4061,7 +4061,7 @@ public bool Contains(Vector3 pos, bool isYAxis)
### GridCoord.ContainsX
-public bool ContainsX(float x)
+public bool ContainsX(float x)
> 从 `v3.7.0` 开始支持
@@ -4069,7 +4069,7 @@ public bool ContainsX(float x)
### GridCoord.ContainsY
-public bool ContainsY(float y)
+public bool ContainsY(float y)
> 从 `v3.7.0` 开始支持
@@ -4077,12 +4077,12 @@ public bool ContainsY(float y)
### GridCoord.IsPointerEnter
-public bool IsPointerEnter()
+public bool IsPointerEnter()
指针是否在网格内。
### GridCoord.NotAnyIntersect
-public bool NotAnyIntersect(Vector3 sp, Vector3 ep)
+public bool NotAnyIntersect(Vector3 sp, Vector3 ep)
> 从 `v3.10.0` 开始支持
@@ -4090,7 +4090,7 @@ public bool NotAnyIntersect(Vector3 sp, Vector3 ep)
### GridCoord.UpdateRuntimeData
-public void UpdateRuntimeData(BaseChart chart)
+public void UpdateRuntimeData(BaseChart chart)
## GridCoord3D
@@ -4102,32 +4102,32 @@ Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart
### GridCoord3D.Clamp
-public void Clamp(ref Vector3 pos)
+public void Clamp(ref Vector3 pos)
将位置限制在网格内。
### GridCoord3D.Contains
-public bool Contains(Vector3 pos)
+public bool Contains(Vector3 pos)
给定的位置是否在网格内。
### GridCoord3D.IsLeft
-public bool IsLeft()
+public bool IsLeft()
The opening of the coordinate system faces to the left. 坐标系开口朝向左边。
### GridCoord3D.IsPointerEnter
-public bool IsPointerEnter()
+public bool IsPointerEnter()
指针是否在网格内。
### GridCoord3D.NotAnyIntersect
-public bool NotAnyIntersect(Vector3 sp, Vector3 ep)
+public bool NotAnyIntersect(Vector3 sp, Vector3 ep)
判断给定的线段是否与Grid边界是否完全不会相交。
### GridCoord3D.UpdateRuntimeData
-public void UpdateRuntimeData(BaseChart chart)
+public void UpdateRuntimeData(BaseChart chart)
## GridCoord3DContext
@@ -4147,7 +4147,7 @@ class in XCharts.Runtime / 继承自: [MainComponent](#maincomponent),[IUpdateRu
### GridLayout.UpdateRuntimeData
-public void UpdateRuntimeData(BaseChart chart)
+public void UpdateRuntimeData(BaseChart chart)
## GridLayoutContext
@@ -4159,15 +4159,15 @@ class in XCharts.Runtime / 继承自: [Serie](#serie),[INeedSerieContainer](#ine
### Heatmap.containerIndex
-public int containerIndex
+public int containerIndex
### Heatmap.containterInstanceId
-public int containterInstanceId
+public int containterInstanceId
### Heatmap.AddDefaultSerie
-public static Serie AddDefaultSerie(BaseChart chart, string serieName)
+public static Serie AddDefaultSerie(BaseChart chart, string serieName)
## HeatmapChart
@@ -4177,7 +4177,7 @@ class in XCharts.Runtime / 继承自: [BaseChart](#basechart)
### HeatmapChart.DefaultCountHeatmapChart
-public void DefaultCountHeatmapChart()
+public void DefaultCountHeatmapChart()
默认计数热力图。
## HeatmapType
@@ -4197,65 +4197,65 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent)
### IconStyle.align
-public Align align
+public Align align
水平方向对齐方式。
### IconStyle.autoHideWhenLabelEmpty
-public bool autoHideWhenLabelEmpty
+public bool autoHideWhenLabelEmpty
当label内容为空时是否自动隐藏图标
### IconStyle.color
-public Color color
+public Color color
图标颜色。
### IconStyle.height
-public float height
+public float height
图标高。
### IconStyle.layer
-public Layer layer
+public Layer layer
显示在上层还是在下层。
### IconStyle.offset
-public Vector3 offset
+public Vector3 offset
图标偏移。
### IconStyle.show
-public bool show
+public bool show
是否显示图标。
### IconStyle.sprite
-public Sprite sprite
+public Sprite sprite
图标的图片。
### IconStyle.type
-public Image.Type type
+public Image.Type type
图片的显示类型。
### IconStyle.width
-public float width
+public float width
图标宽。
### IconStyle.Clone
-public IconStyle Clone()
+public IconStyle Clone()
### IconStyle.Copy
-public void Copy(IconStyle iconStyle)
+public void Copy(IconStyle iconStyle)
### IconStyle.Reset
-public void Reset()
+public void Reset()
## IconStyle.Layer
@@ -4272,7 +4272,7 @@ class in XCharts.Runtime / 继承自: [Attribute](https://docs.unity3d.com/Scrip
### IgnoreDoc.IgnoreDoc
-public IgnoreDoc()
+public IgnoreDoc()
## ImageStyle
@@ -4280,50 +4280,50 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent),[ISerieC
### ImageStyle.autoColor
-public bool autoColor
+public bool autoColor
是否自动颜色。
### ImageStyle.color
-public Color color
+public Color color
图标颜色。
### ImageStyle.height
-public float height
+public float height
图标高。
### ImageStyle.show
-public bool show
+public bool show
是否显示图标。
### ImageStyle.sprite
-public Sprite sprite
+public Sprite sprite
图标的图片。
### ImageStyle.type
-public Image.Type type
+public Image.Type type
图片的显示类型。
### ImageStyle.width
-public float width
+public float width
图标宽。
### ImageStyle.Clone
-public ImageStyle Clone()
+public ImageStyle Clone()
### ImageStyle.Copy
-public void Copy(ImageStyle imageStyle)
+public void Copy(ImageStyle imageStyle)
### ImageStyle.Reset
-public void Reset()
+public void Reset()
## Indicator
@@ -4333,94 +4333,94 @@ class in XCharts.Runtime
### Indicator.indicatorList
-public List<Indicator> indicatorList
+public List<Indicator> indicatorList
指示器列表。
### Indicator.max
-public double max
+public double max
指示器的最大值,默认为 0 无限制。
### Indicator.min
-public double min
+public double min
指示器的最小值,默认为 0 无限制。
### Indicator.name
-public string name
+public string name
指示器名称。
### Indicator.show
-public bool show
+public bool show
是否显示雷达坐标系组件。
### Indicator.text
-public Text text
+public Text text
指示器的文本组件。
### Indicator.AddIndicator
-public RadarCoord.Indicator AddIndicator(string name, double min, double max)
+public RadarCoord.Indicator AddIndicator(string name, double min, double max)
### Indicator.AddIndicatorList
-public void AddIndicatorList(List<string> nameList, double min = 0, double max = 0)
+public void AddIndicatorList(List<string> nameList, double min = 0, double max = 0)
> 从 `v3.3.0` 开始支持
### Indicator.ClearData
-public override void ClearData()
+public override void ClearData()
### Indicator.GetFormatterIndicatorContent
-public string GetFormatterIndicatorContent(string indicatorName)
+public string GetFormatterIndicatorContent(string indicatorName)
### Indicator.GetIndicator
-public RadarCoord.Indicator GetIndicator(int indicatorIndex)
+public RadarCoord.Indicator GetIndicator(int indicatorIndex)
### Indicator.GetIndicatorMax
-public double GetIndicatorMax(int index)
+public double GetIndicatorMax(int index)
### Indicator.GetIndicatorMin
-public double GetIndicatorMin(int index)
+public double GetIndicatorMin(int index)
### Indicator.GetIndicatorName
-public string GetIndicatorName(int indicatorIndex)
+public string GetIndicatorName(int indicatorIndex)
### Indicator.GetIndicatorPosition
-public Vector3 GetIndicatorPosition(int index)
+public Vector3 GetIndicatorPosition(int index)
### Indicator.IsInIndicatorRange
-public bool IsInIndicatorRange(int index, double value)
+public bool IsInIndicatorRange(int index, double value)
### Indicator.IsInRange
-public bool IsInRange(double value)
+public bool IsInRange(double value)
### Indicator.IsPointerEnter
-public bool IsPointerEnter()
+public bool IsPointerEnter()
### Indicator.SetDefaultValue
-public override void SetDefaultValue()
+public override void SetDefaultValue()
### Indicator.UpdateIndicator
-public bool UpdateIndicator(int indicatorIndex, string name, double min, double max)
+public bool UpdateIndicator(int indicatorIndex, string name, double min, double max)
## INeedSerieContainer
@@ -4432,11 +4432,11 @@ class in XCharts.Runtime
### InputHelper.GetKeyDown
-public static bool GetKeyDown(KeyCode keyCode)
+public static bool GetKeyDown(KeyCode keyCode)
### InputHelper.GetTouch
-public static Touch GetTouch(int v)
+public static Touch GetTouch(int v)
## InteractData
@@ -4444,49 +4444,49 @@ class in XCharts.Runtime
### InteractData.Reset
-public void Reset()
+public void Reset()
### InteractData.SetColor
-public void SetColor(ref bool needInteract, Color32 color, Color32 toColor)
+public void SetColor(ref bool needInteract, Color32 color, Color32 toColor)
### InteractData.SetPosition
-public void SetPosition(ref bool needInteract, Vector3 pos)
+public void SetPosition(ref bool needInteract, Vector3 pos)
### InteractData.SetValue
-public void SetValue(ref bool needInteract, float value, bool previousValueZero = false)
+public void SetValue(ref bool needInteract, float value, bool previousValueZero = false)
### InteractData.SetValueAndColor
-public void SetValueAndColor(ref bool needInteract, float value, Color32 color, Color32 toColor)
+public void SetValueAndColor(ref bool needInteract, float value, Color32 color, Color32 toColor)
### InteractData.ToString
-public override string ToString()
+public override string ToString()
### InteractData.TryGetColor
-public bool TryGetColor(ref Color32 color, ref Color32 toColor, ref bool interacting, float animationDuration = 250)
+public bool TryGetColor(ref Color32 color, ref Color32 toColor, ref bool interacting, float animationDuration = 250)
### InteractData.TryGetPosition
-public bool TryGetPosition(ref Vector3 pos, ref bool interacting, float animationDuration = 250)
+public bool TryGetPosition(ref Vector3 pos, ref bool interacting, float animationDuration = 250)
### InteractData.TryGetValue
-public bool TryGetValue(ref float value, ref bool interacting, float animationDuration = 250)
+public bool TryGetValue(ref float value, ref bool interacting, float animationDuration = 250)
### InteractData.TryGetValueAndColor
-public bool TryGetValueAndColor(ref float value, ref Vector3 pos, ref bool interacting, float animationDuration = 250)
+public bool TryGetValueAndColor(ref float value, ref Vector3 pos, ref bool interacting, float animationDuration = 250)
-public bool TryGetValueAndColor(ref float value, ref Vector3 pos, ref Color32 color, ref Color32 toColor, ref bool interacting, float animationDuration = 250)
+public bool TryGetValueAndColor(ref float value, ref Vector3 pos, ref Color32 color, ref Color32 toColor, ref bool interacting, float animationDuration = 250)
## IPropertyChanged
@@ -4523,41 +4523,41 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent),[ISerieD
### ItemStyle.GetBorderColor
-public Color32 GetBorderColor(Color32 defaultColor)
+public Color32 GetBorderColor(Color32 defaultColor)
### ItemStyle.GetBorderColor0
-public Color32 GetBorderColor0(Color32 defaultColor)
+public Color32 GetBorderColor0(Color32 defaultColor)
### ItemStyle.GetColor
-public Color32 GetColor(Color32 defaultColor)
+public Color32 GetColor(Color32 defaultColor)
### ItemStyle.GetColor0
-public Color32 GetColor0(Color32 defaultColor)
+public Color32 GetColor0(Color32 defaultColor)
### ItemStyle.GetGradientColor
-public Color32 GetGradientColor(float value, Color32 defaultColor)
+public Color32 GetGradientColor(float value, Color32 defaultColor)
### ItemStyle.GetToColor
-public Color32 GetToColor()
+public Color32 GetToColor()
### ItemStyle.IsNeedCorner
-public bool IsNeedCorner()
+public bool IsNeedCorner()
### ItemStyle.IsNeedGradient
-public bool IsNeedGradient()
+public bool IsNeedGradient()
### ItemStyle.Reset
-public void Reset()
+public void Reset()
## IUpdateRuntimeData
@@ -4569,15 +4569,15 @@ class in XCharts.Runtime
### JsonUtil.GetJsonArray<T>
-public static T[] GetJsonArray<T>(string json)
+public static T[] GetJsonArray<T>(string json)
### JsonUtil.GetJsonObject<T>
-public static T GetJsonObject<T>(string json)
+public static T GetJsonObject<T>(string json)
### JsonUtil.GetWebJson<T>
-public static IEnumerator GetWebJson<T>(string url, Action<T> callback)
+public static IEnumerator GetWebJson<T>(string url, Action<T> callback)
## LabelLine
@@ -4588,15 +4588,15 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent),[ISerieC
### LabelLine.GetEndSymbolOffset
-public Vector3 GetEndSymbolOffset()
+public Vector3 GetEndSymbolOffset()
### LabelLine.GetStartSymbolOffset
-public Vector3 GetStartSymbolOffset()
+public Vector3 GetStartSymbolOffset()
### LabelLine.Reset
-public void Reset()
+public void Reset()
## LabelLine.LineType
@@ -4618,45 +4618,45 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent),[ISerieC
### LabelStyle.Clone
-public virtual LabelStyle Clone()
+public virtual LabelStyle Clone()
### LabelStyle.Copy
-public virtual void Copy(LabelStyle label)
+public virtual void Copy(LabelStyle label)
### LabelStyle.GetColor
-public Color GetColor(Color defaultColor)
+public Color GetColor(Color defaultColor)
### LabelStyle.GetFormatterContent
-public virtual string GetFormatterContent(int labelIndex, double value, double minValue, double maxValue, bool isLog = false)
+public virtual string GetFormatterContent(int labelIndex, double value, double minValue, double maxValue, bool isLog = false)
### LabelStyle.GetFormatterDateTime
-public string GetFormatterDateTime(int labelIndex, double value, double minValue, double maxValue)
+public string GetFormatterDateTime(int labelIndex, double value, double minValue, double maxValue)
### LabelStyle.GetOffset
-public Vector3 GetOffset(float radius)
+public Vector3 GetOffset(float radius)
### LabelStyle.IsAutoSize
-public bool IsAutoSize()
+public bool IsAutoSize()
### LabelStyle.IsDefaultPosition
-public bool IsDefaultPosition(Position position)
+public bool IsDefaultPosition(Position position)
### LabelStyle.IsInside
-public bool IsInside()
+public bool IsInside()
是否在内部。
### LabelStyle.Reset
-public void Reset()
+public void Reset()
## LabelStyle.Position
@@ -4686,15 +4686,15 @@ class in XCharts.Runtime / 继承自: [ScriptableObject](https://docs.unity3d.co
### Lang.GetCandlestickDimensionName
-public string GetCandlestickDimensionName(int i)
+public string GetCandlestickDimensionName(int i)
### Lang.GetDay
-public string GetDay(int day)
+public string GetDay(int day)
### Lang.GetMonthAbbr
-public string GetMonthAbbr(int month)
+public string GetMonthAbbr(int month)
## LangCandlestick
@@ -4702,7 +4702,7 @@ class in XCharts.Runtime
### LangCandlestick.List<string>()
-public List<string> dimensionNames = new List<string>()
+public List<string> dimensionNames = new List<string>()
## LangTime
@@ -4710,13 +4710,13 @@ class in XCharts.Runtime
### LangTime.List<string>
-public List<string> dayOfMonth = new List<string>()
+public List<string> dayOfMonth = new List<string>()
-public List<string> dayOfWeek = new List<string>()
+public List<string> dayOfWeek = new List<string>()
-public List<string> dayOfWeekAbbr = new List<string>()
+public List<string> dayOfWeekAbbr = new List<string>()
-public List<string> monthAbbr = new List<string>()
+public List<string> monthAbbr = new List<string>()
## LayerHelper
@@ -4725,11 +4725,11 @@ class in XCharts.Runtime
### LayerHelper.IsFixedWidthHeight
-public static bool IsFixedWidthHeight(RectTransform rt)
+public static bool IsFixedWidthHeight(RectTransform rt)
### LayerHelper.IsStretchPivot
-public static bool IsStretchPivot(RectTransform rt)
+public static bool IsStretchPivot(RectTransform rt)
## Legend
@@ -4739,79 +4739,79 @@ class in XCharts.Runtime / 继承自: [MainComponent](#maincomponent),[IProperty
### Legend.vertsDirty
-public override bool vertsDirty
+public override bool vertsDirty
图表是否需要刷新(图例组件不需要刷新图表)
### Legend.AddData
-public void AddData(string name)
+public void AddData(string name)
添加图例。
### Legend.ClearComponentDirty
-public override void ClearComponentDirty()
+public override void ClearComponentDirty()
### Legend.ClearData
-public override void ClearData()
+public override void ClearData()
清空。
### Legend.ContainsData
-public bool ContainsData(string name)
+public bool ContainsData(string name)
是否包括由指定名字的图例
### Legend.GetColor
-public Color GetColor(int index)
+public Color GetColor(int index)
### Legend.GetData
-public string GetData(int index)
+public string GetData(int index)
获得指定索引的图例。
### Legend.GetIcon
-public Sprite GetIcon(int index)
+public Sprite GetIcon(int index)
获得指定索引的图例按钮。
### Legend.GetIndex
-public int GetIndex(string legendName)
+public int GetIndex(string legendName)
获得指定图例的索引。
### Legend.GetPosition
-public Vector3 GetPosition(int index, Vector3 defaultPos)
+public Vector3 GetPosition(int index, Vector3 defaultPos)
### Legend.OnChanged
-public void OnChanged()
+public void OnChanged()
参数变更时的回调处理。
### Legend.RemoveButton
-public void RemoveButton()
+public void RemoveButton()
移除所有图例按钮。
### Legend.RemoveData
-public void RemoveData(string name)
+public void RemoveData(string name)
移除指定名字的图例。
### Legend.SetButton
-public void SetButton(string name, LegendItem item, int total)
+public void SetButton(string name, LegendItem item, int total)
给图例绑定按钮。
### Legend.UpdateButtonColor
-public void UpdateButtonColor(string name, Color color)
+public void UpdateButtonColor(string name, Color color)
更新图例按钮颜色。
### Legend.UpdateContentColor
-public void UpdateContentColor(string name, Color color)
+public void UpdateContentColor(string name, Color color)
更新图例文字颜色。
## Legend.SelectedMode
@@ -4849,20 +4849,20 @@ class in XCharts.Runtime / 继承自: [MainComponentContext](#maincomponentconte
### LegendContext.background
-public Image background
+public Image background
### LegendContext.center
-public Vector2 center
+public Vector2 center
### LegendContext.height
-public float height
+public float height
运行时图例的总高度
### LegendContext.width
-public float width
+public float width
运行时图例的总宽度
## LegendHelper
@@ -4871,27 +4871,27 @@ class in XCharts.Runtime
### LegendHelper.CheckDataHighlighted
-public static int CheckDataHighlighted(Serie serie, string legendName, bool heighlight)
+public static int CheckDataHighlighted(Serie serie, string legendName, bool heighlight)
### LegendHelper.CheckDataShow
-public static bool CheckDataShow(Serie serie, string legendName, bool show)
+public static bool CheckDataShow(Serie serie, string legendName, bool show)
### LegendHelper.GetContentColor
-public static Color GetContentColor(BaseChart chart, int legendIndex, string legendName, Legend legend, ThemeStyle theme, bool active)
+public static Color GetContentColor(BaseChart chart, int legendIndex, string legendName, Legend legend, ThemeStyle theme, bool active)
### LegendHelper.GetIconColor
-public static Color GetIconColor(BaseChart chart, Legend legend, int readIndex, string legendName, bool active)
+public static Color GetIconColor(BaseChart chart, Legend legend, int readIndex, string legendName, bool active)
### LegendHelper.ResetItemPosition
-public static void ResetItemPosition(Legend legend, Vector3 chartPos, float chartWidth, float chartHeight)
+public static void ResetItemPosition(Legend legend, Vector3 chartPos, float chartWidth, float chartHeight)
### LegendHelper.SetLegendBackground
-public static void SetLegendBackground(Legend legend, ImageStyle style)
+public static void SetLegendBackground(Legend legend, ImageStyle style)
## LegendItem
@@ -4899,99 +4899,99 @@ class in XCharts.Runtime
### LegendItem.button
-public Button button
+public Button button
### LegendItem.gameObject
-public GameObject gameObject
+public GameObject gameObject
### LegendItem.index
-public int index
+public int index
### LegendItem.legendName
-public string legendName
+public string legendName
### LegendItem.name
-public string name
+public string name
### LegendItem.text
-public ChartText text
+public ChartText text
### LegendItem.GetIconColor
-public Color GetIconColor()
+public Color GetIconColor()
### LegendItem.GetIconRect
-public Rect GetIconRect()
+public Rect GetIconRect()
### LegendItem.SetActive
-public void SetActive(bool active)
+public void SetActive(bool active)
### LegendItem.SetBackground
-public void SetBackground(ImageStyle imageStyle)
+public void SetBackground(ImageStyle imageStyle)
### LegendItem.SetButton
-public void SetButton(Button button)
+public void SetButton(Button button)
### LegendItem.SetContent
-public bool SetContent(string content)
+public bool SetContent(string content)
### LegendItem.SetContentBackgroundColor
-public void SetContentBackgroundColor(Color color)
+public void SetContentBackgroundColor(Color color)
### LegendItem.SetContentColor
-public void SetContentColor(Color color)
+public void SetContentColor(Color color)
### LegendItem.SetContentPosition
-public void SetContentPosition(Vector3 offset)
+public void SetContentPosition(Vector3 offset)
### LegendItem.SetIcon
-public void SetIcon(Image icon)
+public void SetIcon(Image icon)
### LegendItem.SetIconActive
-public void SetIconActive(bool active)
+public void SetIconActive(bool active)
### LegendItem.SetIconColor
-public void SetIconColor(Color color)
+public void SetIconColor(Color color)
### LegendItem.SetIconImage
-public void SetIconImage(Sprite image)
+public void SetIconImage(Sprite image)
### LegendItem.SetIconSize
-public void SetIconSize(float width, float height)
+public void SetIconSize(float width, float height)
### LegendItem.SetObject
-public void SetObject(GameObject obj)
+public void SetObject(GameObject obj)
### LegendItem.SetPosition
-public void SetPosition(Vector3 position)
+public void SetPosition(Vector3 position)
### LegendItem.SetText
-public void SetText(ChartText text)
+public void SetText(ChartText text)
### LegendItem.SetTextBackground
-public void SetTextBackground(Image image)
+public void SetTextBackground(Image image)
## LegendTheme
@@ -4999,11 +4999,11 @@ class in XCharts.Runtime / 继承自: [ComponentTheme](#componenttheme)
### LegendTheme.Copy
-public void Copy(LegendTheme theme)
+public void Copy(LegendTheme theme)
### LegendTheme.LegendTheme
-public LegendTheme(ThemeType theme) : base(theme)
+public LegendTheme(ThemeType theme) : base(theme)
## Level
@@ -5011,27 +5011,27 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent)
### Level.depth
-public int depth
+public int depth
层级深度。
### Level.itemStyle
-public ItemStyle itemStyle
+public ItemStyle itemStyle
数据项样式。
### Level.label
-public LabelStyle label
+public LabelStyle label
文本标签样式。
### Level.lineStyle
-public LineStyle lineStyle
+public LineStyle lineStyle
线条样式。
### Level.upperLabel
-public LabelStyle upperLabel
+public LabelStyle upperLabel
上方的文本标签样式。
## LevelStyle
@@ -5042,12 +5042,12 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent)
### LevelStyle.levels
-public List<Level> levels
+public List<Level> levels
各层节点对应的配置。当enableLevels为true时生效,levels[0]对应的第一层的配置,levels[1]对应第二层,依次类推。当levels中没有对应层时用默认的设置。
### LevelStyle.show
-public bool show
+public bool show
是否启用LevelStyle
## Line
@@ -5056,19 +5056,19 @@ class in XCharts.Runtime / 继承自: [Serie](#serie),[INeedSerieContainer](#ine
### Line.containerIndex
-public int containerIndex
+public int containerIndex
### Line.containterInstanceId
-public int containterInstanceId
+public int containterInstanceId
### Line.AddDefaultSerie
-public static Serie AddDefaultSerie(BaseChart chart, string serieName)
+public static Serie AddDefaultSerie(BaseChart chart, string serieName)
### Line.ConvertSerie
-public static Line ConvertSerie(Serie serie)
+public static Line ConvertSerie(Serie serie)
## LineArrow
@@ -5091,47 +5091,47 @@ class in XCharts.Runtime / 继承自: [BaseChart](#basechart)
### LineChart.DefaultAreaLineChart
-public void DefaultAreaLineChart()
+public void DefaultAreaLineChart()
默认面积折线图。
### LineChart.DefaultDashLineChart
-public void DefaultDashLineChart()
+public void DefaultDashLineChart()
默认虚线折线图。
### LineChart.DefaultLogLineChart
-public void DefaultLogLineChart()
+public void DefaultLogLineChart()
默认对数轴折线图。
### LineChart.DefaultSmoothAreaLineChart
-public void DefaultSmoothAreaLineChart()
+public void DefaultSmoothAreaLineChart()
默认平滑面积折线图。
### LineChart.DefaultSmoothLineChart
-public void DefaultSmoothLineChart()
+public void DefaultSmoothLineChart()
默认平滑折线图。
### LineChart.DefaultStackAreaLineChart
-public void DefaultStackAreaLineChart()
+public void DefaultStackAreaLineChart()
默认堆叠面积折线图。
### LineChart.DefaultStackLineChart
-public void DefaultStackLineChart()
+public void DefaultStackLineChart()
默认堆叠折线图。
### LineChart.DefaultStepLineChart
-public void DefaultStepLineChart()
+public void DefaultStepLineChart()
默认阶梯折线图。
### LineChart.DefaultTimeLineChart
-public void DefaultTimeLineChart()
+public void DefaultTimeLineChart()
默认时间折线图。
## LineHelper
@@ -5140,11 +5140,11 @@ class in XCharts.Runtime
### LineHelper.GetDataAverageRate
-public static int GetDataAverageRate(Serie serie, float axisLength, int maxCount, bool isYAxis)
+public static int GetDataAverageRate(Serie serie, float axisLength, int maxCount, bool isYAxis)
### LineHelper.GetLineWidth
-public static float GetLineWidth(ref bool interacting, Serie serie, float defaultWidth)
+public static float GetLineWidth(ref bool interacting, Serie serie, float defaultWidth)
## LineStyle
@@ -5154,48 +5154,48 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent),[ISerieD
### LineStyle.Clone
-public LineStyle Clone()
+public LineStyle Clone()
### LineStyle.Copy
-public void Copy(LineStyle lineStyle)
+public void Copy(LineStyle lineStyle)
### LineStyle.GetColor
-public Color32 GetColor(Color32 themeColor)
+public Color32 GetColor(Color32 themeColor)
### LineStyle.GetGradientColor
-public Color32 GetGradientColor(float value, Color32 defaultColor)
+public Color32 GetGradientColor(float value, Color32 defaultColor)
### LineStyle.GetLength
-public float GetLength(float themeLength)
+public float GetLength(float themeLength)
### LineStyle.GetType
-public Type GetType(Type themeType)
+public Type GetType(Type themeType)
### LineStyle.GetWidth
-public float GetWidth(float themeWidth)
+public float GetWidth(float themeWidth)
### LineStyle.IsNeedGradient
-public bool IsNeedGradient()
+public bool IsNeedGradient()
### LineStyle.IsNotSolidLine
-public bool IsNotSolidLine()
+public bool IsNotSolidLine()
### LineStyle.LineStyle
-public LineStyle(float width)
+public LineStyle(float width)
-public LineStyle(LineStyle.Type type)
+public LineStyle(LineStyle.Type type)
-public LineStyle(LineStyle.Type type, float width)
+public LineStyle(LineStyle.Type type, float width)
## LineStyle.Type
@@ -5233,7 +5233,7 @@ class in XCharts.Runtime / 继承自: [Attribute](https://docs.unity3d.com/Scrip
### ListFor.ListFor
-public ListFor(Type type)
+public ListFor(Type type)
## ListForComponent
@@ -5241,7 +5241,7 @@ class in XCharts.Runtime / 继承自: [ListFor](#listfor)
### ListForComponent.ListForComponent
-public ListForComponent(Type type) : base(type)
+public ListForComponent(Type type) : base(type)
## ListForSerie
@@ -5249,7 +5249,7 @@ class in XCharts.Runtime / 继承自: [ListFor](#listfor)
### ListForSerie.ListForSerie
-public ListForSerie(Type type) : base(type)
+public ListForSerie(Type type) : base(type)
## ListPool<T>
@@ -5257,15 +5257,15 @@ class in XCharts.Runtime
### ListPool<T>.ClearAll
-public static void ClearAll()
+public static void ClearAll()
### ListPool<T>.Get
-public static List<T> Get()
+public static List<T> Get()
### ListPool<T>.Release
-public static void Release(List<T> toRelease)
+public static void Release(List<T> toRelease)
## Location
@@ -5275,68 +5275,68 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent),[IProper
### Location.runtimeAnchorMax
-public Vector2 runtimeAnchorMax
+public Vector2 runtimeAnchorMax
### Location.runtimeAnchorMin
-public Vector2 runtimeAnchorMin
+public Vector2 runtimeAnchorMin
Location对应的anchorMin。
### Location.runtimeBottom
-public float runtimeBottom
+public float runtimeBottom
### Location.runtimeLeft
-public float runtimeLeft
+public float runtimeLeft
### Location.runtimePivot
-public Vector2 runtimePivot
+public Vector2 runtimePivot
Loation对应的中心点。
### Location.runtimeRight
-public float runtimeRight
+public float runtimeRight
### Location.runtimeTextAlignment
-public TextAnchor runtimeTextAlignment
+public TextAnchor runtimeTextAlignment
Location对应的Anchor锚点
### Location.runtimeTMPTextAlignment
-public TextAlignmentOptions runtimeTMPTextAlignment
+public TextAlignmentOptions runtimeTMPTextAlignment
### Location.runtimeTop
-public float runtimeTop
+public float runtimeTop
### Location.GetPosition
-public Vector3 GetPosition(float chartWidth, float chartHeight)
+public Vector3 GetPosition(float chartWidth, float chartHeight)
返回在坐标系中的具体位置
### Location.IsBottom
-public bool IsBottom()
+public bool IsBottom()
### Location.IsCenter
-public bool IsCenter()
+public bool IsCenter()
### Location.IsTop
-public bool IsTop()
+public bool IsTop()
### Location.OnChanged
-public void OnChanged()
+public void OnChanged()
属性变更时更新textAnchor,minAnchor,maxAnchor,pivot
### Location.UpdateRuntimeData
-public void UpdateRuntimeData(float chartWidth, float chartHeight)
+public void UpdateRuntimeData(float chartWidth, float chartHeight)
## Location.Align
@@ -5362,102 +5362,102 @@ class in XCharts.Runtime / 继承自: [IComparable](https://docs.unity3d.com/Scr
### MainComponent.anyDirty
-public bool anyDirty
+public bool anyDirty
需要重绘图表或重新初始化组件。
### MainComponent.ClearData()
-public virtual void ClearData()
+public virtual void ClearData()
### MainComponent.componentDirty
-public virtual bool componentDirty
+public virtual bool componentDirty
组件重新初始化标记。
### MainComponent.gameObject
-public GameObject gameObject
+public GameObject gameObject
### MainComponent.index
-public int index
+public int index
### MainComponent.instanceId
-public int instanceId
+public int instanceId
### MainComponent.painter
-public Painter painter
+public Painter painter
### MainComponent.refreshComponent
-public Action refreshComponent
+public Action refreshComponent
### MainComponent.Reset()
-public virtual void Reset()
+public virtual void Reset()
### MainComponent.ResetStatus()
-public virtual void ResetStatus()
+public virtual void ResetStatus()
### MainComponent.SetDefaultValue()
-public virtual void SetDefaultValue()
+public virtual void SetDefaultValue()
### MainComponent.vertsDirty
-public virtual bool vertsDirty
+public virtual bool vertsDirty
图表重绘标记。
### MainComponent.ClearComponentDirty
-public virtual void ClearComponentDirty()
+public virtual void ClearComponentDirty()
### MainComponent.ClearData
-public virtual void ClearData() { }
+public virtual void ClearData() { }
### MainComponent.ClearDirty
-public virtual void ClearDirty()
+public virtual void ClearDirty()
### MainComponent.ClearVerticesDirty
-public virtual void ClearVerticesDirty()
+public virtual void ClearVerticesDirty()
### MainComponent.CompareTo
-public int CompareTo(object obj)
+public int CompareTo(object obj)
### MainComponent.OnRemove
-public virtual void OnRemove()
+public virtual void OnRemove()
### MainComponent.Reset
-public virtual void Reset() { }
+public virtual void Reset() { }
### MainComponent.ResetStatus
-public virtual void ResetStatus() { }
+public virtual void ResetStatus() { }
### MainComponent.SetAllDirty
-public virtual void SetAllDirty()
+public virtual void SetAllDirty()
### MainComponent.SetComponentDirty
-public virtual void SetComponentDirty()
+public virtual void SetComponentDirty()
### MainComponent.SetDefaultValue
-public virtual void SetDefaultValue() { }
+public virtual void SetDefaultValue() { }
### MainComponent.SetVerticesDirty
-public virtual void SetVerticesDirty()
+public virtual void SetVerticesDirty()
## MainComponentContext
@@ -5469,163 +5469,163 @@ class in XCharts.Runtime / 子类: [AxisHandler<T>](#axishandlert),[MainCo
### MainComponentHandler.attribute
-public ComponentHandlerAttribute attribute
+public ComponentHandlerAttribute attribute
### MainComponentHandler.BeforceSerieUpdate()
-public virtual void BeforceSerieUpdate()
+public virtual void BeforceSerieUpdate()
### MainComponentHandler.chart
-public BaseChart chart
+public BaseChart chart
### MainComponentHandler.eventData)
-public virtual void OnBeginDrag(PointerEventData eventData)
+public virtual void OnBeginDrag(PointerEventData eventData)
### MainComponentHandler.eventData)
-public virtual void OnDrag(PointerEventData eventData)
+public virtual void OnDrag(PointerEventData eventData)
### MainComponentHandler.eventData)
-public virtual void OnEndDrag(PointerEventData eventData)
+public virtual void OnEndDrag(PointerEventData eventData)
### MainComponentHandler.eventData)
-public virtual void OnPointerClick(PointerEventData eventData)
+public virtual void OnPointerClick(PointerEventData eventData)
### MainComponentHandler.eventData)
-public virtual void OnPointerDown(PointerEventData eventData)
+public virtual void OnPointerDown(PointerEventData eventData)
### MainComponentHandler.eventData)
-public virtual void OnPointerEnter(PointerEventData eventData)
+public virtual void OnPointerEnter(PointerEventData eventData)
### MainComponentHandler.eventData)
-public virtual void OnPointerExit(PointerEventData eventData)
+public virtual void OnPointerExit(PointerEventData eventData)
### MainComponentHandler.eventData)
-public virtual void OnPointerUp(PointerEventData eventData)
+public virtual void OnPointerUp(PointerEventData eventData)
### MainComponentHandler.eventData)
-public virtual void OnScroll(PointerEventData eventData)
+public virtual void OnScroll(PointerEventData eventData)
### MainComponentHandler.InitComponent()
-public virtual void InitComponent()
+public virtual void InitComponent()
### MainComponentHandler.inited
-public bool inited
+public bool inited
### MainComponentHandler.order
-public int order
+public int order
### MainComponentHandler.RemoveComponent()
-public virtual void RemoveComponent()
+public virtual void RemoveComponent()
### MainComponentHandler.sb)
-public virtual void CheckComponent(StringBuilder sb)
+public virtual void CheckComponent(StringBuilder sb)
### MainComponentHandler.serieIndex)
-public virtual void OnSerieDataUpdate(int serieIndex)
+public virtual void OnSerieDataUpdate(int serieIndex)
### MainComponentHandler.Update()
-public virtual void Update()
+public virtual void Update()
### MainComponentHandler.vh)
-public virtual void DrawBase(VertexHelper vh)
+public virtual void DrawBase(VertexHelper vh)
### MainComponentHandler.vh)
-public virtual void DrawTop(VertexHelper vh)
+public virtual void DrawTop(VertexHelper vh)
### MainComponentHandler.vh)
-public virtual void DrawUpper(VertexHelper vh)
+public virtual void DrawUpper(VertexHelper vh)
### MainComponentHandler.BeforceSerieUpdate
-public virtual void BeforceSerieUpdate() { }
+public virtual void BeforceSerieUpdate() { }
### MainComponentHandler.CheckComponent
-public virtual void CheckComponent(StringBuilder sb) { }
+public virtual void CheckComponent(StringBuilder sb) { }
### MainComponentHandler.DrawBase
-public virtual void DrawBase(VertexHelper vh) { }
+public virtual void DrawBase(VertexHelper vh) { }
### MainComponentHandler.DrawTop
-public virtual void DrawTop(VertexHelper vh) { }
+public virtual void DrawTop(VertexHelper vh) { }
### MainComponentHandler.DrawUpper
-public virtual void DrawUpper(VertexHelper vh) { }
+public virtual void DrawUpper(VertexHelper vh) { }
### MainComponentHandler.InitComponent
-public virtual void InitComponent() { }
+public virtual void InitComponent() { }
### MainComponentHandler.OnBeginDrag
-public virtual void OnBeginDrag(PointerEventData eventData) { }
+public virtual void OnBeginDrag(PointerEventData eventData) { }
### MainComponentHandler.OnDrag
-public virtual void OnDrag(PointerEventData eventData) { }
+public virtual void OnDrag(PointerEventData eventData) { }
### MainComponentHandler.OnEndDrag
-public virtual void OnEndDrag(PointerEventData eventData) { }
+public virtual void OnEndDrag(PointerEventData eventData) { }
### MainComponentHandler.OnPointerClick
-public virtual void OnPointerClick(PointerEventData eventData) { }
+public virtual void OnPointerClick(PointerEventData eventData) { }
### MainComponentHandler.OnPointerDown
-public virtual void OnPointerDown(PointerEventData eventData) { }
+public virtual void OnPointerDown(PointerEventData eventData) { }
### MainComponentHandler.OnPointerEnter
-public virtual void OnPointerEnter(PointerEventData eventData) { }
+public virtual void OnPointerEnter(PointerEventData eventData) { }
### MainComponentHandler.OnPointerExit
-public virtual void OnPointerExit(PointerEventData eventData) { }
+public virtual void OnPointerExit(PointerEventData eventData) { }
### MainComponentHandler.OnPointerUp
-public virtual void OnPointerUp(PointerEventData eventData) { }
+public virtual void OnPointerUp(PointerEventData eventData) { }
### MainComponentHandler.OnScroll
-public virtual void OnScroll(PointerEventData eventData) { }
+public virtual void OnScroll(PointerEventData eventData) { }
### MainComponentHandler.OnSerieDataUpdate
-public virtual void OnSerieDataUpdate(int serieIndex) { }
+public virtual void OnSerieDataUpdate(int serieIndex) { }
### MainComponentHandler.RemoveComponent
-public virtual void RemoveComponent() { }
+public virtual void RemoveComponent() { }
### MainComponentHandler.Update
-public virtual void Update() { }
+public virtual void Update() { }
## MainComponentHandler<T>
@@ -5633,7 +5633,7 @@ class in XCharts.Runtime / 继承自: [MainComponentHandler](#maincomponenthandl
### MainComponentHandler<T>.component
-public T component
+public T component
## MarkArea
@@ -5643,20 +5643,20 @@ class in XCharts.Runtime / 继承自: [MainComponent](#maincomponent)
### MarkArea.runtimeLabel
-public ChartLabel runtimeLabel
+public ChartLabel runtimeLabel
图表标域,常用于标记图表中某个范围的数据。
### MarkArea.runtimeLabelPosition
-public Vector3 runtimeLabelPosition
+public Vector3 runtimeLabelPosition
### MarkArea.runtimeRect
-public Rect runtimeRect
+public Rect runtimeRect
### MarkArea.SetDefaultValue
-public override void SetDefaultValue()
+public override void SetDefaultValue()
## MarkAreaData
@@ -5666,7 +5666,7 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent)
### MarkAreaData.runtimeValue
-public double runtimeValue
+public double runtimeValue
标域的数据。
## MarkAreaType
@@ -5691,7 +5691,7 @@ class in XCharts.Runtime / 继承自: [MainComponent](#maincomponent)
### MarkLine.SetDefaultValue
-public override void SetDefaultValue()
+public override void SetDefaultValue()
## MarkLineData
@@ -5703,27 +5703,27 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent)
### MarkLineData.runtimeCurrentEndPosition
-public Vector3 runtimeCurrentEndPosition
+public Vector3 runtimeCurrentEndPosition
### MarkLineData.runtimeEndPosition
-public Vector3 runtimeEndPosition
+public Vector3 runtimeEndPosition
### MarkLineData.runtimeInGrid
-public bool runtimeInGrid
+public bool runtimeInGrid
### MarkLineData.runtimeLabel
-public ChartLabel runtimeLabel
+public ChartLabel runtimeLabel
### MarkLineData.runtimeStartPosition
-public Vector3 runtimeStartPosition
+public Vector3 runtimeStartPosition
### MarkLineData.runtimeValue
-public double runtimeValue
+public double runtimeValue
## MarkLineType
@@ -5749,37 +5749,37 @@ Marquee style. It can be used for the DataZoom component. 选取框样式。可
### MarqueeStyle.apply
-public bool apply
+public bool apply
选取框范围是否应用到DataZoom上。当为true时,框选结束后的范围即为DataZoom的选择范围。
### MarqueeStyle.areaStyle
-public AreaStyle areaStyle
+public AreaStyle areaStyle
选取框区域填充样式。
### MarqueeStyle.lineStyle
-public LineStyle lineStyle
+public LineStyle lineStyle
选取框区域边框样式。
### MarqueeStyle.onEnd
-public Action<DataZoom> onEnd
+public Action<DataZoom> onEnd
自定义选取框结束选取时的回调。
### MarqueeStyle.onGoing
-public Action<DataZoom> onGoing
+public Action<DataZoom> onGoing
自定义选取框选取进行时的回调。
### MarqueeStyle.onStart
-public Action<DataZoom> onStart
+public Action<DataZoom> onStart
自定义选取框开始选取时的回调。
### MarqueeStyle.realRect
-public bool realRect
+public bool realRect
是否选取实际框选区域。当为true时,以鼠标的其实点和结束点间的实际范围作为框选区域。
## MathUtil
@@ -5788,31 +5788,31 @@ class in XCharts.Runtime
### MathUtil.Abs
-public static double Abs(double d)
+public static double Abs(double d)
### MathUtil.Approximately
-public static bool Approximately(double a, double b)
+public static bool Approximately(double a, double b)
### MathUtil.Clamp
-public static double Clamp(double d, double min, double max)
+public static double Clamp(double d, double min, double max)
### MathUtil.Clamp01
-public static double Clamp01(double value)
+public static double Clamp01(double value)
### MathUtil.GetPrecision
-public static int GetPrecision(double value)
+public static int GetPrecision(double value)
### MathUtil.IsInteger
-public static bool IsInteger(double value)
+public static bool IsInteger(double value)
### MathUtil.Lerp
-public static double Lerp(double a, double b, double t)
+public static double Lerp(double a, double b, double t)
## MLValue
@@ -5824,20 +5824,20 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent)
### MLValue.type
-public Type type
+public Type type
### MLValue.value
-public float value
+public float value
### MLValue.GetValue
-public float GetValue(float total)
+public float GetValue(float total)
根据类型获取值。
### MLValue.MLValue
-public MLValue(Type type, float value)
+public MLValue(Type type, float value)
## MLValue.Type
@@ -5862,35 +5862,35 @@ class in XCharts.Runtime / 继承自: [new()](#new())
### ObjectPool<T> where T.countActive
-public int countActive
+public int countActive
### ObjectPool<T> where T.countAll
-public int countAll
+public int countAll
### ObjectPool<T> where T.countInactive
-public int countInactive
+public int countInactive
### ObjectPool<T> where T.ClearAll
-public void ClearAll()
+public void ClearAll()
### ObjectPool<T> where T.Get
-public T Get()
+public T Get()
### ObjectPool<T> where T.new
-public class ObjectPool<T> where T : new()
+public class ObjectPool<T> where T : new()
### ObjectPool<T> where T.ObjectPool
-public ObjectPool(UnityAction<T> actionOnGet, UnityAction<T> actionOnRelease, bool newIfEmpty = true)
+public ObjectPool(UnityAction<T> actionOnGet, UnityAction<T> actionOnRelease, bool newIfEmpty = true)
### ObjectPool<T> where T.Release
-public void Release(T element)
+public void Release(T element)
## Orient
@@ -5911,16 +5911,16 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent) / 子类
### Padding.Padding()
-public Padding()
+public Padding()
### Padding.Padding
-public Padding(float top, float right, float bottom, float left)
+public Padding(float top, float right, float bottom, float left)
### Padding.SetPadding
-public void SetPadding(float top, float right, float bottom, float left)
+public void SetPadding(float top, float right, float bottom, float left)
## Painter
@@ -5928,31 +5928,31 @@ class in XCharts.Runtime / 继承自: [MaskableGraphic](https://docs.unity3d.com
### Painter.index
-public int index
+public int index
### Painter.onPopulateMesh
-public Action<VertexHelper, Painter> onPopulateMesh
+public Action<VertexHelper, Painter> onPopulateMesh
### Painter.type
-public Type type
+public Type type
### Painter.CheckRefresh
-public void CheckRefresh()
+public void CheckRefresh()
### Painter.Init
-public void Init()
+public void Init()
### Painter.Refresh
-public void Refresh()
+public void Refresh()
### Painter.SetActive
-public void SetActive(bool flag, bool isDebugMode = false)
+public void SetActive(bool flag, bool isDebugMode = false)
## Painter.Type
@@ -5970,15 +5970,15 @@ class in XCharts.Runtime / 继承自: [Serie](#serie),[INeedSerieContainer](#ine
### Parallel.containerIndex
-public int containerIndex
+public int containerIndex
### Parallel.containterInstanceId
-public int containterInstanceId
+public int containterInstanceId
### Parallel.AddDefaultSerie
-public static Serie AddDefaultSerie(BaseChart chart, string serieName)
+public static Serie AddDefaultSerie(BaseChart chart, string serieName)
## ParallelAxis
@@ -5986,7 +5986,7 @@ class in XCharts.Runtime / 继承自: [Axis](#axis)
### ParallelAxis.SetDefaultValue
-public override void SetDefaultValue()
+public override void SetDefaultValue()
## ParallelChart
@@ -6002,16 +6002,16 @@ Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart
### ParallelCoord.Contains
-public bool Contains(float x, float y)
+public bool Contains(float x, float y)
### ParallelCoord.IsPointerEnter
-public bool IsPointerEnter()
+public bool IsPointerEnter()
### ParallelCoord.UpdateRuntimeData
-public void UpdateRuntimeData(BaseChart chart)
+public void UpdateRuntimeData(BaseChart chart)
## ParallelCoordContext
@@ -6023,19 +6023,19 @@ class in XCharts.Runtime / 继承自: [Serie](#serie)
### Pie.defaultColorBy
-public override SerieColorBy defaultColorBy
+public override SerieColorBy defaultColorBy
### Pie.titleJustForSerie
-public override bool titleJustForSerie
+public override bool titleJustForSerie
### Pie.AddDefaultSerie
-public static Serie AddDefaultSerie(BaseChart chart, string serieName)
+public static Serie AddDefaultSerie(BaseChart chart, string serieName)
### Pie.ConvertSerie
-public static Pie ConvertSerie(Serie serie)
+public static Pie ConvertSerie(Serie serie)
## PieChart
@@ -6045,27 +6045,27 @@ class in XCharts.Runtime / 继承自: [BaseChart](#basechart)
### PieChart.DefaultAreaRosePieChart
-public void DefaultAreaRosePieChart()
+public void DefaultAreaRosePieChart()
默认面积玫瑰饼图。
### PieChart.DefaultDonutPieChart
-public void DefaultDonutPieChart()
+public void DefaultDonutPieChart()
默认甜甜圈饼图。
### PieChart.DefaultLabelDonutPieChart
-public void DefaultLabelDonutPieChart()
+public void DefaultLabelDonutPieChart()
默认带标签甜甜圈饼图。
### PieChart.DefaultLabelPieChart
-public void DefaultLabelPieChart()
+public void DefaultLabelPieChart()
默认带标签饼图。
### PieChart.DefaultRadiusRosePieChart
-public void DefaultRadiusRosePieChart()
+public void DefaultRadiusRosePieChart()
默认玫瑰饼图。
## PolarAxisTheme
@@ -6074,11 +6074,11 @@ class in XCharts.Runtime / 继承自: [BaseAxisTheme](#baseaxistheme)
### PolarAxisTheme.base(theme)
-public PolarAxisTheme(ThemeType theme) : base(theme)
+public PolarAxisTheme(ThemeType theme) : base(theme)
### PolarAxisTheme.PolarAxisTheme
-public PolarAxisTheme(ThemeType theme) : base(theme) { }
+public PolarAxisTheme(ThemeType theme) : base(theme) { }
## PolarChart
@@ -6088,17 +6088,17 @@ class in XCharts.Runtime / 继承自: [BaseChart](#basechart)
### PolarChart.DefaultHeatmapPolarChart
-public void DefaultHeatmapPolarChart()
+public void DefaultHeatmapPolarChart()
默认极坐标色块图。
### PolarChart.DefaultRadialBarPolarChart
-public void DefaultRadialBarPolarChart()
+public void DefaultRadialBarPolarChart()
默认径向柱状极坐标图。
### PolarChart.DefaultTangentialBarPolarChart
-public void DefaultTangentialBarPolarChart()
+public void DefaultTangentialBarPolarChart()
默认切向柱状极坐标图。
## PolarCoord
@@ -6109,11 +6109,11 @@ class in XCharts.Runtime / 继承自: [CoordSystem](#coordsystem),[ISerieContain
### PolarCoord.Contains
-public bool Contains(Vector3 pos)
+public bool Contains(Vector3 pos)
### PolarCoord.IsPointerEnter
-public bool IsPointerEnter()
+public bool IsPointerEnter()
## PolarCoordContext
@@ -6125,16 +6125,16 @@ class in XCharts.Runtime
### PropertyUtil.SetClass<T>
-public static bool SetClass<T>(ref T currentValue, T newValue, bool notNull = false) where T : class
+public static bool SetClass<T>(ref T currentValue, T newValue, bool notNull = false) where T : class
### PropertyUtil.SetColor
-public static bool SetColor(ref Color32 currentValue, Color32 newValue)
+public static bool SetColor(ref Color32 currentValue, Color32 newValue)
### PropertyUtil.SetStruct<T>
-public static bool SetStruct<T>(ref T currentValue, T newValue) where T : struct
+public static bool SetStruct<T>(ref T currentValue, T newValue) where T : struct
## Radar
@@ -6142,23 +6142,23 @@ class in XCharts.Runtime / 继承自: [Serie](#serie),[INeedSerieContainer](#ine
### Radar.containerIndex
-public int containerIndex
+public int containerIndex
### Radar.containterInstanceId
-public int containterInstanceId
+public int containterInstanceId
### Radar.defaultColorBy
-public override SerieColorBy defaultColorBy
+public override SerieColorBy defaultColorBy
### Radar.multiDimensionLabel
-public override bool multiDimensionLabel
+public override bool multiDimensionLabel
### Radar.AddDefaultSerie
-public static Serie AddDefaultSerie(BaseChart chart, string serieName)
+public static Serie AddDefaultSerie(BaseChart chart, string serieName)
## RadarAxisTheme
@@ -6166,7 +6166,7 @@ class in XCharts.Runtime / 继承自: [BaseAxisTheme](#baseaxistheme)
### RadarAxisTheme.RadarAxisTheme
-public RadarAxisTheme(ThemeType theme) : base(theme)
+public RadarAxisTheme(ThemeType theme) : base(theme)
## RadarChart
@@ -6176,7 +6176,7 @@ class in XCharts.Runtime / 继承自: [BaseChart](#basechart)
### RadarChart.DefaultCircleRadarChart
-public void DefaultCircleRadarChart()
+public void DefaultCircleRadarChart()
默认圆形雷达图。
## RadarCoord
@@ -6213,20 +6213,20 @@ class in XCharts.Runtime / 继承自: [MainComponentContext](#maincomponentconte
### RadarCoordContext.center
-public Vector3 center
+public Vector3 center
雷达图在容器中的具体中心点。
### RadarCoordContext.dataRadius
-public float dataRadius
+public float dataRadius
### RadarCoordContext.isPointerEnter
-public bool isPointerEnter
+public bool isPointerEnter
### RadarCoordContext.radius
-public float radius
+public float radius
雷达图的运行时实际半径。
## RadarType
@@ -6248,7 +6248,7 @@ class in XCharts.Runtime / 继承自: [Axis](#axis)
### RadiusAxis.SetDefaultValue
-public override void SetDefaultValue()
+public override void SetDefaultValue()
极坐标系的径向轴。
## RadiusAxisTheme
@@ -6257,11 +6257,11 @@ class in XCharts.Runtime / 继承自: [BaseAxisTheme](#baseaxistheme)
### RadiusAxisTheme.base(theme)
-public RadiusAxisTheme(ThemeType theme) : base(theme)
+public RadiusAxisTheme(ThemeType theme) : base(theme)
### RadiusAxisTheme.RadiusAxisTheme
-public RadiusAxisTheme(ThemeType theme) : base(theme) { }
+public RadiusAxisTheme(ThemeType theme) : base(theme) { }
## ReflectionUtil
@@ -6269,27 +6269,27 @@ class in XCharts.Runtime
### ReflectionUtil.DeepCloneSerializeField
-public static object DeepCloneSerializeField(object obj)
+public static object DeepCloneSerializeField(object obj)
### ReflectionUtil.InvokeListAdd
-public static void InvokeListAdd(object obj, FieldInfo field, object item)
+public static void InvokeListAdd(object obj, FieldInfo field, object item)
### ReflectionUtil.InvokeListAddTo<T>
-public static void InvokeListAddTo<T>(object obj, FieldInfo field, Action<T> callback)
+public static void InvokeListAddTo<T>(object obj, FieldInfo field, Action<T> callback)
### ReflectionUtil.InvokeListClear
-public static void InvokeListClear(object obj, FieldInfo field)
+public static void InvokeListClear(object obj, FieldInfo field)
### ReflectionUtil.InvokeListCount
-public static int InvokeListCount(object obj, FieldInfo field)
+public static int InvokeListCount(object obj, FieldInfo field)
### ReflectionUtil.InvokeListGet<T>
-public static T InvokeListGet<T>(object obj, FieldInfo field, int i)
+public static T InvokeListGet<T>(object obj, FieldInfo field, int i)
## RequireChartComponentAttribute
@@ -6297,9 +6297,9 @@ class in XCharts.Runtime / 继承自: [Attribute](https://docs.unity3d.com/Scrip
### RequireChartComponentAttribute.RequireChartComponentAttribute
-public RequireChartComponentAttribute(Type requiredComponent, Type requiredComponent2)
+public RequireChartComponentAttribute(Type requiredComponent, Type requiredComponent2)
-public RequireChartComponentAttribute(Type requiredComponent, Type requiredComponent2, Type requiredComponent3)
+public RequireChartComponentAttribute(Type requiredComponent, Type requiredComponent2, Type requiredComponent3)
## Ring
@@ -6308,15 +6308,15 @@ class in XCharts.Runtime / 继承自: [Serie](#serie)
### Ring.defaultColorBy
-public override SerieColorBy defaultColorBy
+public override SerieColorBy defaultColorBy
### Ring.AddDefaultSerie
-public static Serie AddDefaultSerie(BaseChart chart, string serieName)
+public static Serie AddDefaultSerie(BaseChart chart, string serieName)
### Ring.GetDataTotal
-public override double GetDataTotal(int dimension, SerieData serieData = null)
+public override double GetDataTotal(int dimension, SerieData serieData = null)
## RingChart
@@ -6326,7 +6326,7 @@ class in XCharts.Runtime / 继承自: [BaseChart](#basechart)
### RingChart.DefaultMultipleRingChart
-public void DefaultMultipleRingChart()
+public void DefaultMultipleRingChart()
默认多圆环图。
## RoseType
@@ -6347,24 +6347,24 @@ class in XCharts.Runtime
### RuntimeUtil.GetAllAssemblyTypes
-public static IEnumerable<Type> GetAllAssemblyTypes()
+public static IEnumerable<Type> GetAllAssemblyTypes()
### RuntimeUtil.GetAllTypesDerivedFrom
-public static IEnumerable<Type> GetAllTypesDerivedFrom(Type type)
+public static IEnumerable<Type> GetAllTypesDerivedFrom(Type type)
### RuntimeUtil.GetAllTypesDerivedFrom<T>
-public static IEnumerable<Type> GetAllTypesDerivedFrom<T>()
+public static IEnumerable<Type> GetAllTypesDerivedFrom<T>()
### RuntimeUtil.GetAttribute<T>
-public static T GetAttribute<T>(this MemberInfo type, bool check = true) where T : Attribute
+public static T GetAttribute<T>(this MemberInfo type, bool check = true) where T : Attribute
### RuntimeUtil.HasSubclass
-public static bool HasSubclass(Type type)
+public static bool HasSubclass(Type type)
## SampleType
@@ -6386,7 +6386,7 @@ class in XCharts.Runtime / 继承自: [BaseScatter](#basescatter)
### Scatter.AddDefaultSerie
-public static Serie AddDefaultSerie(BaseChart chart, string serieName)
+public static Serie AddDefaultSerie(BaseChart chart, string serieName)
## ScatterChart
@@ -6396,7 +6396,7 @@ class in XCharts.Runtime / 继承自: [BaseChart](#basechart)
### ScatterChart.DefaultBubbleChart
-public void DefaultBubbleChart()
+public void DefaultBubbleChart()
默认气泡图。
## SelectStyle
@@ -6415,424 +6415,424 @@ class in XCharts.Runtime / 继承自: [BaseSerie](#baseserie),[IComparable](http
### Serie.areaStyle
-public AreaStyle areaStyle
+public AreaStyle areaStyle
区域填充样式。
### Serie.blurStyle
-public BlurStyle blurStyle
+public BlurStyle blurStyle
淡出状态的样式。
### Serie.colorByData
-public bool colorByData
+public bool colorByData
取色策略是否为按数据项分配。
### Serie.data
-public List<SerieData> data
+public List<SerieData> data
系列中的数据内容数组。SerieData可以设置1到n维数据。
### Serie.dataCount
-public int dataCount
+public int dataCount
数据项个数。
### Serie.dataDirty
-public bool dataDirty
+public bool dataDirty
### Serie.emphasisStyle
-public EmphasisStyle emphasisStyle
+public EmphasisStyle emphasisStyle
高亮状态的样式。
### Serie.endLabel
-public LabelStyle endLabel
+public LabelStyle endLabel
### Serie.highlight
-public bool highlight
+public bool highlight
该系列是否高亮,一般由图例悬停触发。
### Serie.index
-public int index
+public int index
系列索引。
### Serie.interactDirty
-public bool interactDirty
+public bool interactDirty
### Serie.label
-public LabelStyle label
+public LabelStyle label
图形上的文本标签,可用于说明图形的一些数据信息,比如值,名称等。
### Serie.labelDirty
-public bool labelDirty
+public bool labelDirty
### Serie.labelLine
-public LabelLine labelLine
+public LabelLine labelLine
标签上的视觉引导线。
### Serie.legendName
-public string legendName
+public string legendName
图例名称。当系列名称不为空时,图例名称即为系列名称;反之则为索引index。
### Serie.lineArrow
-public LineArrow lineArrow
+public LineArrow lineArrow
折线图的箭头。
### Serie.links
-public List<SerieDataLink> links
+public List<SerieDataLink> links
数据节点的边。
### Serie.nameDirty
-public bool nameDirty
+public bool nameDirty
### Serie.onClick
-public Action<SerieEventData> onClick
+public Action<SerieEventData> onClick
点击系列时的回调。
### Serie.onDown
-public Action<SerieEventData> onDown
+public Action<SerieEventData> onDown
鼠标按下时的回调。
### Serie.onEnter
-public Action<SerieEventData> onEnter
+public Action<SerieEventData> onEnter
鼠标进入时的回调。
### Serie.onExit
-public Action<SerieEventData> onExit
+public Action<SerieEventData> onExit
鼠标离开时的回调。
### Serie.selectStyle
-public SelectStyle selectStyle
+public SelectStyle selectStyle
选中状态的样式。
### Serie.showDataDimension
-public int showDataDimension
+public int showDataDimension
数据项里的数据维数。
### Serie.showDataName
-public bool showDataName
+public bool showDataName
在Editor的inpsector上是否显示name参数
### Serie.titleDirty
-public bool titleDirty
+public bool titleDirty
### Serie.titleStyle
-public TitleStyle titleStyle
+public TitleStyle titleStyle
数据项标题样式。
### Serie.AddChildData
-public SerieData AddChildData(SerieData parent, List<double> value, string name, string id)
+public SerieData AddChildData(SerieData parent, List<double> value, string name, string id)
-public void AddChildData(SerieData parent, SerieData serieData)
+public void AddChildData(SerieData parent, SerieData serieData)
### Serie.AddData
-public SerieData AddData(List<double> valueList, string dataName = null, string dataId = null)
+public SerieData AddData(List<double> valueList, string dataName = null, string dataId = null)
将一组数据添加到系列中。 如果数据只有一个,默认添加到维度Y中。
-public SerieData AddData(params double[] values)
+public SerieData AddData(params double[] values)
添加任意维数据到系列中。
### Serie.AddExtraComponent<T>
-public T AddExtraComponent<T>() where T : ChildComponent, ISerieComponent
+public T AddExtraComponent<T>() where T : ChildComponent, ISerieComponent
### Serie.AddLink
-public virtual SerieDataLink AddLink(string sourceId, string targetId, double value = 0)
+public virtual SerieDataLink AddLink(string sourceId, string targetId, double value = 0)
添加一个关系图的关系数据。
### Serie.AddSerieData
-public virtual void AddSerieData(SerieData serieData)
+public virtual void AddSerieData(SerieData serieData)
### Serie.AddXYData
-public SerieData AddXYData(double xValue, double yValue, string dataName = null, string dataId = null)
+public SerieData AddXYData(double xValue, double yValue, string dataName = null, string dataId = null)
添加(x,y)数据到维度X和维度Y
### Serie.AddYData
-public SerieData AddYData(double value, string dataName = null, string dataId = null)
+public SerieData AddYData(double value, string dataName = null, string dataId = null)
添加一个数据到维度Y(此时维度X对应的数据是索引)
### Serie.AnimationEnable
-public void AnimationEnable(bool flag)
+public void AnimationEnable(bool flag)
启用或取消初始动画
### Serie.AnimationFadeIn
-public void AnimationFadeIn()
+public void AnimationFadeIn()
渐入动画
### Serie.AnimationFadeOut
-public void AnimationFadeOut()
+public void AnimationFadeOut()
渐出动画
### Serie.AnimationPause
-public void AnimationPause()
+public void AnimationPause()
暂停动画
### Serie.AnimationReset
-public void AnimationReset()
+public void AnimationReset()
重置动画
### Serie.AnimationRestart
-public void AnimationRestart()
+public void AnimationRestart()
重置动画
### Serie.AnimationResume
-public void AnimationResume()
+public void AnimationResume()
继续动画
### Serie.CanAddComponent
-public bool CanAddComponent(Type type)
+public bool CanAddComponent(Type type)
### Serie.CanAddComponent<T>
-public bool CanAddComponent<T>() where T : ChildComponent, ISerieComponent
+public bool CanAddComponent<T>() where T : ChildComponent, ISerieComponent
### Serie.ClearComponentDirty
-public override void ClearComponentDirty()
+public override void ClearComponentDirty()
### Serie.ClearData
-public override void ClearData()
+public override void ClearData()
清空所有数据
### Serie.ClearDirty
-public override void ClearDirty()
+public override void ClearDirty()
### Serie.ClearHighlight
-public void ClearHighlight()
+public void ClearHighlight()
清除所有数据的高亮标志
### Serie.ClearLinks
-public void ClearLinks()
+public void ClearLinks()
清空所有Link数据
### Serie.ClearSerieNameDirty
-public void ClearSerieNameDirty()
+public void ClearSerieNameDirty()
### Serie.ClearVerticesDirty
-public override void ClearVerticesDirty()
+public override void ClearVerticesDirty()
### Serie.Clone
-public Serie Clone()
+public Serie Clone()
### Serie.Clone<T>
-public T Clone<T>() where T : Serie
+public T Clone<T>() where T : Serie
### Serie.CompareTo
-public int CompareTo(object obj)
+public int CompareTo(object obj)
### Serie.EnsureComponent
-public ISerieComponent EnsureComponent(Type type)
+public ISerieComponent EnsureComponent(Type type)
### Serie.EnsureComponent<T>
-public T EnsureComponent<T>() where T : ChildComponent, ISerieComponent
+public T EnsureComponent<T>() where T : ChildComponent, ISerieComponent
确保系列有该组件。如果没有,则添加。
### Serie.GetBarWidth
-public float GetBarWidth(float categoryWidth, int barCount = 0, float defaultRate = 0.6f)
+public float GetBarWidth(float categoryWidth, int barCount = 0, float defaultRate = 0.6f)
### Serie.GetComponent
-public ISerieComponent GetComponent(Type type)
+public ISerieComponent GetComponent(Type type)
### Serie.GetComponent<T>
-public T GetComponent<T>() where T : ChildComponent, ISerieComponent
+public T GetComponent<T>() where T : ChildComponent, ISerieComponent
### Serie.GetData
-public double GetData(int index, int dimension, DataZoom dataZoom = null)
+public double GetData(int index, int dimension, DataZoom dataZoom = null)
获得指定index指定维数的数据
### Serie.GetDataList
-public List<SerieData> GetDataList(DataZoom dataZoom = null)
+public List<SerieData> GetDataList(DataZoom dataZoom = null)
获得系列的数据列表
### Serie.GetDataTotal
-public virtual double GetDataTotal(int dimension, SerieData serieData = null)
+public virtual double GetDataTotal(int dimension, SerieData serieData = null)
### Serie.GetSerieData
-public SerieData GetSerieData(SerieData parent, string id)
+public SerieData GetSerieData(SerieData parent, string id)
-public SerieData GetSerieData(string id, DataZoom dataZoom = null)
+public SerieData GetSerieData(string id, DataZoom dataZoom = null)
### Serie.GetXYData
-public void GetXYData(int index, DataZoom dataZoom, out double xValue, out double yVlaue)
+public void GetXYData(int index, DataZoom dataZoom, out double xValue, out double yVlaue)
获得指定索引的维度X和维度Y的数据
### Serie.GetYCurrData
-public double GetYCurrData(int index, DataZoom dataZoom = null)
+public double GetYCurrData(int index, DataZoom dataZoom = null)
### Serie.GetYData
-public void GetYData(int index, out double yData, out string dataName, DataZoom dataZoom = null)
+public void GetYData(int index, out double yData, out string dataName, DataZoom dataZoom = null)
获得维度Y索引对应的数据和数据名
### Serie.IsIgnoreIndex
-public bool IsIgnoreIndex(int index, int dimension = 1)
+public bool IsIgnoreIndex(int index, int dimension = 1)
### Serie.IsIgnorePoint
-public bool IsIgnorePoint(int index)
+public bool IsIgnorePoint(int index)
### Serie.IsIgnoreValue
-public bool IsIgnoreValue(double value)
+public bool IsIgnoreValue(double value)
-public bool IsIgnoreValue(SerieData serieData, double value)
+public bool IsIgnoreValue(SerieData serieData, double value)
### Serie.IsLegendName
-public bool IsLegendName(string legendName)
+public bool IsLegendName(string legendName)
### Serie.IsMinShowLabelValue
-public bool IsMinShowLabelValue(double value)
+public bool IsMinShowLabelValue(double value)
-public bool IsMinShowLabelValue(SerieData serieData, int dimension = 1)
+public bool IsMinShowLabelValue(SerieData serieData, int dimension = 1)
### Serie.IsPerformanceMode
-public bool IsPerformanceMode()
+public bool IsPerformanceMode()
是否为性能模式。性能模式下不绘制Symbol,不刷新Label,不单独设置数据项配置。
### Serie.IsSerie<T>
-public bool IsSerie<T>() where T : Serie
+public bool IsSerie<T>() where T : Serie
### Serie.IsSerieDataLegendName
-public bool IsSerieDataLegendName(string legendName)
+public bool IsSerieDataLegendName(string legendName)
### Serie.IsSerieLegendName
-public bool IsSerieLegendName(string legendName)
+public bool IsSerieLegendName(string legendName)
### Serie.IsUseCoord<T>
-public bool IsUseCoord<T>() where T : CoordSystem
+public bool IsUseCoord<T>() where T : CoordSystem
### Serie.RemoveAllComponents
-public void RemoveAllComponents()
+public void RemoveAllComponents()
移除所有额外组件。
### Serie.RemoveComponent
-public void RemoveComponent(Type type)
+public void RemoveComponent(Type type)
### Serie.RemoveComponent<T>
-public void RemoveComponent<T>() where T : ISerieComponent
+public void RemoveComponent<T>() where T : ISerieComponent
### Serie.RemoveData
-public void RemoveData(int index)
+public void RemoveData(int index)
移除指定索引的数据
### Serie.ResetDataIndex
-public bool ResetDataIndex()
+public bool ResetDataIndex()
重置数据项索引。避免部分数据项的索引异常。
### Serie.ResetInteract
-public void ResetInteract()
+public void ResetInteract()
### Serie.SetAllDirty
-public override void SetAllDirty()
+public override void SetAllDirty()
### Serie.SetCoord<T>
-public bool SetCoord<T>() where T : CoordSystem
+public bool SetCoord<T>() where T : CoordSystem
### Serie.SetHighlight
-public void SetHighlight(int index, bool flag)
+public void SetHighlight(int index, bool flag)
设置指定索引的数据为高亮状态
### Serie.SetVerticesDirty
-public override void SetVerticesDirty()
+public override void SetVerticesDirty()
### Serie.UpdateData
-public bool UpdateData(int index, List<double> values)
+public bool UpdateData(int index, List<double> values)
更新指定索引的数据项数据列表
### Serie.UpdateDataName
-public bool UpdateDataName(int index, string name)
+public bool UpdateDataName(int index, string name)
### Serie.UpdateXYData
-public bool UpdateXYData(int index, double xValue, double yValue)
+public bool UpdateXYData(int index, double xValue, double yValue)
更新指定索引的维度X和维度Y的数据
### Serie.UpdateYData
-public bool UpdateYData(int index, double value)
+public bool UpdateYData(int index, double value)
更新指定索引的维度Y数据
## SerieColorBy
@@ -6855,27 +6855,27 @@ class in XCharts.Runtime / 继承自: [Attribute](https://docs.unity3d.com/Scrip
### SerieComponentAttribute.Contains
-public bool Contains(Type type)
+public bool Contains(Type type)
### SerieComponentAttribute.Contains<T>
-public bool Contains<T>() where T : ISerieComponent
+public bool Contains<T>() where T : ISerieComponent
### SerieComponentAttribute.SerieComponentAttribute
-public SerieComponentAttribute(Type type1)
+public SerieComponentAttribute(Type type1)
-public SerieComponentAttribute(Type type1, Type type2)
+public SerieComponentAttribute(Type type1, Type type2)
-public SerieComponentAttribute(Type type1, Type type2, Type type3)
+public SerieComponentAttribute(Type type1, Type type2, Type type3)
-public SerieComponentAttribute(Type type1, Type type2, Type type3, Type type4)
+public SerieComponentAttribute(Type type1, Type type2, Type type3, Type type4)
-public SerieComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5)
+public SerieComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5)
-public SerieComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6)
+public SerieComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6)
-public SerieComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6, Type type7)
+public SerieComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6, Type type7)
## SerieContext
@@ -6884,7 +6884,7 @@ class in XCharts.Runtime
### SerieContext.titleObject
-public ChartLabel titleObject
+public ChartLabel titleObject
绘制点
## SerieConvertAttribute
@@ -6895,19 +6895,19 @@ class in XCharts.Runtime / 继承自: [Attribute](https://docs.unity3d.com/Scrip
### SerieConvertAttribute.Contains
-public bool Contains(Type type)
+public bool Contains(Type type)
### SerieConvertAttribute.Contains<T>
-public bool Contains<T>() where T : Serie
+public bool Contains<T>() where T : Serie
### SerieConvertAttribute.SerieConvertAttribute
-public SerieConvertAttribute(Type serie, Type serie2)
+public SerieConvertAttribute(Type serie, Type serie2)
-public SerieConvertAttribute(Type serie, Type serie2, Type serie3)
+public SerieConvertAttribute(Type serie, Type serie2, Type serie3)
-public SerieConvertAttribute(Type serie, Type serie2, Type serie3, Type serie4)
+public SerieConvertAttribute(Type serie, Type serie2, Type serie3, Type serie4)
## SerieData
@@ -6918,119 +6918,119 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent)
### SerieData.areaStyle
-public AreaStyle areaStyle
+public AreaStyle areaStyle
### SerieData.blurStyle
-public BlurStyle blurStyle
+public BlurStyle blurStyle
淡出状态的样式。
### SerieData.data
-public List<double> data
+public List<double> data
可指定任意维数的数值列表。
### SerieData.emphasisStyle
-public EmphasisStyle emphasisStyle
+public EmphasisStyle emphasisStyle
高亮状态的样式
### SerieData.id
-public string id
+public string id
数据项的唯一id。唯一id不是必须设置的。
### SerieData.index
-public override int index
+public override int index
数据项索引。
### SerieData.itemStyle
-public ItemStyle itemStyle
+public ItemStyle itemStyle
单个数据项的样式设置。
### SerieData.labelLine
-public LabelLine labelLine
+public LabelLine labelLine
### SerieData.labelObject
-public ChartLabel labelObject
+public ChartLabel labelObject
### SerieData.labelStyle
-public LabelStyle labelStyle
+public LabelStyle labelStyle
单个数据项的标签设置。
### SerieData.legendName
-public string legendName
+public string legendName
数据项图例名称。当数据项名称不为空时,图例名称即为系列名称;反之则为索引index。
### SerieData.lineStyle
-public LineStyle lineStyle
+public LineStyle lineStyle
### SerieData.name
-public string name
+public string name
数据项名称。
### SerieData.parentId
-public string parentId
+public string parentId
父节点id。父节点id不是必须设置的。
### SerieData.radius
-public float radius
+public float radius
自定义半径。可用在饼图中自定义某个数据项的半径。
### SerieData.selected
-public bool selected
+public bool selected
该数据项是否被选中。
### SerieData.selectStyle
-public SelectStyle selectStyle
+public SelectStyle selectStyle
选中状态的样式。
### SerieData.show
-public bool show
+public bool show
该数据项是否要显示。
### SerieData.state
-public SerieState state
+public SerieState state
数据项的默认状态。
### SerieData.symbol
-public SerieSymbol symbol
+public SerieSymbol symbol
单个数据项的标记设置。
### SerieData.titleObject
-public ChartLabel titleObject
+public ChartLabel titleObject
### SerieData.titleStyle
-public TitleStyle titleStyle
+public TitleStyle titleStyle
### SerieData.ClearComponentDirty
-public override void ClearComponentDirty()
+public override void ClearComponentDirty()
### SerieData.ClearVerticesDirty
-public override void ClearVerticesDirty()
+public override void ClearVerticesDirty()
### SerieData.EnsureComponent
-public ISerieDataComponent EnsureComponent(Type type)
+public ISerieDataComponent EnsureComponent(Type type)
> 从 `v3.6.0` 开始支持
@@ -7038,7 +7038,7 @@ public ISerieDataComponent EnsureComponent(Type type)
### SerieData.EnsureComponent<T>
-public T EnsureComponent<T>() where T : ChildComponent, ISerieDataComponent
+public T EnsureComponent<T>() where T : ChildComponent, ISerieDataComponent
> 从 `v3.6.0` 开始支持
@@ -7046,120 +7046,120 @@ public T EnsureComponent<T>() where T : ChildComponent, ISerieDataComponen
### SerieData.GetAddAnimationData
-public double GetAddAnimationData(double min, double max, float animationDuration = 500f, bool unscaledTime = false)
+public double GetAddAnimationData(double min, double max, float animationDuration = 500f, bool unscaledTime = false)
### SerieData.GetComponent<T>
-public T GetComponent<T>() where T : ChildComponent, ISerieDataComponent
+public T GetComponent<T>() where T : ChildComponent, ISerieDataComponent
获取数据项的指定类型的组件,如果不存在则返回null。
### SerieData.GetCurrData
-public double GetCurrData(int index, AnimationStyle animation, bool inverse, double min, double max, bool loop = false)
+public double GetCurrData(int index, AnimationStyle animation, bool inverse, double min, double max, bool loop = false)
-public double GetCurrData(int index, float dataAddDuration = 500f, float animationDuration = 500f, bool unscaledTime = false, bool inverse = false)
+public double GetCurrData(int index, float dataAddDuration = 500f, float animationDuration = 500f, bool unscaledTime = false, bool inverse = false)
-public double GetCurrData(int index, float dataAddDuration, float animationDuration, bool inverse, double min, double max, bool unscaledTime, bool loop = false)
+public double GetCurrData(int index, float dataAddDuration, float animationDuration, bool inverse, double min, double max, bool unscaledTime, bool loop = false)
### SerieData.GetData
-public double GetData(int index, double min, double max)
+public double GetData(int index, double min, double max)
### SerieData.GetFirstData
-public double GetFirstData(bool unscaledTime, float animationDuration = 500f)
+public double GetFirstData(bool unscaledTime, float animationDuration = 500f)
### SerieData.GetLabelHeight
-public float GetLabelHeight()
+public float GetLabelHeight()
### SerieData.GetLabelWidth
-public float GetLabelWidth()
+public float GetLabelWidth()
### SerieData.GetLastData
-public double GetLastData()
+public double GetLastData()
### SerieData.GetMaxData
-public double GetMaxData(bool inverse = false)
+public double GetMaxData(bool inverse = false)
最大值。
### SerieData.GetMinData
-public double GetMinData(bool inverse = false)
+public double GetMinData(bool inverse = false)
最小值。
### SerieData.GetMinMaxData
-public void GetMinMaxData(int startDimensionIndex, bool inverse, out double min, out double max)
+public void GetMinMaxData(int startDimensionIndex, bool inverse, out double min, out double max)
### SerieData.GetOrAddComponent<T>
-public T GetOrAddComponent<T>() where T : ChildComponent, ISerieDataComponent
+public T GetOrAddComponent<T>() where T : ChildComponent, ISerieDataComponent
### SerieData.GetPreviousData
-public double GetPreviousData(int index, bool inverse = false)
+public double GetPreviousData(int index, bool inverse = false)
### SerieData.GetTotalData
-public double GetTotalData()
+public double GetTotalData()
### SerieData.IsDataChanged
-public bool IsDataChanged()
+public bool IsDataChanged()
### SerieData.IsInPolygon
-public bool IsInPolygon(Vector2 p)
+public bool IsInPolygon(Vector2 p)
### SerieData.List<string>
-public static List<string> extraFieldList = new List<string>()
+public static List<string> extraFieldList = new List<string>()
系列中的一个数据项。可存储数据名和1-n维个数据。
### SerieData.OnAdd
-public void OnAdd(AnimationStyle animation, double startValue = 0)
+public void OnAdd(AnimationStyle animation, double startValue = 0)
### SerieData.RemoveAllComponent
-public void RemoveAllComponent()
+public void RemoveAllComponent()
### SerieData.RemoveComponent
-public void RemoveComponent(Type type)
+public void RemoveComponent(Type type)
### SerieData.RemoveComponent<T>
-public void RemoveComponent<T>() where T : ISerieDataComponent
+public void RemoveComponent<T>() where T : ISerieDataComponent
### SerieData.Reset
-public void Reset()
+public void Reset()
### SerieData.SetIconActive
-public void SetIconActive(bool flag)
+public void SetIconActive(bool flag)
### SerieData.SetLabelActive
-public void SetLabelActive(bool flag)
+public void SetLabelActive(bool flag)
### SerieData.SetPolygon
-public void SetPolygon(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4)
+public void SetPolygon(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4)
-public void SetPolygon(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 p5)
+public void SetPolygon(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 p5)
### SerieData.UpdateData
-public bool UpdateData(int dimension, double value)
+public bool UpdateData(int dimension, double value)
## SerieDataComponentAttribute
@@ -7170,27 +7170,27 @@ class in XCharts.Runtime / 继承自: [Attribute](https://docs.unity3d.com/Scrip
### SerieDataComponentAttribute.Contains
-public bool Contains(Type type)
+public bool Contains(Type type)
### SerieDataComponentAttribute.Contains<T>
-public bool Contains<T>() where T : ISerieComponent
+public bool Contains<T>() where T : ISerieComponent
### SerieDataComponentAttribute.SerieDataComponentAttribute
-public SerieDataComponentAttribute(Type type1)
+public SerieDataComponentAttribute(Type type1)
-public SerieDataComponentAttribute(Type type1, Type type2)
+public SerieDataComponentAttribute(Type type1, Type type2)
-public SerieDataComponentAttribute(Type type1, Type type2, Type type3)
+public SerieDataComponentAttribute(Type type1, Type type2, Type type3)
-public SerieDataComponentAttribute(Type type1, Type type2, Type type3, Type type4)
+public SerieDataComponentAttribute(Type type1, Type type2, Type type3, Type type4)
-public SerieDataComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5)
+public SerieDataComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5)
-public SerieDataComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6)
+public SerieDataComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6)
-public SerieDataComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6, Type type7)
+public SerieDataComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6, Type type7)
## SerieDataContext
@@ -7199,7 +7199,7 @@ class in XCharts.Runtime
### SerieDataContext.Reset
-public void Reset()
+public void Reset()
## SerieDataExtraFieldAttribute
@@ -7207,23 +7207,23 @@ class in XCharts.Runtime / 继承自: [Attribute](https://docs.unity3d.com/Scrip
### SerieDataExtraFieldAttribute.Contains
-public bool Contains(string field)
+public bool Contains(string field)
### SerieDataExtraFieldAttribute.SerieDataExtraFieldAttribute
-public SerieDataExtraFieldAttribute(string field1)
+public SerieDataExtraFieldAttribute(string field1)
-public SerieDataExtraFieldAttribute(string field1, string field2)
+public SerieDataExtraFieldAttribute(string field1, string field2)
-public SerieDataExtraFieldAttribute(string field1, string field2, string field3)
+public SerieDataExtraFieldAttribute(string field1, string field2, string field3)
-public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4)
+public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4)
-public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4, string field5)
+public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4, string field5)
-public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4, string field5, string field6)
+public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4, string field5, string field6)
-public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4, string field5, string field6, string field7)
+public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4, string field5, string field6, string field7)
## SerieDataLink
@@ -7254,32 +7254,32 @@ serie事件的数据。
### SerieEventData.dataIndex
-public int dataIndex
+public int dataIndex
在serie.data中的索引。
### SerieEventData.dimension
-public int dimension
+public int dimension
数据的维度。
### SerieEventData.pointerPos
-public Vector3 pointerPos
+public Vector3 pointerPos
鼠标在chart中的位置。
### SerieEventData.serieIndex
-public int serieIndex
+public int serieIndex
在chart.series中的索引。
### SerieEventData.value
-public double value
+public double value
数据的值。
### SerieEventData.Reset
-public void Reset()
+public void Reset()
## SerieEventDataPool
@@ -7287,11 +7287,11 @@ class in XCharts.Runtime
### SerieEventDataPool.Get
-public static SerieEventData Get(Vector3 pos, int serieIndex, int dataIndex, int dimension, double value)
+public static SerieEventData Get(Vector3 pos, int serieIndex, int dataIndex, int dimension, double value)
### SerieEventDataPool.Release
-public static void Release(SerieEventData toRelease)
+public static void Release(SerieEventData toRelease)
## SerieHandler
@@ -7299,243 +7299,243 @@ class in XCharts.Runtime
### SerieHandler.AfterUpdate()
-public virtual void AfterUpdate()
+public virtual void AfterUpdate()
### SerieHandler.attribute
-public SerieHandlerAttribute attribute
+public SerieHandlerAttribute attribute
### SerieHandler.BeforeUpdate()
-public virtual void BeforeUpdate()
+public virtual void BeforeUpdate()
### SerieHandler.chart
-public BaseChart chart
+public BaseChart chart
### SerieHandler.defaultDimension
-public virtual int defaultDimension
+public virtual int defaultDimension
### SerieHandler.eventData)
-public virtual void OnBeginDrag(PointerEventData eventData)
+public virtual void OnBeginDrag(PointerEventData eventData)
### SerieHandler.eventData)
-public virtual void OnDrag(PointerEventData eventData)
+public virtual void OnDrag(PointerEventData eventData)
### SerieHandler.eventData)
-public virtual void OnEndDrag(PointerEventData eventData)
+public virtual void OnEndDrag(PointerEventData eventData)
### SerieHandler.eventData)
-public virtual void OnPointerClick(PointerEventData eventData)
+public virtual void OnPointerClick(PointerEventData eventData)
### SerieHandler.eventData)
-public virtual void OnPointerDown(PointerEventData eventData)
+public virtual void OnPointerDown(PointerEventData eventData)
### SerieHandler.eventData)
-public virtual void OnPointerEnter(PointerEventData eventData)
+public virtual void OnPointerEnter(PointerEventData eventData)
### SerieHandler.eventData)
-public virtual void OnPointerExit(PointerEventData eventData)
+public virtual void OnPointerExit(PointerEventData eventData)
### SerieHandler.eventData)
-public virtual void OnPointerUp(PointerEventData eventData)
+public virtual void OnPointerUp(PointerEventData eventData)
### SerieHandler.eventData)
-public virtual void OnScroll(PointerEventData eventData)
+public virtual void OnScroll(PointerEventData eventData)
### SerieHandler.ForceUpdateSerieContext()
-public virtual void ForceUpdateSerieContext()
+public virtual void ForceUpdateSerieContext()
### SerieHandler.GetPointerItemDataDimension()
-public virtual int GetPointerItemDataDimension()
+public virtual int GetPointerItemDataDimension()
### SerieHandler.GetPointerItemDataIndex()
-public virtual int GetPointerItemDataIndex()
+public virtual int GetPointerItemDataIndex()
### SerieHandler.InitComponent()
-public virtual void InitComponent()
+public virtual void InitComponent()
### SerieHandler.inited
-public bool inited
+public bool inited
### SerieHandler.legendName)
-public virtual void OnLegendButtonEnter(int index, string legendName)
+public virtual void OnLegendButtonEnter(int index, string legendName)
### SerieHandler.legendName)
-public virtual void OnLegendButtonExit(int index, string legendName)
+public virtual void OnLegendButtonExit(int index, string legendName)
### SerieHandler.OnDataUpdate()
-public virtual void OnDataUpdate()
+public virtual void OnDataUpdate()
### SerieHandler.RefreshLabelInternal()
-public virtual void RefreshLabelInternal()
+public virtual void RefreshLabelInternal()
### SerieHandler.RefreshLabelNextFrame()
-public virtual void RefreshLabelNextFrame()
+public virtual void RefreshLabelNextFrame()
### SerieHandler.RemoveComponent()
-public virtual void RemoveComponent()
+public virtual void RemoveComponent()
### SerieHandler.sb)
-public virtual void CheckComponent(StringBuilder sb)
+public virtual void CheckComponent(StringBuilder sb)
### SerieHandler.show)
-public virtual void OnLegendButtonClick(int index, string legendName, bool show)
+public virtual void OnLegendButtonClick(int index, string legendName, bool show)
### SerieHandler.Update()
-public virtual void Update()
+public virtual void Update()
### SerieHandler.UpdateSerieContext()
-public virtual void UpdateSerieContext()
+public virtual void UpdateSerieContext()
### SerieHandler.vh)
-public virtual void DrawBase(VertexHelper vh)
+public virtual void DrawBase(VertexHelper vh)
### SerieHandler.vh)
-public virtual void DrawSerie(VertexHelper vh)
+public virtual void DrawSerie(VertexHelper vh)
### SerieHandler.vh)
-public virtual void DrawTop(VertexHelper vh)
+public virtual void DrawTop(VertexHelper vh)
### SerieHandler.vh)
-public virtual void DrawUpper(VertexHelper vh)
+public virtual void DrawUpper(VertexHelper vh)
### SerieHandler.AfterUpdate
-public virtual void AfterUpdate() { }
+public virtual void AfterUpdate() { }
### SerieHandler.BeforeUpdate
-public virtual void BeforeUpdate() { }
+public virtual void BeforeUpdate() { }
### SerieHandler.CheckComponent
-public virtual void CheckComponent(StringBuilder sb) { }
+public virtual void CheckComponent(StringBuilder sb) { }
### SerieHandler.DrawBase
-public virtual void DrawBase(VertexHelper vh) { }
+public virtual void DrawBase(VertexHelper vh) { }
### SerieHandler.DrawSerie
-public virtual void DrawSerie(VertexHelper vh) { }
+public virtual void DrawSerie(VertexHelper vh) { }
### SerieHandler.DrawTop
-public virtual void DrawTop(VertexHelper vh) { }
+public virtual void DrawTop(VertexHelper vh) { }
### SerieHandler.DrawUpper
-public virtual void DrawUpper(VertexHelper vh) { }
+public virtual void DrawUpper(VertexHelper vh) { }
### SerieHandler.ForceUpdateSerieContext
-public virtual void ForceUpdateSerieContext() { }
+public virtual void ForceUpdateSerieContext() { }
### SerieHandler.InitComponent
-public virtual void InitComponent() { }
+public virtual void InitComponent() { }
### SerieHandler.OnBeginDrag
-public virtual void OnBeginDrag(PointerEventData eventData) { }
+public virtual void OnBeginDrag(PointerEventData eventData) { }
### SerieHandler.OnDataUpdate
-public virtual void OnDataUpdate() { }
+public virtual void OnDataUpdate() { }
### SerieHandler.OnDrag
-public virtual void OnDrag(PointerEventData eventData) { }
+public virtual void OnDrag(PointerEventData eventData) { }
### SerieHandler.OnEndDrag
-public virtual void OnEndDrag(PointerEventData eventData) { }
+public virtual void OnEndDrag(PointerEventData eventData) { }
### SerieHandler.OnLegendButtonClick
-public virtual void OnLegendButtonClick(int index, string legendName, bool show) { }
+public virtual void OnLegendButtonClick(int index, string legendName, bool show) { }
### SerieHandler.OnLegendButtonEnter
-public virtual void OnLegendButtonEnter(int index, string legendName) { }
+public virtual void OnLegendButtonEnter(int index, string legendName) { }
### SerieHandler.OnLegendButtonExit
-public virtual void OnLegendButtonExit(int index, string legendName) { }
+public virtual void OnLegendButtonExit(int index, string legendName) { }
### SerieHandler.OnPointerClick
-public virtual void OnPointerClick(PointerEventData eventData) { }
+public virtual void OnPointerClick(PointerEventData eventData) { }
### SerieHandler.OnPointerDown
-public virtual void OnPointerDown(PointerEventData eventData) { }
+public virtual void OnPointerDown(PointerEventData eventData) { }
### SerieHandler.OnPointerEnter
-public virtual void OnPointerEnter(PointerEventData eventData) { }
+public virtual void OnPointerEnter(PointerEventData eventData) { }
### SerieHandler.OnPointerExit
-public virtual void OnPointerExit(PointerEventData eventData) { }
+public virtual void OnPointerExit(PointerEventData eventData) { }
### SerieHandler.OnPointerUp
-public virtual void OnPointerUp(PointerEventData eventData) { }
+public virtual void OnPointerUp(PointerEventData eventData) { }
### SerieHandler.OnScroll
-public virtual void OnScroll(PointerEventData eventData) { }
+public virtual void OnScroll(PointerEventData eventData) { }
### SerieHandler.RefreshLabelInternal
-public virtual void RefreshLabelInternal() { }
+public virtual void RefreshLabelInternal() { }
### SerieHandler.RefreshLabelNextFrame
-public virtual void RefreshLabelNextFrame() { }
+public virtual void RefreshLabelNextFrame() { }
### SerieHandler.RemoveComponent
-public virtual void RemoveComponent() { }
+public virtual void RemoveComponent() { }
### SerieHandler.Update
-public virtual void Update() { }
+public virtual void Update() { }
### SerieHandler.UpdateSerieContext
-public virtual void UpdateSerieContext() { }
+public virtual void UpdateSerieContext() { }
## SerieHandler where T
@@ -7547,95 +7547,95 @@ class in XCharts.Runtime / 继承自: [SerieHandler where T](#seriehandler where
### SerieHandler<T>.labelObject
-public GameObject labelObject
+public GameObject labelObject
### SerieHandler<T>.serie
-public T serie
+public T serie
### SerieHandler<T>.AfterUpdate
-public override void AfterUpdate()
+public override void AfterUpdate()
### SerieHandler<T>.BeforeUpdate
-public override void BeforeUpdate()
+public override void BeforeUpdate()
### SerieHandler<T>.DrawLabelLineSymbol
-public void DrawLabelLineSymbol(VertexHelper vh, LabelLine labelLine, Vector3 startPos, Vector3 endPos, Color32 defaultColor)
+public void DrawLabelLineSymbol(VertexHelper vh, LabelLine labelLine, Vector3 startPos, Vector3 endPos, Color32 defaultColor)
### SerieHandler<T>.ForceUpdateSerieContext
-public override void ForceUpdateSerieContext()
+public override void ForceUpdateSerieContext()
### SerieHandler<T>.GetPointerItemDataDimension
-public override int GetPointerItemDataDimension()
+public override int GetPointerItemDataDimension()
### SerieHandler<T>.GetPointerItemDataIndex
-public override int GetPointerItemDataIndex()
+public override int GetPointerItemDataIndex()
### SerieHandler<T>.GetSerieDataAutoColor
-public virtual Color GetSerieDataAutoColor(SerieData serieData)
+public virtual Color GetSerieDataAutoColor(SerieData serieData)
### SerieHandler<T>.GetSerieDataLabelOffset
-public virtual Vector3 GetSerieDataLabelOffset(SerieData serieData, LabelStyle label)
+public virtual Vector3 GetSerieDataLabelOffset(SerieData serieData, LabelStyle label)
### SerieHandler<T>.GetSerieDataLabelPosition
-public virtual Vector3 GetSerieDataLabelPosition(SerieData serieData, LabelStyle label)
+public virtual Vector3 GetSerieDataLabelPosition(SerieData serieData, LabelStyle label)
### SerieHandler<T>.GetSerieDataTitlePosition
-public virtual Vector3 GetSerieDataTitlePosition(SerieData serieData, TitleStyle titleStyle)
+public virtual Vector3 GetSerieDataTitlePosition(SerieData serieData, TitleStyle titleStyle)
### SerieHandler<T>.InitComponent
-public override void InitComponent()
+public override void InitComponent()
### SerieHandler<T>.OnLegendButtonClick
-public override void OnLegendButtonClick(int index, string legendName, bool show)
+public override void OnLegendButtonClick(int index, string legendName, bool show)
### SerieHandler<T>.OnLegendButtonEnter
-public override void OnLegendButtonEnter(int index, string legendName)
+public override void OnLegendButtonEnter(int index, string legendName)
### SerieHandler<T>.OnLegendButtonExit
-public override void OnLegendButtonExit(int index, string legendName)
+public override void OnLegendButtonExit(int index, string legendName)
### SerieHandler<T>.OnPointerClick
-public override void OnPointerClick(PointerEventData eventData)
+public override void OnPointerClick(PointerEventData eventData)
### SerieHandler<T>.OnPointerDown
-public override void OnPointerDown(PointerEventData eventData)
+public override void OnPointerDown(PointerEventData eventData)
### SerieHandler<T>.RefreshEndLabelInternal
-public virtual void RefreshEndLabelInternal()
+public virtual void RefreshEndLabelInternal()
### SerieHandler<T>.RefreshLabelInternal
-public override void RefreshLabelInternal()
+public override void RefreshLabelInternal()
### SerieHandler<T>.RefreshLabelNextFrame
-public override void RefreshLabelNextFrame()
+public override void RefreshLabelNextFrame()
### SerieHandler<T>.RemoveComponent
-public override void RemoveComponent()
+public override void RemoveComponent()
### SerieHandler<T>.Update
-public override void Update()
+public override void Update()
## SerieHandlerAttribute
@@ -7643,7 +7643,7 @@ class in XCharts.Runtime / 继承自: [Attribute](https://docs.unity3d.com/Scrip
### SerieHandlerAttribute.SerieHandlerAttribute
-public SerieHandlerAttribute(Type handler, bool allowMultiple)
+public SerieHandlerAttribute(Type handler, bool allowMultiple)
## SerieHelper
@@ -7652,151 +7652,151 @@ class in XCharts.Runtime
### SerieHelper.CloneSerie<T>
-public static T CloneSerie<T>(Serie serie) where T : Serie
+public static T CloneSerie<T>(Serie serie) where T : Serie
### SerieHelper.CopySerie
-public static void CopySerie(Serie oldSerie, Serie newSerie)
+public static void CopySerie(Serie oldSerie, Serie newSerie)
### SerieHelper.GetAllMinMaxData
-public static void GetAllMinMaxData(Serie serie, double ceilRate = 0, DataZoom dataZoom = null)
+public static void GetAllMinMaxData(Serie serie, double ceilRate = 0, DataZoom dataZoom = null)
### SerieHelper.GetAreaStyle
-public static AreaStyle GetAreaStyle(Serie serie, SerieData serieData)
+public static AreaStyle GetAreaStyle(Serie serie, SerieData serieData)
### SerieHelper.GetAverageData
-public static double GetAverageData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
+public static double GetAverageData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
### SerieHelper.GetBlurStyle
-public static BlurStyle GetBlurStyle(Serie serie, SerieData serieData)
+public static BlurStyle GetBlurStyle(Serie serie, SerieData serieData)
### SerieHelper.GetEmphasisStyle
-public static EmphasisStyle GetEmphasisStyle(Serie serie, SerieData serieData)
+public static EmphasisStyle GetEmphasisStyle(Serie serie, SerieData serieData)
### SerieHelper.GetItemColor
-public static Color32 GetItemColor(Serie serie, SerieData serieData, ThemeStyle theme, int index, SerieState state = SerieState.Auto, bool opacity = true)
+public static Color32 GetItemColor(Serie serie, SerieData serieData, ThemeStyle theme, int index, SerieState state = SerieState.Auto, bool opacity = true)
### SerieHelper.GetItemFormatter
-public static string GetItemFormatter(Serie serie, SerieData serieData, string defaultFormatter = null)
+public static string GetItemFormatter(Serie serie, SerieData serieData, string defaultFormatter = null)
### SerieHelper.GetItemMarker
-public static string GetItemMarker(Serie serie, SerieData serieData, string defaultMarker = null)
+public static string GetItemMarker(Serie serie, SerieData serieData, string defaultMarker = null)
### SerieHelper.GetItemStyle
-public static ItemStyle GetItemStyle(Serie serie, SerieData serieData, SerieState state = SerieState.Auto)
+public static ItemStyle GetItemStyle(Serie serie, SerieData serieData, SerieState state = SerieState.Auto)
### SerieHelper.GetLineColor
-public static Color32 GetLineColor(Serie serie, SerieData serieData, ThemeStyle theme, int index, SerieState state = SerieState.Auto)
+public static Color32 GetLineColor(Serie serie, SerieData serieData, ThemeStyle theme, int index, SerieState state = SerieState.Auto)
### SerieHelper.GetLineStyle
-public static LineStyle GetLineStyle(Serie serie, SerieData serieData)
+public static LineStyle GetLineStyle(Serie serie, SerieData serieData)
### SerieHelper.GetMaxData
-public static double GetMaxData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
+public static double GetMaxData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
### SerieHelper.GetMaxSerieData
-public static SerieData GetMaxSerieData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
+public static SerieData GetMaxSerieData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
### SerieHelper.GetMedianData
-public static double GetMedianData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
+public static double GetMedianData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
### SerieHelper.GetMinData
-public static double GetMinData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
+public static double GetMinData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
### SerieHelper.GetMinMaxData
-public static void GetMinMaxData(Serie serie, out double min, out double max, DataZoom dataZoom = null, int dimension = 0)
+public static void GetMinMaxData(Serie serie, out double min, out double max, DataZoom dataZoom = null, int dimension = 0)
获得系列所有数据的最大最小值。
### SerieHelper.GetMinSerieData
-public static SerieData GetMinSerieData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
+public static SerieData GetMinSerieData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
### SerieHelper.GetNumericFormatter
-public static string GetNumericFormatter(Serie serie, SerieData serieData, string defaultFormatter = null)
+public static string GetNumericFormatter(Serie serie, SerieData serieData, string defaultFormatter = null)
### SerieHelper.GetSelectStyle
-public static SelectStyle GetSelectStyle(Serie serie, SerieData serieData)
+public static SelectStyle GetSelectStyle(Serie serie, SerieData serieData)
### SerieHelper.GetSerieLabel
-public static LabelStyle GetSerieLabel(Serie serie, SerieData serieData, SerieState state = SerieState.Auto)
+public static LabelStyle GetSerieLabel(Serie serie, SerieData serieData, SerieState state = SerieState.Auto)
### SerieHelper.GetSerieLabelLine
-public static LabelLine GetSerieLabelLine(Serie serie, SerieData serieData, SerieState state = SerieState.Auto)
+public static LabelLine GetSerieLabelLine(Serie serie, SerieData serieData, SerieState state = SerieState.Auto)
### SerieHelper.GetSerieState
-public static SerieState GetSerieState(Serie serie, SerieData serieData, bool defaultSerieState = false)
+public static SerieState GetSerieState(Serie serie, SerieData serieData, bool defaultSerieState = false)
-public static SerieState GetSerieState(SerieData serieData)
+public static SerieState GetSerieState(SerieData serieData)
### SerieHelper.GetSerieSymbol
-public static SerieSymbol GetSerieSymbol(Serie serie, SerieData serieData, SerieState state = SerieState.Auto)
+public static SerieSymbol GetSerieSymbol(Serie serie, SerieData serieData, SerieState state = SerieState.Auto)
### SerieHelper.GetStateStyle
-public static StateStyle GetStateStyle(Serie serie, SerieData serieData, SerieState state)
+public static StateStyle GetStateStyle(Serie serie, SerieData serieData, SerieState state)
### SerieHelper.GetSysmbolSize
-public static float GetSysmbolSize(Serie serie, SerieData serieData, float defaultSize, SerieState state = SerieState.Auto, bool checkAnimation = false)
+public static float GetSysmbolSize(Serie serie, SerieData serieData, float defaultSize, SerieState state = SerieState.Auto, bool checkAnimation = false)
### SerieHelper.GetTitleStyle
-public static TitleStyle GetTitleStyle(Serie serie, SerieData serieData)
+public static TitleStyle GetTitleStyle(Serie serie, SerieData serieData)
### SerieHelper.IsAllZeroValue
-public static bool IsAllZeroValue(Serie serie, int dimension = 1)
+public static bool IsAllZeroValue(Serie serie, int dimension = 1)
系列指定维数的数据是否全部为0。
### SerieHelper.IsDownPoint
-public static bool IsDownPoint(Serie serie, int index)
+public static bool IsDownPoint(Serie serie, int index)
### SerieHelper.UpdateCenter
-public static void UpdateCenter(Serie serie, BaseChart chart)
+public static void UpdateCenter(Serie serie, BaseChart chart)
更新运行时中心点和半径
### SerieHelper.UpdateFilterData
-public static void UpdateFilterData(Serie serie, DataZoom dataZoom)
+public static void UpdateFilterData(Serie serie, DataZoom dataZoom)
根据dataZoom更新数据列表缓存
### SerieHelper.UpdateMinMaxData
-public static void UpdateMinMaxData(Serie serie, int dimension, double ceilRate = 0, DataZoom dataZoom = null)
+public static void UpdateMinMaxData(Serie serie, int dimension, double ceilRate = 0, DataZoom dataZoom = null)
获得指定维数的最大最小值
### SerieHelper.UpdateRect
-public static void UpdateRect(Serie serie, Vector3 chartPosition, float chartWidth, float chartHeight)
+public static void UpdateRect(Serie serie, Vector3 chartPosition, float chartWidth, float chartHeight)
### SerieHelper.UpdateSerieRuntimeFilterData
-public static void UpdateSerieRuntimeFilterData(Serie serie, bool filterInvisible = true)
+public static void UpdateSerieRuntimeFilterData(Serie serie, bool filterInvisible = true)
## SerieLabelHelper
@@ -7804,15 +7804,15 @@ class in XCharts.Runtime
### SerieLabelHelper.CanShowLabel
-public static bool CanShowLabel(Serie serie, SerieData serieData, LabelStyle label, int dimesion)
+public static bool CanShowLabel(Serie serie, SerieData serieData, LabelStyle label, int dimesion)
### SerieLabelHelper.GetLabelColor
-public static Color GetLabelColor(Serie serie, ThemeStyle theme, int index)
+public static Color GetLabelColor(Serie serie, ThemeStyle theme, int index)
### SerieLabelHelper.SetGaugeLabelText
-public static void SetGaugeLabelText(Serie serie)
+public static void SetGaugeLabelText(Serie serie)
## SerieLabelPool
@@ -7820,15 +7820,15 @@ class in XCharts.Runtime
### SerieLabelPool.ClearAll
-public static void ClearAll()
+public static void ClearAll()
### SerieLabelPool.Release
-public static void Release(GameObject element)
+public static void Release(GameObject element)
### SerieLabelPool.ReleaseAll
-public static void ReleaseAll(Transform parent)
+public static void ReleaseAll(Transform parent)
## SerieParams
@@ -7840,63 +7840,63 @@ class in XCharts.Runtime
### SeriesHelper.GetLastStackSerie
-public static Serie GetLastStackSerie(List<Serie> series, Serie serie)
+public static Serie GetLastStackSerie(List<Serie> series, Serie serie)
获得上一个同堆叠且显示的serie。
### SeriesHelper.GetLegalSerieNameList
-public static List<string> GetLegalSerieNameList(List<Serie> series)
+public static List<string> GetLegalSerieNameList(List<Serie> series)
### SeriesHelper.GetMaxSerieDataCount
-public static int GetMaxSerieDataCount(List<Serie> series)
+public static int GetMaxSerieDataCount(List<Serie> series)
### SeriesHelper.GetMinAnimationDuration
-public static float GetMinAnimationDuration(List<Serie> series)
+public static float GetMinAnimationDuration(List<Serie> series)
### SeriesHelper.GetNameColor
-public static Color GetNameColor(BaseChart chart, int index, string name)
+public static Color GetNameColor(BaseChart chart, int index, string name)
### SeriesHelper.GetStackSeries
-public static void GetStackSeries(List<Serie> series, ref Dictionary<int, List<Serie>> stackSeries)
+public static void GetStackSeries(List<Serie> series, ref Dictionary<int, List<Serie>> stackSeries)
获得堆叠系列列表
### SeriesHelper.IsAnyClipSerie
-public static bool IsAnyClipSerie(List<Serie> series)
+public static bool IsAnyClipSerie(List<Serie> series)
是否有需裁剪的serie。
### SeriesHelper.IsLegalLegendName
-public static bool IsLegalLegendName(string name)
+public static bool IsLegalLegendName(string name)
### SeriesHelper.IsPercentStack<T>
-public static bool IsPercentStack<T>(List<Serie> series, string stackName) where T : Serie
+public static bool IsPercentStack<T>(List<Serie> series, string stackName) where T : Serie
是否时百分比堆叠
### SeriesHelper.IsStack
-public static bool IsStack(List<Serie> series)
+public static bool IsStack(List<Serie> series)
是否由数据堆叠
### SeriesHelper.IsStack<T>
-public static bool IsStack<T>(List<Serie> series, string stackName) where T : Serie
+public static bool IsStack<T>(List<Serie> series, string stackName) where T : Serie
是否堆叠
### SeriesHelper.UpdateSerieNameList
-public static void UpdateSerieNameList(BaseChart chart, ref List<string> serieNameList)
+public static void UpdateSerieNameList(BaseChart chart, ref List<string> serieNameList)
获得所有系列名,不包含空名字。
### SeriesHelper.UpdateStackDataList
-public static void UpdateStackDataList(List<Serie> series, Serie currSerie, DataZoom dataZoom, List<List<SerieData>> dataList)
+public static void UpdateStackDataList(List<Serie> series, Serie currSerie, DataZoom dataZoom, List<List<SerieData>> dataList)
## SerieState
@@ -7920,16 +7920,16 @@ class in XCharts.Runtime / 继承自: [SymbolStyle](#symbolstyle),[ISerieDataCom
### SerieSymbol.GetSize
-public float GetSize(List<double> data, float themeSize)
+public float GetSize(List<double> data, float themeSize)
根据指定的sizeType获得标记的大小
### SerieSymbol.Reset
-public override void Reset()
+public override void Reset()
### SerieSymbol.ShowSymbol
-public bool ShowSymbol(int dataIndex, int dataCount)
+public bool ShowSymbol(int dataIndex, int dataCount)
## SerieTheme
@@ -7937,11 +7937,11 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent)
### SerieTheme.Copy
-public void Copy(SerieTheme theme)
+public void Copy(SerieTheme theme)
### SerieTheme.SerieTheme
-public SerieTheme(ThemeType theme)
+public SerieTheme(ThemeType theme)
## Settings
@@ -7951,15 +7951,15 @@ class in XCharts.Runtime / 继承自: [MainComponent](#maincomponent)
### Settings.show
-public bool show
+public bool show
### Settings.Copy
-public void Copy(Settings settings)
+public void Copy(Settings settings)
### Settings.Reset
-public override void Reset()
+public override void Reset()
## SimplifiedBar
@@ -7967,19 +7967,19 @@ class in XCharts.Runtime / 继承自: [Serie](#serie),[INeedSerieContainer](#ine
### SimplifiedBar.containerIndex
-public int containerIndex
+public int containerIndex
### SimplifiedBar.containterInstanceId
-public int containterInstanceId
+public int containterInstanceId
### SimplifiedBar.AddDefaultSerie
-public static Serie AddDefaultSerie(BaseChart chart, string serieName)
+public static Serie AddDefaultSerie(BaseChart chart, string serieName)
### SimplifiedBar.ConvertSerie
-public static SimplifiedBar ConvertSerie(Serie serie)
+public static SimplifiedBar ConvertSerie(Serie serie)
## SimplifiedBarChart
@@ -7993,19 +7993,19 @@ class in XCharts.Runtime / 继承自: [Serie](#serie),[INeedSerieContainer](#ine
### SimplifiedCandlestick.containerIndex
-public int containerIndex
+public int containerIndex
### SimplifiedCandlestick.containterInstanceId
-public int containterInstanceId
+public int containterInstanceId
### SimplifiedCandlestick.AddDefaultSerie
-public static Serie AddDefaultSerie(BaseChart chart, string serieName)
+public static Serie AddDefaultSerie(BaseChart chart, string serieName)
### SimplifiedCandlestick.ConvertSerie
-public static SimplifiedCandlestick ConvertSerie(Serie serie)
+public static SimplifiedCandlestick ConvertSerie(Serie serie)
## SimplifiedCandlestickChart
@@ -8019,19 +8019,19 @@ class in XCharts.Runtime / 继承自: [Serie](#serie),[INeedSerieContainer](#ine
### SimplifiedLine.containerIndex
-public int containerIndex
+public int containerIndex
### SimplifiedLine.containterInstanceId
-public int containterInstanceId
+public int containterInstanceId
### SimplifiedLine.AddDefaultSerie
-public static Serie AddDefaultSerie(BaseChart chart, string serieName)
+public static Serie AddDefaultSerie(BaseChart chart, string serieName)
### SimplifiedLine.ConvertSerie
-public static SimplifiedLine ConvertSerie(Serie serie)
+public static SimplifiedLine ConvertSerie(Serie serie)
## SimplifiedLineChart
@@ -8045,7 +8045,7 @@ class in XCharts.Runtime / 继承自: [Attribute](https://docs.unity3d.com/Scrip
### Since.Since
-public Since(string version)
+public Since(string version)
## SingleAxis
@@ -8055,11 +8055,11 @@ class in XCharts.Runtime / 继承自: [Axis](#axis),[IUpdateRuntimeData](#iupdat
### SingleAxis.SetDefaultValue
-public override void SetDefaultValue()
+public override void SetDefaultValue()
### SingleAxis.UpdateRuntimeData
-public void UpdateRuntimeData(BaseChart chart)
+public void UpdateRuntimeData(BaseChart chart)
## SingleAxisCoord
@@ -8071,17 +8071,17 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent)
### StageColor.color
-public Color32 color
+public Color32 color
颜色。
### StageColor.percent
-public float percent
+public float percent
结束位置百分比。
### StageColor.StageColor
-public StageColor(float percent, Color32 color)
+public StageColor(float percent, Color32 color)
## StateStyle
@@ -8093,15 +8093,15 @@ Serie的状态样式。Serie的状态有正常,高亮,淡出,选中四种
### StateStyle.ClearComponentDirty
-public override void ClearComponentDirty()
+public override void ClearComponentDirty()
### StateStyle.ClearVerticesDirty
-public override void ClearVerticesDirty()
+public override void ClearVerticesDirty()
### StateStyle.Reset
-public void Reset()
+public void Reset()
## SubTitleTheme
@@ -8109,7 +8109,7 @@ class in XCharts.Runtime / 继承自: [ComponentTheme](#componenttheme)
### SubTitleTheme.SubTitleTheme
-public SubTitleTheme(ThemeType theme) : base(theme)
+public SubTitleTheme(ThemeType theme) : base(theme)
## SVG
@@ -8117,12 +8117,12 @@ class in XUGL
### SVG.DrawPath
-public static void DrawPath(VertexHelper vh, SVGPath path)
+public static void DrawPath(VertexHelper vh, SVGPath path)
### SVG.Test
-public static void Test(VertexHelper vh)
+public static void Test(VertexHelper vh)
## SVGPath
@@ -8130,15 +8130,15 @@ class in XUGL
### SVGPath.AddSegment
-public void AddSegment(SVGPathSeg seg)
+public void AddSegment(SVGPathSeg seg)
### SVGPath.Draw
-public void Draw(VertexHelper vh)
+public void Draw(VertexHelper vh)
### SVGPath.Parse
-public static SVGPath Parse(string path)
+public static SVGPath Parse(string path)
## SVGPathSeg
@@ -8146,27 +8146,27 @@ class in XUGL
### SVGPathSeg.p1
-public Vector2 p1
+public Vector2 p1
### SVGPathSeg.p2
-public Vector2 p2
+public Vector2 p2
### SVGPathSeg.p3
-public Vector2 p3
+public Vector2 p3
### SVGPathSeg.x
-public float x
+public float x
### SVGPathSeg.y
-public float y
+public float y
### SVGPathSeg.SVGPathSeg
-public SVGPathSeg(SVGPathSegType type)
+public SVGPathSeg(SVGPathSegType type)
## SVGPathSegType
@@ -8205,20 +8205,20 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent) / 子类
### SymbolStyle.animationSize
-public List<float> animationSize
+public List<float> animationSize
带有涟漪特效动画的散点图的动画参数。
### SymbolStyle.offset3
-public Vector3 offset3
+public Vector3 offset3
### SymbolStyle.GetColor
-public Color32 GetColor(Color32 defaultColor)
+public Color32 GetColor(Color32 defaultColor)
### SymbolStyle.Reset
-public virtual void Reset()
+public virtual void Reset()
## SymbolType
@@ -8251,19 +8251,19 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent)
### TextLimit.Clone
-public TextLimit Clone()
+public TextLimit Clone()
### TextLimit.Copy
-public void Copy(TextLimit textLimit)
+public void Copy(TextLimit textLimit)
### TextLimit.GetLimitContent
-public string GetLimitContent(string content)
+public string GetLimitContent(string content)
### TextLimit.SetRelatedText
-public void SetRelatedText(ChartText txt, float labelWidth)
+public void SetRelatedText(ChartText txt, float labelWidth)
## TextPadding
@@ -8273,12 +8273,12 @@ class in XCharts.Runtime / 继承自: [Padding](#padding)
### TextPadding.TextPadding()
-public TextPadding()
+public TextPadding()
文本的内边距设置。
### TextPadding.TextPadding
-public TextPadding(float top, float right, float bottom, float left)
+public TextPadding(float top, float right, float bottom, float left)
## TextStyle
@@ -8289,38 +8289,38 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent)
### TextStyle.TextStyle()
-public TextStyle()
+public TextStyle()
### TextStyle.Copy
-public void Copy(TextStyle textStyle)
+public void Copy(TextStyle textStyle)
### TextStyle.GetAlignment
-public TextAnchor GetAlignment(TextAnchor defaultAlignment)
+public TextAnchor GetAlignment(TextAnchor defaultAlignment)
### TextStyle.GetColor
-public Color GetColor(Color defaultColor)
+public Color GetColor(Color defaultColor)
### TextStyle.GetFontSize
-public int GetFontSize(ComponentTheme defaultTheme)
+public int GetFontSize(ComponentTheme defaultTheme)
### TextStyle.TextStyle
-public TextStyle(int fontSize)
+public TextStyle(int fontSize)
-public TextStyle(int fontSize, FontStyle fontStyle)
+public TextStyle(int fontSize, FontStyle fontStyle)
-public TextStyle(int fontSize, FontStyle fontStyle, Color color)
+public TextStyle(int fontSize, FontStyle fontStyle, Color color)
-public TextStyle(int fontSize, FontStyle fontStyle, Color color, int rorate)
+public TextStyle(int fontSize, FontStyle fontStyle, Color color, int rorate)
### TextStyle.UpdateAlignmentByLocation
-public void UpdateAlignmentByLocation(Location location)
+public void UpdateAlignmentByLocation(Location location)
## Theme
@@ -8330,105 +8330,105 @@ class in XCharts.Runtime / 继承自: [ScriptableObject](https://docs.unity3d.co
### Theme.axis
-public AxisTheme axis
+public AxisTheme axis
### Theme.colorPalette
-public List<Color32> colorPalette
+public List<Color32> colorPalette
调色盘颜色列表。如果系列没有设置颜色,则会依次循环从该列表中取颜色作为系列颜色。
### Theme.common
-public ComponentTheme common
+public ComponentTheme common
### Theme.dataZoom
-public DataZoomTheme dataZoom
+public DataZoomTheme dataZoom
### Theme.legend
-public LegendTheme legend
+public LegendTheme legend
### Theme.serie
-public SerieTheme serie
+public SerieTheme serie
### Theme.subTitle
-public SubTitleTheme subTitle
+public SubTitleTheme subTitle
### Theme.title
-public TitleTheme title
+public TitleTheme title
### Theme.tooltip
-public TooltipTheme tooltip
+public TooltipTheme tooltip
### Theme.visualMap
-public VisualMapTheme visualMap
+public VisualMapTheme visualMap
### Theme.CheckWarning
-public void CheckWarning(StringBuilder sb)
+public void CheckWarning(StringBuilder sb)
### Theme.CloneTheme
-public Theme CloneTheme()
+public Theme CloneTheme()
克隆主题。
### Theme.CopyTheme
-public void CopyTheme(Theme theme)
+public void CopyTheme(Theme theme)
复制主题的所有配置。
### Theme.GetColor
-public static Color32 GetColor(string hexColorStr)
+public static Color32 GetColor(string hexColorStr)
将字符串颜色值转成Color。
### Theme.GetColorStr
-public string GetColorStr(int index)
+public string GetColorStr(int index)
获得指定索引的十六进制颜色值字符串。
### Theme.GetHashCode
-public override int GetHashCode()
+public override int GetHashCode()
### Theme.ResetTheme
-public bool ResetTheme()
+public bool ResetTheme()
重置,清除所有自定义配置。
### Theme.ResetToDarkTheme
-public static void ResetToDarkTheme(Theme theme)
+public static void ResetToDarkTheme(Theme theme)
暗主题。
### Theme.ResetToDefaultTheme
-public static void ResetToDefaultTheme(Theme theme)
+public static void ResetToDefaultTheme(Theme theme)
默认主题。
### Theme.SetColorPalette
-public void SetColorPalette(List<string> hexColorStringList)
+public void SetColorPalette(List<string> hexColorStringList)
### Theme.SetDefaultFont
-public void SetDefaultFont()
+public void SetDefaultFont()
### Theme.SyncFontToSubComponent
-public void SyncFontToSubComponent()
+public void SyncFontToSubComponent()
### Theme.SyncTMPFontToSubComponent
-public void SyncTMPFontToSubComponent()
+public void SyncTMPFontToSubComponent()
## ThemeStyle
@@ -8438,70 +8438,70 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent)
### ThemeStyle.axis
-public AxisTheme axis
+public AxisTheme axis
### ThemeStyle.common
-public ComponentTheme common
+public ComponentTheme common
### ThemeStyle.customColorPalette
-public List<Color32> customColorPalette
+public List<Color32> customColorPalette
### ThemeStyle.dataZoom
-public DataZoomTheme dataZoom
+public DataZoomTheme dataZoom
### ThemeStyle.legend
-public LegendTheme legend
+public LegendTheme legend
### ThemeStyle.serie
-public SerieTheme serie
+public SerieTheme serie
### ThemeStyle.show
-public bool show
+public bool show
### ThemeStyle.subTitle
-public SubTitleTheme subTitle
+public SubTitleTheme subTitle
### ThemeStyle.title
-public TitleTheme title
+public TitleTheme title
### ThemeStyle.tooltip
-public TooltipTheme tooltip
+public TooltipTheme tooltip
### ThemeStyle.visualMap
-public VisualMapTheme visualMap
+public VisualMapTheme visualMap
### ThemeStyle.CheckWarning
-public void CheckWarning(StringBuilder sb)
+public void CheckWarning(StringBuilder sb)
### ThemeStyle.GetBackgroundColor
-public Color32 GetBackgroundColor(Background background)
+public Color32 GetBackgroundColor(Background background)
### ThemeStyle.GetColor
-public static Color32 GetColor(string hexColorStr)
+public static Color32 GetColor(string hexColorStr)
将字符串颜色值转成Color。
### ThemeStyle.GetColorStr
-public string GetColorStr(int index)
+public string GetColorStr(int index)
获得指定索引的十六进制颜色值字符串。
### ThemeStyle.SyncSharedThemeColorToCustom
-public void SyncSharedThemeColorToCustom()
+public void SyncSharedThemeColorToCustom()
## ThemeType
@@ -8524,25 +8524,25 @@ class in XCharts.Runtime / 继承自: [MainComponent](#maincomponent),[IProperty
### Title.show
-public bool show
+public bool show
是否显示标题组件。
### Title.text
-public string text
+public string text
主标题文本,支持使用 \n 换行。
### Title.vertsDirty
-public override bool vertsDirty
+public override bool vertsDirty
### Title.ClearComponentDirty
-public override void ClearComponentDirty()
+public override void ClearComponentDirty()
### Title.OnChanged
-public void OnChanged()
+public void OnChanged()
## TitleStyle
@@ -8556,7 +8556,7 @@ class in XCharts.Runtime / 继承自: [ComponentTheme](#componenttheme)
### TitleTheme.TitleTheme
-public TitleTheme(ThemeType theme) : base(theme)
+public TitleTheme(ThemeType theme) : base(theme)
## Tooltip
@@ -8566,160 +8566,160 @@ class in XCharts.Runtime / 继承自: [MainComponent](#maincomponent)
### Tooltip.alwayShowContent
-public bool alwayShowContent
+public bool alwayShowContent
是否触发后一直显示提示框浮层。
### Tooltip.backgroundColor
-public Color backgroundColor
+public Color backgroundColor
提示框的背景颜色。
### Tooltip.backgroundImage
-public Sprite backgroundImage
+public Sprite backgroundImage
提示框的背景图片。
### Tooltip.backgroundType
-public Image.Type backgroundType
+public Image.Type backgroundType
提示框的背景图片显示类型。
### Tooltip.fixedHeight
-public float fixedHeight
+public float fixedHeight
固定高度。比 minHeight 优先。
### Tooltip.fixedWidth
-public float fixedWidth
+public float fixedWidth
固定宽度。比 minWidth 优先。
### Tooltip.ignoreDataDefaultContent
-public string ignoreDataDefaultContent
+public string ignoreDataDefaultContent
被忽略数据的默认显示字符信息。如果设置为空,则表示完全不显示忽略数据。
### Tooltip.ignoreDataShow
-public bool ignoreDataShow
+public bool ignoreDataShow
是否显示忽略数据在tooltip上。
### Tooltip.itemFormatter
-public string itemFormatter
+public string itemFormatter
提示框单个serie或数据项内容的字符串模版格式器。支持用 \n 换行。用|来表示多个列的分隔。 模板变量有{.}、{a}、{b}、{c}、{d}、{e}、{f}、{g}。
{i}或-表示忽略当前项。 {.}为当前所指示的serie或数据项的对应颜色的圆点。
{a}为当前所指示的serie或数据项的系列名name。
{b}为当前所指示的serie或数据项的数据项serieData的name,或者类目值(如折线图的X轴)。
{c}为当前所指示的serie或数据项的y维(dimesion为1)的数值。
{d}为当前所指示的serie或数据项的y维(dimesion为1)百分比值,注意不带%号。
{e}为当前所指示的serie或数据项的数据项serieData的name。
{f}为当前所指示的serie的默认维度的数据总和。
{g}为当前所指示的serie的数据总个数。
{h}为当前所指示的serie的十六进制颜色值。
{y}为当前所指示的serie的y轴的类目值。
{c0}表示当前数据项维度为0的数据。
{c1}表示当前数据项维度为1的数据。
{d3}表示维度3的数据的百分比。它的分母是默认维度(一般是1维度)数据。
|表示多个列的分隔。
示例:"{i}", "{.}|{a}|{c}", "{.}|{b}|{c2:f2}", "{.}|{b}|{y}"
### Tooltip.marker
-public string marker
+public string marker
serie的符号标志。
### Tooltip.minHeight
-public float minHeight
+public float minHeight
最小高度。如若 fixedHeight 设有值,优先取 fixedHeight。
### Tooltip.minWidth
-public float minWidth
+public float minWidth
最小宽度。如若 fixedWidth 设有值,优先取 fixedWidth。
### Tooltip.offset
-public Vector2 offset
+public Vector2 offset
提示框相对于鼠标位置的偏移。
### Tooltip.onClickIndex
-public System.Action<int> onClickIndex
+public System.Action<int> onClickIndex
Tooltip为Click触发时,点击的X轴索引的回调。
### Tooltip.paddingLeftRight
-public int paddingLeftRight
+public int paddingLeftRight
左右边距。
### Tooltip.paddingTopBottom
-public int paddingTopBottom
+public int paddingTopBottom
上下边距。
### Tooltip.runtimeDataIndex
-public List<int> runtimeDataIndex
+public List<int> runtimeDataIndex
当前提示框所指示的数据项索引。
### Tooltip.showContent
-public bool showContent
+public bool showContent
是否显示提示框浮层,默认显示。只需tooltip触发事件或显示axisPointer而不需要显示内容时可配置该项为false。
### Tooltip.titleFormatter
-public string titleFormatter
+public string titleFormatter
提示框标题内容的字符串模版格式器。支持用 \n 换行。可以单独设置占位符{i}表示忽略不显示title。 模板变量有{.}、{a}、{b}、{c}、{d}、{e}、{f}、{g}。
{.}为当前所指示或index为0的serie的对应颜色的圆点。
{a}为当前所指示或index为0的serie的系列名name。
{b}为当前所指示或index为0的serie的数据项serieData的name,或者类目值(如折线图的X轴)。
{c}为当前所指示或index为0的serie的y维(dimesion为1)的数值。
{d}为当前所指示或index为0的serie的y维(dimesion为1)百分比值,注意不带%号。
{e}为当前所指示或index为0的serie的数据项serieData的name。
{h}为当前所指示或index为0的serie的数据项serieData的十六进制颜色值。
{f}为数据总和。
{g}为数据总个数。
{y}为value所对应的y轴的类目值。
{.1}表示指定index为1的serie对应颜色的圆点。
{a1}、{b1}、{c1}中的1表示指定index为1的serie。
{c1:2}表示索引为1的serie的当前指示数据项的第3个数据(一个数据项有多个数据,index为2表示第3个数据)。
{c1:2-2}表示索引为1的serie的第3个数据项的第3个数据(也就是要指定第几个数据项时必须要指定第几个数据)。
{d1:2:f2}表示单独指定了数值的格式化字符串为f2(不指定时用numericFormatter)。
{d:0.##} 表示单独指定了数值的格式化字符串为 0.## (用于百分比,保留2位有效数同时又能避免使用 f2 而出现的类似于"100.00%"的情况 )。
示例:"{a}:{c}"、"{a1}:{c1:f1}"、"{a1}:{c1:0:f1}"、"{a1}:{c1:1-1:f1}"
### Tooltip.AddSerieDataIndex
-public void AddSerieDataIndex(int serieIndex, int dataIndex)
+public void AddSerieDataIndex(int serieIndex, int dataIndex)
### Tooltip.ClearComponentDirty
-public override void ClearComponentDirty()
+public override void ClearComponentDirty()
### Tooltip.ClearData
-public override void ClearData()
+public override void ClearData()
### Tooltip.ClearSerieDataIndex
-public void ClearSerieDataIndex()
+public void ClearSerieDataIndex()
### Tooltip.GetContentLabelStyle
-public LabelStyle GetContentLabelStyle(int index)
+public LabelStyle GetContentLabelStyle(int index)
### Tooltip.IsActive
-public bool IsActive()
+public bool IsActive()
提示框是否显示
### Tooltip.isAnySerieDataIndex
-public bool isAnySerieDataIndex()
+public bool isAnySerieDataIndex()
### Tooltip.IsSelected
-public bool IsSelected(int index)
+public bool IsSelected(int index)
指定索引的数据项是否被提示框选中
### Tooltip.IsTriggerAxis
-public bool IsTriggerAxis()
+public bool IsTriggerAxis()
### Tooltip.IsTriggerItem
-public bool IsTriggerItem()
+public bool IsTriggerItem()
### Tooltip.KeepTop
-public void KeepTop()
+public void KeepTop()
保持Tooltiop显示在最顶上
### Tooltip.SetActive
-public void SetActive(bool flag)
+public void SetActive(bool flag)
设置Tooltip组件是否显示
### Tooltip.SetContentActive
-public void SetContentActive(bool flag)
+public void SetContentActive(bool flag)
设置文本框是否显示
### Tooltip.UpdateContentPos
-public void UpdateContentPos(Vector2 pos, float width, float height)
+public void UpdateContentPos(Vector2 pos, float width, float height)
更新文本框位置
## Tooltip.Position
@@ -8787,19 +8787,19 @@ class in XCharts.Runtime
### TooltipHelper.GetItemNumericFormatter
-public static string GetItemNumericFormatter(Tooltip tooltip, Serie serie, SerieData serieData)
+public static string GetItemNumericFormatter(Tooltip tooltip, Serie serie, SerieData serieData)
### TooltipHelper.GetLineColor
-public static Color32 GetLineColor(Tooltip tooltip, Color32 defaultColor)
+public static Color32 GetLineColor(Tooltip tooltip, Color32 defaultColor)
### TooltipHelper.IsIgnoreFormatter
-public static bool IsIgnoreFormatter(string itemFormatter)
+public static bool IsIgnoreFormatter(string itemFormatter)
### TooltipHelper.LimitInRect
-public static void LimitInRect(Tooltip tooltip, Rect chartRect)
+public static void LimitInRect(Tooltip tooltip, Rect chartRect)
## TooltipTheme
@@ -8807,11 +8807,11 @@ class in XCharts.Runtime / 继承自: [ComponentTheme](#componenttheme)
### TooltipTheme.Copy
-public void Copy(TooltipTheme theme)
+public void Copy(TooltipTheme theme)
### TooltipTheme.TooltipTheme
-public TooltipTheme(ThemeType theme) : base(theme)
+public TooltipTheme(ThemeType theme) : base(theme)
## TooltipView
@@ -8819,31 +8819,31 @@ class in XCharts.Runtime
### TooltipView.CreateView
-public static TooltipView CreateView(Tooltip tooltip, ThemeStyle theme, Transform parent)
+public static TooltipView CreateView(Tooltip tooltip, ThemeStyle theme, Transform parent)
### TooltipView.GetCurrentPos
-public Vector3 GetCurrentPos()
+public Vector3 GetCurrentPos()
### TooltipView.GetTargetPos
-public Vector3 GetTargetPos()
+public Vector3 GetTargetPos()
### TooltipView.Refresh
-public void Refresh()
+public void Refresh()
### TooltipView.SetActive
-public void SetActive(bool flag)
+public void SetActive(bool flag)
### TooltipView.Update
-public void Update()
+public void Update()
### TooltipView.UpdatePosition
-public void UpdatePosition(Vector3 pos)
+public void UpdatePosition(Vector3 pos)
## TooltipViewItem
@@ -8857,72 +8857,72 @@ UGUI 图形库
### UGL.DrawDiamond
-public static void DrawDiamond(VertexHelper vh, Vector3 center, float size, Color32 color, Color32 toColor)
+public static void DrawDiamond(VertexHelper vh, Vector3 center, float size, Color32 color, Color32 toColor)
Draw a diamond. 画菱形(钻石形状)
-public static void DrawDiamond(VertexHelper vh, Vector3 center, float xRadius, float yRadius, Color32 color, Color32 toColor)
+public static void DrawDiamond(VertexHelper vh, Vector3 center, float xRadius, float yRadius, Color32 color, Color32 toColor)
### UGL.DrawEllipse
-public static void DrawEllipse(VertexHelper vh, Vector3 center, float w, float h, Color32 color, float smoothness = 1)
+public static void DrawEllipse(VertexHelper vh, Vector3 center, float w, float h, Color32 color, float smoothness = 1)
### UGL.DrawEmptyDiamond
-public static void DrawEmptyDiamond(VertexHelper vh, Vector3 center, float xRadius, float yRadius, float tickness, Color32 color, Color32 emptyColor)
+public static void DrawEmptyDiamond(VertexHelper vh, Vector3 center, float xRadius, float yRadius, float tickness, Color32 color, Color32 emptyColor)
### UGL.DrawEmptyTriangle
-public static void DrawEmptyTriangle(VertexHelper vh, Vector3 pos, float size, float tickness, Color32 color, Color32 backgroundColor)
+public static void DrawEmptyTriangle(VertexHelper vh, Vector3 pos, float size, float tickness, Color32 color, Color32 backgroundColor)
### UGL.DrawLine
-public static void DrawLine(VertexHelper vh, List<Vector3> points, float width, Color32 color, bool smooth, bool closepath = false)
+public static void DrawLine(VertexHelper vh, List<Vector3> points, float width, Color32 color, bool smooth, bool closepath = false)
-public static void DrawLine(VertexHelper vh, Vector3 startPoint, Vector3 endPoint, float width, Color32 color, Color32 toColor)
+public static void DrawLine(VertexHelper vh, Vector3 startPoint, Vector3 endPoint, float width, Color32 color, Color32 toColor)
Draw a line. 画直线
### UGL.DrawMinus
-public static void DrawMinus(VertexHelper vh, Vector3 center, float radius, float tickness, Color32 color)
+public static void DrawMinus(VertexHelper vh, Vector3 center, float radius, float tickness, Color32 color)
绘制减号
### UGL.DrawPlus
-public static void DrawPlus(VertexHelper vh, Vector3 center, float radius, float tickness, Color32 color)
+public static void DrawPlus(VertexHelper vh, Vector3 center, float radius, float tickness, Color32 color)
绘制加号
### UGL.DrawPolygon
-public static void DrawPolygon(VertexHelper vh, List<Vector3> points, Color32 color)
+public static void DrawPolygon(VertexHelper vh, List<Vector3> points, Color32 color)
填充任意多边形(目前只支持凸多边形)
### UGL.DrawRectangle
-public static void DrawRectangle(VertexHelper vh, Rect rect, Color32 color)
+public static void DrawRectangle(VertexHelper vh, Rect rect, Color32 color)
-public static void DrawRectangle(VertexHelper vh, Rect rect, Color32 color, Color32 toColor)
+public static void DrawRectangle(VertexHelper vh, Rect rect, Color32 color, Color32 toColor)
-public static void DrawRectangle(VertexHelper vh, Rect rect, float border, Color32 color)
+public static void DrawRectangle(VertexHelper vh, Rect rect, float border, Color32 color)
-public static void DrawRectangle(VertexHelper vh, Rect rect, float border, Color32 color, Color32 toColor)
+public static void DrawRectangle(VertexHelper vh, Rect rect, float border, Color32 color, Color32 toColor)
### UGL.DrawSquare
-public static void DrawSquare(VertexHelper vh, Vector3 center, float radius, Color32 color)
+public static void DrawSquare(VertexHelper vh, Vector3 center, float radius, Color32 color)
Draw a square. 画正方形
### UGL.DrawSvgPath
-public static void DrawSvgPath(VertexHelper vh, string path)
+public static void DrawSvgPath(VertexHelper vh, string path)
### UGL.DrawTriangle
-public static void DrawTriangle(VertexHelper vh, Vector3 pos, float size, Color32 color, Color32 toColor)
+public static void DrawTriangle(VertexHelper vh, Vector3 pos, float size, Color32 color, Color32 toColor)
## UGL.Direction
@@ -8947,84 +8947,84 @@ class in XUGL
### UGLHelper.GetAngle360
-public static float GetAngle360(Vector2 from, Vector2 to)
+public static float GetAngle360(Vector2 from, Vector2 to)
获得0-360的角度(12点钟方向为0度)
### UGLHelper.GetBezier
-public static Vector3 GetBezier(float t, Vector3 sp, Vector3 cp, Vector3 ep)
+public static Vector3 GetBezier(float t, Vector3 sp, Vector3 cp, Vector3 ep)
### UGLHelper.GetBezier2
-public static Vector3 GetBezier2(float t, Vector3 sp, Vector3 p1, Vector3 p2, Vector3 ep)
+public static Vector3 GetBezier2(float t, Vector3 sp, Vector3 p1, Vector3 p2, Vector3 ep)
### UGLHelper.GetBezierList
-public static List<Vector3> GetBezierList(Vector3 sp, Vector3 ep, int segment, Vector3 cp)
+public static List<Vector3> GetBezierList(Vector3 sp, Vector3 ep, int segment, Vector3 cp)
### UGLHelper.GetDire
-public static Vector3 GetDire(float angle, bool isDegree = false)
+public static Vector3 GetDire(float angle, bool isDegree = false)
### UGLHelper.GetIntersection
-public static bool GetIntersection(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 p4, ref List<Vector3> intersection)
+public static bool GetIntersection(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 p4, ref List<Vector3> intersection)
获得两直线的交点
### UGLHelper.GetPos
-public static Vector3 GetPos(Vector3 center, float radius, float angle, bool isDegree = false)
+public static Vector3 GetPos(Vector3 center, float radius, float angle, bool isDegree = false)
### UGLHelper.GetVertialDire
-public static Vector3 GetVertialDire(Vector3 dire)
+public static Vector3 GetVertialDire(Vector3 dire)
### UGLHelper.IsClearColor
-public static bool IsClearColor(Color color)
+public static bool IsClearColor(Color color)
### UGLHelper.IsPointInPolygon
-public static bool IsPointInPolygon(Vector3 p, List<Vector2> polyons)
+public static bool IsPointInPolygon(Vector3 p, List<Vector2> polyons)
-public static bool IsPointInPolygon(Vector3 p, params Vector3[] polyons)
+public static bool IsPointInPolygon(Vector3 p, params Vector3[] polyons)
### UGLHelper.IsPointInTriangle
-public static bool IsPointInTriangle(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 check)
+public static bool IsPointInTriangle(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 check)
### UGLHelper.IsValueEqualsColor
-public static bool IsValueEqualsColor(Color color1, Color color2)
+public static bool IsValueEqualsColor(Color color1, Color color2)
### UGLHelper.IsValueEqualsList<T>
-public static bool IsValueEqualsList<T>(List<T> list1, List<T> list2)
+public static bool IsValueEqualsList<T>(List<T> list1, List<T> list2)
### UGLHelper.IsValueEqualsString
-public static bool IsValueEqualsString(string str1, string str2)
+public static bool IsValueEqualsString(string str1, string str2)
### UGLHelper.IsValueEqualsVector2
-public static bool IsValueEqualsVector2(Vector2 v1, Vector2 v2)
+public static bool IsValueEqualsVector2(Vector2 v1, Vector2 v2)
### UGLHelper.IsValueEqualsVector3
-public static bool IsValueEqualsVector3(Vector3 v1, Vector2 v2)
+public static bool IsValueEqualsVector3(Vector3 v1, Vector2 v2)
### UGLHelper.IsZeroVector
-public static bool IsZeroVector(Vector3 pos)
+public static bool IsZeroVector(Vector3 pos)
### UGLHelper.RotateRound
-public static Vector3 RotateRound(Vector3 position, Vector3 center, Vector3 axis, float angle)
+public static Vector3 RotateRound(Vector3 position, Vector3 center, Vector3 axis, float angle)
## UIComponent
@@ -9034,35 +9034,35 @@ UI组件基类。
### UIComponent.background
-public Background background
+public Background background
背景样式。
### UIComponent.chartHideFlags
-public override HideFlags chartHideFlags
+public override HideFlags chartHideFlags
### UIComponent.theme
-public UIComponentTheme theme
+public UIComponentTheme theme
### UIComponent.SetAllDirty
-public override void SetAllDirty()
+public override void SetAllDirty()
### UIComponent.SetDataDirty
-public void SetDataDirty()
+public void SetDataDirty()
> 从 `v3.9.0` 开始支持
### UIComponent.SetVerticesDirty
-public override void SetVerticesDirty()
+public override void SetVerticesDirty()
### UIComponent.UpdateTheme
-public bool UpdateTheme(ThemeType theme)
+public bool UpdateTheme(ThemeType theme)
切换内置主题。
## UIComponentTheme
@@ -9071,11 +9071,11 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent)
### UIComponentTheme.show
-public bool show
+public bool show
### UIComponentTheme.GetBackgroundColor
-public Color32 GetBackgroundColor(Background background)
+public Color32 GetBackgroundColor(Background background)
## UIHelper
@@ -9099,80 +9099,80 @@ class in XCharts.Runtime / 继承自: [MainComponent](#maincomponent)
### VisualMap.range
-public double[] range
+public double[] range
指定手柄对应数值的位置。range 应在[min,max]范围内。
### VisualMap.runtimeRangeMaxHeight
-public float runtimeRangeMaxHeight
+public float runtimeRangeMaxHeight
### VisualMap.runtimeRangeMinHeight
-public float runtimeRangeMinHeight
+public float runtimeRangeMinHeight
### VisualMap.text
-public string[] text
+public string[] text
两端的文本,如 ['High', 'Low']。
### VisualMap.textGap
-public float[] textGap
+public float[] textGap
两端文字主体之间的距离,单位为px。
### VisualMap.vertsDirty
-public override bool vertsDirty
+public override bool vertsDirty
### VisualMap.AddColors
-public void AddColors(List<string> colors)
+public void AddColors(List<string> colors)
### VisualMap.ClearComponentDirty
-public override void ClearComponentDirty()
+public override void ClearComponentDirty()
### VisualMap.ClearVerticesDirty
-public override void ClearVerticesDirty()
+public override void ClearVerticesDirty()
### VisualMap.GetColor
-public Color32 GetColor(double value)
+public Color32 GetColor(double value)
### VisualMap.GetIndex
-public int GetIndex(double value)
+public int GetIndex(double value)
### VisualMap.GetValue
-public double GetValue(Vector3 pos, Rect chartRect)
+public double GetValue(Vector3 pos, Rect chartRect)
### VisualMap.IsInRangeMaxRect
-public bool IsInRangeMaxRect(Vector3 local, Rect chartRect, float triangleLen)
+public bool IsInRangeMaxRect(Vector3 local, Rect chartRect, float triangleLen)
### VisualMap.IsInRangeMinRect
-public bool IsInRangeMinRect(Vector3 local, Rect chartRect, float triangleLen)
+public bool IsInRangeMinRect(Vector3 local, Rect chartRect, float triangleLen)
### VisualMap.IsInRangeRect
-public bool IsInRangeRect(Vector3 local, Rect chartRect)
+public bool IsInRangeRect(Vector3 local, Rect chartRect)
### VisualMap.IsInRect
-public bool IsInRect(Vector3 local, Rect chartRect, float triangleLen = 20)
+public bool IsInRect(Vector3 local, Rect chartRect, float triangleLen = 20)
### VisualMap.IsInSelectedValue
-public bool IsInSelectedValue(double value)
+public bool IsInSelectedValue(double value)
### VisualMap.IsPiecewise
-public bool IsPiecewise()
+public bool IsPiecewise()
## VisualMap.SelectedMode
@@ -9202,28 +9202,28 @@ class in XCharts.Runtime / 继承自: [MainComponentContext](#maincomponentconte
### VisualMapContext.max
-public double max
+public double max
### VisualMapContext.maxDrag
-public bool maxDrag
+public bool maxDrag
### VisualMapContext.min
-public double min
+public double min
### VisualMapContext.minDrag
-public bool minDrag
+public bool minDrag
### VisualMapContext.pointerIndex
-public int pointerIndex
+public int pointerIndex
鼠标悬停选中的index
### VisualMapContext.pointerValue
-public double pointerValue
+public double pointerValue
## VisualMapHelper
@@ -9231,27 +9231,27 @@ class in XCharts.Runtime
### VisualMapHelper.AutoSetLineMinMax
-public static void AutoSetLineMinMax(VisualMap visualMap, Serie serie, bool isY, Axis axis, Axis relativedAxis)
+public static void AutoSetLineMinMax(VisualMap visualMap, Serie serie, bool isY, Axis axis, Axis relativedAxis)
### VisualMapHelper.GetDimension
-public static int GetDimension(VisualMap visualMap, int defaultDimension)
+public static int GetDimension(VisualMap visualMap, int defaultDimension)
### VisualMapHelper.IsNeedAreaGradient
-public static bool IsNeedAreaGradient(VisualMap visualMap)
+public static bool IsNeedAreaGradient(VisualMap visualMap)
### VisualMapHelper.IsNeedGradient
-public static bool IsNeedGradient(VisualMap visualMap)
+public static bool IsNeedGradient(VisualMap visualMap)
### VisualMapHelper.IsNeedLineGradient
-public static bool IsNeedLineGradient(VisualMap visualMap)
+public static bool IsNeedLineGradient(VisualMap visualMap)
### VisualMapHelper.SetMinMax
-public static void SetMinMax(VisualMap visualMap, double min, double max)
+public static void SetMinMax(VisualMap visualMap, double min, double max)
## VisualMapRange
@@ -9259,27 +9259,27 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent)
### VisualMapRange.color
-public Color32 color
+public Color32 color
颜色
### VisualMapRange.label
-public string label
+public string label
文字描述
### VisualMapRange.max
-public double max
+public double max
范围最大值
### VisualMapRange.min
-public double min
+public double min
范围最小值
### VisualMapRange.Contains
-public bool Contains(double value, double minMaxRange)
+public bool Contains(double value, double minMaxRange)
## VisualMapTheme
@@ -9287,11 +9287,11 @@ class in XCharts.Runtime / 继承自: [ComponentTheme](#componenttheme)
### VisualMapTheme.Copy
-public void Copy(VisualMapTheme theme)
+public void Copy(VisualMapTheme theme)
### VisualMapTheme.VisualMapTheme
-public VisualMapTheme(ThemeType theme) : base(theme)
+public VisualMapTheme(ThemeType theme) : base(theme)
## Wrapper<T>
@@ -9305,7 +9305,7 @@ class in XCharts.Runtime / 继承自: [Axis](#axis)
### XAxis.SetDefaultValue
-public override void SetDefaultValue()
+public override void SetDefaultValue()
直角坐标系 grid 中的 x 轴。
## XAxis3D
@@ -9318,7 +9318,7 @@ class in XCharts.Runtime / 继承自: [Axis](#axis)
### XAxis3D.SetDefaultValue
-public override void SetDefaultValue()
+public override void SetDefaultValue()
直角坐标系 grid 中的 x 轴。
## XChartsMgr
@@ -9327,44 +9327,44 @@ class in XCharts.Runtime
### XChartsMgr.fullVersion
-public static string fullVersion
+public static string fullVersion
### XChartsMgr.AddChart
-public static void AddChart(BaseChart chart)
+public static void AddChart(BaseChart chart)
### XChartsMgr.ContainsChart
-public static bool ContainsChart(BaseChart chart)
+public static bool ContainsChart(BaseChart chart)
### XChartsMgr.GetChart
-public static BaseChart GetChart(string chartName)
+public static BaseChart GetChart(string chartName)
### XChartsMgr.GetCharts
-public static List<BaseChart> GetCharts(string chartName)
+public static List<BaseChart> GetCharts(string chartName)
### XChartsMgr.GetPackageFullPath
-public static string GetPackageFullPath()
+public static string GetPackageFullPath()
### XChartsMgr.GetRepeatChartNameInfo
-public static string GetRepeatChartNameInfo(BaseChart chart, string chartName)
+public static string GetRepeatChartNameInfo(BaseChart chart, string chartName)
### XChartsMgr.IsRepeatChartName
-public static bool IsRepeatChartName(BaseChart chart, string chartName = null)
+public static bool IsRepeatChartName(BaseChart chart, string chartName = null)
### XChartsMgr.RemoveAllChartObject
-public static void RemoveAllChartObject()
+public static void RemoveAllChartObject()
### XChartsMgr.RemoveChart
-public static void RemoveChart(string chartName)
+public static void RemoveChart(string chartName)
## XCResourceImporterWindow
@@ -9372,7 +9372,7 @@ class in XCharts.Runtime / 继承自: [UnityEditor.EditorWindow](https://docs.un
### XCResourceImporterWindow.ShowPackageImporterWindow
-public static void ShowPackageImporterWindow()
+public static void ShowPackageImporterWindow()
## XCResourcesImporter
@@ -9380,23 +9380,23 @@ class in XCharts.Runtime
### XCResourcesImporter.OnDestroy()
-public void OnDestroy()
+public void OnDestroy()
### XCResourcesImporter.XCResourcesImporter()
-public XCResourcesImporter()
+public XCResourcesImporter()
### XCResourcesImporter.OnDestroy
-public void OnDestroy() { }
+public void OnDestroy() { }
### XCResourcesImporter.OnGUI
-public void OnGUI()
+public void OnGUI()
### XCResourcesImporter.XCResourcesImporter
-public XCResourcesImporter() { }
+public XCResourcesImporter() { }
## XCSettings
@@ -9404,156 +9404,156 @@ class in XCharts.Runtime / 继承自: [ScriptableObject](https://docs.unity3d.co
### XCSettings.axisLineType
-public static LineStyle.Type axisLineType
+public static LineStyle.Type axisLineType
### XCSettings.axisLineWidth
-public static float axisLineWidth
+public static float axisLineWidth
### XCSettings.axisSplitLineType
-public static LineStyle.Type axisSplitLineType
+public static LineStyle.Type axisSplitLineType
### XCSettings.axisSplitLineWidth
-public static float axisSplitLineWidth
+public static float axisSplitLineWidth
### XCSettings.axisTickLength
-public static float axisTickLength
+public static float axisTickLength
### XCSettings.axisTickWidth
-public static float axisTickWidth
+public static float axisTickWidth
### XCSettings.cicleSmoothness
-public static float cicleSmoothness
+public static float cicleSmoothness
### XCSettings.customThemes
-public static List<Theme> customThemes
+public static List<Theme> customThemes
### XCSettings.dataZoomBorderWidth
-public static float dataZoomBorderWidth
+public static float dataZoomBorderWidth
### XCSettings.dataZoomDataLineWidth
-public static float dataZoomDataLineWidth
+public static float dataZoomDataLineWidth
### XCSettings.editorShowAllListData
-public static bool editorShowAllListData
+public static bool editorShowAllListData
### XCSettings.font
-public static Font font
+public static Font font
### XCSettings.fontSizeLv1
-public static int fontSizeLv1
+public static int fontSizeLv1
一级字体大小。
### XCSettings.fontSizeLv2
-public static int fontSizeLv2
+public static int fontSizeLv2
### XCSettings.fontSizeLv3
-public static int fontSizeLv3
+public static int fontSizeLv3
### XCSettings.fontSizeLv4
-public static int fontSizeLv4
+public static int fontSizeLv4
### XCSettings.gaugeAxisLineWidth
-public static float gaugeAxisLineWidth
+public static float gaugeAxisLineWidth
### XCSettings.gaugeAxisSplitLineLength
-public static float gaugeAxisSplitLineLength
+public static float gaugeAxisSplitLineLength
### XCSettings.gaugeAxisSplitLineWidth
-public static float gaugeAxisSplitLineWidth
+public static float gaugeAxisSplitLineWidth
### XCSettings.gaugeAxisTickLength
-public static float gaugeAxisTickLength
+public static float gaugeAxisTickLength
### XCSettings.gaugeAxisTickWidth
-public static float gaugeAxisTickWidth
+public static float gaugeAxisTickWidth
### XCSettings.lang
-public static Lang lang
+public static Lang lang
### XCSettings.lineSegmentDistance
-public static float lineSegmentDistance
+public static float lineSegmentDistance
### XCSettings.lineSmoothness
-public static float lineSmoothness
+public static float lineSmoothness
### XCSettings.lineSmoothStyle
-public static float lineSmoothStyle
+public static float lineSmoothStyle
### XCSettings.maxPainter
-public static int maxPainter
+public static int maxPainter
### XCSettings.serieCandlestickBorderWidth
-public static float serieCandlestickBorderWidth
+public static float serieCandlestickBorderWidth
### XCSettings.serieLineSymbolSize
-public static float serieLineSymbolSize
+public static float serieLineSymbolSize
### XCSettings.serieLineWidth
-public static float serieLineWidth
+public static float serieLineWidth
### XCSettings.serieScatterSymbolSize
-public static float serieScatterSymbolSize
+public static float serieScatterSymbolSize
### XCSettings.serieSelectedRate
-public static float serieSelectedRate
+public static float serieSelectedRate
### XCSettings.tmpFont
-public static TMP_FontAsset tmpFont
+public static TMP_FontAsset tmpFont
### XCSettings.tootipLineWidth
-public static float tootipLineWidth
+public static float tootipLineWidth
### XCSettings.visualMapBorderWidth
-public static float visualMapBorderWidth
+public static float visualMapBorderWidth
### XCSettings.visualMapTriangeLen
-public static float visualMapTriangeLen
+public static float visualMapTriangeLen
### XCSettings.AddCustomTheme
-public static bool AddCustomTheme(Theme theme)
+public static bool AddCustomTheme(Theme theme)
### XCSettings.ExistAssetFile
-public static bool ExistAssetFile()
+public static bool ExistAssetFile()
### XCSettings.GetSettingAssetPath
-public static string GetSettingAssetPath()
+public static string GetSettingAssetPath()
## XCThemeMgr
@@ -9561,51 +9561,51 @@ class in XCharts.Runtime
### XCThemeMgr.AddTheme
-public static void AddTheme(Theme theme)
+public static void AddTheme(Theme theme)
### XCThemeMgr.CheckReloadTheme
-public static void CheckReloadTheme()
+public static void CheckReloadTheme()
### XCThemeMgr.ContainsTheme
-public static bool ContainsTheme(string themeName)
+public static bool ContainsTheme(string themeName)
### XCThemeMgr.ExportTheme
-public static bool ExportTheme(Theme theme)
+public static bool ExportTheme(Theme theme)
### XCThemeMgr.GetAllThemeNames
-public static List<string> GetAllThemeNames()
+public static List<string> GetAllThemeNames()
### XCThemeMgr.GetTheme
-public static Theme GetTheme(string themeName)
+public static Theme GetTheme(string themeName)
### XCThemeMgr.GetThemeAssetPath
-public static string GetThemeAssetPath(string themeName)
+public static string GetThemeAssetPath(string themeName)
### XCThemeMgr.GetThemeList
-public static List<Theme> GetThemeList()
+public static List<Theme> GetThemeList()
### XCThemeMgr.LoadTheme
-public static Theme LoadTheme(string themeName)
+public static Theme LoadTheme(string themeName)
### XCThemeMgr.ReloadThemeList
-public static void ReloadThemeList()
+public static void ReloadThemeList()
重新加载主题列表
### XCThemeMgr.SwitchTheme
-public static void SwitchTheme(BaseChart chart, string themeName)
+public static void SwitchTheme(BaseChart chart, string themeName)
## XLog
@@ -9615,63 +9615,63 @@ class in XCharts.Runtime / 继承自: [MonoBehaviour](#monobehaviour)
### XLog.CanLog
-public static bool CanLog(int level)
+public static bool CanLog(int level)
### XLog.ClearAllLog
-public static void ClearAllLog()
+public static void ClearAllLog()
### XLog.Debug
-public static void Debug(string log)
+public static void Debug(string log)
### XLog.EnableLog
-public static void EnableLog(int logType)
+public static void EnableLog(int logType)
### XLog.Error
-public static void Error(string log)
+public static void Error(string log)
### XLog.FlushLog
-public static void FlushLog()
+public static void FlushLog()
### XLog.GetNowTime
-public static string GetNowTime(string formatter = null)
+public static string GetNowTime(string formatter = null)
### XLog.GetTimestamp
-public static ulong GetTimestamp()
+public static ulong GetTimestamp()
### XLog.Info
-public static void Info(string log)
+public static void Info(string log)
### XLog.Log
-public static void Log(string log)
+public static void Log(string log)
### XLog.LogError
-public static void LogError(string log)
+public static void LogError(string log)
### XLog.LogWarning
-public static void LogWarning(string log)
+public static void LogWarning(string log)
### XLog.Proto
-public static void Proto(string log)
+public static void Proto(string log)
### XLog.Vital
-public static void Vital(string log)
+public static void Vital(string log)
### XLog.Warning
-public static void Warning(string log)
+public static void Warning(string log)
## YAxis
@@ -9681,7 +9681,7 @@ class in XCharts.Runtime / 继承自: [Axis](#axis)
### YAxis.SetDefaultValue
-public override void SetDefaultValue()
+public override void SetDefaultValue()
直角坐标系 grid 中的 y 轴。
## YAxis3D
@@ -9694,7 +9694,7 @@ class in XCharts.Runtime / 继承自: [Axis](#axis)
### YAxis3D.SetDefaultValue
-public override void SetDefaultValue()
+public override void SetDefaultValue()
直角坐标系 grid 中的 y 轴。
## ZAxis3D
@@ -9707,6 +9707,6 @@ class in XCharts.Runtime / 继承自: [Axis](#axis)
### ZAxis3D.SetDefaultValue
-public override void SetDefaultValue()
+public override void SetDefaultValue()
直角坐标系 grid 中的 y 轴。
diff --git a/Documentation~/zh/changelog.md b/Documentation~/zh/changelog.md
index 46bfe4e4..cf184ab4 100644
--- a/Documentation~/zh/changelog.md
+++ b/Documentation~/zh/changelog.md
@@ -76,6 +76,7 @@ slug: /changelog
## master
+* (2024.09.22) 调整`Documentation`文档显示样式
* (2024.09.09) 增加`numericFormatter`对`date`和`time`的支持
* (2024.09.03) 完善`AreaStyle`的`origin`参数设置区域填充起始位置
* (2024.09.01) 增加`Ring`的`radiusGradient`参数设置渐变方向
diff --git a/Documentation~/zh/configuration.md b/Documentation~/zh/configuration.md
index 2776cd90..55d8942c 100644
--- a/Documentation~/zh/configuration.md
+++ b/Documentation~/zh/configuration.md
@@ -212,7 +212,8 @@ class in XCharts.Runtime / 继承自: [Axis](#axis)
### AngleAxis.startAngle
-`float` `0`
+`float` `default: 0`
+
起始刻度的角度,默认为 0 度,即圆心的正右方。
## AngleAxisTheme
@@ -269,22 +270,26 @@ class in XCharts.Runtime / 子类: [AnimationFadeIn](#animationfadein), [Animati
### AnimationInfo.delay
-`float` `0` `v3.8.0`
+`float` `default: 0` `v3.8.0`
+
动画开始前的延迟时间。
### AnimationInfo.duration
-`float` `1000` `v3.8.0`
+`float` `default: 1000` `v3.8.0`
+
动画的时长。
### AnimationInfo.enable
-`bool` `true` `v3.8.0`
+`bool` `default: true` `v3.8.0`
+
是否开启动画效果。
### AnimationInfo.reverse
-`bool` `false` `v3.8.0`
+`bool` `default: false` `v3.8.0`
+
是否开启反向动画效果。
## AnimationInteraction
@@ -298,16 +303,19 @@ class in XCharts.Runtime / 继承自: [AnimationInfo](#animationinfo)
### AnimationInteraction.offset
`MLValue` `v3.8.0`
+
交互的多样式数值。如饼图的扇形选中时的偏移。 [MLValue](#mlvalue)
### AnimationInteraction.radius
`MLValue` `v3.8.0`
+
半径的多样式数值。 [MLValue](#mlvalue)
### AnimationInteraction.width
`MLValue` `v3.8.0`
+
宽度的多样式数值。 [MLValue](#mlvalue)
## AnimationStyle
@@ -319,11 +327,13 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent)
### AnimationStyle.addition
`AnimationAddition` `v3.8.0`
+
数据新增动画配置。 [AnimationAddition](#animationaddition)
### AnimationStyle.change
`AnimationChange` `v3.8.0`
+
数据变更动画配置。 [AnimationChange](#animationchange)
### AnimationStyle.easting
@@ -331,43 +341,51 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent)
`AnimationEasing`
+
可选:
- `Linear`:
### AnimationStyle.enable
-`bool` `true`
+`bool` `default: true`
+
是否开启动画效果。
### AnimationStyle.fadeIn
`AnimationFadeIn` `v3.8.0`
+
渐入动画配置。 [AnimationFadeIn](#animationfadein)
### AnimationStyle.fadeOut
`AnimationFadeOut` `v3.8.0`
+
渐出动画配置。 [AnimationFadeOut](#animationfadeout)
### AnimationStyle.hiding
`AnimationHiding` `v3.8.0`
+
数据隐藏动画配置。 [AnimationHiding](#animationhiding)
### AnimationStyle.interaction
`AnimationInteraction` `v3.8.0`
+
交互动画配置。 [AnimationInteraction](#animationinteraction)
### AnimationStyle.threshold
-`int` `2000`
+`int` `default: 2000`
+
是否开启动画的阈值,当单个系列显示的图形数量大于这个阈值时会关闭动画。
### AnimationStyle.type
`AnimationType`
+
动画类型。
可选:
@@ -382,6 +400,7 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent)
### AnimationStyle.unscaledTime
`bool` `v3.4.0`
+
动画是否受TimeScaled的影响。默认为 false 受TimeScaled的影响。
## AreaStyle
@@ -393,21 +412,25 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent), [ISerie
### AreaStyle.color
`Color32`
+
区域填充的颜色,如果toColor不是默认值,则表示渐变色的起点颜色。
### AreaStyle.innerFill
`bool` `v3.2.0`
+
是否只填充多边形区域。目前只支持凸多边形。
### AreaStyle.opacity
-`float` `0.6f`
+`float` `default: 0.6f`
+
图形透明度。支持从 0 到 1 的数字,为 0 时不绘制该图形。
### AreaStyle.origin
`AreaStyle.AreaOrigin`
+
区域填充的起始位置。
可选:
@@ -418,17 +441,20 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent), [ISerie
### AreaStyle.show
-`bool` `true`
+`bool` `default: true`
+
是否显示区域填充。
### AreaStyle.toColor
`Color32`
+
渐变色的终点颜色。
### AreaStyle.toTop
-`bool` `true` `v3.6.0`
+`bool` `default: true` `v3.6.0`
+
渐变色是到顶部还是到实际位置。默认为true到顶部。
## ArrowStyle
@@ -437,27 +463,32 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent)
### ArrowStyle.color
-`Color32` `Color.clear`
+`Color32` `default: Color.clear`
+
箭头颜色。
### ArrowStyle.dent
-`float` `3`
+`float` `default: 3`
+
箭头的凹度。
### ArrowStyle.height
-`float` `15`
+`float` `default: 15`
+
箭头高。
### ArrowStyle.offset
-`float` `0`
+`float` `default: 0`
+
箭头偏移。
### ArrowStyle.width
-`float` `10`
+`float` `default: 10`
+
箭头宽。
## Axis
@@ -469,111 +500,133 @@ class in XCharts.Runtime / 继承自: [MainComponent](#maincomponent) / 子类:
### Axis.animation
`AxisAnimation`
+
坐标轴动画。 [AxisAnimation](#axisanimation)
### Axis.axisLabel
`AxisLabel`
+
坐标轴刻度标签。 [AxisLabel](#axislabel)
### Axis.axisLine
`AxisLine`
+
坐标轴轴线。 [AxisLine](#axisline)
### Axis.axisName
`AxisName`
+
坐标轴名称。 [AxisName](#axisname)
### Axis.axisTick
`AxisTick`
+
坐标轴刻度。 [AxisTick](#axistick)
### Axis.boundaryGap
-`bool` `true`
+`bool` `default: true`
+
坐标轴两边是否留白。只对类目轴有效。
### Axis.ceilRate
-`double` `0`
+`double` `default: 0`
+
最大最小值向上取整的倍率。默认为0时自动计算。
### Axis.clockwise
-`bool` `true`
+`bool` `default: true`
+
刻度增长是否按顺时针,默认顺时针。
### Axis.data
`List`
+
类目数据,在类目轴(type: 'category')中有效。
### Axis.gridIndex
`int`
+
坐标轴所在的 grid 的索引,默认位于第一个 grid。
### Axis.icons
`List`
+
类目数据对应的图标。
### Axis.indicatorLabel
`LabelStyle` `v3.4.0`
+
指示器文本的样式。Tooltip为Cross时使用。 [LabelStyle](#labelstyle)
### Axis.insertDataToHead
`bool`
+
添加新数据时是在列表的头部还是尾部加入。
### Axis.interval
-`double` `0`
+`double` `default: 0`
+
强制设置坐标轴分割间隔。无法在类目轴中使用。
### Axis.inverse
-`bool` `false`
+`bool` `default: false`
+
是否反向坐标轴。在类目轴中无效。
### Axis.logBase
-`float` `10`
+`float` `default: 10`
+
对数轴的底数,只在对数轴(type:'Log')中有效。
### Axis.logBaseE
-`bool` `false`
+`bool` `default: false`
+
对数轴是否以自然数 e 为底数,为 true 时 logBase 失效。
### Axis.max
`double`
+
设定的坐标轴刻度最大值,当minMaxType为Custom时有效。
### Axis.maxCache
-`int` `0`
+`int` `default: 0`
+
The first data will be remove when the size of axis data is larger then maxCache.
### Axis.min
`double`
+
设定的坐标轴刻度最小值,当minMaxType为Custom时有效。
### Axis.minCategorySpacing
-`float` `0` `v3.11.0`
+`float` `default: 0` `v3.11.0`
+
类目之间的最小间距。
### Axis.minMaxType
`Axis.AxisMinMaxType`
+
坐标轴刻度最大最小值显示类型。
可选:
@@ -586,31 +639,37 @@ The first data will be remove when the size of axis data is larger then maxCache
### Axis.minorSplitLine
`AxisMinorSplitLine` `v3.2.0`
+
坐标轴次分割线。 [AxisMinorSplitLine](#axisminorsplitline)
### Axis.minorTick
`AxisMinorTick` `v3.2.0`
+
坐标轴次刻度。 [AxisMinorTick](#axisminortick)
### Axis.offset
`float`
+
坐标轴相对默认位置的偏移。在相同position有多个坐标轴时有用。
### Axis.parallelIndex
`int`
+
坐标轴所在的 parallel 的索引,默认位于第一个 parallel。
### Axis.polarIndex
`int`
+
坐标轴所在的 ploar 的索引,默认位于第一个 polar。
### Axis.position
`Axis.AxisPosition`
+
坐标轴在Grid中的位置。
可选:
@@ -623,27 +682,32 @@ The first data will be remove when the size of axis data is larger then maxCache
### Axis.show
-`bool` `true`
+`bool` `default: true`
+
是否显示坐标轴。
### Axis.splitArea
`AxisSplitArea`
+
坐标轴分割区域。 [AxisSplitArea](#axissplitarea)
### Axis.splitLine
`AxisSplitLine`
+
坐标轴分割线。 [AxisSplitLine](#axissplitline)
### Axis.splitNumber
-`int` `0`
+`int` `default: 0`
+
坐标轴的期望的分割段数。默认为0表示自动分割。
### Axis.type
`Axis.AxisType`
+
坐标轴类型。
可选:
@@ -664,16 +728,19 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent)
### AxisAnimation.duration
`float`
+
动画时长(ms)。 默认设置为0时,会自动获取serie的动画时长。
### AxisAnimation.show
-`bool` `true`
+`bool` `default: true`
+
是否开启动画。
### AxisAnimation.unscaledTime
`bool`
+
动画是否受TimeScaled的影响。默认为 false 受TimeScaled的影响。
## AxisLabel
@@ -684,37 +751,44 @@ class in XCharts.Runtime / 继承自: [LabelStyle](#labelstyle)
### AxisLabel.inside
-`bool` `false`
+`bool` `default: false`
+
刻度标签是否朝内,默认朝外。
### AxisLabel.interval
-`int` `0`
+`int` `default: 0`
+
坐标轴刻度标签的显示间隔,在类目轴中有效。0表示显示所有标签,1表示隔一个隔显示一个标签,以此类推。
### AxisLabel.onZero
-`bool` `false`
+`bool` `default: false`
+
刻度标签显示在0刻度上。
### AxisLabel.showAsPositiveNumber
-`bool` `false`
+`bool` `default: false`
+
将负数数值显示为正数。一般和`Serie`的`showAsPositiveNumber`配合使用。
### AxisLabel.showEndLabel
-`bool` `true`
+`bool` `default: true`
+
是否显示最后一个文本。
### AxisLabel.showStartLabel
-`bool` `true`
+`bool` `default: true`
+
是否显示第一个文本。
### AxisLabel.textLimit
`TextLimit`
+
文本限制。 [TextLimit](#textlimit)
## AxisLine
@@ -726,16 +800,19 @@ class in XCharts.Runtime / 继承自: [BaseLine](#baseline)
### AxisLine.arrow
`ArrowStyle`
+
轴线箭头。 [ArrowStyle](#arrowstyle)
### AxisLine.onZero
`bool`
+
X 轴或者 Y 轴的轴线是否在另一个轴的 0 刻度上,只有在另一个轴为数值轴且包含 0 刻度时有效。
### AxisLine.showArrow
`bool`
+
是否显示箭头。
## AxisMinorSplitLine
@@ -749,11 +826,13 @@ class in XCharts.Runtime / 继承自: [BaseLine](#baseline)
### AxisMinorSplitLine.autoColor
`bool`
+
自动设置颜色。
### AxisMinorSplitLine.distance
`float`
+
刻度线与轴线的距离。
## AxisMinorTick
@@ -768,9 +847,11 @@ class in XCharts.Runtime / 继承自: [BaseLine](#baseline)
`bool`
+
### AxisMinorTick.splitNumber
-`int` `5`
+`int` `default: 5`
+
分隔线之间分割的刻度数。
## AxisName
@@ -782,21 +863,25 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent)
### AxisName.labelStyle
`LabelStyle`
+
文本样式。 [LabelStyle](#labelstyle)
### AxisName.name
`string`
+
坐标轴名称。
### AxisName.onZero
`bool` `v3.1.0`
+
坐标轴名称的位置是否保持和Y轴0刻度一致。
### AxisName.show
`bool`
+
是否显示坐标轴名称。
## AxisSplitArea
@@ -808,11 +893,13 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent)
### AxisSplitArea.color
`List`
+
分隔区域颜色。分隔区域会按数组中颜色的顺序依次循环设置颜色。默认是一个深浅的间隔色。
### AxisSplitArea.show
`bool`
+
是否显示分隔区域。
## AxisSplitLine
@@ -824,31 +911,37 @@ class in XCharts.Runtime / 继承自: [BaseLine](#baseline)
### AxisSplitLine.autoColor
`bool`
+
自动设置颜色。
### AxisSplitLine.distance
`float`
+
刻度线与轴线的距离。
### AxisSplitLine.interval
`int`
+
坐标轴分隔线的显示间隔。
### AxisSplitLine.showEndLine
-`bool` `true` `v3.3.0`
+`bool` `default: true` `v3.3.0`
+
是否显示最后一条分割线。
### AxisSplitLine.showStartLine
-`bool` `true` `v3.3.0`
+`bool` `default: true` `v3.3.0`
+
是否显示第一条分割线。
### AxisSplitLine.showZLine
-`bool` `true` `v3.11.0`
+`bool` `default: true` `v3.11.0`
+
是否显示Z轴部分分割线。一般用于3D坐标系。
## AxisTheme
@@ -864,35 +957,42 @@ class in XCharts.Runtime / 继承自: [BaseLine](#baseline)
### AxisTick.alignWithLabel
`bool`
+
类目轴中在 boundaryGap 为 true 的时候有效,可以保证刻度线和标签对齐。
### AxisTick.autoColor
`bool`
+
### AxisTick.distance
`float`
+
刻度线与轴线的距离。
### AxisTick.inside
`bool`
+
坐标轴刻度是否朝内,默认朝外。
### AxisTick.showEndTick
`bool`
+
是否显示最后一个刻度。
### AxisTick.showStartTick
`bool`
+
是否显示第一个刻度。
### AxisTick.splitNumber
-`int` `0`
+`int` `default: 0`
+
分隔线之间分割的刻度数。
## Background
@@ -903,42 +1003,50 @@ class in XCharts.Runtime / 继承自: [MainComponent](#maincomponent)
### Background.autoColor
-`bool` `true`
+`bool` `default: true`
+
当background组件开启时,是否自动使用主题背景色作为backgrounnd组件的颜色。当设置为false时,用imageColor作为颜色。
### Background.borderStyle
`BorderStyle` `v3.10.0`
+
背景边框样式。 [BorderStyle](#borderstyle)
### Background.image
`Sprite`
+
背景图。
### Background.imageColor
`Color`
+
背景图颜色。
### Background.imageHeight
-`float` `0` `v3.10.0`
+`float` `default: 0` `v3.10.0`
+
背景图高度。
### Background.imageType
`Image.Type`
+
背景图填充类型。
### Background.imageWidth
-`float` `0` `v3.10.0`
+`float` `default: 0` `v3.10.0`
+
背景图宽度。
### Background.show
-`bool` `true`
+`bool` `default: true`
+
是否启用背景组件。
## Bar
@@ -952,16 +1060,19 @@ class in XCharts.Runtime / 继承自: [ComponentTheme](#componenttheme) / 子类
### BaseAxisTheme.lineColor
`Color32`
+
坐标轴线颜色。
### BaseAxisTheme.lineLength
-`float` `0f`
+`float` `default: 0f`
+
坐标轴线长。
### BaseAxisTheme.lineType
`LineStyle.Type`
+
坐标轴线类型。
可选:
@@ -975,32 +1086,38 @@ class in XCharts.Runtime / 继承自: [ComponentTheme](#componenttheme) / 子类
### BaseAxisTheme.lineWidth
-`float` `1f`
+`float` `default: 1f`
+
坐标轴线宽。
### BaseAxisTheme.minorSplitLineColor
`Color32`
+
次分割线线颜色。
### BaseAxisTheme.splitAreaColors
`List`
+
坐标轴分隔区域的颜色。
### BaseAxisTheme.splitLineColor
`Color32`
+
分割线线颜色。
### BaseAxisTheme.splitLineLength
-`float` `0f`
+`float` `default: 0f`
+
分割线线长。
### BaseAxisTheme.splitLineType
`LineStyle.Type`
+
分割线线类型。
可选:
@@ -1014,22 +1131,26 @@ class in XCharts.Runtime / 继承自: [ComponentTheme](#componenttheme) / 子类
### BaseAxisTheme.splitLineWidth
-`float` `1f`
+`float` `default: 1f`
+
分割线线宽。
### BaseAxisTheme.tickColor
`Color32`
+
坐标轴线颜色。
### BaseAxisTheme.tickLength
-`float` `5f`
+`float` `default: 5f`
+
刻度线线长。
### BaseAxisTheme.tickWidth
-`float` `1f`
+`float` `default: 1f`
+
刻度线线宽。
## BaseLine
@@ -1041,11 +1162,13 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent) / 子类
### BaseLine.lineStyle
`LineStyle`
+
线条样式 [LineStyle](#linestyle)
### BaseLine.show
`bool`
+
是否显示坐标轴轴线。
## BaseScatter
@@ -1075,26 +1198,31 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent)
### BorderStyle.borderColor
`Color32`
+
边框颜色。
### BorderStyle.borderWidth
`float`
+
边框宽度。
### BorderStyle.cornerRadius
`float[]`
+
圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。当为(1,1,1,1)时为全圆角。
### BorderStyle.roundedCorner
-`bool` `true`
+`bool` `default: true`
+
是否显示圆角。
### BorderStyle.show
-`bool` `false`
+`bool` `default: false`
+
是否显示边框。
## CalendarCoord
@@ -1122,21 +1250,25 @@ class in XCharts.Runtime / 继承自: [MainComponent](#maincomponent), [IPropert
### Comment.items
`List`
+
注解项。每个注解组件可以设置多个注解项。
### Comment.labelStyle
`LabelStyle`
+
所有组件的文本样式。 [LabelStyle](#labelstyle)
### Comment.markStyle
`CommentMarkStyle`
+
所有组件的文本样式。 [CommentMarkStyle](#commentmarkstyle)
### Comment.show
-`bool` `true`
+`bool` `default: true`
+
是否显示注解组件。
## CommentItem
@@ -1148,31 +1280,37 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent)
### CommentItem.content
`string`
+
注解的文本内容。支持模板参数,可以参考Tooltip的itemFormatter。
### CommentItem.labelStyle
`LabelStyle`
+
注解项的文本样式。 [LabelStyle](#labelstyle)
### CommentItem.location
`Location` `v3.5.0`
+
Comment显示的位置。 [Location](#location)
### CommentItem.markRect
`Rect`
+
注解区域。
### CommentItem.markStyle
`CommentMarkStyle`
+
注解标记区域样式。 [CommentMarkStyle](#commentmarkstyle)
### CommentItem.show
-`bool` `true`
+`bool` `default: true`
+
是否显示当前注解项。
## CommentMarkStyle
@@ -1184,11 +1322,13 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent)
### CommentMarkStyle.lineStyle
`LineStyle`
+
线条样式。 [LineStyle](#linestyle)
### CommentMarkStyle.show
-`bool` `true`
+`bool` `default: true`
+
是否显示当前注解项。
## ComponentTheme
@@ -1198,26 +1338,31 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent) / 子类
### ComponentTheme.font
`Font`
+
字体。
### ComponentTheme.fontSize
-`int` `18`
+`int` `default: 18`
+
文本字体大小。
### ComponentTheme.textBackgroundColor
`Color`
+
文本颜色。
### ComponentTheme.textColor
`Color`
+
文本颜色。
### ComponentTheme.tMPFont
`TMP_FontAsset`
+
字体。
## CoordSystem
@@ -1235,51 +1380,61 @@ DataZoom 组件 用于区域缩放,从而能自由关注细节的数据信息
### DataZoom.areaStyle
`AreaStyle`
+
阴影填充样式。 [AreaStyle](#areastyle)
### DataZoom.backgroundColor
`Color32`
+
组件的背景颜色。
### DataZoom.borderColor
`Color32`
+
边框颜色。
### DataZoom.borderWidth
`float`
+
边框宽。
### DataZoom.bottom
`float`
+
组件离容器下侧的距离。
### DataZoom.enable
-`bool` `true`
+`bool` `default: true`
+
是否显示缩放区域。
### DataZoom.end
`float`
+
数据窗口范围的结束百分比。范围是:0 ~ 100。
### DataZoom.endLock
`bool` `v3.6.0`
+
固定结束值,不让改变。
### DataZoom.fillerColor
`Color32`
+
数据区域颜色。
### DataZoom.filterMode
`DataZoom.FilterMode`
+
数据过滤类型。
可选:
@@ -1292,31 +1447,37 @@ DataZoom 组件 用于区域缩放,从而能自由关注细节的数据信息
### DataZoom.labelStyle
`LabelStyle`
+
文本标签格式。 [LabelStyle](#labelstyle)
### DataZoom.left
`float`
+
组件离容器左侧的距离。
### DataZoom.lineStyle
`LineStyle`
+
阴影线条样式。 [LineStyle](#linestyle)
### DataZoom.marqueeStyle
`MarqueeStyle` `v3.5.0`
+
选取框样式。 [MarqueeStyle](#marqueestyle)
### DataZoom.minShowNum
-`int` `2`
+`int` `default: 2`
+
最小显示数据个数。当DataZoom放大到最大时,最小显示的数据个数。
### DataZoom.orient
`Orient`
+
布局方式是横还是竖。不仅是布局方式,对于直角坐标系而言,也决定了,缺省情况控制横向数轴还是纵向数轴。
可选:
@@ -1327,6 +1488,7 @@ DataZoom 组件 用于区域缩放,从而能自由关注细节的数据信息
### DataZoom.rangeMode
`DataZoom.RangeMode`
+
取绝对值还是百分比。
可选:
@@ -1337,76 +1499,91 @@ DataZoom 组件 用于区域缩放,从而能自由关注细节的数据信息
### DataZoom.right
`float`
+
组件离容器右侧的距离。
### DataZoom.scrollSensitivity
-`float` `1.1f`
+`float` `default: 1.1f`
+
缩放区域组件的敏感度。值越高每次缩放所代表的数据越多。
### DataZoom.showDataShadow
`bool`
+
是否显示数据阴影。数据阴影可以简单地反应数据走势。
### DataZoom.showDetail
`bool`
+
是否显示detail,即拖拽时候显示详细数值信息。
### DataZoom.start
`float`
+
数据窗口范围的起始百分比。范围是:0 ~ 100。
### DataZoom.startLock
`bool` `v3.6.0`
+
固定起始值,不让改变。
### DataZoom.supportInside
`bool`
+
是否支持内置。内置于坐标系中,使用户可以在坐标系上通过鼠标拖拽、鼠标滚轮、手指滑动(触屏上)来缩放或漫游坐标系。
### DataZoom.supportInsideDrag
-`bool` `true`
+`bool` `default: true`
+
是否支持坐标系内拖拽
### DataZoom.supportInsideScroll
-`bool` `true`
+`bool` `default: true`
+
是否支持坐标系内滚动
### DataZoom.supportMarquee
`bool`
+
是否支持框选。提供一个选框进行数据区域缩放。
### DataZoom.supportSlider
`bool`
+
是否支持滑动条。有单独的滑动条,用户在滑动条上进行缩放或漫游。
### DataZoom.top
`float`
+
组件离容器上侧的距离。
### DataZoom.xAxisIndexs
`List`
+
控制的 x 轴索引列表。
### DataZoom.yAxisIndexs
`List`
+
控制的 y 轴索引列表。
### DataZoom.zoomLock
`bool`
+
是否锁定选择区域(或叫做数据窗口)的大小。 如果设置为 true 则锁定选择区域的大小,也就是说,只能平移,不能缩放。
## DataZoomTheme
@@ -1416,36 +1593,43 @@ class in XCharts.Runtime / 继承自: [ComponentTheme](#componenttheme)
### DataZoomTheme.backgroundColor
`Color32`
+
背景颜色。
### DataZoomTheme.borderColor
`Color32`
+
边框颜色。
### DataZoomTheme.borderWidth
`float`
+
边框线宽。
### DataZoomTheme.dataAreaColor
`Color32`
+
数据阴影的填充颜色。
### DataZoomTheme.dataLineColor
`Color32`
+
数据阴影的线条颜色。
### DataZoomTheme.dataLineWidth
`float`
+
数据阴影线宽。
### DataZoomTheme.fillerColor
`Color32`
+
数据区域颜色。
## DebugInfo
@@ -1454,27 +1638,32 @@ class in XCharts.Runtime
### DebugInfo.foldSeries
-`bool` `false`
+`bool` `default: false`
+
是否在Inspector上折叠Serie。
### DebugInfo.labelStyle
`LabelStyle`
+
[LabelStyle](#labelstyle)
### DebugInfo.show
-`bool` `true`
+`bool` `default: true`
+
是否显示Debug组件。
### DebugInfo.showAllChartObject
-`bool` `false`
+`bool` `default: false`
+
是否在Hierarchy试图显示所有chart下的节点。
### DebugInfo.showDebugInfo
-`bool` `false`
+`bool` `default: false`
+
## EffectScatter
@@ -1491,6 +1680,7 @@ class in XCharts.Runtime / 继承自: [StateStyle](#statestyle), [ISerieComponen
### EmphasisStyle.blurScope
`EmphasisStyle.BlurScope`
+
在开启focus的时候,可以通过blurScope配置淡出的范围。
可选:
@@ -1502,6 +1692,7 @@ class in XCharts.Runtime / 继承自: [StateStyle](#statestyle), [ISerieComponen
### EmphasisStyle.focus
`EmphasisStyle.FocusType`
+
在高亮图形时,是否淡出其它数据的图形已达到聚焦的效果。
可选:
@@ -1512,7 +1703,8 @@ class in XCharts.Runtime / 继承自: [StateStyle](#statestyle), [ISerieComponen
### EmphasisStyle.scale
-`float` `1.1f`
+`float` `default: 1.1f`
+
高亮时的缩放倍数。
## EndLabelStyle
@@ -1528,51 +1720,61 @@ Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart
### GridCoord.backgroundColor
`Color32`
+
网格背景色,默认透明。
### GridCoord.borderColor
`Color32`
+
网格边框颜色。
### GridCoord.borderWidth
-`float` `0f`
+`float` `default: 0f`
+
网格边框宽。
### GridCoord.bottom
-`float` `0.14f`
+`float` `default: 0.14f`
+
grid 组件离容器下侧的距离。
### GridCoord.layoutIndex
-`int` `-1` `v3.8.0`
+`int` `default: -1` `v3.8.0`
+
网格所属的网格布局组件的索引。默认为-1,表示不属于任何网格布局组件。当设置了该值时,left、right、top、bottom属性将失效。
### GridCoord.left
-`float` `0.11f`
+`float` `default: 0.11f`
+
grid 组件离容器左侧的距离。
### GridCoord.right
-`float` `0.08f`
+`float` `default: 0.08f`
+
grid 组件离容器右侧的距离。
### GridCoord.show
-`bool` `true`
+`bool` `default: true`
+
是否显示直角坐标系网格。
### GridCoord.showBorder
-`bool` `false`
+`bool` `default: false`
+
是否显示网格边框。
### GridCoord.top
-`float` `0.22f`
+`float` `default: 0.22f`
+
grid 组件离容器上侧的距离。
## GridCoord3D
@@ -1585,57 +1787,68 @@ Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart
### GridCoord3D.bottom
-`float` `0.15f`
+`float` `default: 0.15f`
+
grid 组件离容器下侧的距离。
### GridCoord3D.boxDepth
-`float` `0.2f`
+`float` `default: 0.2f`
+
坐标系的深度。
### GridCoord3D.boxHeight
-`float` `0.4f`
+`float` `default: 0.4f`
+
坐标系的高度。
### GridCoord3D.boxWidth
-`float` `0.55f`
+`float` `default: 0.55f`
+
坐标系的宽度。
### GridCoord3D.left
-`float` `0.15f`
+`float` `default: 0.15f`
+
grid 组件离容器左侧的距离。
### GridCoord3D.right
-`float` `0.2f`
+`float` `default: 0.2f`
+
grid 组件离容器右侧的距离。
### GridCoord3D.show
-`bool` `true`
+`bool` `default: true`
+
是否显示直角坐标系网格。
### GridCoord3D.showBorder
-`bool` `false`
+`bool` `default: false`
+
是否显示网格边框。
### GridCoord3D.top
-`float` `0.3f`
+`float` `default: 0.3f`
+
grid 组件离容器上侧的距离。
### GridCoord3D.viewControl
`ViewControl`
+
3D视角控制组件。 [ViewControl](#viewcontrol)
### GridCoord3D.xYExchanged
-`bool` `false`
+`bool` `default: false`
+
## GridLayout
@@ -1647,47 +1860,56 @@ class in XCharts.Runtime / 继承自: [MainComponent](#maincomponent), [IUpdateR
### GridLayout.bottom
-`float` `0.12f`
+`float` `default: 0.12f`
+
grid 组件离容器下侧的距离。
### GridLayout.column
-`int` `2`
+`int` `default: 2`
+
网格布局的列数。
### GridLayout.inverse
-`bool` `false`
+`bool` `default: false`
+
是否反转网格布局。
### GridLayout.left
-`float` `0.1f`
+`float` `default: 0.1f`
+
grid 组件离容器左侧的距离。
### GridLayout.right
-`float` `0.08f`
+`float` `default: 0.08f`
+
grid 组件离容器右侧的距离。
### GridLayout.row
-`int` `2`
+`int` `default: 2`
+
网格布局的行数。
### GridLayout.show
-`bool` `true`
+`bool` `default: true`
+
是否显示直角坐标系网格。
### GridLayout.spacing
-`Vector2` `Vector2.zero`
+`Vector2` `default: Vector2.zero`
+
网格布局的间距。
### GridLayout.top
-`float` `0.22f`
+`float` `default: 0.22f`
+
grid 组件离容器上侧的距离。
## Heatmap
@@ -1697,6 +1919,7 @@ class in XCharts.Runtime / 继承自: [Serie](#serie), [INeedSerieContainer](#in
### Heatmap.heatmapType
`HeatmapType` `v3.3.0`
+
热力图类型。通过颜色映射划分。
可选:
@@ -1711,6 +1934,7 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent)
### IconStyle.align
`Align`
+
水平方向对齐方式。
可选:
@@ -1721,22 +1945,26 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent)
### IconStyle.autoHideWhenLabelEmpty
-`bool` `false`
+`bool` `default: false`
+
当label内容为空时是否自动隐藏图标
### IconStyle.color
`Color`
+
图标颜色。
### IconStyle.height
-`float` `20`
+`float` `default: 20`
+
图标高。
### IconStyle.layer
`IconStyle.Layer`
+
显示在上层还是在下层。
可选:
@@ -1747,26 +1975,31 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent)
### IconStyle.offset
`Vector3`
+
图标偏移。
### IconStyle.show
-`bool` `false`
+`bool` `default: false`
+
是否显示图标。
### IconStyle.sprite
`Sprite`
+
图标的图片。
### IconStyle.type
`Image.Type`
+
图片的显示类型。
### IconStyle.width
-`float` `20`
+`float` `default: 20`
+
图标宽。
## ImageStyle
@@ -1776,36 +2009,43 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent), [ISerie
### ImageStyle.autoColor
`bool`
+
是否自动颜色。
### ImageStyle.color
`Color`
+
图标颜色。
### ImageStyle.height
-`float` `0`
+`float` `default: 0`
+
图标高。
### ImageStyle.show
-`bool` `true`
+`bool` `default: true`
+
是否显示图标。
### ImageStyle.sprite
`Sprite`
+
图标的图片。
### ImageStyle.type
`Image.Type`
+
图片的显示类型。
### ImageStyle.width
-`float` `0`
+`float` `default: 0`
+
图标宽。
## Indicator
@@ -1817,121 +2057,145 @@ class in XCharts.Runtime
### Indicator.axisLine
`AxisLine`
+
轴线。 [AxisLine](#axisline)
### Indicator.axisName
`AxisName`
+
雷达图每个指示器名称的配置项。 [AxisName](#axisname)
### Indicator.ceilRate
-`double` `0`
+`double` `default: 0`
+
最大最小值向上取整的倍率。默认为0时自动计算。
### Indicator.center
`float[]`
+
雷达图的中心点。数组的第一项是横坐标,第二项是纵坐标。 当值为0-1之间时表示百分比,设置成百分比时第一项是相对于容器宽度,第二项是相对于容器高度。
### Indicator.connectCenter
-`bool` `false`
+`bool` `default: false`
+
数值是否连线到中心点。
### Indicator.gridIndex
-`int` `-1` `v3.8.0`
+`int` `default: -1` `v3.8.0`
+
所使用的 layout 组件的 index。 默认为-1不指定index, 当为大于或等于0时, 为第一个layout组件的第index个格子。
### Indicator.indicator
-`bool` `true`
+`bool` `default: true`
+
是否显示指示器。
### Indicator.indicatorGap
-`float` `10`
+`float` `default: 10`
+
指示器和雷达的间距。
### Indicator.indicatorList
`List`
+
指示器列表。
### Indicator.isAxisTooltip
`bool`
+
是否Tooltip显示轴线上的所有数据。
### Indicator.lineGradient
-`bool` `true`
+`bool` `default: true`
+
数值线段是否需要渐变。
### Indicator.max
`double`
+
指示器的最大值,默认为 0 无限制。
### Indicator.min
`double`
+
指示器的最小值,默认为 0 无限制。
### Indicator.name
`string`
+
指示器名称。
### Indicator.outRangeColor
-`Color32` `Color.red`
+`Color32` `default: Color.red`
+
数值超出范围时显示的颜色。
### Indicator.positionType
`PositionType`
+
显示位置类型。
### Indicator.radius
-`float` `100`
+`float` `default: 100`
+
雷达图的半径。
### Indicator.range
`double[]`
+
正常值范围。当数值不在这个范围时,会自动变更显示颜色。
### Indicator.shape
`Shape`
+
雷达图绘制类型,支持 'Polygon' 和 'Circle'。
### Indicator.show
`bool`
+
是否显示雷达坐标系组件。
### Indicator.splitArea
`AxisSplitArea`
+
分割区域。 [AxisSplitArea](#axissplitarea)
### Indicator.splitLine
`AxisSplitLine`
+
分割线。 [AxisSplitLine](#axissplitline)
### Indicator.splitNumber
-`int` `5`
+`int` `default: 5`
+
指示器轴的分割段数。
### Indicator.startAngle
`float` `v3.4.0`
+
起始角度。和时钟一样,12点钟位置是0度,顺时针到360度。
## INeedSerieContainer
@@ -1973,101 +2237,121 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent), [ISerie
### ItemStyle.backgroundColor
`Color32`
+
数据项背景颜色。
### ItemStyle.backgroundWidth
`float`
+
数据项背景宽度。
### ItemStyle.borderColor
`Color32`
+
边框的颜色。
### ItemStyle.borderColor0
`Color32`
+
边框的颜色。
### ItemStyle.borderGap
-`float` `0`
+`float` `default: 0`
+
边框间隙。
### ItemStyle.borderToColor
`Color32`
+
边框的渐变色。
### ItemStyle.borderWidth
-`float` `0`
+`float` `default: 0`
+
边框宽。
### ItemStyle.centerColor
`Color32`
+
中心区域颜色。
### ItemStyle.centerGap
`float`
+
中心区域间隙。
### ItemStyle.color
`Color32`
+
数据项颜色。
### ItemStyle.color0
`Color32`
+
数据项颜色。
### ItemStyle.cornerRadius
`float[]`
+
圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。
### ItemStyle.itemFormatter
`string`
+
提示框单项的字符串模版格式器。具体配置参考`Tooltip`的`formatter`
### ItemStyle.itemMarker
`string`
+
提示框单项的字符标志。用在Tooltip中。
### ItemStyle.markColor
`Color32` `v3.6.0`
+
Serie的标识颜色。仅用于Legend和Tooltip的展示,不影响绘制颜色,默认为clear。
### ItemStyle.numericFormatter
`string`
+
标准数字和日期格式字符串。用于将Double数值或DateTime日期格式化显示为字符串。numericFormatter用来作为Double.ToString()或DateTime.ToString()的参数。
数字格式使用Axx的形式:A是格式说明符的单字符,支持C货币、D十进制、E指数、F定点数、G常规、N数字、P百分比、R往返、X十六进制的。xx是精度说明,从0-99。如:F1, E2
日期格式:以`date`开头,用来格式化DateTime,常见格式有:yyyy年,MM月,dd日,HH时,mm分,ss秒,fff毫秒。如:date:yyyy-MM-dd HH:mm:ss
时间格式:以`time`开头,用来格式化TimeSpan,常见格式有:d日,HH时,mm分,ss秒,fffffff小数部分。 需要Unity2018以上版本才支持格式化,并且里面的字符要转义。如:time:d\.HH\:mm\:ss
数值格式化参考:https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings
日期格式化参考:https://learn.microsoft.com/zh-cn/dotnet/standard/base-types/standard-date-and-time-format-strings
时间格式化参考:https://learn.microsoft.com/zh-cn/dotnet/standard/base-types/standard-timespan-format-strings
注意:date和time格式需要`v3.12.0`以上版本才支持。
### ItemStyle.opacity
-`float` `1`
+`float` `default: 1`
+
透明度。支持从 0 到 1 的数字,为 0 时不绘制该图形。
### ItemStyle.show
-`bool` `true`
+`bool` `default: true`
+
是否启用。
### ItemStyle.toColor
`Color32`
+
渐变色的颜色1。
### ItemStyle.toColor2
`Color32`
+
渐变色的颜色2。只在折线图中有效。
## IUpdateRuntimeData
@@ -2083,41 +2367,49 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent), [ISerie
### LabelLine.endSymbol
`SymbolStyle`
+
结束点的图形标记。 [SymbolStyle](#symbolstyle)
### LabelLine.lineAngle
-`float` `60`
+`float` `default: 60`
+
视觉引导线的固定角度。对折线和曲线有效。在Pie中无效。
### LabelLine.lineColor
-`Color32` `Color32(0,0,0,0)`
+`Color32` `default: Color32(0,0,0,0)`
+
视觉引导线颜色。默认和serie一致取自调色板。
### LabelLine.lineEndX
-`float` `0f` `v3.8.0`
+`float` `default: 0f` `v3.8.0`
+
视觉引导线结束点的固定x位置。当不为0时,会代替lineLength2设定引导线的x位置。
### LabelLine.lineGap
-`float` `1.0f`
+`float` `default: 1.0f`
+
视觉引导线和容器的间距。
### LabelLine.lineLength1
-`float` `25f`
+`float` `default: 25f`
+
视觉引导线第一段的长度。
### LabelLine.lineLength2
-`float` `15f`
+`float` `default: 15f`
+
视觉引导线第二段的长度。
### LabelLine.lineType
`LabelLine.LineType`
+
视觉引导线类型。
可选:
@@ -2128,17 +2420,20 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent), [ISerie
### LabelLine.lineWidth
-`float` `1.0f`
+`float` `default: 1.0f`
+
视觉引导线的宽度。
### LabelLine.show
-`bool` `true`
+`bool` `default: true`
+
是否显示视觉引导线。
### LabelLine.startSymbol
`SymbolStyle`
+
起始点的图形标记。 [SymbolStyle](#symbolstyle)
## LabelStyle
@@ -2149,77 +2444,92 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent), [ISerie
### LabelStyle.autoOffset
-`bool` `false`
+`bool` `default: false`
+
是否开启自动偏移。当开启时,Y的偏移会自动判断曲线的开口来决定向上还是向下偏移。
### LabelStyle.autoRotate
-`bool` `false` `v3.6.0`
+`bool` `default: false` `v3.6.0`
+
是否自动旋转。
### LabelStyle.background
`ImageStyle`
+
背景图样式。 [ImageStyle](#imagestyle)
### LabelStyle.distance
`float`
+
距离轴线的距离。
### LabelStyle.formatter
`string`
+
标签内容字符串模版格式器。支持用 \n 换行。部分组件的格式器会不生效。
模板通配符有以下这些,部分只适用于固定的组件:
`{.}`:圆点标记。
`{a}`:系列名。
`{b}`:X轴类目名或数据名。
`{c}`:数据值。
`{d}`:百分比。
`{e}`:数据名。
`{f}`:数据和。
`{g}`:数据总个数。
`{h}`:十六进制颜色值。
`{y}`:Y轴的类目名。
`{value}`:坐标轴或图例的值。
以下通配符适用UITable组件:
`{name}`: 表格的行名。
`{index}`:表格的行号。
以下通配符适用UIStatistc组件:
`{title}`:标题文本。
`{dd}`:天。
`{hh}`:小时。
`{mm}`:分钟。
`{ss}`:秒。
`{fff}`:毫秒。
`{d}`:天。
`{h}`:小时。
`{m}`:分钟。
`{s}`:秒。
`{f}`:毫秒。
示例:“{b}:{c}”
### LabelStyle.height
-`float` `0`
+`float` `default: 0`
+
标签的高度。一般不用指定,不指定时则自动是文字的高度。
### LabelStyle.icon
`IconStyle`
+
图标样式。 [IconStyle](#iconstyle)
### LabelStyle.numericFormatter
`string`
+
标准数字和日期格式字符串。用于将Double数值或DateTime日期格式化显示为字符串。numericFormatter用来作为Double.ToString()或DateTime.ToString()的参数。
数字格式使用Axx的形式:A是格式说明符的单字符,支持C货币、D十进制、E指数、F定点数、G常规、N数字、P百分比、R往返、X十六进制的。xx是精度说明,从0-99。如:F1, E2
日期格式:以`date`开头,用来格式化DateTime,常见格式有:yyyy年,MM月,dd日,HH时,mm分,ss秒,fff毫秒。如:date:yyyy-MM-dd HH:mm:ss
时间格式:以`time`开头,用来格式化TimeSpan,常见格式有:d日,HH时,mm分,ss秒,fffffff小数部分。 需要Unity2018以上版本才支持格式化,并且里面的字符要转义。如:time:d\.HH\:mm\:ss
数值格式化参考:https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings
日期格式化参考:https://learn.microsoft.com/zh-cn/dotnet/standard/base-types/standard-date-and-time-format-strings
时间格式化参考:https://learn.microsoft.com/zh-cn/dotnet/standard/base-types/standard-timespan-format-strings
注意:date和time格式需要`v3.12.0`以上版本才支持。
### LabelStyle.offset
`Vector3`
+
距离图形元素的偏移
### LabelStyle.Position
`[SerializeField]`
+
标签的位置。
### LabelStyle.rotate
`float`
+
文本的旋转。
### LabelStyle.show
-`bool` `true`
+`bool` `default: true`
+
是否显示文本标签。
### LabelStyle.textPadding
`TextPadding`
+
文本的边距。 [TextPadding](#textpadding)
### LabelStyle.textStyle
`TextStyle`
+
文本样式。 [TextStyle](#textstyle)
### LabelStyle.width
-`float` `0`
+`float` `default: 0`
+
标签的宽度。一般不用指定,不指定时则自动是文字的宽度。
## Lang
@@ -2245,31 +2555,37 @@ class in XCharts.Runtime / 继承自: [MainComponent](#maincomponent), [IPropert
### Legend.background
`ImageStyle` `v3.1.0`
+
背景图样式。 [ImageStyle](#imagestyle)
### Legend.colors
`List`
+
图例标记的颜色列表。
### Legend.data
`List`
+
图例的数据数组。数组项通常为一个字符串,每一项代表一个系列的 name(如果是饼图,也可以是饼图单个数据的 name)。 如果 data 没有被指定,会自动从当前系列中获取。指定data时里面的数据项和serie匹配时才会生效。
### Legend.formatter
`string`
+
不再使用,使用LabelStyle.formatter代替。
### Legend.icons
`List`
+
自定义的图例标记图形。
### Legend.iconType
`Legend.Type`
+
图例类型。
可选:
@@ -2285,42 +2601,50 @@ class in XCharts.Runtime / 继承自: [MainComponent](#maincomponent), [IPropert
### Legend.itemAutoColor
-`bool` `true`
+`bool` `default: true`
+
图例标记的图形是否自动匹配颜色。
### Legend.itemGap
-`float` `10f`
+`float` `default: 10f`
+
图例每项之间的间隔。横向布局时为水平间隔,纵向布局时为纵向间隔。
### Legend.itemHeight
-`float` `12.0f`
+`float` `default: 12.0f`
+
图例标记的图形高度。
### Legend.itemOpacity
-`float` `1`
+`float` `default: 1`
+
图例标记的图形的颜色透明度。
### Legend.itemWidth
-`float` `25.0f`
+`float` `default: 25.0f`
+
图例标记的图形宽度。
### Legend.labelStyle
`LabelStyle`
+
文本样式。 [LabelStyle](#labelstyle)
### Legend.location
`Location`
+
图例显示的位置。 [Location](#location)
### Legend.orient
`Orient`
+
布局方式是横还是竖。
可选:
@@ -2331,16 +2655,19 @@ class in XCharts.Runtime / 继承自: [MainComponent](#maincomponent), [IPropert
### Legend.padding
`Padding` `v3.1.0`
+
图例标记和背景的间距。 [Padding](#padding)
### Legend.positions
`List` `v3.6.0`
+
图例标记的自定义位置列表。
### Legend.selectedMode
`Legend.SelectedMode`
+
选择模式。控制是否可以通过点击图例改变系列的显示状态。默认开启图例选择,可以设成 None 关闭。
可选:
@@ -2351,12 +2678,14 @@ class in XCharts.Runtime / 继承自: [MainComponent](#maincomponent), [IPropert
### Legend.show
-`bool` `true`
+`bool` `default: true`
+
是否显示图例组件。
### Legend.textLimit
`TextLimit` `v3.10.0`
+
文本限制。 [TextLimit](#textlimit)
## LegendTheme
@@ -2366,6 +2695,7 @@ class in XCharts.Runtime / 继承自: [ComponentTheme](#componenttheme)
### LegendTheme.unableColor
`Color`
+
文本颜色。
## Level
@@ -2374,27 +2704,32 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent)
### Level.depth
-`int` `0` `v3.10.0`
+`int` `default: 0` `v3.10.0`
+
层级深度。
### Level.itemStyle
`ItemStyle`
+
数据项样式。 [ItemStyle](#itemstyle)
### Level.label
`LabelStyle`
+
文本标签样式。 [LabelStyle](#labelstyle)
### Level.lineStyle
`LineStyle` `v3.10.0`
+
线条样式。 [LineStyle](#linestyle)
### Level.upperLabel
`LabelStyle`
+
上方的文本标签样式。 [LabelStyle](#labelstyle)
## LevelStyle
@@ -2406,11 +2741,13 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent)
### LevelStyle.levels
`List`
+
各层节点对应的配置。当enableLevels为true时生效,levels[0]对应的第一层的配置,levels[1]对应第二层,依次类推。当levels中没有对应层时用默认的设置。
### LevelStyle.show
-`bool` `false`
+`bool` `default: false`
+
是否启用LevelStyle
## Line
@@ -2424,11 +2761,13 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent), [ISerie
### LineArrow.arrow
`ArrowStyle`
+
箭头。 [ArrowStyle](#arrowstyle)
### LineArrow.position
`LineArrow.Position`
+
箭头位置。
可选:
@@ -2439,6 +2778,7 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent), [ISerie
### LineArrow.show
`bool`
+
是否显示箭头。
## LineStyle
@@ -2450,51 +2790,61 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent), [ISerie
### LineStyle.color
`Color32`
+
线的颜色。
### LineStyle.dashLength
-`float` `4` `v3.8.1`
+`float` `default: 4` `v3.8.1`
+
虚线的长度。默认0时为线条宽度的12倍。在折线图中代表分割段数的倍数。
### LineStyle.dotLength
-`float` `2` `v3.8.1`
+`float` `default: 2` `v3.8.1`
+
点线的长度。默认0时为线条宽度的3倍。在折线图中代表分割段数的倍数。
### LineStyle.gapLength
-`float` `2` `v3.8.1`
+`float` `default: 2` `v3.8.1`
+
点线的长度。默认0时为线条宽度的3倍。在折线图中代表分割段数的倍数。
### LineStyle.length
-`float` `0`
+`float` `default: 0`
+
线长。
### LineStyle.opacity
-`float` `1`
+`float` `default: 1`
+
线的透明度。支持从 0 到 1 的数字,为 0 时不绘制该图形。
### LineStyle.show
-`bool` `true`
+`bool` `default: true`
+
是否显示线条。当作为子组件,它的父组件有参数控制是否显示时,改参数无效。
### LineStyle.toColor
`Color32`
+
线的渐变颜色(需要水平方向渐变时)。
### LineStyle.toColor2
`Color32`
+
线的渐变颜色2(需要水平方向三个渐变色的渐变时)。
### LineStyle.type
`LineStyle.Type`
+
线的类型。
可选:
@@ -2508,7 +2858,8 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent), [ISerie
### LineStyle.width
-`float` `0`
+`float` `default: 0`
+
线宽。
## Location
@@ -2520,6 +2871,7 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent), [IPrope
### Location.align
`Location.Align`
+
对齐方式。
可选:
@@ -2537,21 +2889,25 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent), [IPrope
### Location.bottom
`float`
+
离容器下侧的距离。
### Location.left
`float`
+
离容器左侧的距离。
### Location.right
`float`
+
离容器右侧的距离。
### Location.top
`float`
+
离容器上侧的距离。
## MainComponent
@@ -2567,36 +2923,43 @@ class in XCharts.Runtime / 继承自: [MainComponent](#maincomponent)
### MarkArea.end
`MarkAreaData`
+
标域范围的结束数据。 [MarkAreaData](#markareadata)
### MarkArea.itemStyle
`ItemStyle`
+
标域样式。 [ItemStyle](#itemstyle)
### MarkArea.label
`LabelStyle`
+
标域文本样式。 [LabelStyle](#labelstyle)
### MarkArea.serieIndex
-`int` `0`
+`int` `default: 0`
+
Serie index of markArea. 标域影响的Serie索引。
### MarkArea.show
-`bool` `true`
+`bool` `default: true`
+
是否显示标域。
### MarkArea.start
`MarkAreaData`
+
标域范围的起始数据。 [MarkAreaData](#markareadata)
### MarkArea.text
`string`
+
The text of markArea. 标域显示的文本。
## MarkAreaData
@@ -2607,17 +2970,20 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent)
### MarkAreaData.dimension
-`int` `1`
+`int` `default: 1`
+
从哪个维度的数据计算最大最小值等。
### MarkAreaData.name
`string`
+
标注名称。会作为文字显示。
### MarkAreaData.type
`MarkAreaType`
+
特殊的标域类型,用于标注最大值最小值等。
可选:
@@ -2631,21 +2997,25 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent)
### MarkAreaData.xPosition
`float`
+
相对原点的 x 坐标,单位像素。当type为None时有效。
### MarkAreaData.xValue
`double`
+
X轴上的指定值。当X轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。
### MarkAreaData.yPosition
`float`
+
相对原点的 y 坐标,单位像素。当type为None时有效。
### MarkAreaData.yValue
`double`
+
Y轴上的指定值。当Y轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。
## MarkLine
@@ -2657,26 +3027,31 @@ class in XCharts.Runtime / 继承自: [MainComponent](#maincomponent)
### MarkLine.animation
`AnimationStyle`
+
标线的动画样式。 [AnimationStyle](#animationstyle)
### MarkLine.data
`List`
+
标线的数据列表。当数据项的group为0时,每个数据项表示一条标线;当group不为0时,相同group的两个数据项分别表 示标线的起始点和终止点来组成一条标线,此时标线的相关样式参数取起始点的参数。
### MarkLine.onTop
-`bool` `true` `v3.9.0`
+`bool` `default: true` `v3.9.0`
+
是否在最上层。
### MarkLine.serieIndex
-`int` `0`
+`int` `default: 0`
+
标线影响的Serie索引。
### MarkLine.show
-`bool` `true`
+`bool` `default: true`
+
是否显示标线。
## MarkLineData
@@ -2689,42 +3064,50 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent)
### MarkLineData.dimension
-`int` `1`
+`int` `default: 1`
+
从哪个维度的数据计算最大最小值等。
### MarkLineData.endSymbol
`SymbolStyle`
+
结束点的图形标记。 [SymbolStyle](#symbolstyle)
### MarkLineData.group
-`int` `0`
+`int` `default: 0`
+
分组。当group不为0时,表示这个data是标线的起点或终点,group一致的data组成一条标线。
### MarkLineData.label
`LabelStyle`
+
文本样式。可设置position为Start、Middle和End在不同的位置显示文本。 [LabelStyle](#labelstyle)
### MarkLineData.lineStyle
`LineStyle`
+
标线样式。 [LineStyle](#linestyle)
### MarkLineData.name
`string`
+
标线名称,将会作为文字显示。label的formatter可通过{b}显示名称,通过{c}显示数值。
### MarkLineData.startSymbol
`SymbolStyle`
+
起始点的图形标记。 [SymbolStyle](#symbolstyle)
### MarkLineData.type
`MarkLineType`
+
特殊的标线类型,用于标注最大值最小值等。
可选:
@@ -2738,26 +3121,31 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent)
### MarkLineData.xPosition
`float`
+
相对原点的 x 坐标,单位像素。当type为None时有效。
### MarkLineData.xValue
`double`
+
X轴上的指定值。当X轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。
### MarkLineData.yPosition
`float`
+
相对原点的 y 坐标,单位像素。当type为None时有效。
### MarkLineData.yValue
`double`
+
Y轴上的指定值。当Y轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。
### MarkLineData.zeroPosition
-`bool` `false`
+`bool` `default: false`
+
是否为坐标系原点。
## MarqueeStyle
@@ -2770,22 +3158,26 @@ Marquee style. It can be used for the DataZoom component. 选取框样式。可
### MarqueeStyle.apply
-`bool` `false` `v3.5.0`
+`bool` `default: false` `v3.5.0`
+
选取框范围是否应用到DataZoom上。当为true时,框选结束后的范围即为DataZoom的选择范围。
### MarqueeStyle.areaStyle
`AreaStyle` `v3.5.0`
+
选取框区域填充样式。 [AreaStyle](#areastyle)
### MarqueeStyle.lineStyle
`LineStyle` `v3.5.0`
+
选取框区域边框样式。 [LineStyle](#linestyle)
### MarqueeStyle.realRect
-`bool` `false` `v3.5.0`
+`bool` `default: false` `v3.5.0`
+
是否选取实际框选区域。当为true时,以鼠标的其实点和结束点间的实际范围作为框选区域。
## MLValue
@@ -2801,6 +3193,7 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent)
`MLValue.Type`
+
可选:
- `Percent`: 百分比形式。
@@ -2811,6 +3204,7 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent)
`float`
+
## Padding
class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent) / 子类: [TextPadding](#textpadding)
@@ -2819,27 +3213,32 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent) / 子类
### Padding.bottom
-`float` `0`
+`float` `default: 0`
+
底部间距。
### Padding.left
-`float` `2f`
+`float` `default: 2f`
+
左边间距。
### Padding.right
-`float` `2f`
+`float` `default: 2f`
+
右部间距。
### Padding.show
-`bool` `true`
+`bool` `default: true`
+
show padding. 是否显示。
### Padding.top
-`float` `0`
+`float` `default: 0`
+
顶部间距。
## Parallel
@@ -2859,21 +3258,25 @@ Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart
### ParallelCoord.backgroundColor
`Color`
+
网格背景色,默认透明。
### ParallelCoord.bottom
-`float` `0.12f`
+`float` `default: 0.12f`
+
grid 组件离容器下侧的距离。
### ParallelCoord.left
-`float` `0.1f`
+`float` `default: 0.1f`
+
grid 组件离容器左侧的距离。
### ParallelCoord.orient
`Orient`
+
坐标轴朝向。默认为垂直朝向。
可选:
@@ -2883,17 +3286,20 @@ grid 组件离容器左侧的距离。
### ParallelCoord.right
-`float` `0.08f`
+`float` `default: 0.08f`
+
grid 组件离容器右侧的距离。
### ParallelCoord.show
-`bool` `true`
+`bool` `default: true`
+
是否显示直角坐标系网格。
### ParallelCoord.top
-`float` `0.22f`
+`float` `default: 0.22f`
+
grid 组件离容器上侧的距离。
## Pie
@@ -2902,7 +3308,8 @@ class in XCharts.Runtime / 继承自: [Serie](#serie)
### Pie.radiusGradient
-`bool` `false` `v3.8.1`
+`bool` `default: false` `v3.8.1`
+
是否开启半径方向的渐变效果。
## PolarAxisTheme
@@ -2918,26 +3325,31 @@ class in XCharts.Runtime / 继承自: [CoordSystem](#coordsystem), [ISerieContai
### PolarCoord.backgroundColor
`Color`
+
极坐标的背景色,默认透明。
### PolarCoord.center
`float[]`
+
极坐标的中心点。数组的第一项是横坐标,第二项是纵坐标。 当值为0-1之间时表示百分比,设置成百分比时第一项是相对于容器宽度,第二项是相对于容器高度。
### PolarCoord.indicatorLabelOffset
-`float` `30f` `v3.8.0`
+`float` `default: 30f` `v3.8.0`
+
指示器标签的偏移量。
### PolarCoord.radius
`float[]`
+
半径。radius[0]表示内径,radius[1]表示外径。
### PolarCoord.show
-`bool` `true`
+`bool` `default: true`
+
是否显示极坐标。
## Radar
@@ -2946,7 +3358,8 @@ class in XCharts.Runtime / 继承自: [Serie](#serie), [INeedSerieContainer](#in
### Radar.smooth
-`bool` `false` `v3.2.0`
+`bool` `default: false` `v3.2.0`
+
是否平滑曲线。平滑曲线时不支持区域填充颜色。
## RadarAxisTheme
@@ -2975,7 +3388,8 @@ class in XCharts.Runtime / 继承自: [Serie](#serie)
### Ring.radiusGradient
-`bool` `false` `v3.12.0`
+`bool` `default: false` `v3.12.0`
+
是否开启半径方向的渐变效果。
## Scatter
@@ -2999,6 +3413,7 @@ class in XCharts.Runtime / 继承自: [BaseSerie](#baseserie), [IComparable](htt
### Serie.align
`Align`
+
组件水平方向对齐方式。
可选:
@@ -3010,31 +3425,37 @@ class in XCharts.Runtime / 继承自: [BaseSerie](#baseserie), [IComparable](htt
### Serie.animation
`AnimationStyle`
+
起始动画。 [AnimationStyle](#animationstyle)
### Serie.avoidLabelOverlap
-`bool` `false`
+`bool` `default: false`
+
在饼图且标签外部显示的情况下,是否启用防止标签重叠策略,默认关闭,在标签拥挤重叠的情况下会挪动各个标签的位置,防止标签间的重叠。
### Serie.barGap
-`float` `0.1f`
+`float` `default: 0.1f`
+
不同系列的柱间距离。为百分比(如 '0.3f',表示柱子宽度的 30%) 如果想要两个系列的柱子重叠,可以设置 barGap 为 '-1f'。这在用柱子做背景的时候有用。 在同一坐标系上,此属性会被多个 'bar' 系列共享。此属性应设置于此坐标系中最后一个 'bar' 系列上才会生效,并且是对此坐标系中所有 'bar' 系列生效。
### Serie.barMaxWidth
-`float` `0` `v3.5.0`
+`float` `default: 0` `v3.5.0`
+
柱条的最大宽度,默认为0为不限制最大宽度。支持设置成相对于类目宽度的百分比。
### Serie.barPercentStack
-`bool` `false`
+`bool` `default: false`
+
柱形图是否为百分比堆积。相同stack的serie只要有一个barPercentStack为true,则就显示成百分比堆叠柱状图。
### Serie.barType
`BarType`
+
柱形图类型。
可选:
@@ -3045,47 +3466,56 @@ class in XCharts.Runtime / 继承自: [BaseSerie](#baseserie), [IComparable](htt
### Serie.barWidth
-`float` `0`
+`float` `default: 0`
+
柱条的宽度,不设时自适应。支持设置成相对于类目宽度的百分比。
### Serie.barZebraGap
-`float` `2f`
+`float` `default: 2f`
+
斑马线的间距。
### Serie.barZebraWidth
-`float` `4f`
+`float` `default: 4f`
+
斑马线的粗细。
### Serie.bottom
`float`
+
组件离容器下侧的距离。
### Serie.center
`float[]`
+
中心点。
### Serie.clickOffset
-`bool` `true`
+`bool` `default: true`
+
鼠标点击时是否开启偏移,一般用在PieChart图表中。
### Serie.clip
-`bool` `false`
+`bool` `default: false`
+
是否裁剪超出坐标系部分的图形。
### Serie.clockwise
-`bool` `true`
+`bool` `default: true`
+
是否顺时针。
### Serie.colorBy
`SerieColorBy` `v3.2.0`
+
从主题中取色的策略。
可选:
@@ -3097,16 +3527,19 @@ class in XCharts.Runtime / 继承自: [BaseSerie](#baseserie), [IComparable](htt
### Serie.coordSystem
`string`
+
使用的坐标系。
### Serie.data
`List`
+
系列中的数据内容数组。SerieData可以设置1到n维数据。
### Serie.dataSortType
`SerieDataSortType`
+
组件的数据排序。
可选:
@@ -3118,71 +3551,85 @@ class in XCharts.Runtime / 继承自: [BaseSerie](#baseserie), [IComparable](htt
### Serie.endAngle
`float`
+
结束角度。和时钟一样,12点钟位置是0度,顺时针到360度。
### Serie.gap
`float`
+
间距。
### Serie.gridIndex
-`int` `-1` `v3.8.0`
+`int` `default: -1` `v3.8.0`
+
所使用的 layout 组件的 index。 默认为-1不指定index, 当为大于或等于0时, 为第一个layout组件的第index个格子。
### Serie.ignore
-`bool` `false`
+`bool` `default: false`
+
是否开启忽略数据。当为 true 时,数据值为 ignoreValue 时不进行绘制。
### Serie.ignoreLineBreak
-`bool` `false`
+`bool` `default: false`
+
忽略数据时折线是断开还是连接。默认false为连接。
### Serie.ignoreValue
-`double` `0`
+`double` `default: 0`
+
忽略数据的默认值。当ignore为true才有效。
### Serie.index
`int`
+
系列索引。
### Serie.insertDataToHead
`bool`
+
添加新数据时是在列表的头部还是尾部加入。
### Serie.itemStyle
`ItemStyle`
+
图形样式。 [ItemStyle](#itemstyle)
### Serie.large
-`bool` `true`
+`bool` `default: true`
+
是否开启大数据量优化,在数据图形特别多而出现卡顿时候可以开启。 开启后配合 largeThreshold 在数据量大于指定阈值的时候对绘制进行优化。 缺点:优化后不能自定义设置单个数据项的样式,不能显示Label。
### Serie.largeThreshold
-`int` `200`
+`int` `default: 200`
+
开启大数量优化的阈值。只有当开启了large并且数据量大于该阀值时才进入性能模式。
### Serie.left
`float`
+
组件离容器左侧的距离。
### Serie.lineStyle
`LineStyle`
+
线条样式。 [LineStyle](#linestyle)
### Serie.lineType
`LineType`
+
折线图样式类型。
可选:
@@ -3196,66 +3643,79 @@ class in XCharts.Runtime / 继承自: [BaseSerie](#baseserie), [IComparable](htt
### Serie.links
`List`
+
数据节点的边。
### Serie.max
`float`
+
最大值。
### Serie.maxCache
`int`
+
系列中可缓存的最大数据量。默认为0没有限制,大于0时超过指定值会移除旧数据再插入新数据。
### Serie.maxShow
`int`
+
系列所显示数据的最大索引
### Serie.maxSize
-`float` `1f`
+`float` `default: 1f`
+
数据最大值 max 映射的宽度。
### Serie.min
`float`
+
最小值。
### Serie.minAngle
`float`
+
最小的扇区角度(0-360)。用于防止某个值过小导致扇区太小影响交互。
### Serie.minRadius
-`float` `0f` `v3.8.0`
+`float` `default: 0f` `v3.8.0`
+
最小半径。可用于限制玫瑰图的最小半径。
### Serie.minShow
`int`
+
系列所显示数据的最小索引
### Serie.minShowLabel
-`bool` `false` `v3.10.0`
+`bool` `default: false` `v3.10.0`
+
是否开启值小于指定值`minShowLabelValue`时不显示标签。
### Serie.minShowLabelValue
-`double` `0` `v3.10.0`
+`double` `default: 0` `v3.10.0`
+
当开启`minShowLabel`时,值小于该值时不显示标签。
### Serie.minSize
-`float` `0f`
+`float` `default: 0f`
+
数据最小值 min 映射的宽度。
### Serie.orient
`Orient`
+
组件的朝向。
可选:
@@ -3265,27 +3725,32 @@ class in XCharts.Runtime / 继承自: [BaseSerie](#baseserie), [IComparable](htt
### Serie.parallelIndex
-`int` `0`
+`int` `default: 0`
+
所使用的 parallel coord 组件的 index。
### Serie.placeHolder
-`bool` `false`
+`bool` `default: false`
+
占位模式。占位模式时,数据有效但不参与渲染和显示。
### Serie.polarIndex
-`int` `0`
+`int` `default: 0`
+
所使用的 polar 组件的 index。
### Serie.radarIndex
-`int` `0`
+`int` `default: 0`
+
雷达图所使用的 radar 组件的 index。
### Serie.radarType
`RadarType`
+
雷达图类型。
可选:
@@ -3296,16 +3761,19 @@ class in XCharts.Runtime / 继承自: [BaseSerie](#baseserie), [IComparable](htt
### Serie.radius
`float[]`
+
半径。radius[0]表示内径,radius[1]表示外径。
### Serie.right
`float`
+
组件离容器右侧的距离。
### Serie.roseType
`RoseType`
+
是否展示成南丁格尔图,通过半径区分数据大小。
可选:
@@ -3317,21 +3785,25 @@ class in XCharts.Runtime / 继承自: [BaseSerie](#baseserie), [IComparable](htt
### Serie.roundCap
`bool`
+
是否开启圆弧效果。
### Serie.sampleAverage
-`float` `0`
+`float` `default: 0`
+
设定的采样平均值。当sampleType 为 Peak 时,用于和过滤数据的平均值做对比是取最大值还是最小值。默认为0时会实时计算所有数据的平均值。
### Serie.sampleDist
-`float` `0`
+`float` `default: 0`
+
采样的最小像素距离,默认为0时不采样。当两个数据点间的水平距离小于改值时,开启采样,保证两点间的水平距离不小于改值。
### Serie.sampleType
`SampleType`
+
采样类型。当sampleDist大于0时有效。
可选:
@@ -3345,61 +3817,73 @@ class in XCharts.Runtime / 继承自: [BaseSerie](#baseserie), [IComparable](htt
### Serie.serieName
`string`
+
系列名称,用于 tooltip 的显示,legend 的图例筛选。
### Serie.serieType
`string`
+
系列类型。
### Serie.show
-`bool` `true`
+`bool` `default: true`
+
系列是否显示在图表上。
### Serie.showAsPositiveNumber
-`bool` `false`
+`bool` `default: false`
+
将负数数值显示为正数。一般和`AxisLabel`的`showAsPositiveNumber`配合使用。仅在折线图和柱状图中有效。
### Serie.showDataDimension
`int`
+
数据项里的数据维数。
### Serie.showDataName
`bool`
+
在Editor的inpsector上是否显示name参数
### Serie.singleAxisIndex
-`int` `0`
+`int` `default: 0`
+
所使用的 singleAxis 组件的 index。
### Serie.smoothLimit
-`bool` `false` `v3.4.0`
+`bool` `default: false` `v3.4.0`
+
是否限制曲线。当为true时,两个连续相同数值的数据间的曲线会限制为不超出数据点,和数据点是平直的。
### Serie.splitNumber
`int`
+
刻度分割段数。最大可设置36。
### Serie.stack
`string`
+
数据堆叠,同个类目轴上系列配置相同的stack值后,后一个系列的值会在前一个系列的值上相加。
### Serie.startAngle
`float`
+
起始角度。和时钟一样,12点钟位置是0度,顺时针到360度。
### Serie.state
`SerieState` `v3.2.0`
+
系列的默认状态。
可选:
@@ -3413,26 +3897,31 @@ class in XCharts.Runtime / 继承自: [BaseSerie](#baseserie), [IComparable](htt
### Serie.symbol
`SerieSymbol`
+
标记的图形。 [SerieSymbol](#seriesymbol)
### Serie.top
`float`
+
组件离容器上侧的距离。
### Serie.vesselIndex
-`int` `0`
+`int` `default: 0`
+
水位图所使用的 vessel 组件的 index。
### Serie.xAxisIndex
-`int` `0`
+`int` `default: 0`
+
使用X轴的index。
### Serie.yAxisIndex
-`int` `0`
+`int` `default: 0`
+
使用Y轴的index。
## SerieData
@@ -3444,46 +3933,55 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent)
### SerieData.data
`List`
+
可指定任意维数的数值列表。
### SerieData.id
`string`
+
数据项的唯一id。唯一id不是必须设置的。
### SerieData.ignore
`bool`
+
是否忽略数据。当为 true 时,数据不进行绘制。
### SerieData.index
`int`
+
数据项索引。
### SerieData.name
`string`
+
数据项名称。
### SerieData.parentId
`string`
+
父节点id。父节点id不是必须设置的。
### SerieData.radius
`float`
+
自定义半径。可用在饼图中自定义某个数据项的半径。
### SerieData.selected
`bool`
+
该数据项是否被选中。
### SerieData.state
`SerieState` `v3.2.0`
+
数据项的默认状态。
可选:
@@ -3505,16 +4003,19 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent)
### SerieDataLink.source
`string`
+
边的源节点名称。
### SerieDataLink.target
`string`
+
边的目标节点名称。
### SerieDataLink.value
`double`
+
边的值。决定边的宽度。
## SerieSymbol
@@ -3525,47 +4026,56 @@ class in XCharts.Runtime / 继承自: [SymbolStyle](#symbolstyle), [ISerieDataCo
### SerieSymbol.dataIndex
-`int` `1`
+`int` `default: 1`
+
当sizeType指定为FromData时,指定的数据源索引。
### SerieSymbol.dataScale
-`float` `1`
+`float` `default: 1`
+
当sizeType指定为FromData时,指定的倍数系数。
### SerieSymbol.forceShowLast
-`bool` `false`
+`bool` `default: false`
+
是否强制显示最后一个图形标记。
### SerieSymbol.interval
`int`
+
显示图形标记的间隔。0表示显示所有标签,1表示隔一个隔显示一个标签,以此类推。
### SerieSymbol.maxSize
-`float` `0f` `v3.3.0`
+`float` `default: 0f` `v3.3.0`
+
图形最大尺寸。只在sizeType为SymbolSizeType.FromData时有效。
### SerieSymbol.minSize
-`float` `0f` `v3.3.0`
+`float` `default: 0f` `v3.3.0`
+
图形最小尺寸。只在sizeType为SymbolSizeType.FromData时有效。
### SerieSymbol.repeat
-`bool` `false`
+`bool` `default: false`
+
图形是否重复。
### SerieSymbol.sizeFunction
`SymbolSizeFunction`
+
当sizeType指定为Function时,指定的委托函数。
### SerieSymbol.sizeType
`SymbolSizeType`
+
标记图形的大小获取方式。
可选:
@@ -3577,6 +4087,7 @@ class in XCharts.Runtime / 继承自: [SymbolStyle](#symbolstyle), [ISerieDataCo
### SerieSymbol.startIndex
`int`
+
开始显示图形标记的索引。
## SerieTheme
@@ -3585,42 +4096,50 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent)
### SerieTheme.candlestickBorderColor
-`Color32` `Color32(235, 84, 84, 255)`
+`Color32` `default: Color32(235, 84, 84, 255)`
+
K线图阳线(跌)边框色
### SerieTheme.candlestickBorderColor0
-`Color32` `Color32(71, 178, 98, 255)`
+`Color32` `default: Color32(71, 178, 98, 255)`
+
K线图阴线(跌)边框色
### SerieTheme.candlestickBorderWidth
-`float` `1`
+`float` `default: 1`
+
K线图边框宽度
### SerieTheme.candlestickColor
-`Color32` `Color32(235, 84, 84, 255)`
+`Color32` `default: Color32(235, 84, 84, 255)`
+
K线图阳线(涨)填充色
### SerieTheme.candlestickColor0
-`Color32` `Color32(71, 178, 98, 255)`
+`Color32` `default: Color32(71, 178, 98, 255)`
+
K线图阴线(跌)填充色
### SerieTheme.lineSymbolSize
`float`
+
折线图的Symbol大小。
### SerieTheme.lineWidth
`float`
+
文本颜色。
### SerieTheme.scatterSymbolSize
`float`
+
散点图的Symbol大小。
## Settings
@@ -3631,71 +4150,85 @@ class in XCharts.Runtime / 继承自: [MainComponent](#maincomponent)
### Settings.axisMaxSplitNumber
-`float` `50` `v3.1.0`
+`float` `default: 50` `v3.1.0`
+
坐标轴最大分隔段数。段数过大时可能会生成较多的label节点。
### Settings.basePainterMaterial
`Material`
+
Base Pointer 材质球,设置后会影响Axis等。
### Settings.cicleSmoothness
-`float` `2f`
+`float` `default: 2f`
+
圆形的平滑度。数越小圆越平滑,但顶点数也会随之增加。
### Settings.legendIconCornerRadius
`float[]`
+
图例圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。
### Settings.legendIconLineWidth
-`float` `2`
+`float` `default: 2`
+
Line类型图例图标的线条宽度。
### Settings.lineSegmentDistance
-`float` `3f`
+`float` `default: 3f`
+
线段的分割距离。普通折线图的线是由很多线段组成,段数由该数值决定。值越小段数越多,但顶点数也会随之增加。当开启有渐变的区域填充时,数值越大渐变过渡效果越差。
### Settings.lineSmoothness
-`float` `2f`
+`float` `default: 2f`
+
When the area with gradient is filled, the larger the value, the worse the transition effect.
### Settings.lineSmoothStyle
-`float` `2.5f`
+`float` `default: 2.5f`
+
曲线平滑系数。通过调整平滑系数可以改变曲线的曲率,得到外观稍微有变化的不同曲线。
### Settings.maxPainter
-`int` `10`
+`int` `default: 10`
+
设定的painter数量。
### Settings.reversePainter
-`bool` `false`
+`bool` `default: false`
+
Painter是否逆序。逆序时index大的serie最先绘制。
### Settings.seriePainterMaterial
`Material`
+
Serie Pointer 材质球,设置后会影响所有Serie。
### Settings.show
-`bool` `true`
+`bool` `default: true`
+
### Settings.topPainterMaterial
`Material`
+
Top Pointer 材质球。
### Settings.upperPainterMaterial
`Material`
+
Upper Pointer 材质球。
## SimplifiedBar
@@ -3718,22 +4251,26 @@ class in XCharts.Runtime / 继承自: [Axis](#axis), [IUpdateRuntimeData](#iupda
### SingleAxis.bottom
-`float` `0.2f`
+`float` `default: 0.2f`
+
组件离容器下侧的距离。
### SingleAxis.height
-`float` `50`
+`float` `default: 50`
+
坐标轴高。
### SingleAxis.left
-`float` `0.1f`
+`float` `default: 0.1f`
+
组件离容器左侧的距离。
### SingleAxis.orient
`Orient`
+
坐标轴朝向。默认为水平朝向。
可选:
@@ -3743,17 +4280,20 @@ class in XCharts.Runtime / 继承自: [Axis](#axis), [IUpdateRuntimeData](#iupda
### SingleAxis.right
-`float` `0.1f`
+`float` `default: 0.1f`
+
组件离容器右侧的距离。
### SingleAxis.top
-`float` `0f`
+`float` `default: 0f`
+
组件离容器上侧的距离。
### SingleAxis.width
-`float` `0`
+`float` `default: 0`
+
坐标轴宽。
## SingleAxisCoord
@@ -3767,11 +4307,13 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent)
### StageColor.color
`Color32`
+
颜色。
### StageColor.percent
`float`
+
结束位置百分比。
## StateStyle
@@ -3785,36 +4327,43 @@ Serie的状态样式。Serie的状态有正常,高亮,淡出,选中四种
### StateStyle.areaStyle
`AreaStyle`
+
区域样式。 [AreaStyle](#areastyle)
### StateStyle.itemStyle
`ItemStyle`
+
图形样式。 [ItemStyle](#itemstyle)
### StateStyle.label
`LabelStyle`
+
图形文本标签。 [LabelStyle](#labelstyle)
### StateStyle.labelLine
`LabelLine`
+
图形文本引导线样式。 [LabelLine](#labelline)
### StateStyle.lineStyle
`LineStyle`
+
折线样式。 [LineStyle](#linestyle)
### StateStyle.show
-`bool` `true`
+`bool` `default: true`
+
是否启用高亮样式。
### StateStyle.symbol
`SerieSymbol`
+
标记样式。 [SerieSymbol](#seriesymbol)
## SubTitleTheme
@@ -3830,46 +4379,55 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent) / 子类
### SymbolStyle.color
`Color32`
+
图形的颜色。
### SymbolStyle.gap
-`float` `0`
+`float` `default: 0`
+
图形标记和线条的间隙距离。
### SymbolStyle.height
-`float` `0f`
+`float` `default: 0f`
+
图形的高。
### SymbolStyle.image
`Sprite`
+
自定义的标记图形。
### SymbolStyle.imageType
`Image.Type`
+
图形填充类型。
### SymbolStyle.offset
-`Vector2` `Vector2.zero`
+`Vector2` `default: Vector2.zero`
+
图形的偏移。
### SymbolStyle.show
-`bool` `true`
+`bool` `default: true`
+
是否显示标记。
### SymbolStyle.size
-`float` `0f`
+`float` `default: 0f`
+
标记的大小。
### SymbolStyle.type
`SymbolType`
+
标记类型。
可选:
@@ -3891,7 +4449,8 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent) / 子类
### SymbolStyle.width
-`float` `0f`
+`float` `default: 0f`
+
图形的宽。
## TextLimit
@@ -3902,22 +4461,26 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent)
### TextLimit.enable
-`bool` `false`
+`bool` `default: false`
+
是否启用文本自适应。 [default:true]
### TextLimit.gap
-`float` `1`
+`float` `default: 1`
+
两边留白像素距离。 [default:10f]
### TextLimit.maxWidth
-`float` `0`
+`float` `default: 0`
+
Clipping occurs when the width of the text is greater than this value.
### TextLimit.suffix
`string`
+
长度超出时的后缀。 [default: "..."]
## TextPadding
@@ -3935,75 +4498,90 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent)
### TextStyle.alignment
`TextAnchor`
+
对齐方式。
### TextStyle.autoAlign
-`bool` `true`
+`bool` `default: true`
+
文本是否让系统自动选对齐方式。为false时才会用alignment。
### TextStyle.autoColor
-`bool` `false`
+`bool` `default: false`
+
是否开启自动颜色。当开启时,会自动设置颜色。
### TextStyle.autoWrap
-`bool` `false`
+`bool` `default: false`
+
是否自动换行。
### TextStyle.color
`Color`
+
文本的颜色。 [default: `Color.clear`]
### TextStyle.font
`Font`
+
文本字体。 [default: null]
### TextStyle.fontSize
-`int` `0`
+`int` `default: 0`
+
文本字体大小。 [default: 18]
### TextStyle.fontStyle
`FontStyle`
+
文本字体的风格。 [default: FontStyle.Normal]
### TextStyle.lineSpacing
-`float` `1f`
+`float` `default: 1f`
+
行间距。 [default: 1f]
### TextStyle.rotate
-`float` `0`
+`float` `default: 0`
+
文本的旋转。 [default: `0f`]
### TextStyle.show
-`bool` `true`
+`bool` `default: true`
+
文本的相关设置。
### TextStyle.tMPAlignment
`TextAlignmentOptions`
+
### TextStyle.tMPFont
`TMP_FontAsset`
+
TextMeshPro字体。
### TextStyle.tMPFontStyle
`FontStyles`
+
### TextStyle.tMPSpriteAsset
`TMP_SpriteAsset` `v3.1.0`
+
## Theme
class in XCharts.Runtime / 继承自: [ScriptableObject](https://docs.unity3d.com/ScriptReference/30_search.html?q=ScriptableObject)
@@ -4013,61 +4591,73 @@ class in XCharts.Runtime / 继承自: [ScriptableObject](https://docs.unity3d.co
### Theme.axis
`AxisTheme`
+
[AxisTheme](#axistheme)
### Theme.backgroundColor
`Color32`
+
背景颜色。
### Theme.colorPalette
`List`
+
调色盘颜色列表。如果系列没有设置颜色,则会依次循环从该列表中取颜色作为系列颜色。
### Theme.common
`ComponentTheme`
+
[ComponentTheme](#componenttheme)
### Theme.contrastColor
`Color32`
+
对比色。
### Theme.dataZoom
`DataZoomTheme`
+
[DataZoomTheme](#datazoomtheme)
### Theme.font
`Font`
+
主题字体。
### Theme.legend
`LegendTheme`
+
[LegendTheme](#legendtheme)
### Theme.serie
`SerieTheme`
+
[SerieTheme](#serietheme)
### Theme.subTitle
`SubTitleTheme`
+
[SubTitleTheme](#subtitletheme)
### Theme.themeName
`string`
+
主题名称。
### Theme.themeType
`ThemeType`
+
主题类型。
可选:
@@ -4080,21 +4670,25 @@ class in XCharts.Runtime / 继承自: [ScriptableObject](https://docs.unity3d.co
### Theme.title
`TitleTheme`
+
[TitleTheme](#titletheme)
### Theme.tMPFont
`TMP_FontAsset`
+
主题字体。
### Theme.tooltip
`TooltipTheme`
+
[TooltipTheme](#tooltiptheme)
### Theme.visualMap
`VisualMapTheme`
+
[VisualMapTheme](#visualmaptheme)
## ThemeStyle
@@ -4106,33 +4700,40 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent)
### ThemeStyle.customBackgroundColor
`Color32`
+
自定义的背景颜色。
### ThemeStyle.customColorPalette
`List`
+
### ThemeStyle.customFont
`Font`
+
### ThemeStyle.enableCustomTheme
-`bool` `false`
+`bool` `default: false`
+
是否自定义主题颜色。当设置为true时,可以用‘sync color to custom’同步主题的颜色到自定义颜色。也可以手动设置。
### ThemeStyle.sharedTheme
`Theme`
+
主题配置。 [Theme](#theme)
### ThemeStyle.show
-`bool` `true`
+`bool` `default: true`
+
### ThemeStyle.transparentBackground
-`bool` `false`
+`bool` `default: false`
+
是否透明背景颜色。当设置为true时,不绘制背景颜色。
## Title
@@ -4143,37 +4744,44 @@ class in XCharts.Runtime / 继承自: [MainComponent](#maincomponent), [IPropert
### Title.itemGap
-`float` `0`
+`float` `default: 0`
+
主副标题之间的间距。
### Title.labelStyle
`LabelStyle`
+
主标题文本样式。 [LabelStyle](#labelstyle)
### Title.location
`Location`
+
标题显示位置。 [Location](#location)
### Title.show
-`bool` `true`
+`bool` `default: true`
+
是否显示标题组件。
### Title.subLabelStyle
`LabelStyle`
+
副标题文本样式。 [LabelStyle](#labelstyle)
### Title.subText
`string`
+
副标题文本,支持使用 \n 换行。
### Title.text
`string`
+
主标题文本,支持使用 \n 换行。
## TitleStyle
@@ -4194,122 +4802,146 @@ class in XCharts.Runtime / 继承自: [MainComponent](#maincomponent)
### Tooltip.alwayShowContent
-`bool` `false`
+`bool` `default: false`
+
是否触发后一直显示提示框浮层。
### Tooltip.backgroundColor
`Color`
+
提示框的背景颜色。
### Tooltip.backgroundImage
`Sprite`
+
提示框的背景图片。
### Tooltip.backgroundType
`Image.Type`
+
提示框的背景图片显示类型。
### Tooltip.borderColor
-`Color32` `Color32(230, 230, 230, 255)`
+`Color32` `default: Color32(230, 230, 230, 255)`
+
边框颜色。
### Tooltip.borderWidth
-`float` `2f`
+`float` `default: 2f`
+
边框线宽。
### Tooltip.contentLabelStyles
`List`
+
内容部分的文本样式列表。和列一一对应。
### Tooltip.fixedHeight
-`float` `0`
+`float` `default: 0`
+
固定高度。比 minHeight 优先。
### Tooltip.fixedWidth
-`float` `0`
+`float` `default: 0`
+
固定宽度。比 minWidth 优先。
### Tooltip.fixedX
-`float` `0f`
+`float` `default: 0f`
+
固定X位置的坐标。
### Tooltip.fixedY
-`float` `0.7f`
+`float` `default: 0.7f`
+
固定Y位置的坐标。
### Tooltip.ignoreDataDefaultContent
`string`
+
被忽略数据的默认显示字符信息。如果设置为空,则表示完全不显示忽略数据。
### Tooltip.ignoreDataShow
-`bool` `false`
+`bool` `default: false`
+
是否显示忽略数据在tooltip上。
### Tooltip.itemFormatter
`string`
+
提示框单个serie或数据项内容的字符串模版格式器。支持用 \n 换行。用|来表示多个列的分隔。 模板变量有{.}、{a}、{b}、{c}、{d}、{e}、{f}、{g}。
{i}或-表示忽略当前项。 {.}为当前所指示的serie或数据项的对应颜色的圆点。
{a}为当前所指示的serie或数据项的系列名name。
{b}为当前所指示的serie或数据项的数据项serieData的name,或者类目值(如折线图的X轴)。
{c}为当前所指示的serie或数据项的y维(dimesion为1)的数值。
{d}为当前所指示的serie或数据项的y维(dimesion为1)百分比值,注意不带%号。
{e}为当前所指示的serie或数据项的数据项serieData的name。
{f}为当前所指示的serie的默认维度的数据总和。
{g}为当前所指示的serie的数据总个数。
{h}为当前所指示的serie的十六进制颜色值。
{y}为当前所指示的serie的y轴的类目值。
{c0}表示当前数据项维度为0的数据。
{c1}表示当前数据项维度为1的数据。
{d3}表示维度3的数据的百分比。它的分母是默认维度(一般是1维度)数据。
|表示多个列的分隔。
示例:"{i}", "{.}|{a}|{c}", "{.}|{b}|{c2:f2}", "{.}|{b}|{y}"
### Tooltip.itemHeight
-`float` `25f`
+`float` `default: 25f`
+
数据项文本的高。
### Tooltip.lineStyle
`LineStyle`
+
指示线样式。 [LineStyle](#linestyle)
### Tooltip.marker
`string`
+
serie的符号标志。
### Tooltip.minHeight
-`float` `0`
+`float` `default: 0`
+
最小高度。如若 fixedHeight 设有值,优先取 fixedHeight。
### Tooltip.minWidth
-`float` `0`
+`float` `default: 0`
+
最小宽度。如若 fixedWidth 设有值,优先取 fixedWidth。
### Tooltip.numericFormatter
`string`
+
标准数字和日期格式字符串。用于将Double数值或DateTime日期格式化显示为字符串。numericFormatter用来作为Double.ToString()或DateTime.ToString()的参数。
数字格式使用Axx的形式:A是格式说明符的单字符,支持C货币、D十进制、E指数、F定点数、G常规、N数字、P百分比、R往返、X十六进制的。xx是精度说明,从0-99。如:F1, E2
日期格式:以`date`开头,用来格式化DateTime,常见格式有:yyyy年,MM月,dd日,HH时,mm分,ss秒,fff毫秒。如:date:yyyy-MM-dd HH:mm:ss
时间格式:以`time`开头,用来格式化TimeSpan,常见格式有:d日,HH时,mm分,ss秒,fffffff小数部分。 需要Unity2018以上版本才支持格式化,并且里面的字符要转义。如:time:d\.HH\:mm\:ss
数值格式化参考:https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings
日期格式化参考:https://learn.microsoft.com/zh-cn/dotnet/standard/base-types/standard-date-and-time-format-strings
时间格式化参考:https://learn.microsoft.com/zh-cn/dotnet/standard/base-types/standard-timespan-format-strings
注意:date和time格式需要`v3.12.0`以上版本才支持。
### Tooltip.offset
-`Vector2` `Vector2(18f, -25f)`
+`Vector2` `default: Vector2(18f, -25f)`
+
提示框相对于鼠标位置的偏移。
### Tooltip.paddingLeftRight
-`int` `10`
+`int` `default: 10`
+
左右边距。
### Tooltip.paddingTopBottom
-`int` `10`
+`int` `default: 10`
+
上下边距。
### Tooltip.position
`Tooltip.Position` `v3.3.0`
+
显示位置类型。
可选:
@@ -4321,32 +4953,38 @@ serie的符号标志。
### Tooltip.show
-`bool` `true`
+`bool` `default: true`
+
是否显示提示框组件。
### Tooltip.showContent
-`bool` `true`
+`bool` `default: true`
+
是否显示提示框浮层,默认显示。只需tooltip触发事件或显示axisPointer而不需要显示内容时可配置该项为false。
### Tooltip.titleFormatter
`string`
+
提示框标题内容的字符串模版格式器。支持用 \n 换行。可以单独设置占位符{i}表示忽略不显示title。 模板变量有{.}、{a}、{b}、{c}、{d}、{e}、{f}、{g}。
{.}为当前所指示或index为0的serie的对应颜色的圆点。
{a}为当前所指示或index为0的serie的系列名name。
{b}为当前所指示或index为0的serie的数据项serieData的name,或者类目值(如折线图的X轴)。
{c}为当前所指示或index为0的serie的y维(dimesion为1)的数值。
{d}为当前所指示或index为0的serie的y维(dimesion为1)百分比值,注意不带%号。
{e}为当前所指示或index为0的serie的数据项serieData的name。
{h}为当前所指示或index为0的serie的数据项serieData的十六进制颜色值。
{f}为数据总和。
{g}为数据总个数。
{y}为value所对应的y轴的类目值。
{.1}表示指定index为1的serie对应颜色的圆点。
{a1}、{b1}、{c1}中的1表示指定index为1的serie。
{c1:2}表示索引为1的serie的当前指示数据项的第3个数据(一个数据项有多个数据,index为2表示第3个数据)。
{c1:2-2}表示索引为1的serie的第3个数据项的第3个数据(也就是要指定第几个数据项时必须要指定第几个数据)。
{d1:2:f2}表示单独指定了数值的格式化字符串为f2(不指定时用numericFormatter)。
{d:0.##} 表示单独指定了数值的格式化字符串为 0.## (用于百分比,保留2位有效数同时又能避免使用 f2 而出现的类似于"100.00%"的情况 )。
示例:"{a}:{c}"、"{a1}:{c1:f1}"、"{a1}:{c1:0:f1}"、"{a1}:{c1:1-1:f1}"
### Tooltip.titleHeight
-`float` `25f`
+`float` `default: 25f`
+
标题文本的高。
### Tooltip.titleLabelStyle
`LabelStyle`
+
标题的文本样式。 [LabelStyle](#labelstyle)
### Tooltip.trigger
`Tooltip.Trigger`
+
触发类型。
可选:
@@ -4359,6 +4997,7 @@ serie的符号标志。
### Tooltip.triggerOn
`Tooltip.TriggerOn` `v3.11.0`
+
触发条件。
可选:
@@ -4369,6 +5008,7 @@ serie的符号标志。
### Tooltip.type
`Tooltip.Type`
+
提示框指示器类型。
可选:
@@ -4386,26 +5026,31 @@ class in XCharts.Runtime / 继承自: [ComponentTheme](#componenttheme)
### TooltipTheme.areaColor
`Color32`
+
区域指示的颜色。
### TooltipTheme.labelBackgroundColor
`Color32`
+
十字指示器坐标轴标签的背景颜色。
### TooltipTheme.labelTextColor
`Color32`
+
十字指示器坐标轴标签的文本颜色。
### TooltipTheme.lineColor
`Color32`
+
指示线颜色。
### TooltipTheme.lineType
`LineStyle.Type`
+
坐标轴线类型。
可选:
@@ -4419,7 +5064,8 @@ class in XCharts.Runtime / 继承自: [ComponentTheme](#componenttheme)
### TooltipTheme.lineWidth
-`float` `1f`
+`float` `default: 1f`
+
指示线线宽。
## UIComponentTheme
@@ -4429,15 +5075,18 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent)
### UIComponentTheme.sharedTheme
`Theme`
+
主题配置。 [Theme](#theme)
### UIComponentTheme.show
-`bool` `true`
+`bool` `default: true`
+
### UIComponentTheme.transparentBackground
-`bool` `false`
+`bool` `default: false`
+
## ViewControl
@@ -4449,12 +5098,14 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent)
### ViewControl.alpha
-`float` `90f`
+`float` `default: 90f`
+
视角在x-z平面的角度。
### ViewControl.beta
-`float` `55f`
+`float` `default: 55f`
+
视角在y-z平面的角度。
## VisualMap
@@ -4465,67 +5116,80 @@ class in XCharts.Runtime / 继承自: [MainComponent](#maincomponent)
### VisualMap.autoMinMax
-`bool` `true`
+`bool` `default: true`
+
Automatically set min, Max value 自动设置min,max的值
### VisualMap.borderWidth
-`float` `0`
+`float` `default: 0`
+
边框线宽,单位px。
### VisualMap.calculable
-`bool` `false`
+`bool` `default: false`
+
是否显示拖拽用的手柄(手柄能拖拽调整选中范围)。
### VisualMap.dimension
-`int` `-1`
+`int` `default: -1`
+
Starting at 1, the default is 0 to take the last dimension in data.
### VisualMap.hoverLink
-`bool` `true`
+`bool` `default: true`
+
Conversely, when the mouse hovers over a graphic element in a diagram, the corresponding value of the visualMap component is triangulated in the corresponding position.
### VisualMap.inRange
`List`
+
分段式每一段的相关配置。
### VisualMap.itemGap
-`float` `10f`
+`float` `default: 10f`
+
每个图元之间的间隔距离。
### VisualMap.itemHeight
-`float` `140f`
+`float` `default: 140f`
+
图形的高度,即颜色条的高度。
### VisualMap.itemWidth
-`float` `20f`
+`float` `default: 20f`
+
图形的宽度,即颜色条的宽度。
### VisualMap.location
`Location`
+
组件显示的位置。 [Location](#location)
### VisualMap.max
-`double` `0`
+`double` `default: 0`
+
范围最大值
### VisualMap.min
-`double` `0`
+`double` `default: 0`
+
范围最小值
### VisualMap.orient
`Orient`
+
布局方式是横还是竖。
可选:
@@ -4536,21 +5200,25 @@ Conversely, when the mouse hovers over a graphic element in a diagram, the corre
### VisualMap.outOfRange
`List`
+
定义 在选中范围外 的视觉颜色。
### VisualMap.range
`double[]`
+
指定手柄对应数值的位置。range 应在[min,max]范围内。
### VisualMap.realtime
-`bool` `true`
+`bool` `default: true`
+
拖拽时,是否实时更新。
### VisualMap.selectedMode
`VisualMap.SelectedMode`
+
选择模式。
可选:
@@ -4560,37 +5228,44 @@ Conversely, when the mouse hovers over a graphic element in a diagram, the corre
### VisualMap.serieIndex
-`int` `0`
+`int` `default: 0`
+
影响的serie索引。
### VisualMap.show
-`bool` `true`
+`bool` `default: true`
+
组件是否生效。
### VisualMap.showUI
-`bool` `false`
+`bool` `default: false`
+
是否显示组件。如果设置为 false,不会显示,但是数据映射的功能还存在。
### VisualMap.splitNumber
-`int` `5`
+`int` `default: 5`
+
对于连续型数据,自动平均切分成几段,默认为0时自动匹配inRange颜色列表大小。
### VisualMap.text
`string[]`
+
两端的文本,如 ['High', 'Low']。
### VisualMap.textGap
`float[]`
+
两端文字主体之间的距离,单位为px。
### VisualMap.type
`VisualMap.Type`
+
组件类型。
可选:
@@ -4600,12 +5275,14 @@ Conversely, when the mouse hovers over a graphic element in a diagram, the corre
### VisualMap.workOnArea
-`bool` `false`
+`bool` `default: false`
+
组件是否对LineChart的AreaStyle有效。
### VisualMap.workOnLine
-`bool` `true`
+`bool` `default: true`
+
组件是否对LineChart的LineStyle有效。
## VisualMapRange
@@ -4615,21 +5292,25 @@ class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent)
### VisualMapRange.color
`Color32`
+
颜色
### VisualMapRange.label
`string`
+
文字描述
### VisualMapRange.max
`double`
+
范围最大值
### VisualMapRange.min
`double`
+
范围最小值
## VisualMapTheme
@@ -4639,21 +5320,25 @@ class in XCharts.Runtime / 继承自: [ComponentTheme](#componenttheme)
### VisualMapTheme.backgroundColor
`Color32`
+
背景颜色。
### VisualMapTheme.borderColor
`Color32`
+
边框颜色。
### VisualMapTheme.borderWidth
`float`
+
边框线宽。
### VisualMapTheme.triangeLen
-`float` `20f`
+`float` `default: 20f`
+
可视化组件的调节三角形边长。
## Wrapper<T>
@@ -4687,6 +5372,7 @@ class in XCharts.Runtime / 继承自: [ScriptableObject](https://docs.unity3d.co
`LineStyle.Type`
+
可选:
- `Solid`: 实线
@@ -4698,13 +5384,15 @@ class in XCharts.Runtime / 继承自: [ScriptableObject](https://docs.unity3d.co
### XCSettings.axisLineWidth
-`float` `0.8f`
+`float` `default: 0.8f`
+
### XCSettings.axisSplitLineType
`LineStyle.Type`
+
可选:
- `Solid`: 实线
@@ -4716,133 +5404,165 @@ class in XCharts.Runtime / 继承自: [ScriptableObject](https://docs.unity3d.co
### XCSettings.axisSplitLineWidth
-`float` `0.8f`
+`float` `default: 0.8f`
+
### XCSettings.axisTickLength
-`float` `5f`
+`float` `default: 5f`
+
### XCSettings.axisTickWidth
-`float` `0.8f`
+`float` `default: 0.8f`
+
### XCSettings.cicleSmoothness
-`float` `2f`
+`float` `default: 2f`
+
### XCSettings.customThemes
`List`
+
### XCSettings.dataZoomBorderWidth
-`float` `0.5f`
+`float` `default: 0.5f`
+
### XCSettings.dataZoomDataLineWidth
-`float` `0.5f`
+`float` `default: 0.5f`
+
### XCSettings.editorShowAllListData
-`bool` `false`
+`bool` `default: false`
+
### XCSettings.font
`Font`
+
### XCSettings.fontSizeLv1
-`int` `28`
+`int` `default: 28`
+
一级字体大小。
### XCSettings.fontSizeLv2
-`int` `24`
+`int` `default: 24`
+
### XCSettings.fontSizeLv3
-`int` `20`
+`int` `default: 20`
+
### XCSettings.fontSizeLv4
-`int` `18`
+`int` `default: 18`
+
### XCSettings.gaugeAxisLineWidth
-`float` `15f`
+`float` `default: 15f`
+
### XCSettings.gaugeAxisSplitLineLength
-`float` `15f`
+`float` `default: 15f`
+
### XCSettings.gaugeAxisSplitLineWidth
-`float` `0.8f`
+`float` `default: 0.8f`
+
### XCSettings.gaugeAxisTickLength
-`float` `5f`
+`float` `default: 5f`
+
### XCSettings.gaugeAxisTickWidth
-`float` `0.8f`
+`float` `default: 0.8f`
+
### XCSettings.lang
`Lang`
+
[Lang](#lang)
### XCSettings.lineSegmentDistance
-`float` `3f`
+`float` `default: 3f`
+
### XCSettings.lineSmoothness
-`float` `2f`
+`float` `default: 2f`
+
### XCSettings.lineSmoothStyle
-`float` `3f`
+`float` `default: 3f`
+
### XCSettings.maxPainter
-`int` `10`
+`int` `default: 10`
+
### XCSettings.serieCandlestickBorderWidth
-`float` `1f`
+`float` `default: 1f`
+
### XCSettings.serieLineSymbolSize
-`float` `5f`
+`float` `default: 5f`
+
### XCSettings.serieLineWidth
-`float` `1.8f`
+`float` `default: 1.8f`
+
### XCSettings.serieScatterSymbolSize
-`float` `20f`
+`float` `default: 20f`
+
### XCSettings.serieSelectedRate
-`float` `1.3f`
+`float` `default: 1.3f`
+
### XCSettings.tMPFont
`TMP_FontAsset`
+
### XCSettings.tootipLineWidth
-`float` `0.8f`
+`float` `default: 0.8f`
+
### XCSettings.visualMapBorderWidth
-`float` `0f`
+`float` `default: 0f`
+
### XCSettings.visualMapTriangeLen
-`float` `20f`
+`float` `default: 20f`
+
## YAxis