---
sidebar_position: 41
slug: /api
---

# API

## All Class

- [Align](#align)
- [AngleAxis](#angleaxis)
- [AngleAxisTheme](#angleaxistheme)
- [AnimationAddition](#animationaddition)
- [AnimationChange](#animationchange)
- [AnimationEasing](#animationeasing)
- [AnimationExchange](#animationexchange)
- [AnimationFadeIn](#animationfadein)
- [AnimationFadeOut](#animationfadeout)
- [AnimationHiding](#animationhiding)
- [AnimationInfo](#animationinfo)
- [AnimationInfoContext](#animationinfocontext)
- [AnimationInteraction](#animationinteraction)
- [AnimationStyle](#animationstyle)
- [AnimationStyleHelper](#animationstylehelper)
- [AnimationType](#animationtype)
- [AreaStyle](#areastyle)
- [AreaStyle.AreaOrigin](#areastyleareaorigin)
- [ArrowStyle](#arrowstyle)
- [Axis](#axis)
- [Axis.AxisMinMaxType](#axisaxisminmaxtype)
- [Axis.AxisPosition](#axisaxisposition)
- [Axis.AxisType](#axisaxistype)
- [Axis3DHelper](#axis3dhelper)
- [AxisAnimation](#axisanimation)
- [AxisContext](#axiscontext)
- [AxisHandler&lt;T&gt;](#axishandlert)
- [AxisHelper](#axishelper)
- [AxisLabel](#axislabel)
- [AxisLine](#axisline)
- [AxisMinorSplitLine](#axisminorsplitline)
- [AxisMinorTick](#axisminortick)
- [AxisName](#axisname)
- [AxisSplitArea](#axissplitarea)
- [AxisSplitLine](#axissplitline)
- [AxisTheme](#axistheme)
- [AxisTick](#axistick)
- [Background](#background)
- [Bar](#bar)
- [BarChart](#barchart)
- [BarType](#bartype)
- [BaseAxisTheme](#baseaxistheme)
- [BaseChart](#basechart)
- [BaseGraph](#basegraph)
- [BaseLine](#baseline)
- [BaseScatter](#basescatter)
- [BaseSerie](#baseserie)
- [BlurStyle](#blurstyle)
- [BorderStyle](#borderstyle)
- [CalendarCoord](#calendarcoord)
- [Candlestick](#candlestick)
- [CandlestickChart](#candlestickchart)
- [ChartCached](#chartcached)
- [ChartConst](#chartconst)
- [ChartDrawer](#chartdrawer)
- [ChartHelper](#charthelper)
- [ChartLabel](#chartlabel)
- [ChartObject](#chartobject)
- [ChartText](#charttext)
- [CheckHelper](#checkhelper)
- [ChildComponent](#childcomponent)
- [ColorUtil](#colorutil)
- [Comment](#comment)
- [CommentItem](#commentitem)
- [CommentLayer](#commentlayer)
- [CommentMarkStyle](#commentmarkstyle)
- [ComponentHandlerAttribute](#componenthandlerattribute)
- [ComponentHelper](#componenthelper)
- [ComponentTheme](#componenttheme)
- [CoordOptionsAttribute](#coordoptionsattribute)
- [CoordSystem](#coordsystem)
- [DataHelper](#datahelper)
- [DataZoom](#datazoom)
- [DataZoom.FilterMode](#datazoomfiltermode)
- [DataZoom.RangeMode](#datazoomrangemode)
- [DataZoomContext](#datazoomcontext)
- [DataZoomHelper](#datazoomhelper)
- [DataZoomTheme](#datazoomtheme)
- [DateTimeUtil](#datetimeutil)
- [DebugInfo](#debuginfo)
- [DefaultAnimationAttribute](#defaultanimationattribute)
- [DefaultTooltipAttribute](#defaulttooltipattribute)
- [DefineSymbolsUtil](#definesymbolsutil)
- [EffectScatter](#effectscatter)
- [EmphasisStyle](#emphasisstyle)
- [EmphasisStyle.BlurScope](#emphasisstyleblurscope)
- [EmphasisStyle.FocusType](#emphasisstylefocustype)
- [EndLabelStyle](#endlabelstyle)
- [FormatterHelper](#formatterhelper)
- [GraphData](#graphdata)
- [GraphEdge](#graphedge)
- [GraphNode](#graphnode)
- [GridCoord](#gridcoord)
- [GridCoord3D](#gridcoord3d)
- [GridCoord3DContext](#gridcoord3dcontext)
- [GridCoordContext](#gridcoordcontext)
- [GridLayout](#gridlayout)
- [GridLayoutContext](#gridlayoutcontext)
- [Heatmap](#heatmap)
- [HeatmapChart](#heatmapchart)
- [HeatmapType](#heatmaptype)
- [IconStyle](#iconstyle)
- [IconStyle.Layer](#iconstylelayer)
- [IgnoreDoc](#ignoredoc)
- [ImageStyle](#imagestyle)
- [Indicator](#indicator)
- [INeedSerieContainer](#ineedseriecontainer)
- [InputHelper](#inputhelper)
- [InteractData](#interactdata)
- [IPropertyChanged](#ipropertychanged)
- [ISerieComponent](#iseriecomponent)
- [ISerieContainer](#iseriecontainer)
- [ISerieDataComponent](#iseriedatacomponent)
- [ISimplifiedSerie](#isimplifiedserie)
- [ItemStyle](#itemstyle)
- [IUpdateRuntimeData](#iupdateruntimedata)
- [JsonUtil](#jsonutil)
- [LabelLine](#labelline)
- [LabelLine.LineType](#labellinelinetype)
- [LabelStyle](#labelstyle)
- [LabelStyle.Position](#labelstyleposition)
- [Lang](#lang)
- [LangCandlestick](#langcandlestick)
- [LangTime](#langtime)
- [LayerHelper](#layerhelper)
- [Legend](#legend)
- [Legend.SelectedMode](#legendselectedmode)
- [Legend.Type](#legendtype)
- [LegendContext](#legendcontext)
- [LegendHelper](#legendhelper)
- [LegendItem](#legenditem)
- [LegendTheme](#legendtheme)
- [Level](#level)
- [LevelStyle](#levelstyle)
- [Line](#line)
- [LineArrow](#linearrow)
- [LineArrow.Position](#linearrowposition)
- [LineChart](#linechart)
- [LineHelper](#linehelper)
- [LineStyle](#linestyle)
- [LineStyle.Type](#linestyletype)
- [LineType](#linetype)
- [ListFor](#listfor)
- [ListForComponent](#listforcomponent)
- [ListForSerie](#listforserie)
- [ListPool&lt;T&gt;](#listpoolt)
- [Location](#location)
- [Location.Align](#locationalign)
- [MainComponent](#maincomponent)
- [MainComponentContext](#maincomponentcontext)
- [MainComponentHandler](#maincomponenthandler)
- [MainComponentHandler&lt;T&gt;](#maincomponenthandlert)
- [MainComponentHandler&lt;Title&gt;](#maincomponenthandlertitle)
- [MarkArea](#markarea)
- [MarkAreaData](#markareadata)
- [MarkAreaType](#markareatype)
- [MarkLine](#markline)
- [MarkLineData](#marklinedata)
- [MarkLineType](#marklinetype)
- [MarqueeStyle](#marqueestyle)
- [MathUtil](#mathutil)
- [MLValue](#mlvalue)
- [MLValue.Type](#mlvaluetype)
- [MonoBehaviour](#monobehaviour)
- [Orient](#orient)
- [Padding](#padding)
- [Painter](#painter)
- [Painter.Type](#paintertype)
- [Parallel](#parallel)
- [ParallelAxis](#parallelaxis)
- [ParallelChart](#parallelchart)
- [ParallelCoord](#parallelcoord)
- [ParallelCoordContext](#parallelcoordcontext)
- [Pie](#pie)
- [PieChart](#piechart)
- [PieType](#pietype)
- [PolarAxisTheme](#polaraxistheme)
- [PolarChart](#polarchart)
- [PolarCoord](#polarcoord)
- [PolarCoordContext](#polarcoordcontext)
- [PropertyUtil](#propertyutil)
- [Radar](#radar)
- [RadarAxisTheme](#radaraxistheme)
- [RadarChart](#radarchart)
- [RadarCoord](#radarcoord)
- [RadarCoord.PositionType](#radarcoordpositiontype)
- [RadarCoord.Shape](#radarcoordshape)
- [RadarCoordContext](#radarcoordcontext)
- [RadarType](#radartype)
- [RadiusAxis](#radiusaxis)
- [RadiusAxisTheme](#radiusaxistheme)
- [ReflectionUtil](#reflectionutil)
- [RequireChartComponentAttribute](#requirechartcomponentattribute)
- [Ring](#ring)
- [RingChart](#ringchart)
- [RoseType](#rosetype)
- [RuntimeUtil](#runtimeutil)
- [SampleType](#sampletype)
- [Scatter](#scatter)
- [ScatterChart](#scatterchart)
- [SelectStyle](#selectstyle)
- [Serie](#serie)
- [SerieColorBy](#seriecolorby)
- [SerieComponentAttribute](#seriecomponentattribute)
- [SerieContext](#seriecontext)
- [SerieConvertAttribute](#serieconvertattribute)
- [SerieData](#seriedata)
- [SerieDataComponentAttribute](#seriedatacomponentattribute)
- [SerieDataContext](#seriedatacontext)
- [SerieDataExtraFieldAttribute](#seriedataextrafieldattribute)
- [SerieDataLink](#seriedatalink)
- [SerieDataSortType](#seriedatasorttype)
- [SerieEventData](#serieeventdata)
- [SerieEventDataPool](#serieeventdatapool)
- [SerieHandler](#seriehandler)
- [SerieHandler&lt;T&gt;](#seriehandlert)
- [SerieHandlerAttribute](#seriehandlerattribute)
- [SerieHelper](#seriehelper)
- [SerieLabelHelper](#serielabelhelper)
- [SerieLabelPool](#serielabelpool)
- [SerieParams](#serieparams)
- [SeriesHelper](#serieshelper)
- [SerieState](#seriestate)
- [SerieSymbol](#seriesymbol)
- [SerieTheme](#serietheme)
- [Settings](#settings)
- [SimplifiedBar](#simplifiedbar)
- [SimplifiedBarChart](#simplifiedbarchart)
- [SimplifiedCandlestick](#simplifiedcandlestick)
- [SimplifiedCandlestickChart](#simplifiedcandlestickchart)
- [SimplifiedLine](#simplifiedline)
- [SimplifiedLineChart](#simplifiedlinechart)
- [Since](#since)
- [SingleAxis](#singleaxis)
- [SingleAxisCoord](#singleaxiscoord)
- [StageColor](#stagecolor)
- [StateStyle](#statestyle)
- [SubTitleTheme](#subtitletheme)
- [SVG](#svg)
- [SVGPath](#svgpath)
- [SVGPathSeg](#svgpathseg)
- [SVGPathSegType](#svgpathsegtype)
- [SymbolSizeType](#symbolsizetype)
- [SymbolStyle](#symbolstyle)
- [SymbolType](#symboltype)
- [TextLimit](#textlimit)
- [TextPadding](#textpadding)
- [TextStyle](#textstyle)
- [Theme](#theme)
- [ThemeStyle](#themestyle)
- [ThemeType](#themetype)
- [Title](#title)
- [TitleHandler](#titlehandler)
- [TitleStyle](#titlestyle)
- [TitleTheme](#titletheme)
- [Tooltip](#tooltip)
- [Tooltip.Position](#tooltipposition)
- [Tooltip.Trigger](#tooltiptrigger)
- [Tooltip.TriggerOn](#tooltiptriggeron)
- [Tooltip.Type](#tooltiptype)
- [TooltipContext](#tooltipcontext)
- [TooltipData](#tooltipdata)
- [TooltipHelper](#tooltiphelper)
- [TooltipTheme](#tooltiptheme)
- [TooltipView](#tooltipview)
- [TooltipViewItem](#tooltipviewitem)
- [UGL](#ugl)
- [UGL.Direction](#ugldirection)
- [UGLExample](#uglexample)
- [UGLHelper](#uglhelper)
- [UIComponent](#uicomponent)
- [UIComponentTheme](#uicomponenttheme)
- [UIHelper](#uihelper)
- [ViewControl](#viewcontrol)
- [VisualMap](#visualmap)
- [VisualMap.SelectedMode](#visualmapselectedmode)
- [VisualMap.Type](#visualmaptype)
- [VisualMapContext](#visualmapcontext)
- [VisualMapHelper](#visualmaphelper)
- [VisualMapRange](#visualmaprange)
- [VisualMapTheme](#visualmaptheme)
- [Wrapper&lt;T&gt;](#wrappert)
- [XAxis](#xaxis)
- [XAxis3D](#xaxis3d)
- [XChartsMgr](#xchartsmgr)
- [XCResourceImporterWindow](#xcresourceimporterwindow)
- [XCResourcesImporter](#xcresourcesimporter)
- [XCSettings](#xcsettings)
- [XCThemeMgr](#xcthememgr)
- [XLog](#xlog)
- [YAxis](#yaxis)
- [YAxis3D](#yaxis3d)
- [ZAxis3D](#zaxis3d)


## Align

class in XCharts.Runtime

Alignment mode.

Options:

- `Center`: Alignment mode.
- `Left`: Alignment mode.
- `Right`: Alignment mode.

## AngleAxis

class in XCharts.Runtime / Inherits from: [Axis](#axis)

Angle axis of Polar Coordinate.

### AngleAxis.GetValueAngle

public float GetValueAngle(double value)  


### AngleAxis.SetDefaultValue

public override void SetDefaultValue()  

## AngleAxisTheme

class in XCharts.Runtime / Inherits from: [BaseAxisTheme](#baseaxistheme)

### AngleAxisTheme.base(theme)

public AngleAxisTheme(ThemeType theme) : base(theme)  

### AngleAxisTheme.AngleAxisTheme

public AngleAxisTheme(ThemeType theme) : base(theme) { }  

## AnimationAddition

class in XCharts.Runtime / Inherits from: [AnimationInfo](#animationinfo)

> Since `v3.8.0`

Data addition animation.

## AnimationChange

class in XCharts.Runtime / Inherits from: [AnimationInfo](#animationinfo)

> Since `v3.8.0`

Data change animation.

## AnimationEasing

class in XCharts.Runtime

Options:

- `Linear`: 

## AnimationExchange

class in XCharts.Runtime / Inherits from: [AnimationInfo](#animationinfo)

> Since `v3.15.0`

Data exchange animation. Generally used for animation of data sorting.

## AnimationFadeIn

class in XCharts.Runtime / Inherits from: [AnimationInfo](#animationinfo)

> Since `v3.8.0`

Fade in animation.

## AnimationFadeOut

class in XCharts.Runtime / Inherits from: [AnimationInfo](#animationinfo)

> Since `v3.8.0`

Fade out animation.

## AnimationHiding

class in XCharts.Runtime / Inherits from: [AnimationInfo](#animationinfo)

> Since `v3.8.0`

Data hiding animation.

## AnimationInfo

class in XCharts.Runtime / Subclasses: [AnimationFadeIn](#animationfadein),[AnimationFadeOut](#animationfadeout),[AnimationChange](#animationchange),[AnimationAddition](#animationaddition),[AnimationHiding](#animationhiding),[AnimationInteraction](#animationinteraction),[AnimationExchange](#animationexchange) 

> Since `v3.8.0`

the animation info.

### AnimationInfo.delay

public float delay  
the delay time before animation start.

### AnimationInfo.delayFunction

public AnimationDelayFunction delayFunction  
the delegate function of animation delay.

### AnimationInfo.duration

public float duration  
the duration of animation. Default is used to calculate the speed of animation. It can also be specified by speed.

### AnimationInfo.durationFunction

public AnimationDurationFunction durationFunction  
the delegate function of animation duration.

### AnimationInfo.enable

public bool enable  
whether enable animation.

### AnimationInfo.OnAnimationEnd

public Action OnAnimationEnd  
the callback function of animation end.

### AnimationInfo.OnAnimationStart

public Action OnAnimationStart  
the callback function of animation start.

### AnimationInfo.reverse

public bool reverse  
whether enable reverse animation.

### AnimationInfo.speed

public float speed  
the speed of animation. When speed is specified, duration will be invalid. Default is 0, which means no speed specified.

### AnimationInfo.End

public void End()  
End animation.

### AnimationInfo.GetIndexDelay

public float GetIndexDelay(int dataIndex)  
Get animation delay.

### AnimationInfo.Init

public bool Init(float curr, float dest, int totalPointIndex)  
Initialize animation.

### AnimationInfo.IsFinish

public bool IsFinish()  
Whether animation is finish.

### AnimationInfo.IsInDelay

public bool IsInDelay()  
Whether animation is in delay.

### AnimationInfo.IsInIndexDelay

public bool IsInIndexDelay(int dataIndex)  
Whether animation is in index delay.

### AnimationInfo.Pause

public void Pause()  
Pause animation.

### AnimationInfo.Reset

public void Reset()  
Reset animation.

### AnimationInfo.Resume

public void Resume()  
Resume animation.

### AnimationInfo.Start

public void Start(bool reset = true)  
Start animation.

## AnimationInfoContext

class in XCharts.Runtime

## AnimationInteraction

class in XCharts.Runtime / Inherits from: [AnimationInfo](#animationinfo)

> Since `v3.8.0`

Interactive animation of charts.

### AnimationInteraction.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  
the mlvalue of radius.

### AnimationInteraction.width

public MLValue width  
the mlvalue of width.

### AnimationInteraction.GetOffset

public float GetOffset()  


### AnimationInteraction.GetRadius

public float GetRadius(float radius)  

### AnimationInteraction.GetWidth

public float GetWidth(float width)  

## AnimationStyle

class in XCharts.Runtime / Inherits from: [ChildComponent](#childcomponent)

the animation of serie. support animation type: fadeIn, fadeOut, change, addition, exchange.

### AnimationStyle.addition

public AnimationAddition addition  
Add data animation configuration.

### AnimationStyle.change

public AnimationChange change  
Update data animation configuration.

### AnimationStyle.enable

public bool enable  
Whether to enable animation.

### AnimationStyle.exchange

public AnimationExchange exchange  
Exchange animation configuration. Valid in sort bar chart.

### AnimationStyle.fadeIn

public AnimationFadeIn fadeIn  
Fade in animation configuration.

### AnimationStyle.fadeInFinishCallback

public Action fadeInFinishCallback  

### AnimationStyle.fadeOut

public AnimationFadeOut fadeOut  
Fade out animation configuration.

### AnimationStyle.fadeOutFinishCallback

public Action fadeOutFinishCallback  

### AnimationStyle.hiding

public AnimationHiding hiding  
Data hiding animation configuration.

### AnimationStyle.interaction

public AnimationInteraction interaction  
Interaction animation configuration.

### AnimationStyle.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  
Animation updates independently of Time.timeScale.

### AnimationStyle.Addition

public void Addition()  
Start additon animation.

### AnimationStyle.CanCheckInteract

public bool CanCheckInteract()  

### AnimationStyle.CheckDetailBreak

public bool CheckDetailBreak(Vector3 pos, bool isYAxis)  


### AnimationStyle.CheckProgress

public void CheckProgress(double total)  


### AnimationStyle.CheckSymbol

public void CheckSymbol(float dest)  

### AnimationStyle.FadeIn

public void FadeIn()  
Start fadein animation.

### AnimationStyle.FadeOut

public void FadeOut()  
Start fadeout animation.

### AnimationStyle.GetAdditionDuration

public float GetAdditionDuration()  

### AnimationStyle.GetChangeDuration

public float GetChangeDuration()  

### AnimationStyle.GetCurrDetail

public float GetCurrDetail()  

### AnimationStyle.GetCurrIndex

public int GetCurrIndex()  

### AnimationStyle.GetCurrRate

public float GetCurrRate()  

### AnimationStyle.GetExchangeDuration

public float GetExchangeDuration()  

### AnimationStyle.GetInteractionDuration

public float GetInteractionDuration()  

### AnimationStyle.GetInteractionRadius

public float GetInteractionRadius(float radius)  

### AnimationStyle.GetSysmbolSize

public float GetSysmbolSize(float dest)  

### AnimationStyle.HasFadeOut

public bool HasFadeOut()  

### AnimationStyle.InitProgress

public void InitProgress(List&lt;Vector3&gt; paths, bool isY)  
Initialize animation configuration.


### AnimationStyle.IsDataAnimation

public bool IsDataAnimation()  
whther animaiton is data animation. BottomToTop and InsideOut are data animation.

### AnimationStyle.IsEnd

public bool IsEnd()  

### AnimationStyle.IsFadeIn

public bool IsFadeIn()  

### AnimationStyle.IsFadeOut

public bool IsFadeOut()  

### AnimationStyle.IsFinish

public bool IsFinish()  

### AnimationStyle.IsInDelay

public bool IsInDelay()  

### AnimationStyle.IsSerieAnimation

public bool IsSerieAnimation()  
whther animaiton is serie animation. LeftToRight, AlongPath and Clockwise are serie animation.

### AnimationStyle.Pause

public void Pause()  
Pause all animations.

### AnimationStyle.Reset

public void Reset()  
Reset all animations.

### AnimationStyle.Restart

public void Restart()  
Restart the actived animation.

### AnimationStyle.Resume

public void Resume()  
Resume all animations.

## AnimationStyleHelper

class in XCharts.Runtime

### AnimationStyleHelper.CheckDataAnimation

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)  

### AnimationStyleHelper.UpdateAnimationType

public static void UpdateAnimationType(AnimationStyle animation, AnimationType defaultType, bool enableSerieDataAnimation)  

### AnimationStyleHelper.UpdateSerieAnimation

public static void UpdateSerieAnimation(Serie serie)  

## AnimationType

class in XCharts.Runtime

Options:

- `Default`: he default. An animation playback mode will be selected according to the actual situation.
- `LeftToRight`: Play the animation from left to right.
- `BottomToTop`: Play the animation from bottom to top.
- `InsideOut`: Play animations from the inside out.
- `AlongPath`: Play the animation along the path.
- `Clockwise`: Play the animation clockwise.

## AreaStyle

class in XCharts.Runtime / Inherits from: [ChildComponent](#childcomponent),[ISerieComponent](#iseriecomponent),[ISerieDataComponent](#iseriedatacomponent)

The style of area.

### AreaStyle.GetColor

public Color32 GetColor(Color32 themeColor)  


## AreaStyle.AreaOrigin

class in XCharts.Runtime

Origin position of area.

Options:

- `Auto`: to fill between axis line to data.
- `Start`: to fill between min axis value (when not inverse) to data.
- `End`: to fill between max axis value (when not inverse) to data.

## ArrowStyle

class in XCharts.Runtime / Inherits from: [ChildComponent](#childcomponent)

### ArrowStyle.Clone

public ArrowStyle Clone()  

### ArrowStyle.Copy

public void Copy(ArrowStyle arrow)  

### ArrowStyle.GetColor

public Color32 GetColor(Color32 defaultColor)  

## Axis

class in XCharts.Runtime / Inherits from: [MainComponent](#maincomponent) / Subclasses: [AngleAxis](#angleaxis),[ParallelAxis](#parallelaxis),[RadiusAxis](#radiusaxis),[SingleAxis](#singleaxis),[XAxis](#xaxis),[XAxis3D](#xaxis3d),[YAxis](#yaxis),[YAxis3D](#yaxis3d),[ZAxis3D](#zaxis3d) 

The axis in rectangular coordinate.

### Axis.onLabelClick

public Action&lt;int, string&gt; onLabelClick  

> Since `v3.15.0`

Callback function when click on the label. Parameters: labelIndex, labelName.

### Axis.AddData

public void AddData(string category)  
添加一个类目到类目数据列表

### Axis.AddIcon

public void AddIcon(Sprite icon)  
添加图标

### Axis.ClearComponentDirty

public override void ClearComponentDirty()  

### Axis.ClearData

public override void ClearData()  
清空类目数据

### Axis.ClearVerticesDirty

public override void ClearVerticesDirty()  

### Axis.Clone

public Axis Clone()  

### Axis.Copy

public void Copy(Axis axis)  

### Axis.GetAddedDataCount

public int GetAddedDataCount()  
get the history data count.

### Axis.GetCategoryPosition

public Vector3 GetCategoryPosition(int categoryIndex, int dataCount = 0)  

### Axis.GetData

public string GetData(int index, DataZoom dataZoom)  
获得在dataZoom范围内指定索引的类目数据


### Axis.GetDistance

public float GetDistance(double value, float axisLength = 0)  
获得值在坐标轴上的距离

### Axis.GetIcon

public Sprite GetIcon(int index)  

### Axis.GetLabelValue

public double GetLabelValue(int index)  

### Axis.GetLastLabelValue

public double GetLastLabelValue()  

### Axis.GetLogMaxIndex

public double GetLogMaxIndex()  

### Axis.GetLogMinIndex

public double GetLogMinIndex()  

### Axis.GetLogValue

public float GetLogValue(double value)  

### Axis.GetValueLength

public float GetValueLength(double value, float axisLength)  

### Axis.IsBottom

public bool IsBottom()  

### Axis.IsCategory

public bool IsCategory()  
是否为类目轴。

### Axis.IsLeft

public bool IsLeft()  

### Axis.IsLog

public bool IsLog()  
是否为对数轴。

### Axis.IsNeedShowLabel

public bool IsNeedShowLabel(int index, int total = 0, string content = null)  

### Axis.IsRight

public bool IsRight()  

### Axis.IsTime

public bool IsTime()  
是否为时间轴。

### Axis.IsTop

public bool IsTop()  

### Axis.IsValue

public bool IsValue()  
是否为数值轴。

### Axis.RemoveData

public void RemoveData(int dataIndex)  

### Axis.ResetStatus

public override void ResetStatus()  
重置状态。

### Axis.SetComponentDirty

public override void SetComponentDirty()  

### Axis.SetNeedUpdateFilterData

public void SetNeedUpdateFilterData()  

### Axis.UpdateData

public void UpdateData(int index, string category)  
更新类目数据

### Axis.UpdateIcon

public void UpdateIcon(int index, Sprite icon)  
更新图标

### Axis.UpdateZeroOffset

public void UpdateZeroOffset(float axisLength)  

## Axis.AxisMinMaxType

class in XCharts.Runtime

the type of axis min and max value.

Options:

- `Default`: 0 - maximum.
- `MinMax`: minimum - maximum.
- `Custom`: Customize the minimum and maximum.
- `MinMaxAuto`: [since("v3.7.0")]minimum - maximum, automatically calculate the appropriate values.

## Axis.AxisPosition

class in XCharts.Runtime

the position of axis in grid.

Options:

- `Left`: the position of axis in grid.
- `Right`: the position of axis in grid.
- `Bottom`: the position of axis in grid.
- `Top`: the position of axis in grid.
- `Center`: the position of axis in grid.

## Axis.AxisType

class in XCharts.Runtime

the type of axis.

Options:

- `Value`: Numerical axis, suitable for continuous data.
- `Category`: Category axis, suitable for discrete category data. Data should only be set via data for this type.
- `Log`: Log axis, suitable for log data.
- `Time`: Time axis, suitable for continuous time series data.

## Axis3DHelper

class in XCharts.Runtime

### Axis3DHelper.Get3DGridPosition

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)  

## AxisAnimation

class in XCharts.Runtime / Inherits from: [ChildComponent](#childcomponent)

> Since `v3.9.0`

animation style of axis.

### AxisAnimation.Clone

public AxisAnimation Clone()  

### AxisAnimation.Copy

public void Copy(AxisAnimation animation)  

## AxisContext

class in XCharts.Runtime / Inherits from: [MainComponentContext](#maincomponentcontext)

### AxisContext.destMaxValue

public double destMaxValue  

### AxisContext.destMinValue

public double destMinValue  

### AxisContext.labelObjectList

public List&lt;ChartLabel&gt; labelObjectList  

### AxisContext.labelValueList

public List&lt;double&gt; labelValueList  

### AxisContext.lastMaxValue

public double lastMaxValue  
the current maximum value.

### AxisContext.lastMinValue

public double lastMinValue  
the current minimun value.

### AxisContext.needAnimation

public bool needAnimation  

### AxisContext.runtimeData

public List&lt;string&gt; runtimeData  
the tick value of value axis.

### AxisContext.sortedDataIndices

public List&lt;int&gt; sortedDataIndices  

## AxisHandler&lt;T&gt;

class in XCharts / Inherits from: [MainComponentHandler](#maincomponenthandler)

### AxisHandler&lt;T&gt;.component

public T component  

### AxisHandler&lt;T&gt;.DrawTop

// public override void DrawTop(VertexHelper vh)  

### AxisHandler&lt;T&gt;.OnPointerClick

public override void OnPointerClick(PointerEventData eventData)  

## AxisHelper

class in XCharts.Runtime

### AxisHelper.AdjustCircleLabelPos

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)  
调整最大最小值

### AxisHelper.AdjustRadiusAxisLabelPos

public static void AdjustRadiusAxisLabelPos(ChartLabel txt, Vector3 pos, Vector3 cenPos, float txtHig, Vector3 offset)  

### AxisHelper.GetAxisLineArrowOffset

public static float GetAxisLineArrowOffset(Axis axis)  
包含箭头偏移的轴线长度

### AxisHelper.GetAxisPosition

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)  


### AxisHelper.GetAxisValueDistance

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, float gap = 0)  
获得数值value在坐标轴上对应的长度

### AxisHelper.GetAxisValuePosition

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)  
获得数值value在坐标轴上对应的split索引

### AxisHelper.GetAxisXOrY

public static float GetAxisXOrY(GridCoord grid, Axis axis, Axis relativedAxis)  

### AxisHelper.GetDataWidth

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)  

### AxisHelper.GetScaleNumber

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)  
获得分割段宽度

### AxisHelper.GetSplitNumber

public static int GetSplitNumber(Axis axis, float coordinateWid, DataZoom dataZoom)  
获得分割段数

### AxisHelper.GetTotalSplitGridNum

public static int GetTotalSplitGridNum(Axis axis)  
获得分割网格个数，包含次刻度

### AxisHelper.GetXAxisXOrY

public static float GetXAxisXOrY(GridCoord grid, Axis xAxis, Axis relativedAxis)  

### AxisHelper.GetYAxisXOrY

public static float GetYAxisXOrY(GridCoord grid, Axis yAxis, Axis relativedAxis)  

### AxisHelper.NeedShowSplit

public static bool NeedShowSplit(Axis axis)  

## AxisLabel

class in XCharts.Runtime / Inherits from: [LabelStyle](#labelstyle)

Settings related to axis label.

### AxisLabel.componentDirty

public override bool componentDirty  

### AxisLabel.ClearComponentDirty

public override void ClearComponentDirty()  

### AxisLabel.Clone

public new AxisLabel Clone()  

### AxisLabel.Copy

public void Copy(AxisLabel axisLabel)  

### AxisLabel.GetFormatterContent

public override string GetFormatterContent(int labelIndex, int totalIndex, double value, double minValue, double maxValue, bool isLog = false)  


### AxisLabel.IsNeedShowLabel

public bool IsNeedShowLabel(int index, int total, string content = null)  

### AxisLabel.SetRelatedText

public void SetRelatedText(ChartText txt, float labelWidth)  

## AxisLine

class in XCharts.Runtime / Inherits from: [BaseLine](#baseline)

Settings related to axis line.

### AxisLine.Clone

public AxisLine Clone()  

### AxisLine.Copy

public void Copy(AxisLine axisLine)  

## AxisMinorSplitLine

class in XCharts.Runtime / Inherits from: [BaseLine](#baseline)

> Since `v3.2.0`

Minor split line of axis in grid area.

### AxisMinorSplitLine.autoColor

public bool autoColor  
auto color.

### AxisMinorSplitLine.distance

public float distance  
The distance between the split line and axis line.

### AxisMinorSplitLine.vertsDirty

public override bool vertsDirty  

### AxisMinorSplitLine.ClearVerticesDirty

public override void ClearVerticesDirty()  

### AxisMinorSplitLine.Clone

public AxisMinorSplitLine Clone()  

### AxisMinorSplitLine.Copy

public void Copy(AxisMinorSplitLine splitLine)  

## AxisMinorTick

class in XCharts.Runtime / Inherits from: [BaseLine](#baseline)

> Since `v3.2.0`

Settings related to axis minor tick.

### AxisMinorTick.autoColor

public bool autoColor  

### AxisMinorTick.vertsDirty

public override bool vertsDirty  

### AxisMinorTick.ClearVerticesDirty

public override void ClearVerticesDirty()  

### AxisMinorTick.Clone

public AxisMinorTick Clone()  

### AxisMinorTick.Copy

public void Copy(AxisMinorTick axisTick)  

## AxisName

class in XCharts.Runtime / Inherits from: [ChildComponent](#childcomponent)

the name of axis.

### AxisName.Clone

public AxisName Clone()  

### AxisName.Copy

public void Copy(AxisName axisName)  

## AxisSplitArea

class in XCharts.Runtime / Inherits from: [ChildComponent](#childcomponent)

Split area of axis in grid area, not shown by default.

### AxisSplitArea.Clone

public AxisSplitArea Clone()  

### AxisSplitArea.Copy

public void Copy(AxisSplitArea splitArea)  

### AxisSplitArea.GetColor

public Color32 GetColor(int index, BaseAxisTheme theme)  

## AxisSplitLine

class in XCharts.Runtime / Inherits from: [BaseLine](#baseline)

Split line of axis in grid area.

### AxisSplitLine.autoColor

public bool autoColor  
auto color.

### AxisSplitLine.distance

public float distance  
The distance between the split line and axis line.

### AxisSplitLine.vertsDirty

public override bool vertsDirty  

### AxisSplitLine.ClearVerticesDirty

public override void ClearVerticesDirty()  

### AxisSplitLine.Clone

public AxisSplitLine Clone()  

### AxisSplitLine.Copy

public void Copy(AxisSplitLine splitLine)  

## AxisTheme

class in XCharts.Runtime / Inherits from: [BaseAxisTheme](#baseaxistheme)

### AxisTheme.base(theme)

public AxisTheme(ThemeType theme) : base(theme)  

### AxisTheme.AxisTheme

public AxisTheme(ThemeType theme) : base(theme) { }  

## AxisTick

class in XCharts.Runtime / Inherits from: [BaseLine](#baseline)

Settings related to axis tick.

### AxisTick.autoColor

public bool autoColor  

### AxisTick.distance

public float distance  
The distance between the tick line and axis line.

### AxisTick.Clone

public AxisTick Clone()  

### AxisTick.Copy

public void Copy(AxisTick axisTick)  

## Background

class in XCharts.Runtime / Inherits from: [MainComponent](#maincomponent)

Background component.

### Background.rect

public Rect rect  
the rect of background.

### Background.SetDefaultValue

public override void SetDefaultValue()  

## Bar

class in XCharts.Runtime / Inherits from: [Serie](#serie),[INeedSerieContainer](#ineedseriecontainer)

### Bar.containerIndex

public int containerIndex  

### Bar.containterInstanceId

public int containterInstanceId  

### Bar.useSortData

public override bool useSortData  

### Bar.AddDefaultSerie

public static Serie AddDefaultSerie(BaseChart chart, string serieName)  

### Bar.ConvertSerie

public static Bar ConvertSerie(Serie serie)  

## BarChart

class in XCharts.Runtime / Inherits from: [BaseChart](#basechart)

Bar chart shows different data through the height of a bar, which is used in rectangular coordinate with at least 1 category axis.

### BarChart.DefaultBarChart

public void DefaultBarChart()  
default bar chart.

### BarChart.DefaultCapsuleBarChart

public void DefaultCapsuleBarChart()  
default capsule bar chart.

### BarChart.DefaultCapsuleColumnChart

public void DefaultCapsuleColumnChart()  
default capsule column chart.

### BarChart.DefaultGroupedBarChart

public void DefaultGroupedBarChart()  
default grouped bar chart.

### BarChart.DefaultGroupedColumnChart

public void DefaultGroupedColumnChart()  
default grouped column chart.

### BarChart.DefaultPercentBarChart

public void DefaultPercentBarChart()  
default percent bar chart.

### BarChart.DefaultPercentColumnChart

public void DefaultPercentColumnChart()  
default percent column chart.

### BarChart.DefaultStackedBarChart

public void DefaultStackedBarChart()  
default stacked bar chart.

### BarChart.DefaultStackedColumnChart

public void DefaultStackedColumnChart()  
default stacked column chart.

### BarChart.DefaultZebraBarChart

public void DefaultZebraBarChart()  
default zebra bar chart.

### BarChart.DefaultZebraColumnChart

public void DefaultZebraColumnChart()  
default zebra column chart.

## BarType

class in XCharts.Runtime

the type of bar.

Options:

- `Normal`: normal bar.
- `Zebra`: zebra bar.
- `Capsule`: capsule bar.

## BaseAxisTheme

class in XCharts.Runtime / Inherits from: [ComponentTheme](#componenttheme) / Subclasses: [AxisTheme](#axistheme),[RadiusAxisTheme](#radiusaxistheme),[AngleAxisTheme](#angleaxistheme),[PolarAxisTheme](#polaraxistheme),[RadarAxisTheme](#radaraxistheme) 

### BaseAxisTheme.BaseAxisTheme

public BaseAxisTheme(ThemeType theme) : base(theme)  

### BaseAxisTheme.Copy

public void Copy(BaseAxisTheme theme)  

## BaseChart

class in XCharts.Runtime / Inherits from: [BaseGraph](#basegraph),[ISerializationCallbackReceiver](https://docs.unity3d.com/ScriptReference/30_search.html?q=iserializationcallbackreceiver) / Subclasses: [BarChart](#barchart),[CandlestickChart](#candlestickchart),[HeatmapChart](#heatmapchart),[LineChart](#linechart),[ParallelChart](#parallelchart),[PieChart](#piechart),[PolarChart](#polarchart),[RadarChart](#radarchart),[RingChart](#ringchart),[ScatterChart](#scatterchart),[SimplifiedBarChart](#simplifiedbarchart),[SimplifiedCandlestickChart](#simplifiedcandlestickchart),[SimplifiedLineChart](#simplifiedlinechart) 

### BaseChart.axis)

public virtual void InitAxisRuntimeData(Axis axis)  

### BaseChart.chartHeight

public float chartHeight  
The height of chart.

### BaseChart.chartHideFlags

public override HideFlags chartHideFlags  

### BaseChart.chartMaxAnchor

public Vector2 chartMaxAnchor  

### BaseChart.chartMinAnchor

public Vector2 chartMinAnchor  

### BaseChart.chartPivot

public Vector2 chartPivot  

### BaseChart.chartPosition

public Vector3 chartPosition  
The position of chart.

### BaseChart.chartRect

public Rect chartRect  

### BaseChart.chartSizeDelta

public Vector2 chartSizeDelta  

### BaseChart.chartWidth

public float chartWidth  
The width of chart.

### BaseChart.chartX

public float chartX  
The x of chart.

### BaseChart.chartY

public float chartY  
The y of chart.

### BaseChart.components

public List&lt;MainComponent&gt; components  

### BaseChart.customDrawGaugePointerFunction

public CustomDrawGaugePointerFunction customDrawGaugePointerFunction  
自定义仪表盘指针绘制委托。

### BaseChart.debug

public DebugInfo debug  

### BaseChart.onAxisPointerValueChanged

public Action&lt;Axis, double&gt; onAxisPointerValueChanged  
坐标轴变更数据索引时回调。参数：axis, dataIndex/dataValue

### BaseChart.onDraw

public Action&lt;VertexHelper&gt; onDraw  
自定义绘制回调。在绘制Serie前调用。

### BaseChart.onDrawAfterSerie

public Action&lt;VertexHelper, Serie&gt; onDrawAfterSerie  
自定义Serie绘制回调。在每个Serie绘制完后调用。

### BaseChart.onDrawBeforeSerie

public Action&lt;VertexHelper, Serie&gt; onDrawBeforeSerie  
自定义Serie绘制回调。在每个Serie绘制完前调用。

### BaseChart.onDrawTop

public Action&lt;VertexHelper&gt; onDrawTop  
自定义Top层绘制回调。在绘制Tooltip前调用。

### BaseChart.onDrawUpper

public Action&lt;VertexHelper&gt; onDrawUpper  
自定义Upper层绘制回调。在绘制Tooltip前调用。

### BaseChart.onInit

public Action onInit  
The callback function of chart init.

### BaseChart.onLegendClick

public Action&lt;Legend, int, string, bool&gt; onLegendClick  
the callback function of click legend.

### BaseChart.onLegendEnter

public Action&lt;Legend, int, string&gt; onLegendEnter  
the callback function of enter legend.

### BaseChart.onLegendExit

public Action&lt;Legend, int, string&gt; onLegendExit  
the callback function of exit legend.

### BaseChart.onPointerClickBar

public Action&lt;PointerEventData, int&gt; onPointerClickBar  
the callback function of click bar.

### BaseChart.onPointerClickPie

public Action&lt;PointerEventData, int, int&gt; onPointerClickPie  
the callback function of pointer click pie area.

### BaseChart.onPointerEnterPie

public Action&lt;int, int&gt; onPointerEnterPie  
the callback function of pointer enter pie area.

### BaseChart.onSerieClick

public Action&lt;SerieEventData&gt; onSerieClick  

> Since `v3.6.0`

the callback function of pointer click serie.

### BaseChart.onSerieDown

public Action&lt;SerieEventData&gt; onSerieDown  

> Since `v3.6.0`

the callback function of pointer down serie.

### BaseChart.onSerieEnter

public Action&lt;SerieEventData&gt; onSerieEnter  

> Since `v3.6.0`

the callback function of pointer enter serie.

### BaseChart.onSerieExit

public Action&lt;SerieEventData&gt; onSerieExit  

> Since `v3.6.0`

the callback function of pointer exit serie.

### BaseChart.onUpdate

public Action onUpdate  
The callback function of chart update.

### BaseChart.series

public List&lt;Serie&gt; series  

### BaseChart.settings

public Settings settings  
Global parameter setting component.

### BaseChart.theme

public ThemeStyle theme  

### BaseChart.topPainter

public Painter topPainter  

### BaseChart.typeListForComponent

public Dictionary&lt;Type, FieldInfo&gt; typeListForComponent  

### BaseChart.typeListForSerie

public Dictionary&lt;Type, FieldInfo&gt; typeListForSerie  

### BaseChart.useUtc

public bool useUtc  
Whether to use UTC time for the chart.

### BaseChart.AddChartComponent

public MainComponent AddChartComponent(Type type)  

### BaseChart.AddChartComponent&lt;T&gt;

public T AddChartComponent&lt;T&gt;() where T : MainComponent  

### BaseChart.AddChartComponentWhenNoExist&lt;T&gt;

public T AddChartComponentWhenNoExist&lt;T&gt;() where T : MainComponent  

### BaseChart.AddData

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)  
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 xValue, double yValue, string dataName = null, string dataId = null)  
Add a (x,y) data to serie.

public SerieData AddData(int serieIndex, List&lt;double&gt; 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)  
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)  
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 xValue, double yValue, string dataName = null, string dataId = null)  
Add a (x,y) data to serie.

public SerieData AddData(string serieName, List&lt;double&gt; 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)  
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)  
Add a link data to serie.

### BaseChart.AddSerie&lt;T&gt;

public T AddSerie&lt;T&gt;(string serieName = null, bool show = true, bool addToHead = false) where T : Serie  

### BaseChart.AddXAxisData

public void AddXAxisData(string category, int xAxisIndex = 0)  
Add a category data to xAxis.

### BaseChart.AddXAxisIcon

public void AddXAxisIcon(Sprite icon, int xAxisIndex = 0)  
Add an icon to xAxis.

### BaseChart.AddYAxisData

public void AddYAxisData(string category, int yAxisIndex = 0)  
Add a category data to yAxis.

### BaseChart.AddYAxisIcon

public void AddYAxisIcon(Sprite icon, int yAxisIndex = 0)  
Add an icon to yAxis.

### BaseChart.AnimationEnable

public void AnimationEnable(bool flag)  
Whether enable serie animations.

### BaseChart.AnimationFadeIn

public void AnimationFadeIn(bool reset = true)  
Start all serie fadein animations.

### BaseChart.AnimationFadeOut

public void AnimationFadeOut()  
Start all serie fadeout animations.

### BaseChart.AnimationPause

public void AnimationPause()  
Pause all animations.

### BaseChart.AnimationReset

public void AnimationReset()  
Reset all animations.

### BaseChart.AnimationResume

public void AnimationResume()  
Resume all animations.

### BaseChart.CanAddChartComponent

public bool CanAddChartComponent(Type type)  

### BaseChart.CanAddSerie

public bool CanAddSerie(Type type)  

### BaseChart.CanAddSerie&lt;T&gt;

public bool CanAddSerie&lt;T&gt;() where T : Serie  

### BaseChart.CancelTooltip

public void CancelTooltip()  

> Since `v3.7.0`

cancel tooltip.

### BaseChart.CanMultipleComponent

public bool CanMultipleComponent(Type type)  

### BaseChart.ClampInChart

public void ClampInChart(ref Vector3 pos)  

### BaseChart.ClampInGrid

public Vector3 ClampInGrid(GridCoord grid, Vector3 pos)  

### BaseChart.ClearComponentData

public virtual void ClearComponentData()  

> Since `v3.4.0`

Clear the data of all components.

### BaseChart.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()  

> Since `v3.4.0`

Clear the data of all series.

### BaseChart.ClearSerieLinks

public virtual void ClearSerieLinks()  

> Since `v3.10.0`

Clear the link data of all series.

### BaseChart.ClickLegendButton

public void ClickLegendButton(int legendIndex, string legendName, bool show)  
点击图例按钮

### BaseChart.ConvertSerie

public bool ConvertSerie(Serie serie, Type type)  

### BaseChart.ConvertSerie&lt;T&gt;

public bool ConvertSerie&lt;T&gt;(Serie serie) where T : Serie  

### BaseChart.ConvertXYAxis

public void ConvertXYAxis(int index)  
转换X轴和Y轴的配置

### BaseChart.EnsureChartComponent&lt;T&gt;

public T EnsureChartComponent&lt;T&gt;() where T : MainComponent  

> Since `v3.6.0`

Ensure the chart has the component, if not, add it. Note: it may fail to add.

### BaseChart.GenerateDefaultSerieName

public string GenerateDefaultSerieName()  

### BaseChart.GetAllSerieDataCount

public int GetAllSerieDataCount()  

### BaseChart.GetChartBackgroundColor

public Color32 GetChartBackgroundColor()  

### BaseChart.GetChartComponent&lt;T&gt;

public T GetChartComponent&lt;T&gt;(int index = 0) where T : MainComponent  

### BaseChart.GetChartComponentNum

public int GetChartComponentNum(Type type)  

### BaseChart.GetChartComponentNum&lt;T&gt;

public int GetChartComponentNum&lt;T&gt;() where T : MainComponent  

### BaseChart.GetChartComponents&lt;T&gt;

public List&lt;MainComponent&gt; GetChartComponents&lt;T&gt;() where T : MainComponent  

### BaseChart.GetData

public double GetData(int serieIndex, int dataIndex, int dimension = 1)  


### BaseChart.GetDataZoomOfAxis

public DataZoom GetDataZoomOfAxis(Axis axis)  

### BaseChart.GetDataZoomOfSerie

public void GetDataZoomOfSerie(Serie serie, out DataZoom xDataZoom, out DataZoom yDataZoom)  

### BaseChart.GetGrid

public GridCoord GetGrid(Vector2 local)  

### BaseChart.GetGridOfDataZoom

public GridCoord GetGridOfDataZoom(DataZoom dataZoom)  

### BaseChart.GetItemColor

public Color32 GetItemColor(Serie serie)  

public Color32 GetItemColor(Serie serie, SerieData serieData, int colorIndex)  


### BaseChart.GetLegendRealShowNameColor

public Color32 GetLegendRealShowNameColor(string name)  

### BaseChart.GetLegendRealShowNameIndex

public int GetLegendRealShowNameIndex(string name)  

### BaseChart.GetMainAxis

public Axis GetMainAxis()  

### BaseChart.GetMarkColor

public Color32 GetMarkColor(Serie serie, SerieData serieData)  

> Since `v3.4.0`

获得Serie的标识颜色。

### BaseChart.GetOrAddChartComponent&lt;T&gt;

public T GetOrAddChartComponent&lt;T&gt;() where T : MainComponent  

### BaseChart.GetPainter

public Painter GetPainter(int index)  

### BaseChart.GetRealtimeSortSerie

public Serie GetRealtimeSortSerie(int gridIndex)  

### BaseChart.GetSerie

public Serie GetSerie(int serieIndex)  


### BaseChart.GetSerie&lt;T&gt;

public T GetSerie&lt;T&gt;(int serieIndex) where T : Serie  


### BaseChart.GetSerieBarGap&lt;T&gt;

public float GetSerieBarGap&lt;T&gt;(int gridIndex) where T : Serie  

### BaseChart.GetSerieBarRealCount&lt;T&gt;

public int GetSerieBarRealCount&lt;T&gt;(int gridIndex) where T : Serie  

### BaseChart.GetSerieIndexIfStack&lt;T&gt;

public int GetSerieIndexIfStack&lt;T&gt;(Serie currSerie, int gridIndex) where T : Serie  

### BaseChart.GetSerieSameStackTotalValue&lt;T&gt;

public double GetSerieSameStackTotalValue&lt;T&gt;(string stack, int dataIndex, int gridIndex) where T : Serie  

### BaseChart.GetSeriesMinMaxValue

public virtual void GetSeriesMinMaxValue(Axis axis, int axisIndex, out double tempMinValue, out double tempMaxValue)  

### BaseChart.GetSerieTotalGap&lt;T&gt;

public float GetSerieTotalGap&lt;T&gt;(float categoryWidth, float gap, int index, int gridIndex) where T : Serie  

### BaseChart.GetSerieTotalWidth&lt;T&gt;

public float GetSerieTotalWidth&lt;T&gt;(float categoryWidth, float gap, int realBarCount, int gridIndex) where T : Serie  

### BaseChart.GetVisualMapOfSerie

public VisualMap GetVisualMapOfSerie(Serie serie)  

### BaseChart.GetXDataZoomOfSerie

public DataZoom GetXDataZoomOfSerie(Serie serie)  

### BaseChart.GetXLerpColor

public Color32 GetXLerpColor(Color32 areaColor, Color32 areaToColor, Vector3 pos, GridCoord grid)  

### BaseChart.GetYLerpColor

public Color32 GetYLerpColor(Color32 areaColor, Color32 areaToColor, Vector3 pos, GridCoord grid)  

### BaseChart.HasChartComponent

public bool HasChartComponent(Type type)  

### BaseChart.HasChartComponent&lt;T&gt;

public bool HasChartComponent&lt;T&gt;()  

### BaseChart.HasRealtimeSortSerie

public bool HasRealtimeSortSerie(int gridIndex)  

### BaseChart.HasSerie

public bool HasSerie(Type type)  

### BaseChart.HasSerie&lt;T&gt;

public bool HasSerie&lt;T&gt;() where T : Serie  

### BaseChart.Init

public void Init(bool defaultChart = true)  

### BaseChart.InitAxisRuntimeData

public virtual void InitAxisRuntimeData(Axis axis) { }  

### BaseChart.InsertSerie

public void InsertSerie(Serie serie, int index = -1, bool addToHead = false)  

### BaseChart.InsertSerie&lt;T&gt;

public T InsertSerie&lt;T&gt;(int index, string serieName = null, bool show = true) where T : Serie  

### BaseChart.Internal_CheckAnimation

public void Internal_CheckAnimation()  

### BaseChart.IsActiveByLegend

public virtual bool IsActiveByLegend(string legendName)  
Whether serie is activated.

### BaseChart.IsAllAxisCategory

public bool IsAllAxisCategory()  
纯类目轴。

### BaseChart.IsAllAxisValue

public bool IsAllAxisValue()  
reutrn true when all the show axis is `Value` type.

### BaseChart.IsInAnyGrid

public bool IsInAnyGrid(Vector2 local)  

### BaseChart.IsInChart

public bool IsInChart(float x, float y)  


### BaseChart.IsSerieName

public bool IsSerieName(string name)  

### BaseChart.MoveDownSerie

public bool MoveDownSerie(int serieIndex)  

### BaseChart.MoveUpSerie

public bool MoveUpSerie(int serieIndex)  

### BaseChart.OnAfterDeserialize

public void OnAfterDeserialize()  

### BaseChart.OnBeforeSerialize

public void OnBeforeSerialize()  

### BaseChart.OnBeginDrag

public override void OnBeginDrag(PointerEventData eventData)  

### BaseChart.OnDataZoomRangeChanged

public virtual void OnDataZoomRangeChanged(DataZoom dataZoom)  

### BaseChart.OnDrag

public override void OnDrag(PointerEventData eventData)  

### BaseChart.OnEndDrag

public override void OnEndDrag(PointerEventData eventData)  

### BaseChart.OnLegendButtonClick

public virtual void OnLegendButtonClick(int index, string legendName, bool show)  

### BaseChart.OnLegendButtonEnter

public virtual void OnLegendButtonEnter(int index, string legendName)  

### BaseChart.OnLegendButtonExit

public virtual void OnLegendButtonExit(int index, string legendName)  

### BaseChart.OnPointerClick

public override void OnPointerClick(PointerEventData eventData)  

### BaseChart.OnPointerDown

public override void OnPointerDown(PointerEventData eventData)  

### BaseChart.OnPointerEnter

public override void OnPointerEnter(PointerEventData eventData)  

### BaseChart.OnPointerExit

public override void OnPointerExit(PointerEventData eventData)  

### BaseChart.OnPointerUp

public override void OnPointerUp(PointerEventData eventData)  

### BaseChart.OnScroll

public override void OnScroll(PointerEventData eventData)  

### BaseChart.RefreshBasePainter

public void RefreshBasePainter()  

### BaseChart.RefreshChart

public void RefreshChart(int serieIndex)  
Redraw chart serie in next frame.

public void RefreshChart(Serie serie)  
Redraw chart serie in next frame.


### BaseChart.RefreshDataZoom

public void RefreshDataZoom()  
在下一帧刷新DataZoom

### BaseChart.RefreshGraph

public override void RefreshGraph()  

### BaseChart.RefreshPainter

public void RefreshPainter(Serie serie)  


### BaseChart.RefreshTopPainter

public void RefreshTopPainter()  

### BaseChart.RefreshUpperPainter

public void RefreshUpperPainter()  

### BaseChart.RemoveAllChartComponent

public void RemoveAllChartComponent()  

### BaseChart.RemoveAllSerie

public virtual void RemoveAllSerie()  

> Since `v3.2.0`

Remove all of them Serie. This interface is used when Serie needs to be removed only, and RemoveData() is generally used in other cases.

### BaseChart.RemoveChartComponent

public bool RemoveChartComponent(MainComponent component)  


### BaseChart.RemoveChartComponent&lt;T&gt;

public bool RemoveChartComponent&lt;T&gt;(int index = 0)  

### BaseChart.RemoveChartComponents

public int RemoveChartComponents(Type type)  

### BaseChart.RemoveChartComponents&lt;T&gt;

public int RemoveChartComponents&lt;T&gt;()  

### BaseChart.RemoveData

public virtual void RemoveData(string serieName)  
Remove legend and serie by name.


### BaseChart.RemoveSerie

public void RemoveSerie(int serieIndex)  

public void RemoveSerie(Serie serie)  


### BaseChart.RemoveSerie&lt;T&gt;

public void RemoveSerie&lt;T&gt;() where T : Serie  

### BaseChart.ReplaceSerie

public bool ReplaceSerie(Serie oldSerie, Serie newSerie)  

### BaseChart.ResetChartStatus

public void ResetChartStatus()  

> Since `v3.10.0`

reset chart status. When some parameters are set, due to the animation effect, the chart status may not be correct.

### BaseChart.ResetDataIndex

public bool ResetDataIndex(int serieIndex)  
重置serie的数据项索引。避免数据项索引异常。

### BaseChart.SetBasePainterMaterial

public void SetBasePainterMaterial(Material material)  
设置Base Painter的材质球

### BaseChart.SetInsertDataToHead

public void SetInsertDataToHead(bool insertDataToHead)  

> Since `v3.11.0`

set insert data to head.

### BaseChart.SetMaxCache

public void SetMaxCache(int maxCache)  
设置可缓存的最大数据量。当数据量超过该值时，会自动删除第一个值再加入最新值。

### BaseChart.SetPainterActive

public void SetPainterActive(int index, bool flag)  

### BaseChart.SetSerieActive

public void SetSerieActive(int serieIndex, bool active)  
Whether to show serie.

public void SetSerieActive(Serie serie, bool active)  


### BaseChart.SetSeriePainterMaterial

public void SetSeriePainterMaterial(Material material)  
设置Serie Painter的材质球

### BaseChart.SetTopPainterMaterial

public void SetTopPainterMaterial(Material material)  
设置Top Painter的材质球

### BaseChart.SetUpperPainterMaterial

public void SetUpperPainterMaterial(Material material)  
设置Upper Painter的材质球

### BaseChart.TriggerTooltip

public bool TriggerTooltip(Vector3 localPosition)  

> Since `v3.7.0`

trigger tooltip by chart local position.


### BaseChart.TryAddChartComponent

public bool TryAddChartComponent(Type type)  

### BaseChart.TryAddChartComponent&lt;T&gt;

public bool TryAddChartComponent&lt;T&gt;(out T component) where T : MainComponent  


### BaseChart.TryGetChartComponent&lt;T&gt;

public bool TryGetChartComponent&lt;T&gt;(out T component, int index = 0)  

### BaseChart.UpdateData

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)  
更新指定系列指定索引指定维数的数据。维数从0开始。

public bool UpdateData(int serieIndex, int dataIndex, List&lt;double&gt; multidimensionalData)  
更新指定系列指定索引的数据项的多维数据。

public bool UpdateData(string serieName, int dataIndex, int dimension, double value)  
更新指定系列指定索引指定维数的数据。维数从0开始。

public bool UpdateData(string serieName, int dataIndex, List&lt;double&gt; multidimensionalData)  
更新指定系列指定索引的数据项的多维数据。


### BaseChart.UpdateDataName

public bool UpdateDataName(int serieIndex, int dataIndex, string dataName)  
Update serie data name.


### BaseChart.UpdateLegendColor

public virtual void UpdateLegendColor(string legendName, bool active)  

### BaseChart.UpdateTheme

public void UpdateTheme(Theme theme)  
Update chart theme info.


### BaseChart.UpdateXAxisData

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)  
Update xAxis icon.

### BaseChart.UpdateYAxisData

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)  
更新Y轴图标。

## BaseGraph

class in XCharts.Runtime / Inherits from: [MaskableGraphic](https://docs.unity3d.com/ScriptReference/30_search.html?q=maskablegraphic),[IPointerDownHandler](https://docs.unity3d.com/ScriptReference/30_search.html?q=ipointerdownhandler),[IPointerUpHandler](https://docs.unity3d.com/ScriptReference/30_search.html?q=ipointeruphandler), / Subclasses: [BaseChart](#basechart),[UIComponent](#uicomponent) 

### BaseGraph.chartHideFlags

public virtual HideFlags chartHideFlags  

### BaseGraph.childrenNodeNames

public List&lt;string&gt; childrenNodeNames  

### BaseGraph.clickPos

public Vector2 clickPos  

### BaseGraph.forceOpenRaycastTarget

public bool forceOpenRaycastTarget  
强制开启鼠标事件检测。

### BaseGraph.graphAnchoredPosition

public Vector2 graphAnchoredPosition  

### BaseGraph.graphHeight

public float graphHeight  
The height of graph.

### BaseGraph.graphMaxAnchor

public Vector2 graphMaxAnchor  

### BaseGraph.graphMinAnchor

public Vector2 graphMinAnchor  

### BaseGraph.graphPivot

public Vector2 graphPivot  

### BaseGraph.graphPosition

public Vector3 graphPosition  
The position of graph.

### BaseGraph.graphRect

public Rect graphRect  

### BaseGraph.graphSizeDelta

public Vector2 graphSizeDelta  

### BaseGraph.graphWidth

public float graphWidth  
The width of graph.

### BaseGraph.graphX

public float graphX  
The x of graph.

### BaseGraph.graphY

public float graphY  
The y of graph.

### BaseGraph.isDragingClick

public bool isDragingClick  

### BaseGraph.isPointerClick

public bool isPointerClick  
Whether the mouse click the chart.

### BaseGraph.isPointerInChart

public bool isPointerInChart  
Whether the mouse pointer is in the chart.

### BaseGraph.onBeginDrag

public Action&lt;PointerEventData, BaseGraph&gt; onBeginDrag  
鼠标开始拖拽回调。

### BaseGraph.onDrag

public Action&lt;PointerEventData, BaseGraph&gt; onDrag  
鼠标拖拽回调。

### BaseGraph.onEndDrag

public Action&lt;PointerEventData, BaseGraph&gt; onEndDrag  
鼠标结束拖拽回调。

### BaseGraph.onPointerClick

public Action&lt;PointerEventData, BaseGraph&gt; onPointerClick  
鼠标点击回调。

### BaseGraph.onPointerDown

public Action&lt;PointerEventData, BaseGraph&gt; onPointerDown  
鼠标按下回调。

### BaseGraph.onPointerEnter

public Action&lt;PointerEventData, BaseGraph&gt; onPointerEnter  
鼠标进入回调。

### BaseGraph.onPointerExit

public Action&lt;PointerEventData, BaseGraph&gt; onPointerExit  
鼠标退出回调。

### BaseGraph.onPointerUp

public Action&lt;PointerEventData, BaseGraph&gt; onPointerUp  
鼠标弹起回调。

### BaseGraph.onScroll

public Action&lt;PointerEventData, BaseGraph&gt; onScroll  
鼠标滚动回调。

### BaseGraph.painter

public Painter painter  

### BaseGraph.pointerPos

public Vector2 pointerPos  
The postion of pointer move.

### BaseGraph.warningInfo

public string warningInfo  
警告信息。

### BaseGraph.CheckWarning

public string CheckWarning()  
检测警告信息。

### BaseGraph.GetTitlePosition

public Vector3 GetTitlePosition(Title title)  

### BaseGraph.LocalPointToScreenPoint

public Vector2 LocalPointToScreenPoint(Vector2 localPoint)  

> Since `v3.7.0`

chart local point to screen point.

### BaseGraph.LocalPointToWorldPoint

public Vector2 LocalPointToWorldPoint(Vector2 localPoint)  

> Since `v3.7.0`

chart local point to world point.

### BaseGraph.OnBeginDrag

public virtual void OnBeginDrag(PointerEventData eventData)  

### BaseGraph.OnDrag

public virtual void OnDrag(PointerEventData eventData)  

### BaseGraph.OnEndDrag

public virtual void OnEndDrag(PointerEventData eventData)  

### BaseGraph.OnPointerClick

public virtual void OnPointerClick(PointerEventData eventData)  

### BaseGraph.OnPointerDown

public virtual void OnPointerDown(PointerEventData eventData)  

### BaseGraph.OnPointerEnter

public virtual void OnPointerEnter(PointerEventData eventData)  

### BaseGraph.OnPointerExit

public virtual void OnPointerExit(PointerEventData eventData)  

### BaseGraph.OnPointerUp

public virtual void OnPointerUp(PointerEventData eventData)  

### BaseGraph.OnScroll

public virtual void OnScroll(PointerEventData eventData)  

### BaseGraph.RebuildChartObject

public void RebuildChartObject()  
移除并重新创建所有图表的Object。

### BaseGraph.RefreshAllComponent

public void RefreshAllComponent()  

### BaseGraph.RefreshGraph

public virtual void RefreshGraph()  
Redraw graph in next frame.

### BaseGraph.ScreenPointToChartPoint

public bool ScreenPointToChartPoint(Vector2 screenPoint, out Vector2 chartPoint)  

### BaseGraph.SetPainterDirty

public void SetPainterDirty()  
重新初始化Painter

### BaseGraph.SetSize

public virtual void SetSize(float width, float height)  
设置图形的宽高（在非stretch pivot下才有效，其他情况需要自己调整RectTransform）

## BaseLine

class in XCharts.Runtime / Inherits from: [ChildComponent](#childcomponent) / Subclasses: [AxisLine](#axisline),[AxisMinorSplitLine](#axisminorsplitline),[AxisMinorTick](#axisminortick),[AxisSplitLine](#axissplitline),[AxisTick](#axistick) 

Settings related to base line.

### BaseLine.BaseLine

public BaseLine(bool show) : base()  


### BaseLine.Copy

public void Copy(BaseLine axisLine)  

### BaseLine.GetColor

public Color32 GetColor(Color32 themeColor)  

### BaseLine.GetLength

public float GetLength(float themeLength)  

### BaseLine.GetType

public LineStyle.Type GetType(LineStyle.Type themeType)  

### BaseLine.GetWidth

public float GetWidth(float themeWidth)  

## BaseScatter

class in XCharts.Runtime / Inherits from: [Serie](#serie),[INeedSerieContainer](#ineedseriecontainer) / Subclasses: [EffectScatter](#effectscatter),[Scatter](#scatter) 

### BaseScatter.containerIndex

public int containerIndex  

### BaseScatter.containterInstanceId

public int containterInstanceId  

## BaseSerie

class in XCharts.Runtime / Subclasses: [Serie](#serie) 

### BaseSerie.anyDirty

public bool anyDirty  

### BaseSerie.ClearData()

public virtual void ClearData()  

### BaseSerie.componentDirty

public virtual bool componentDirty  

### BaseSerie.defaultColorBy

public virtual SerieColorBy defaultColorBy  

### BaseSerie.gameObject

public GameObject gameObject  

### BaseSerie.handler

public SerieHandler handler  

### BaseSerie.multiDimensionLabel

public virtual bool multiDimensionLabel  

### BaseSerie.OnBeforeSerialize()

public virtual void OnBeforeSerialize()  

### BaseSerie.OnDataUpdate()

public virtual void OnDataUpdate()  

### BaseSerie.painter

public Painter painter  

### BaseSerie.refreshComponent

public Action refreshComponent  

### BaseSerie.titleJustForSerie

public virtual bool titleJustForSerie  

### BaseSerie.useSortData

public virtual bool useSortData  

### BaseSerie.vertsDirty

public virtual bool vertsDirty  

### BaseSerie.ClearComponentDirty

public virtual void ClearComponentDirty()  


### BaseSerie.ClearData

public virtual void ClearData() { }  

### BaseSerie.ClearDirty

public virtual void ClearDirty()  

### BaseSerie.ClearVerticesDirty

public virtual void ClearVerticesDirty()  


### BaseSerie.IsComponentDirty

public static bool IsComponentDirty(ChildComponent component)  

### BaseSerie.IsVertsDirty

public static bool IsVertsDirty(ChildComponent component)  

### BaseSerie.OnAfterDeserialize

public virtual void OnAfterDeserialize()  

### BaseSerie.OnBeforeSerialize

public virtual void OnBeforeSerialize() { }  

### BaseSerie.OnDataUpdate

public virtual void OnDataUpdate() { }  

### BaseSerie.OnRemove

public virtual void OnRemove()  

### BaseSerie.RefreshLabel

public void RefreshLabel()  

### BaseSerie.SetAllDirty

public virtual void SetAllDirty()  

### BaseSerie.SetComponentDirty

public virtual void SetComponentDirty()  

### BaseSerie.SetVerticesDirty

public virtual void SetVerticesDirty()  

## BlurStyle

class in XCharts.Runtime / Inherits from: [StateStyle](#statestyle),[ISerieComponent](#iseriecomponent),[ISerieDataComponent](#iseriedatacomponent)

> Since `v3.2.0`

Configurations of blur state.

## BorderStyle

class in XCharts.Runtime / Inherits from: [ChildComponent](#childcomponent)

> Since `v3.10.0`

The style of border.

### BorderStyle.GetRuntimeBorderColor

public Color32 GetRuntimeBorderColor()  

### BorderStyle.GetRuntimeBorderWidth

public float GetRuntimeBorderWidth()  

### BorderStyle.GetRuntimeCornerRadius

public float[] GetRuntimeCornerRadius()  

### BorderStyle.IsCricle

public bool IsCricle()  

## CalendarCoord

class in XCharts.Runtime / Inherits from: [CoordSystem](#coordsystem),[IUpdateRuntimeData](#iupdateruntimedata),[ISerieContainer](#iseriecontainer)

### CalendarCoord.IsPointerEnter

public bool IsPointerEnter()  

### CalendarCoord.UpdateRuntimeData

public void UpdateRuntimeData(BaseChart chart)  

## Candlestick

class in XCharts.Runtime / Inherits from: [Serie](#serie),[INeedSerieContainer](#ineedseriecontainer)

### Candlestick.containerIndex

public int containerIndex  

### Candlestick.containterInstanceId

public int containterInstanceId  

### Candlestick.AddDefaultSerie

public static Serie AddDefaultSerie(BaseChart chart, string serieName)  

## CandlestickChart

class in XCharts.Runtime / Inherits from: [BaseChart](#basechart)

A candlestick chart is a style of financial chart used to describe price movements of a security, derivative, or currency.

## ChartCached

class in XCharts.Runtime

### ChartCached.ColorToDotStr

public static string ColorToDotStr(Color color)  

### ChartCached.ColorToStr

public static string ColorToStr(Color color)  

### ChartCached.FloatToStr

public static string FloatToStr(double value, string numericFormatter = "F", int precision = 0)  

### ChartCached.GetAxisLabelName

public static string GetAxisLabelName(int index)  

### ChartCached.GetComponentObjectName

public static string GetComponentObjectName(MainComponent component)  

### ChartCached.GetSerieLabelName

public static string GetSerieLabelName(string prefix, int i, int j)  

### ChartCached.GetString

public static string GetString(string prefix, int suffix)  

### ChartCached.GetTypeName

public static string GetTypeName(Type type)  

### ChartCached.GetTypeName&lt;T&gt;

public static string GetTypeName&lt;T&gt;()  

### ChartCached.IntToStr

public static string IntToStr(int value, string numericFormatter = "")  

### ChartCached.NumberToDateStr

public static string NumberToDateStr(double timestamp, string formatter, bool local = false)  

### ChartCached.NumberToDateTime

public static DateTime NumberToDateTime(double timestamp, bool local = false)  

### ChartCached.NumberToStr

public static string NumberToStr(double value, string formatter)  

### ChartCached.NumberToTimeSpan

public static TimeSpan NumberToTimeSpan(double timestamp)  

### ChartCached.NumberToTimeStr

public static string NumberToTimeStr(double timestamp, string formatter)  

## ChartConst

class in XCharts.Runtime

## ChartDrawer

class in XCharts.Runtime

## ChartHelper

class in XCharts.Runtime

### ChartHelper.ignoreVector3

public static Vector3 ignoreVector3  

### ChartHelper.sb

public static StringBuilder sb  

### ChartHelper.ActiveAllObject

public static void ActiveAllObject(Transform parent, bool active, string match = null)  

### ChartHelper.AddIcon

public static Image AddIcon(string name, Transform parent, IconStyle iconStyle)  

### ChartHelper.Cancat

public static string Cancat(string str1, int i)  


### ChartHelper.ClearEventListener

public static void ClearEventListener(GameObject obj)  

### ChartHelper.CopyArray&lt;T&gt;

public static bool CopyArray&lt;T&gt;(T[] toList, T[] fromList)  

### ChartHelper.CopyList&lt;T&gt;

public static bool CopyList&lt;T&gt;(List&lt;T&gt; toList, List&lt;T&gt; fromList)  

### ChartHelper.DestoryGameObject

public static void DestoryGameObject(GameObject go)  


### ChartHelper.DestoryGameObjectByMatch

public static void DestoryGameObjectByMatch(Transform parent, List&lt;string&gt; children)  


### ChartHelper.DestroyAllChildren

public static void DestroyAllChildren(Transform parent)  

### ChartHelper.EnsureComponent&lt;T&gt;

public static T EnsureComponent&lt;T&gt;(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)  

### ChartHelper.GetAngle360

public static float GetAngle360(Vector2 from, Vector2 to)  
获得0-360的角度（12点钟方向为0度）

### ChartHelper.GetBlurColor

public static Color32 GetBlurColor(Color32 color, float a = 0.3f)  

### ChartHelper.GetColor

public static Color32 GetColor(string hexColorStr)  

### ChartHelper.GetDire

public static Vector3 GetDire(float angle, bool isDegree = false)  

### ChartHelper.GetFullName

public static string GetFullName(Transform transform)  

### ChartHelper.GetHighlightColor

public static Color32 GetHighlightColor(Color32 color, float rate = 0.8f)  

### ChartHelper.GetLastValue

public static Vector3 GetLastValue(List&lt;Vector3&gt; list)  

### ChartHelper.GetMaxCeilRate

public static float GetMaxCeilRate(float value, float ceilRate)  


### ChartHelper.GetMaxDivisibleValue

public static double GetMaxDivisibleValue(double max, double ceilRate)  

### ChartHelper.GetMaxLogValue

public static double GetMaxLogValue(double value, float logBase, bool isLogBaseE, out int splitNumber)  

### ChartHelper.GetMinCeilRate

public static float GetMinCeilRate(float value, float ceilRate)  


### ChartHelper.GetMinDivisibleValue

public static double GetMinDivisibleValue(double min, double ceilRate)  

### ChartHelper.GetMinLogValue

public static double GetMinLogValue(double value, float logBase, bool isLogBaseE, out int splitNumber)  

### ChartHelper.GetOrAddComponent&lt;T&gt;

public static T GetOrAddComponent&lt;T&gt;(GameObject gameObject) where T : Component  


### ChartHelper.GetPointList

public static void GetPointList(ref List&lt;Vector3&gt; posList, Vector3 sp, Vector3 ep, float k = 30f)  

### ChartHelper.GetPos

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)  

### ChartHelper.GetSelectColor

public static Color32 GetSelectColor(Color32 color, float rate = 0.8f)  

### ChartHelper.GetVertialDire

public static Vector3 GetVertialDire(Vector3 dire)  

### ChartHelper.HideAllObject

public static void HideAllObject(Transform parent, string match = null)  


### ChartHelper.IsActiveByScale

public static bool IsActiveByScale(Image image)  

public static bool IsActiveByScale(Transform transform)  


### ChartHelper.IsClearColor

public static bool IsClearColor(Color color)  


### ChartHelper.IsColorAlphaZero

public static bool IsColorAlphaZero(Color color)  

### ChartHelper.IsEquals

public static bool IsEquals(float d1, float d2)  


### ChartHelper.IsIngore

public static bool IsIngore(Vector3 pos)  

### ChartHelper.IsInRect

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)  

### ChartHelper.IsValueEqualsColor

public static bool IsValueEqualsColor(Color color1, Color color2)  


### ChartHelper.IsValueEqualsList&lt;T&gt;

public static bool IsValueEqualsList&lt;T&gt;(List&lt;T&gt; list1, List&lt;T&gt; list2)  

### ChartHelper.IsValueEqualsString

public static bool IsValueEqualsString(string str1, string str2)  

### ChartHelper.IsValueEqualsVector2

public static bool IsValueEqualsVector2(Vector2 v1, Vector2 v2)  

### ChartHelper.IsValueEqualsVector3

public static bool IsValueEqualsVector3(Vector3 v1, Vector3 v2)  

### ChartHelper.IsZeroVector

public static bool IsZeroVector(Vector3 pos)  

### ChartHelper.ParseFloatFromString

public static List&lt;float&gt; ParseFloatFromString(string jsonData)  

### ChartHelper.ParseStringFromString

public static List&lt;string&gt; ParseStringFromString(string jsonData)  

### ChartHelper.RemoveComponent&lt;T&gt;

public static void RemoveComponent&lt;T&gt;(GameObject gameObject)  

### ChartHelper.RemoveTMPComponents

public static void RemoveTMPComponents(GameObject gameObject)  

### ChartHelper.RotateRound

public static Vector3 RotateRound(Vector3 position, Vector3 center, Vector3 axis, float angle)  

### ChartHelper.SetActive

public static bool SetActive(Image image, bool active)  

public static bool SetActive(Text text, bool active)  

public static bool SetActive(Transform transform, bool active)  
通过设置scale实现是否显示，优化性能，减少GC


### ChartHelper.SetBackground

public static void SetBackground(Image background, Background imageStyle)  


### ChartHelper.SetColorOpacity

public static void SetColorOpacity(ref Color32 color, float opacity)  

## ChartLabel

class in XCharts.Runtime / Inherits from: [Image](https://docs.unity3d.com/ScriptReference/30_search.html?q=image)

### ChartLabel.hideIconIfTextEmpty

public bool hideIconIfTextEmpty  

### ChartLabel.isAnimationEnd

public bool isAnimationEnd  

### ChartLabel.isIconActive

public bool isIconActive  

### ChartLabel.rect

public Rect rect  

### ChartLabel.GetHeight

public float GetHeight()  

### ChartLabel.GetPosition

public Vector3 GetPosition()  

### ChartLabel.GetTextHeight

public float GetTextHeight()  

### ChartLabel.GetTextWidth

public float GetTextWidth()  

### ChartLabel.GetWidth

public float GetWidth()  

### ChartLabel.InRect

public bool InRect(Vector2 local)  

### ChartLabel.IsActiveByScale

public bool IsActiveByScale()  

### ChartLabel.SetActive

public void SetActive(bool flag, bool force = false)  

### ChartLabel.SetIcon

public void SetIcon(Image image)  

### ChartLabel.SetIconActive

public void SetIconActive(bool flag)  

### ChartLabel.SetIconSize

public void SetIconSize(float width, float height)  

### ChartLabel.SetIconSprite

public void SetIconSprite(Sprite sprite)  

### ChartLabel.SetPadding

public void SetPadding(float[] padding)  

### ChartLabel.SetPosition

public void SetPosition(Vector3 position)  

### ChartLabel.SetRectPosition

public void SetRectPosition(Vector3 position)  

### ChartLabel.SetRotate

public void SetRotate(float rotate)  

### ChartLabel.SetSize

public void SetSize(float width, float height)  

### ChartLabel.SetText

public bool SetText(string text)  

### ChartLabel.SetTextActive

public void SetTextActive(bool flag)  

### ChartLabel.SetTextColor

public void SetTextColor(Color color)  

### ChartLabel.SetTextPadding

public void SetTextPadding(TextPadding padding)  

### ChartLabel.SetTextRotate

public void SetTextRotate(float rotate)  

### ChartLabel.UpdateIcon

public void UpdateIcon(IconStyle iconStyle, Sprite sprite = null, Color color = default(Color))  

## ChartObject

class in XCharts.Runtime

### ChartObject.Destroy

public virtual void Destroy()  

## ChartText

class in XCharts.Runtime

### ChartText.tmpText

public TextMeshProUGUI tmpText  

### ChartText.ChartText

public ChartText(GameObject textParent)  


### ChartText.GetColor

public Color GetColor()  

### ChartText.GetPreferredHeight

public float GetPreferredHeight()  

### ChartText.GetPreferredText

public string GetPreferredText(string content, string suffix, float maxWidth)  

### ChartText.GetPreferredWidth

public float GetPreferredWidth()  


### ChartText.GetText

public string GetText()  

### ChartText.SetActive

public void SetActive(bool flag)  

### ChartText.SetAlignment

public void SetAlignment(TextAnchor alignment)  

### ChartText.SetColor

public void SetColor(Color color)  

### ChartText.SetFont

public void SetFont(TMP_FontAsset font)  


### ChartText.SetFontAndSizeAndStyle

public void SetFontAndSizeAndStyle(TextStyle textStyle, ComponentTheme theme)  

### ChartText.SetFontSize

public void SetFontSize(float fontSize)  

### ChartText.SetFontStyle

public void SetFontStyle(FontStyle fontStyle)  

### ChartText.SetLineSpacing

public void SetLineSpacing(float lineSpacing)  

### ChartText.SetLocalEulerAngles

public void SetLocalEulerAngles(Vector3 position)  

### ChartText.SetLocalPosition

public void SetLocalPosition(Vector3 position)  

### ChartText.SetRectPosition

public void SetRectPosition(Vector3 position)  

### ChartText.SetSizeDelta

public void SetSizeDelta(Vector2 sizeDelta)  

### ChartText.SetText

public void SetText(string text)  

## CheckHelper

class in XCharts.Runtime

### CheckHelper.CheckChart

public static string CheckChart(BaseChart chart)  


## ChildComponent

class in XCharts.Runtime / Subclasses: [AnimationStyle](#animationstyle),[AxisAnimation](#axisanimation),[AxisName](#axisname),[AxisSplitArea](#axissplitarea),[AreaStyle](#areastyle),[ArrowStyle](#arrowstyle),[BaseLine](#baseline),[BorderStyle](#borderstyle),[IconStyle](#iconstyle),[ImageStyle](#imagestyle),[ItemStyle](#itemstyle),[Level](#level),[LevelStyle](#levelstyle),[LineArrow](#linearrow),[LineStyle](#linestyle),[Location](#location),[MLValue](#mlvalue),[MarqueeStyle](#marqueestyle),[Padding](#padding),[StageColor](#stagecolor),[SymbolStyle](#symbolstyle),[TextLimit](#textlimit),[TextStyle](#textstyle),[CommentItem](#commentitem),[CommentMarkStyle](#commentmarkstyle),[LabelLine](#labelline),[LabelStyle](#labelstyle),[MarkAreaData](#markareadata),[MarkLineData](#marklinedata),[StateStyle](#statestyle),[VisualMapRange](#visualmaprange),[ViewControl](#viewcontrol),[UIComponentTheme](#uicomponenttheme),[SerieData](#seriedata),[SerieDataLink](#seriedatalink),[ComponentTheme](#componenttheme),[SerieTheme](#serietheme),[ThemeStyle](#themestyle) 

### ChildComponent.anyDirty

public bool anyDirty  
需要重绘图表或重新初始化组件。

### ChildComponent.componentDirty

public virtual bool componentDirty  
组件重新初始化标记。

### ChildComponent.gameObject

public GameObject gameObject  

### ChildComponent.index

public virtual int index  

### ChildComponent.painter

public Painter painter  

### ChildComponent.refreshComponent

public Action refreshComponent  

### ChildComponent.vertsDirty

public virtual bool vertsDirty  
图表重绘标记。

### ChildComponent.ClearComponentDirty

public virtual void ClearComponentDirty()  


### ChildComponent.ClearDirty

public virtual void ClearDirty()  

### ChildComponent.ClearVerticesDirty

public virtual void ClearVerticesDirty()  


### ChildComponent.IsComponentDirty

public static bool IsComponentDirty(ChildComponent component)  

### ChildComponent.IsVertsDirty

public static bool IsVertsDirty(ChildComponent component)  

### ChildComponent.SetAllDirty

public virtual void SetAllDirty()  

### ChildComponent.SetComponentDirty

public virtual void SetComponentDirty()  

### ChildComponent.SetVerticesDirty

public virtual void SetVerticesDirty()  

## ColorUtil

class in XCharts.Runtime

### ColorUtil.GetColor

public static Color32 GetColor(string hexColorStr)  
Convert the html string to color.

## Comment

class in XCharts.Runtime / Inherits from: [MainComponent](#maincomponent),[IPropertyChanged](#ipropertychanged)

> Since `v3.15.0`

comment of chart. Used to annotate special information in the chart.

### Comment.items

public List&lt;CommentItem&gt; items  
The items of comment.

### Comment.layer

public CommentLayer layer  
The layer of comment.

### Comment.show

public bool show  
Set this to false to prevent the comment from showing.

### Comment.GetLabelStyle

public LabelStyle GetLabelStyle(int index)  
Get the label style of comment item.

### Comment.GetMarkStyle

public CommentMarkStyle GetMarkStyle(int index)  
Get the mark style of comment item.

### Comment.OnChanged

public void OnChanged()  
Callback handling when parameters change.

## CommentItem

class in XCharts.Runtime / Inherits from: [ChildComponent](#childcomponent)

comment of chart.

### CommentItem.labelObject

public ChartLabel labelObject  

### CommentItem.markRect

public Rect markRect  
the mark rect of comment.

### CommentItem.markStyle

public CommentMarkStyle markStyle  
the mark rect style.

### CommentItem.show

public bool show  
Set this to false to prevent this comment item from showing.

## CommentLayer

class in XCharts.Runtime

The layer of comment.

Options:

- `Lower`: The comment is display under the serie.
- `Upper`: The comment is display above the serie.

## CommentMarkStyle

class in XCharts.Runtime / Inherits from: [ChildComponent](#childcomponent)

the comment mark style.

### CommentMarkStyle.lineStyle

public LineStyle lineStyle  
line style of comment mark area.

### CommentMarkStyle.show

public bool show  
Set this to false to prevent this comment item from showing.

## ComponentHandlerAttribute

class in XCharts.Runtime / Inherits from: [Attribute](https://docs.unity3d.com/ScriptReference/30_search.html?q=attribute)

### ComponentHandlerAttribute.ComponentHandlerAttribute

public ComponentHandlerAttribute(Type handler, bool allowMultiple, int order = 3)  


## ComponentHelper

class in XCharts.Runtime

### ComponentHelper.GetAngleAxis

public static AngleAxis GetAngleAxis(List&lt;MainComponent&gt; components, int polarIndex)  

### ComponentHelper.GetRadiusAxis

public static RadiusAxis GetRadiusAxis(List&lt;MainComponent&gt; components, int polarIndex)  

### ComponentHelper.GetXAxisOnZeroOffset

public static float GetXAxisOnZeroOffset(List&lt;MainComponent&gt; components, XAxis axis)  

### ComponentHelper.GetYAxisOnZeroOffset

public static float GetYAxisOnZeroOffset(List&lt;MainComponent&gt; components, YAxis axis)  

### ComponentHelper.IsAnyCategoryOfYAxis

public static bool IsAnyCategoryOfYAxis(List&lt;MainComponent&gt; components)  

## ComponentTheme

class in XCharts.Runtime / Inherits from: [ChildComponent](#childcomponent) / Subclasses: [BaseAxisTheme](#baseaxistheme),[DataZoomTheme](#datazoomtheme),[LegendTheme](#legendtheme),[SubTitleTheme](#subtitletheme),[TitleTheme](#titletheme),[TooltipTheme](#tooltiptheme),[VisualMapTheme](#visualmaptheme) 

### ComponentTheme.ComponentTheme

public ComponentTheme(ThemeType theme)  

### ComponentTheme.Copy

public virtual void Copy(ComponentTheme theme)  

### ComponentTheme.Reset

public virtual void Reset(ComponentTheme defaultTheme)  

## CoordOptionsAttribute

class in XCharts.Runtime / Inherits from: [Attribute](https://docs.unity3d.com/ScriptReference/30_search.html?q=attribute)

### CoordOptionsAttribute.Contains&lt;T&gt;

public bool Contains&lt;T&gt;() where T : CoordSystem  

### CoordOptionsAttribute.CoordOptionsAttribute

public CoordOptionsAttribute(Type coord, Type coord2)  

public CoordOptionsAttribute(Type coord, Type coord2, Type coord3)  

public CoordOptionsAttribute(Type coord, Type coord2, Type coord3, Type coord4)  


## CoordSystem

class in XCharts.Runtime / Inherits from: [MainComponent](#maincomponent) / Subclasses: [RadarCoord](#radarcoord),[CalendarCoord](#calendarcoord),[GridCoord](#gridcoord),[GridCoord3D](#gridcoord3d),[ParallelCoord](#parallelcoord),[PolarCoord](#polarcoord),[SingleAxisCoord](#singleaxiscoord) 

Coordinate system component.

## DataHelper

class in XCharts.Runtime

## DataZoom

class in XCharts.Runtime / Inherits from: [MainComponent](#maincomponent),[IUpdateRuntimeData](#iupdateruntimedata)

DataZoom component is used for zooming a specific area, which enables user to investigate data in detail, or get an overview of the data, or get rid of outlier points.

### DataZoom.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  
start和end变更委托。

### DataZoom.GetBackgroundColor

public Color32 GetBackgroundColor(Color32 themeColor)  

### DataZoom.GetBorderColor

public Color32 GetBorderColor(Color32 themeColor)  

### DataZoom.GetFillerColor

public Color32 GetFillerColor(Color32 themeColor)  

### DataZoom.IsContainsAxis

public bool IsContainsAxis(Axis axis)  

### DataZoom.IsContainsXAxis

public bool IsContainsXAxis(int index)  

### DataZoom.IsContainsYAxis

public bool IsContainsYAxis(int index)  

### DataZoom.IsInEndZoom

public bool IsInEndZoom(Vector2 pos)  
给定的坐标是否在结束活动条触发区域内

### DataZoom.IsInMarqueeArea

public bool IsInMarqueeArea(Vector2 pos)  


### DataZoom.IsInSelectedZoom

public bool IsInSelectedZoom(int totalIndex, int index, bool invert)  


### DataZoom.IsInStartZoom

public bool IsInStartZoom(Vector2 pos)  
给定的坐标是否在开始活动条触发区域内

### DataZoom.IsInZoom

public bool IsInZoom(Vector2 pos)  
给定的坐标是否在缩放区域内

### DataZoom.SetDefaultValue

public override void SetDefaultValue()  

### DataZoom.UpdateRuntimeData

public void UpdateRuntimeData(BaseChart chart)  

## DataZoom.FilterMode

class in XCharts.Runtime

Generally dataZoom component zoom or roam coordinate system through data filtering and set the windows of axes internally. Its behaviours vary according to filtering mode settings.

Options:

- `Filter`: data that outside the window will be filtered, which may lead to some changes of windows of other axes. For each data item, it will be filtered if one of the relevant dimensions is out of the window.
- `WeakFilter`: data that outside the window will be filtered, which may lead to some changes of windows of other axes. For each data item, it will be filtered only if all of the relevant dimensions are out of the same side of the window.
- `Empty`: data that outside the window will be set to NaN, which will not lead to changes of windows of other axes.
- `None`: Do not filter data.

## DataZoom.RangeMode

class in XCharts.Runtime

The value type of start and end.取值类型

Options:

- `//Value`: The value type of start and end.取值类型
- `Percent`: percent value.

## DataZoomContext

class in XCharts.Runtime / Inherits from: [MainComponentContext](#maincomponentcontext)

### DataZoomContext.endValue

public double endValue  
运行时实际范围的结束值

### DataZoomContext.height

public float height  

### DataZoomContext.invert

public bool invert  

### DataZoomContext.isCoordinateDrag

public bool isCoordinateDrag  

### DataZoomContext.isDrag

public bool isDrag  

### DataZoomContext.isEndDrag

public bool isEndDrag  

### DataZoomContext.isMarqueeDrag

public bool isMarqueeDrag  

### DataZoomContext.isStartDrag

public bool isStartDrag  

### DataZoomContext.marqueeEndPos

public Vector3 marqueeEndPos  

### DataZoomContext.marqueeRect

public Rect marqueeRect  

### DataZoomContext.marqueeStartPos

public Vector3 marqueeStartPos  

### DataZoomContext.startValue

public double startValue  
运行时实际范围的开始值

### DataZoomContext.width

public float width  

### DataZoomContext.x

public float x  

### DataZoomContext.y

public float y  

## DataZoomHelper

class in XCharts.Runtime

### DataZoomHelper.UpdateDataZoomRuntimeStartEndValue

public static void UpdateDataZoomRuntimeStartEndValue(DataZoom dataZoom, Serie serie)  

### DataZoomHelper.UpdateDataZoomRuntimeStartEndValue&lt;T&gt;

public static void UpdateDataZoomRuntimeStartEndValue&lt;T&gt;(BaseChart chart) where T : Serie  

## DataZoomTheme

class in XCharts.Runtime / Inherits from: [ComponentTheme](#componenttheme)

### DataZoomTheme.Copy

public void Copy(DataZoomTheme theme)  

### DataZoomTheme.DataZoomTheme

public DataZoomTheme(ThemeType theme) : base(theme)  

## DateTimeUtil

class in XCharts.Runtime

### DateTimeUtil.GetDateTime

public static DateTime GetDateTime(double timestamp, bool local = false)  

### DateTimeUtil.GetDefaultDateTimeString

public static string GetDefaultDateTimeString(double timestamp, double range = 0, bool local = false)  

### DateTimeUtil.GetTimestamp

public static double GetTimestamp(DateTime time, bool local = false)  

public static double GetTimestamp(string dateTime, bool local = false)  


### DateTimeUtil.IsDateOrTimeRegex

public static bool IsDateOrTimeRegex(string regex, ref bool date, ref string formatter)  


## DebugInfo

class in XCharts.Runtime

### DebugInfo.avgFps

public float avgFps  
The average frame rate.

### DebugInfo.foldSeries

public bool foldSeries  
Whether to fold series in inspector view.

### DebugInfo.fps

public float fps  
frame rate.

### DebugInfo.refreshCount

public int refreshCount  
The fefresh count of chart per second.

### DebugInfo.show

public bool show  
Whether show debug component.

### DebugInfo.showAllChartObject

public bool showAllChartObject  
Whether show children components of chart in hierarchy view.

### DebugInfo.Init

public void Init(BaseChart chart)  

### DebugInfo.Update

public void Update()  

## DefaultAnimationAttribute

class in XCharts.Runtime / Inherits from: [Attribute](https://docs.unity3d.com/ScriptReference/30_search.html?q=attribute)

### DefaultAnimationAttribute.DefaultAnimationAttribute

public DefaultAnimationAttribute(AnimationType handler, bool enableSerieDataAddedAnimation)  


## DefaultTooltipAttribute

class in XCharts.Runtime / Inherits from: [Attribute](https://docs.unity3d.com/ScriptReference/30_search.html?q=attribute)

### DefaultTooltipAttribute.DefaultTooltipAttribute

public DefaultTooltipAttribute(Tooltip.Type type, Tooltip.Trigger trigger)  

## DefineSymbolsUtil

class in XCharts.Runtime

### DefineSymbolsUtil.AddGlobalDefine

public static void AddGlobalDefine(string symbol)  

### DefineSymbolsUtil.RemoveGlobalDefine

public static void RemoveGlobalDefine(string symbol)  

## EffectScatter

class in XCharts.Runtime / Inherits from: [BaseScatter](#basescatter)

### EffectScatter.AddDefaultSerie

public static Serie AddDefaultSerie(BaseChart chart, string serieName)  

## EmphasisStyle

class in XCharts.Runtime / Inherits from: [StateStyle](#statestyle),[ISerieComponent](#iseriecomponent),[ISerieDataComponent](#iseriedatacomponent)

> Since `v3.2.0`

Configurations of emphasis state.

## EmphasisStyle.BlurScope

class in XCharts.Runtime

blur scope.

Options:

- `GridCoord`: coordinate system.
- `Series`: series.
- `Global`: global.

## EmphasisStyle.FocusType

class in XCharts.Runtime

focus type.

Options:

- `None`: Do not fade out other data, it's by default.
- `Self`: Only focus (not fade out) the element of the currently highlighted data.
- `Series`: Focus on all elements of the series which the currently highlighted data belongs to.

## EndLabelStyle

class in XCharts.Runtime / Inherits from: [LabelStyle](#labelstyle)

### EndLabelStyle.EndLabelStyle

public EndLabelStyle()  

## FormatterHelper

class in XCharts.Runtime

### FormatterHelper.NeedFormat

public static bool NeedFormat(string content)  

### FormatterHelper.ReplaceAxisLabelContent

public static void ReplaceAxisLabelContent(ref string content, string value, int index, int totalIndex)  


### FormatterHelper.ReplaceIndexContent

public static void ReplaceIndexContent(ref string content, int currIndex, int totalIndex)  

### FormatterHelper.TrimAndReplaceLine

public static string TrimAndReplaceLine(string content)  


## GraphData

class in XCharts.Runtime

the data struct of graph.

### GraphData.AddEdge

public GraphEdge AddEdge(string nodeId1, string nodeId2, double value)  

### GraphData.AddNode

public GraphNode AddNode(string nodeId, string nodeName, int dataIndex, double value)  

### GraphData.BreadthFirstTraverse

public void BreadthFirstTraverse(GraphNode startNode, System.Action&lt;GraphNode&gt; onTraverse)  

### GraphData.Clear

public void Clear()  

### GraphData.DeepFirstTraverse

public void DeepFirstTraverse(GraphNode startNode, System.Action&lt;GraphNode&gt; onTraverse)  

### GraphData.EachNode

public void EachNode(System.Action&lt;GraphNode&gt; onEach)  

### GraphData.ExpandAllNodes

public void ExpandAllNodes(bool flag, int level = -1)  

### GraphData.ExpandNode

public void ExpandNode(string nodeId, bool flag)  

### GraphData.GetDepthNodes

public List&lt;List&lt;GraphNode&gt;&gt; GetDepthNodes()  

### GraphData.GetEdge

public GraphEdge GetEdge(string nodeId1, string nodeId2)  

### GraphData.GetExpandedNodesCount

public static int GetExpandedNodesCount(List&lt;GraphNode&gt; nodes)  

### GraphData.GetMaxDepth

public int GetMaxDepth()  

### GraphData.GetNode

public GraphNode GetNode(string nodeId)  

### GraphData.GetNodeDepth

// public void GetNodeDepth(GraphNode node, ref int depth, int recursiveCount = 0)  

public int GetNodeDepth(GraphNode node, int recursiveCount = 0)  


### GraphData.GetNodesTotalValue

public static double GetNodesTotalValue(List&lt;GraphNode&gt; nodes)  

### GraphData.GetRootNodes

public List&lt;GraphNode&gt; GetRootNodes()  

### GraphData.GraphData

public GraphData(bool directed)  

### GraphData.IsAllNodeInZeroPosition

public bool IsAllNodeInZeroPosition()  

### GraphData.Refresh

public void Refresh()  

## GraphEdge

class in XCharts.Runtime

The edge of graph.

### GraphEdge.GraphEdge

public GraphEdge(GraphNode node1, GraphNode node2, double value)  

### GraphEdge.IsPointInEdge

public bool IsPointInEdge(Vector2 point)  

## GraphNode

class in XCharts.Runtime

The node of graph.

### GraphNode.degree

public int degree  

### GraphNode.inDegree

public int inDegree  

### GraphNode.outDegree

public int outDegree  

### GraphNode.Expand

public void Expand(bool flag)  

### GraphNode.GraphNode

public GraphNode(string id, string name, int dataIndex)  

### GraphNode.IsAllInEdgesCollapsed

public bool IsAllInEdgesCollapsed()  

### GraphNode.IsAnyInEdgesExpanded

public bool IsAnyInEdgesExpanded()  

### GraphNode.ToString

public override string ToString()  

## GridCoord

class in XCharts.Runtime / Inherits from: [CoordSystem](#coordsystem),[IUpdateRuntimeData](#iupdateruntimedata),[ISerieContainer](#iseriecontainer)

Grid component.

### GridCoord.BoundaryPoint

public bool BoundaryPoint(Vector3 sp, Vector3 ep, ref List&lt;Vector3&gt; point)  
给定的线段和Grid边界的交点


### GridCoord.Clamp

public void Clamp(ref Vector3 pos)  

> Since `v3.7.0`

Clamp the position of pos to the grid.

### GridCoord.ClampX

public void ClampX(ref Vector3 pos)  

> Since `v3.7.0`

Clamp the x position of pos to the grid.

### GridCoord.ClampY

public void ClampY(ref Vector3 pos)  

> Since `v3.7.0`

Clamp the y position of pos to the grid.

### GridCoord.Contains

public bool Contains(float x, float y)  
Whether the given position is in the grid.

public bool Contains(Vector3 pos, bool isYAxis)  

> Since `v3.7.0`

Whether the given position is in the grid.


### GridCoord.ContainsX

public bool ContainsX(float x)  

> Since `v3.7.0`

Whether the given x is in the grid.

### GridCoord.ContainsY

public bool ContainsY(float y)  

> Since `v3.7.0`

Whether the given y is in the grid.

### GridCoord.IsPointerEnter

public bool IsPointerEnter()  
Whether the pointer is in the grid.

### GridCoord.NotAnyIntersect

public bool NotAnyIntersect(Vector3 sp, Vector3 ep)  

> Since `v3.10.0`

Determines whether a given line segment will not intersect the Grid boundary at all.

### GridCoord.UpdateRuntimeData

public void UpdateRuntimeData(BaseChart chart)  

## GridCoord3D

class in XCharts.Runtime / Inherits from: [CoordSystem](#coordsystem),[IUpdateRuntimeData](#iupdateruntimedata),[ISerieContainer](#iseriecontainer)

> Since `v3.11.0`

Grid component.

### GridCoord3D.Clamp

public void Clamp(ref Vector3 pos)  
Clamp the position of pos to the grid.

### GridCoord3D.Contains

public bool Contains(Vector3 pos)  
Whether the given position is in the grid.

### GridCoord3D.IsLeft

public bool IsLeft()  
The opening of the coordinate system faces to the left. 坐标系开口朝向左边。

### GridCoord3D.IsPointerEnter

public bool IsPointerEnter()  
Whether the pointer is in the grid.

### GridCoord3D.NotAnyIntersect

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)  

## GridCoord3DContext

class in XCharts.Runtime / Inherits from: [MainComponentContext](#maincomponentcontext)

## GridCoordContext

class in XCharts.Runtime / Inherits from: [MainComponentContext](#maincomponentcontext)

## GridLayout

class in XCharts.Runtime / Inherits from: [MainComponent](#maincomponent),[IUpdateRuntimeData](#iupdateruntimedata)

> Since `v3.8.0`

Grid layout component. Used to manage the layout of multiple `GridCoord`, and the number of rows and columns of the grid can be controlled by `row` and `column`.

### GridLayout.UpdateRuntimeData

public void UpdateRuntimeData(BaseChart chart)  

## GridLayoutContext

class in XCharts.Runtime / Inherits from: [MainComponentContext](#maincomponentcontext)

## Heatmap

class in XCharts.Runtime / Inherits from: [Serie](#serie),[INeedSerieContainer](#ineedseriecontainer)

### Heatmap.containerIndex

public int containerIndex  

### Heatmap.containterInstanceId

public int containterInstanceId  

### Heatmap.AddDefaultSerie

public static Serie AddDefaultSerie(BaseChart chart, string serieName)  

## HeatmapChart

class in XCharts.Runtime / Inherits from: [BaseChart](#basechart)

Heat map mainly use colors to represent values, which must be used along with visualMap component. It can be used in either rectangular coordinate or geographic coordinate. But the behaviour on them are quite different. Rectangular coordinate must have two categories to use it.

### HeatmapChart.DefaultCountHeatmapChart

public void DefaultCountHeatmapChart()  
default count heatmap chart.

## HeatmapType

class in XCharts.Runtime

The mapping type of heatmap.

Options:

- `Data`: Data mapping type.By default, the second dimension data is used as the color map.
- `Count`: Number mapping type.The number of occurrences of a statistic in a divided grid, as a color map.

## IconStyle

class in XCharts.Runtime / Inherits from: [ChildComponent](#childcomponent)

### IconStyle.align

public Align align  
水平方向对齐方式。

### IconStyle.autoHideWhenLabelEmpty

public bool autoHideWhenLabelEmpty  
当label内容为空时是否自动隐藏图标

### IconStyle.color

public Color color  
图标颜色。

### IconStyle.height

public float height  
图标高。

### IconStyle.layer

public Layer layer  
显示在上层还是在下层。

### IconStyle.offset

public Vector3 offset  
图标偏移。

### IconStyle.show

public bool show  
Whether the data icon is show.

### IconStyle.sprite

public Sprite sprite  
The image of icon.

### IconStyle.type

public Image.Type type  
How to display the icon.

### IconStyle.width

public float width  
图标宽。

### IconStyle.Clone

public IconStyle Clone()  

### IconStyle.Copy

public void Copy(IconStyle iconStyle)  

### IconStyle.Reset

public void Reset()  

## IconStyle.Layer

class in XCharts.Runtime

Options:

- `UnderText`: The icon is display under the label text. 图标在标签文字下
- `AboveText`: The icon is display above the label text. 图标在标签文字上

## IgnoreDoc

class in XCharts.Runtime / Inherits from: [Attribute](https://docs.unity3d.com/ScriptReference/30_search.html?q=attribute)

### IgnoreDoc.IgnoreDoc

public IgnoreDoc()  

## ImageStyle

class in XCharts.Runtime / Inherits from: [ChildComponent](#childcomponent),[ISerieComponent](#iseriecomponent),[ISerieDataComponent](#iseriedatacomponent)

### ImageStyle.autoColor

public bool autoColor  
是否自动颜色。

### ImageStyle.color

public Color color  
图标颜色。

### ImageStyle.height

public float height  
图标高。

### ImageStyle.show

public bool show  
Whether the data icon is show.

### ImageStyle.sprite

public Sprite sprite  
The image of icon.

### ImageStyle.type

public Image.Type type  
How to display the image.

### ImageStyle.width

public float width  
图标宽。

### ImageStyle.Clone

public ImageStyle Clone()  

### ImageStyle.Copy

public void Copy(ImageStyle imageStyle)  

### ImageStyle.Reset

public void Reset()  

## Indicator

class in XCharts.Runtime

Indicator of radar chart, which is used to assign multiple variables(dimensions) in radar chart.

### Indicator.indicatorList

public List&lt;Indicator&gt; indicatorList  
the indicator list.

### Indicator.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  
The minimum value of indicator, with default value of 0.

### Indicator.name

public string name  
The name of indicator.

### Indicator.show

public bool show  
[default:true] Set this to false to prevent the radar from showing.

### Indicator.text

public Text text  
the text conponent of indicator.

### Indicator.AddIndicator

public RadarCoord.Indicator AddIndicator(string name, double min, double max)  


### Indicator.AddIndicatorList

public void AddIndicatorList(List&lt;string&gt; nameList, double min = 0, double max = 0)  

> Since `v3.3.0`


### Indicator.ClearData

public override void ClearData()  

### Indicator.GetFormatterIndicatorContent

public string GetFormatterIndicatorContent(string indicatorName, int index, int totalIndex)  


### Indicator.GetIndicator

public RadarCoord.Indicator GetIndicator(int indicatorIndex)  

### Indicator.GetIndicatorMax

public double GetIndicatorMax(int index)  

### Indicator.GetIndicatorMin

public double GetIndicatorMin(int index)  

### Indicator.GetIndicatorName

public string GetIndicatorName(int indicatorIndex)  

### Indicator.GetIndicatorPosition

public Vector3 GetIndicatorPosition(int index)  

### Indicator.IsInIndicatorRange

public bool IsInIndicatorRange(int index, double value)  

### Indicator.IsInRange

public bool IsInRange(double value)  

### Indicator.IsPointerEnter

public bool IsPointerEnter()  

### Indicator.SetDefaultValue

public override void SetDefaultValue()  

### Indicator.UpdateIndicator

public bool UpdateIndicator(int indicatorIndex, string name, double min, double max)  

## INeedSerieContainer

class in XCharts.Runtime / Subclasses: [Bar](#bar),[SimplifiedBar](#simplifiedbar),[Candlestick](#candlestick),[SimplifiedCandlestick](#simplifiedcandlestick),[Heatmap](#heatmap),[Line](#line),[SimplifiedLine](#simplifiedline),[Parallel](#parallel),[Radar](#radar),[BaseScatter](#basescatter) 

## InputHelper

class in XCharts.Runtime

### InputHelper.GetKeyDown

public static bool GetKeyDown(KeyCode keyCode)  

### InputHelper.GetTouch

public static Touch GetTouch(int v)  

## InteractData

class in XCharts.Runtime

### InteractData.Reset

public void Reset()  

### InteractData.SetColor

public void SetColor(ref bool needInteract, Color32 color, Color32 toColor)  


### InteractData.SetPosition

public void SetPosition(ref bool needInteract, Vector3 pos)  

### InteractData.SetValue

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)  


### InteractData.ToString

public override string ToString()  

### InteractData.TryGetColor

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)  

### InteractData.TryGetValue

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 Color32 color, ref Color32 toColor, ref bool interacting, float animationDuration = 250)  


## IPropertyChanged

class in XCharts.Runtime / Subclasses: [Location](#location),[Comment](#comment),[Legend](#legend),[Title](#title) 

属性变更接口

## ISerieComponent

class in XCharts.Runtime / Subclasses: [AreaStyle](#areastyle),[ImageStyle](#imagestyle),[LineArrow](#linearrow),[LabelLine](#labelline),[LabelStyle](#labelstyle),[BlurStyle](#blurstyle),[EmphasisStyle](#emphasisstyle),[SelectStyle](#selectstyle),[TitleStyle](#titlestyle) 

The interface for serie component.

## ISerieContainer

class in XCharts.Runtime / Subclasses: [RadarCoord](#radarcoord),[CalendarCoord](#calendarcoord),[GridCoord](#gridcoord),[GridCoord3D](#gridcoord3d),[ParallelCoord](#parallelcoord),[PolarCoord](#polarcoord) 

## ISerieDataComponent

class in XCharts.Runtime / Subclasses: [AreaStyle](#areastyle),[ImageStyle](#imagestyle),[ItemStyle](#itemstyle),[LineStyle](#linestyle),[SerieSymbol](#seriesymbol),[LabelLine](#labelline),[LabelStyle](#labelstyle),[BlurStyle](#blurstyle),[EmphasisStyle](#emphasisstyle),[SelectStyle](#selectstyle),[TitleStyle](#titlestyle) 

The interface for serie data component.

## ISimplifiedSerie

class in XCharts.Runtime / Subclasses: [SimplifiedBar](#simplifiedbar),[SimplifiedCandlestick](#simplifiedcandlestick),[SimplifiedLine](#simplifiedline) 

## ItemStyle

class in XCharts.Runtime / Inherits from: [ChildComponent](#childcomponent),[ISerieDataComponent](#iseriedatacomponent)

图形样式。

### ItemStyle.GetBorderColor

public Color32 GetBorderColor(Color32 defaultColor)  

### ItemStyle.GetBorderColor0

public Color32 GetBorderColor0(Color32 defaultColor)  

### ItemStyle.GetColor

public Color32 GetColor(Color32 defaultColor)  


### ItemStyle.GetColor0

public Color32 GetColor0(Color32 defaultColor)  


### ItemStyle.GetGradientColor

public Color32 GetGradientColor(float value, Color32 defaultColor)  

### ItemStyle.GetToColor

public Color32 GetToColor()  

### ItemStyle.IsNeedCorner

public bool IsNeedCorner()  

### ItemStyle.IsNeedGradient

public bool IsNeedGradient()  

### ItemStyle.Reset

public void Reset()  

## IUpdateRuntimeData

class in XCharts.Runtime / Subclasses: [SingleAxis](#singleaxis),[DataZoom](#datazoom),[CalendarCoord](#calendarcoord),[GridCoord](#gridcoord),[GridLayout](#gridlayout),[GridCoord3D](#gridcoord3d),[ParallelCoord](#parallelcoord) 

## JsonUtil

class in XCharts.Runtime

### JsonUtil.GetJsonArray&lt;T&gt;

public static T[] GetJsonArray&lt;T&gt;(string json)  

### JsonUtil.GetJsonObject&lt;T&gt;

public static T GetJsonObject&lt;T&gt;(string json)  

### JsonUtil.GetWebJson&lt;T&gt;

public static IEnumerator GetWebJson&lt;T&gt;(string url, Action&lt;T&gt; callback)  


## LabelLine

class in XCharts.Runtime / Inherits from: [ChildComponent](#childcomponent),[ISerieComponent](#iseriecomponent),[ISerieDataComponent](#iseriedatacomponent)

标签的引导线

### LabelLine.GetEndSymbolOffset

public Vector3 GetEndSymbolOffset()  

### LabelLine.GetStartSymbolOffset

public Vector3 GetStartSymbolOffset()  

### LabelLine.Reset

public void Reset()  

## LabelLine.LineType

class in XCharts.Runtime

标签视觉引导线类型

Options:

- `BrokenLine`: 折线
- `Curves`: 曲线
- `HorizontalLine`: 水平线

## LabelStyle

class in XCharts.Runtime / Inherits from: [ChildComponent](#childcomponent),[ISerieComponent](#iseriecomponent),[ISerieDataComponent](#iseriedatacomponent) / Subclasses: [AxisLabel](#axislabel),[EndLabelStyle](#endlabelstyle),[TitleStyle](#titlestyle) 

Text label of chart, to explain some data information about graphic item like value, name and so on.

### LabelStyle.Clone

public virtual LabelStyle Clone()  

### LabelStyle.Copy

public virtual void Copy(LabelStyle label)  

### LabelStyle.GetColor

public Color GetColor(Color defaultColor)  

### LabelStyle.GetFormatterContent

public virtual string GetFormatterContent(int labelIndex, int totalIndex, double value, double minValue, double maxValue, bool isLog = false)  


### LabelStyle.GetFormatterDateTime

public string GetFormatterDateTime(int labelIndex, int totalIndex, double value, double minValue, double maxValue, bool local)  

### LabelStyle.GetOffset

public Vector3 GetOffset(float radius)  

### LabelStyle.IsAutoSize

public bool IsAutoSize()  

### LabelStyle.IsDefaultPosition

public bool IsDefaultPosition(Position position)  

### LabelStyle.IsInside

public bool IsInside()  
whether the label is inside.

### LabelStyle.Reset

public void Reset()  

## LabelStyle.Position

class in XCharts.Runtime

The position of label.

Options:

- `Default`: The position of label.
- `Outside`: Outside of sectors of pie chart, which relates to corresponding sector through visual guide line.
- `Inside`: Inside the sectors of pie chart.
- `Center`: In the center of pie chart.
- `Top`: top of symbol.
- `Bottom`: the bottom of symbol.
- `Left`: the left of symbol.
- `Right`: the right of symbol.
- `Start`: the start of line.
- `Middle`: the middle of line.
- `End`: the end of line.

## Lang

class in XCharts.Runtime / Inherits from: [ScriptableObject](https://docs.unity3d.com/ScriptReference/30_search.html?q=scriptableobject)

Language.

### Lang.GetCandlestickDimensionName

public string GetCandlestickDimensionName(int i)  

### Lang.GetDay

public string GetDay(int day)  

### Lang.GetMonthAbbr

public string GetMonthAbbr(int month)  

## LangCandlestick

class in XCharts.Runtime

### LangCandlestick.List&lt;string&gt;()

public List&lt;string&gt; dimensionNames = new List&lt;string&gt;()  

## LangTime

class in XCharts.Runtime

### LangTime.List&lt;string&gt;

public List&lt;string&gt; dayOfMonth = new List&lt;string&gt;()  

public List&lt;string&gt; dayOfWeek = new List&lt;string&gt;()  

public List&lt;string&gt; dayOfWeekAbbr = new List&lt;string&gt;()  

public List&lt;string&gt; monthAbbr = new List&lt;string&gt;()  


## LayerHelper

class in XCharts.Runtime

### LayerHelper.IsFixedWidthHeight

public static bool IsFixedWidthHeight(RectTransform rt)  

### LayerHelper.IsStretchPivot

public static bool IsStretchPivot(RectTransform rt)  

## Legend

class in XCharts.Runtime / Inherits from: [MainComponent](#maincomponent),[IPropertyChanged](#ipropertychanged)

Legend component.The legend component shows different sets of tags, colors, and names. You can control which series are not displayed by clicking on the legend.

### Legend.vertsDirty

public override bool vertsDirty  
图表是否需要刷新（图例组件不需要刷新图表）

### Legend.AddData

public void AddData(string name)  
Add legend data.

### Legend.ClearComponentDirty

public override void ClearComponentDirty()  

### Legend.ClearData

public override void ClearData()  
Clear legend data.

### Legend.ContainsData

public bool ContainsData(string name)  
Whether include in legend data by the specified name.

### Legend.GetColor

public Color GetColor(int index)  

### Legend.GetData

public string GetData(int index)  
Gets the legend for the specified index.

### Legend.GetIcon

public Sprite GetIcon(int index)  
Gets the legend button for the specified index.

### Legend.GetIndex

public int GetIndex(string legendName)  
Gets the index of the specified legend.

### Legend.GetPosition

public Vector3 GetPosition(int index, Vector3 defaultPos)  

### Legend.OnChanged

public void OnChanged()  
Callback handling when parameters change.

### Legend.RemoveButton

public void RemoveButton()  
Remove all legend buttons.

### Legend.RemoveData

public void RemoveData(string name)  
Removes the legend with the specified name.

### Legend.SetButton

public void SetButton(string name, LegendItem item, int total)  
Bind buttons to legends.

### Legend.UpdateButtonColor

public void UpdateButtonColor(string name, Color color)  
Update the legend button color.

### Legend.UpdateContentColor

public void UpdateContentColor(string name, Color color)  
Update the text color of legend.

## Legend.SelectedMode

class in XCharts.Runtime

Selected mode of legend, which controls whether series can be toggled displaying by clicking legends.

Options:

- `Multiple`: 多选。
- `Single`: 单选。
- `None`: 无法选择。

## Legend.Type

class in XCharts.Runtime

Legend component.The legend component shows different sets of tags, colors, and names. You can control which series are not displayed by clicking on the legend.

Options:

- `Auto`: 自动匹配。
- `Custom`: 自定义图标。
- `EmptyCircle`: 空心圆。
- `Circle`: 圆形。
- `Rect`: 正方形。可通过Setting的legendIconCornerRadius参数调整圆角。
- `Triangle`: 三角形。
- `Diamond`: 菱形。
- `Candlestick`: 烛台（可用于K线图）。

## LegendContext

class in XCharts.Runtime / Inherits from: [MainComponentContext](#maincomponentcontext)

### LegendContext.background

public Image background  

### LegendContext.center

public Vector2 center  

### LegendContext.height

public float height  
运行时图例的总高度

### LegendContext.width

public float width  
运行时图例的总宽度

## LegendHelper

class in XCharts.Runtime

### LegendHelper.CheckDataHighlighted

public static int CheckDataHighlighted(Serie serie, string legendName, bool heighlight)  

### LegendHelper.CheckDataShow

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)  

### LegendHelper.GetIconColor

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)  

### LegendHelper.SetLegendBackground

public static void SetLegendBackground(Legend legend, ImageStyle style)  

## LegendItem

class in XCharts.Runtime

### LegendItem.button

public Button button  

### LegendItem.gameObject

public GameObject gameObject  

### LegendItem.index

public int index  

### LegendItem.legendName

public string legendName  

### LegendItem.name

public string name  

### LegendItem.text

public ChartText text  

### LegendItem.GetIconColor

public Color GetIconColor()  

### LegendItem.GetIconRect

public Rect GetIconRect()  

### LegendItem.SetActive

public void SetActive(bool active)  

### LegendItem.SetBackground

public void SetBackground(ImageStyle imageStyle)  

### LegendItem.SetButton

public void SetButton(Button button)  

### LegendItem.SetContent

public bool SetContent(string content)  

### LegendItem.SetContentBackgroundColor

public void SetContentBackgroundColor(Color color)  

### LegendItem.SetContentColor

public void SetContentColor(Color color)  

### LegendItem.SetContentPosition

public void SetContentPosition(Vector3 offset)  

### LegendItem.SetIcon

public void SetIcon(Image icon)  

### LegendItem.SetIconActive

public void SetIconActive(bool active)  

### LegendItem.SetIconColor

public void SetIconColor(Color color)  

### LegendItem.SetIconImage

public void SetIconImage(Sprite image)  

### LegendItem.SetIconSize

public void SetIconSize(float width, float height)  

### LegendItem.SetObject

public void SetObject(GameObject obj)  

### LegendItem.SetPosition

public void SetPosition(Vector3 position)  

### LegendItem.SetText

public void SetText(ChartText text)  

### LegendItem.SetTextBackground

public void SetTextBackground(Image image)  

## LegendTheme

class in XCharts.Runtime / Inherits from: [ComponentTheme](#componenttheme)

### LegendTheme.Copy

public void Copy(LegendTheme theme)  

### LegendTheme.LegendTheme

public LegendTheme(ThemeType theme) : base(theme)  

## Level

class in XCharts.Runtime / Inherits from: [ChildComponent](#childcomponent)

### Level.depth

public int depth  
the depth of level.

### Level.itemStyle

public ItemStyle itemStyle  
the item style of level.

### Level.label

public LabelStyle label  
the label style of level.

### Level.lineStyle

public LineStyle lineStyle  
the line style of level.

### Level.upperLabel

public LabelStyle upperLabel  
the upper label style of level.

## LevelStyle

class in XCharts.Runtime / Inherits from: [ChildComponent](#childcomponent)

> Since `v3.10.0`

### LevelStyle.levels

public List&lt;Level&gt; levels  
各层节点对应的配置。当enableLevels为true时生效，levels[0]对应的第一层的配置，levels[1]对应第二层，依次类推。当levels中没有对应层时用默认的设置。

### LevelStyle.show

public bool show  
是否启用LevelStyle

## Line

class in XCharts.Runtime / Inherits from: [Serie](#serie),[INeedSerieContainer](#ineedseriecontainer)

### Line.containerIndex

public int containerIndex  

### Line.containterInstanceId

public int containterInstanceId  

### Line.AddDefaultSerie

public static Serie AddDefaultSerie(BaseChart chart, string serieName)  

### Line.ConvertSerie

public static Line ConvertSerie(Serie serie)  

## LineArrow

class in XCharts.Runtime / Inherits from: [ChildComponent](#childcomponent),[ISerieComponent](#iseriecomponent)

## LineArrow.Position

class in XCharts.Runtime

Options:

- `End`: 末端箭头
- `Start`: 头端箭头

## LineChart

class in XCharts.Runtime / Inherits from: [BaseChart](#basechart)

Line chart relates all the data points symbol by broken lines, which is used to show the trend of data changing. It could be used in both rectangular coordinate andpolar coordinate.

### LineChart.DefaultAreaLineChart

public void DefaultAreaLineChart()  
default area line chart.

### LineChart.DefaultDashLineChart

public void DefaultDashLineChart()  
default dash line chart.

### LineChart.DefaultLogLineChart

public void DefaultLogLineChart()  
default logarithmic line chart.

### LineChart.DefaultSmoothAreaLineChart

public void DefaultSmoothAreaLineChart()  
default smooth area line chart.

### LineChart.DefaultSmoothLineChart

public void DefaultSmoothLineChart()  
default smooth line chart.

### LineChart.DefaultStackAreaLineChart

public void DefaultStackAreaLineChart()  
default stack area line chart.

### LineChart.DefaultStackLineChart

public void DefaultStackLineChart()  
default stack line chart.

### LineChart.DefaultStepLineChart

public void DefaultStepLineChart()  
default step line chart.

### LineChart.DefaultTimeLineChart

public void DefaultTimeLineChart()  
default time line chart.

## LineHelper

class in XCharts.Runtime

### LineHelper.GetDataAverageRate

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)  

## LineStyle

class in XCharts.Runtime / Inherits from: [ChildComponent](#childcomponent),[ISerieDataComponent](#iseriedatacomponent)

The style of line.

### LineStyle.Clone

public LineStyle Clone()  

### LineStyle.Copy

public void Copy(LineStyle lineStyle)  

### LineStyle.GetColor

public Color32 GetColor(Color32 themeColor)  


### LineStyle.GetGradientColor

public Color32 GetGradientColor(float value, Color32 defaultColor)  

### LineStyle.GetLength

public float GetLength(float themeLength)  

### LineStyle.GetType

public Type GetType(Type themeType)  

### LineStyle.GetWidth

public float GetWidth(float themeWidth)  

### LineStyle.IsNeedGradient

public bool IsNeedGradient()  

### LineStyle.IsNotSolidLine

public bool IsNotSolidLine()  

### LineStyle.LineStyle

public LineStyle(float width)  

public LineStyle(LineStyle.Type type)  

public LineStyle(LineStyle.Type type, float width)  


## LineStyle.Type

class in XCharts.Runtime

线的类型。

Options:

- `Solid`: 实线
- `Dashed`: 虚线
- `Dotted`: 点线
- `DashDot`: 点划线
- `DashDotDot`: 双点划线
- `None`: 双点划线

## LineType

class in XCharts.Runtime

the type of line chart.

Options:

- `Normal`: the normal line chart，
- `Smooth`: the smooth line chart，
- `StepStart`: step line.
- `StepMiddle`: step line.
- `StepEnd`: step line.

## ListFor

class in XCharts.Runtime / Inherits from: [Attribute](https://docs.unity3d.com/ScriptReference/30_search.html?q=attribute) / Subclasses: [ListForComponent](#listforcomponent),[ListForSerie](#listforserie) 

### ListFor.ListFor

public ListFor(Type type)  

## ListForComponent

class in XCharts.Runtime / Inherits from: [ListFor](#listfor)

### ListForComponent.ListForComponent

public ListForComponent(Type type) : base(type)  

## ListForSerie

class in XCharts.Runtime / Inherits from: [ListFor](#listfor)

### ListForSerie.ListForSerie

public ListForSerie(Type type) : base(type)  

## ListPool&lt;T&gt;

class in XCharts.Runtime

### ListPool&lt;T&gt;.ClearAll

public static void ClearAll()  

### ListPool&lt;T&gt;.Get

public static List&lt;T&gt; Get()  

### ListPool&lt;T&gt;.Release

public static void Release(List&lt;T&gt; toRelease)  

## Location

class in XCharts.Runtime / Inherits from: [ChildComponent](#childcomponent),[IPropertyChanged](#ipropertychanged)

Location type. Quick to set the general location.

### Location.runtimeAnchorMax

public Vector2 runtimeAnchorMax  

### Location.runtimeAnchorMin

public Vector2 runtimeAnchorMin  
the minimum achor.

### Location.runtimeBottom

public float runtimeBottom  

### Location.runtimeLeft

public float runtimeLeft  

### Location.runtimePivot

public Vector2 runtimePivot  
the povot.

### Location.runtimeRight

public float runtimeRight  

### Location.runtimeTextAlignment

public TextAnchor runtimeTextAlignment  
the anchor of text.

### Location.runtimeTMPTextAlignment

public TextAlignmentOptions runtimeTMPTextAlignment  

### Location.runtimeTop

public float runtimeTop  

### Location.GetPosition

public Vector3 GetPosition(float chartWidth, float chartHeight)  
返回在坐标系中的具体位置

### Location.GetRect

public Rect GetRect(float graphX, float graphY, float graphWidth, float graphHeight, float rectWidth, float rectHeight)  

### Location.IsBottom

public bool IsBottom()  

### Location.IsCenter

public bool IsCenter()  

### Location.IsTop

public bool IsTop()  

### Location.OnChanged

public void OnChanged()  
属性变更时更新textAnchor,minAnchor,maxAnchor,pivot

### Location.UpdateRuntimeData

public void UpdateRuntimeData(float chartWidth, float chartHeight)  

## Location.Align

class in XCharts.Runtime

对齐方式

Options:

- `TopLeft`: 对齐方式
- `TopRight`: 对齐方式
- `TopCenter`: 对齐方式
- `BottomLeft`: 对齐方式
- `BottomRight`: 对齐方式
- `BottomCenter`: 对齐方式
- `Center`: 对齐方式
- `CenterLeft`: 对齐方式
- `CenterRight`: 对齐方式

## MainComponent

class in XCharts.Runtime / Inherits from: [IComparable](https://docs.unity3d.com/ScriptReference/30_search.html?q=icomparable) / Subclasses: [Axis](#axis),[Background](#background),[Comment](#comment),[DataZoom](#datazoom),[Legend](#legend),[MarkArea](#markarea),[MarkLine](#markline),[Settings](#settings),[Title](#title),[Tooltip](#tooltip),[VisualMap](#visualmap),[GridLayout](#gridlayout),[CoordSystem](#coordsystem) 

### MainComponent.anyDirty

public bool anyDirty  
需要重绘图表或重新初始化组件。

### MainComponent.ClearData()

public virtual void ClearData()  

### MainComponent.componentDirty

public virtual bool componentDirty  
组件重新初始化标记。

### MainComponent.gameObject

public GameObject gameObject  

### MainComponent.index

public int index  

### MainComponent.instanceId

public int instanceId  

### MainComponent.painter

public Painter painter  

### MainComponent.refreshComponent

public Action refreshComponent  

### MainComponent.Reset()

public virtual void Reset()  

### MainComponent.ResetStatus()

public virtual void ResetStatus()  

### MainComponent.SetDefaultValue()

public virtual void SetDefaultValue()  

### MainComponent.vertsDirty

public virtual bool vertsDirty  
图表重绘标记。

### MainComponent.ClearComponentDirty

public virtual void ClearComponentDirty()  

### MainComponent.ClearData

public virtual void ClearData() { }  

### MainComponent.ClearDirty

public virtual void ClearDirty()  

### MainComponent.ClearVerticesDirty

public virtual void ClearVerticesDirty()  

### MainComponent.CompareTo

public int CompareTo(object obj)  

### MainComponent.OnRemove

public virtual void OnRemove()  

### MainComponent.Reset

public virtual void Reset() { }  

### MainComponent.ResetStatus

public virtual void ResetStatus() { }  

### MainComponent.SetAllDirty

public virtual void SetAllDirty()  

### MainComponent.SetComponentDirty

public virtual void SetComponentDirty()  

### MainComponent.SetDefaultValue

public virtual void SetDefaultValue() { }  

### MainComponent.SetVerticesDirty

public virtual void SetVerticesDirty()  

## MainComponentContext

class in XCharts.Runtime / Subclasses: [AxisContext](#axiscontext),[DataZoomContext](#datazoomcontext),[LegendContext](#legendcontext),[RadarCoordContext](#radarcoordcontext),[VisualMapContext](#visualmapcontext),[GridCoordContext](#gridcoordcontext),[GridLayoutContext](#gridlayoutcontext),[GridCoord3DContext](#gridcoord3dcontext),[ParallelCoordContext](#parallelcoordcontext),[PolarCoordContext](#polarcoordcontext) 

## MainComponentHandler

class in XCharts.Runtime / Subclasses: [AxisHandler&lt;T&gt;](#axishandlert),[MainComponentHandler&lt;T&gt;](#maincomponenthandlert) 

### MainComponentHandler.attribute

public ComponentHandlerAttribute attribute  

### MainComponentHandler.BeforceSerieUpdate()

public virtual void BeforceSerieUpdate()  

### MainComponentHandler.chart

public BaseChart chart  

### MainComponentHandler.eventData)

public virtual void OnBeginDrag(PointerEventData eventData)  

### MainComponentHandler.eventData)

public virtual void OnDrag(PointerEventData eventData)  

### MainComponentHandler.eventData)

public virtual void OnEndDrag(PointerEventData eventData)  

### MainComponentHandler.eventData)

public virtual void OnPointerClick(PointerEventData eventData)  

### MainComponentHandler.eventData)

public virtual void OnPointerDown(PointerEventData eventData)  

### MainComponentHandler.eventData)

public virtual void OnPointerEnter(PointerEventData eventData)  

### MainComponentHandler.eventData)

public virtual void OnPointerExit(PointerEventData eventData)  

### MainComponentHandler.eventData)

public virtual void OnPointerUp(PointerEventData eventData)  

### MainComponentHandler.eventData)

public virtual void OnScroll(PointerEventData eventData)  

### MainComponentHandler.InitComponent()

public virtual void InitComponent()  

### MainComponentHandler.inited

public bool inited  

### MainComponentHandler.order

public int order  

### MainComponentHandler.RemoveComponent()

public virtual void RemoveComponent()  

### MainComponentHandler.sb)

public virtual void CheckComponent(StringBuilder sb)  

### MainComponentHandler.serieIndex)

public virtual void OnSerieDataUpdate(int serieIndex)  

### MainComponentHandler.Update()

public virtual void Update()  

### MainComponentHandler.vh)

public virtual void DrawBase(VertexHelper vh)  

### MainComponentHandler.vh)

public virtual void DrawTop(VertexHelper vh)  

### MainComponentHandler.vh)

public virtual void DrawUpper(VertexHelper vh)  

### MainComponentHandler.BeforceSerieUpdate

public virtual void BeforceSerieUpdate() { }  

### MainComponentHandler.CheckComponent

public virtual void CheckComponent(StringBuilder sb) { }  

### MainComponentHandler.DrawBase

public virtual void DrawBase(VertexHelper vh) { }  

### MainComponentHandler.DrawTop

public virtual void DrawTop(VertexHelper vh) { }  

### MainComponentHandler.DrawUpper

public virtual void DrawUpper(VertexHelper vh) { }  

### MainComponentHandler.InitComponent

public virtual void InitComponent() { }  

### MainComponentHandler.OnBeginDrag

public virtual void OnBeginDrag(PointerEventData eventData) { }  

### MainComponentHandler.OnDrag

public virtual void OnDrag(PointerEventData eventData) { }  

### MainComponentHandler.OnEndDrag

public virtual void OnEndDrag(PointerEventData eventData) { }  

### MainComponentHandler.OnPointerClick

public virtual void OnPointerClick(PointerEventData eventData) { }  

### MainComponentHandler.OnPointerDown

public virtual void OnPointerDown(PointerEventData eventData) { }  

### MainComponentHandler.OnPointerEnter

public virtual void OnPointerEnter(PointerEventData eventData) { }  

### MainComponentHandler.OnPointerExit

public virtual void OnPointerExit(PointerEventData eventData) { }  

### MainComponentHandler.OnPointerUp

public virtual void OnPointerUp(PointerEventData eventData) { }  

### MainComponentHandler.OnScroll

public virtual void OnScroll(PointerEventData eventData) { }  

### MainComponentHandler.OnSerieDataUpdate

public virtual void OnSerieDataUpdate(int serieIndex) { }  

### MainComponentHandler.RemoveComponent

public virtual void RemoveComponent() { }  

### MainComponentHandler.Update

public virtual void Update() { }  

## MainComponentHandler&lt;T&gt;

class in XCharts.Runtime / Inherits from: [MainComponentHandler](#maincomponenthandler)

### MainComponentHandler&lt;T&gt;.component

public T component  

## MainComponentHandler&lt;Title&gt;

class in  / Subclasses: [TitleHandler](#titlehandler) 

## MarkArea

class in XCharts.Runtime / Inherits from: [MainComponent](#maincomponent)

Used to mark an area in chart. For example, mark a time interval.

### MarkArea.runtimeLabel

public ChartLabel runtimeLabel  
Used to mark an area in chart. For example, mark a time interval.

### MarkArea.runtimeLabelPosition

public Vector3 runtimeLabelPosition  

### MarkArea.runtimeRect

public Rect runtimeRect  

### MarkArea.SetDefaultValue

public override void SetDefaultValue()  

## MarkAreaData

class in XCharts.Runtime / Inherits from: [ChildComponent](#childcomponent)

标域的数据。

### MarkAreaData.runtimeValue

public double runtimeValue  
标域的数据。

## MarkAreaType

class in XCharts.Runtime

标域类型

Options:

- `None`: 标域类型
- `Min`: 最小值。
- `Max`: 最大值。
- `Average`: 平均值。
- `Median`: 中位数。

## MarkLine

class in XCharts.Runtime / Inherits from: [MainComponent](#maincomponent)

Use a line in the chart to illustrate.

### MarkLine.SetDefaultValue

public override void SetDefaultValue()  

## MarkLineData

class in XCharts.Runtime / Inherits from: [ChildComponent](#childcomponent)

> Since `v3.9.0`

Data of marking line.

### MarkLineData.runtimeCurrentEndPosition

public Vector3 runtimeCurrentEndPosition  

### MarkLineData.runtimeEndPosition

public Vector3 runtimeEndPosition  

### MarkLineData.runtimeInGrid

public bool runtimeInGrid  

### MarkLineData.runtimeLabel

public ChartLabel runtimeLabel  

### MarkLineData.runtimeStartPosition

public Vector3 runtimeStartPosition  

### MarkLineData.runtimeValue

public double runtimeValue  

## MarkLineType

class in XCharts.Runtime

Mark line type.

Options:

- `Custom`: Custom. You can customize the xy coordinates or values.
- `Min`: Minimum value.
- `Max`: Maximum value.
- `Average`: Average value.
- `Median`: Median.

## MarqueeStyle

class in XCharts.Runtime / Inherits from: [ChildComponent](#childcomponent)

> Since `v3.5.0`

Marquee style. It can be used for the DataZoom component. 选取框样式。可用于DataZoom组件。

### MarqueeStyle.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  
The area style of marquee.

### MarqueeStyle.lineStyle

public LineStyle lineStyle  
The line style of marquee border.

### MarqueeStyle.onEnd

public Action&lt;DataZoom&gt; onEnd  
Customize the callback at the end of the selection.

### MarqueeStyle.onGoing

public Action&lt;DataZoom&gt; onGoing  
Custom checkboxes select ongoing callbacks.

### MarqueeStyle.onStart

public Action&lt;DataZoom&gt; onStart  
Customize the callback to the start of the selection of the checkbox.

### MarqueeStyle.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

class in XCharts.Runtime

### MathUtil.Abs

public static double Abs(double d)  

### MathUtil.Approximately

public static bool Approximately(double a, double b)  

### MathUtil.Clamp

public static double Clamp(double d, double min, double max)  

### MathUtil.Clamp01

public static double Clamp01(double value)  

### MathUtil.GetPrecision

public static int GetPrecision(double value)  

### MathUtil.IsInteger

public static bool IsInteger(double value)  

### MathUtil.Lerp

public static double Lerp(double a, double b, double t)  

## MLValue

class in XCharts.Runtime / Inherits from: [ChildComponent](#childcomponent)

> Since `v3.8.0`

多样式数值。

### MLValue.type

public Type type  

### MLValue.value

public float value  

### MLValue.GetValue

public float GetValue(float total)  
Get the value by type.

### MLValue.MLValue

public MLValue(Type type, float value)  


## MLValue.Type

class in XCharts.Runtime

the type of value.

Options:

- `Percent`: Percent value form.
- `Absolute`: Absolute value form.
- `Extra`: Extra value form.

## MonoBehaviour

class in  / Subclasses: [XLog](#xlog) 

## ObjectPool&lt;T&gt; where T

class in XCharts.Runtime / Inherits from: new()

### ObjectPool&lt;T&gt; where T.countActive

public int countActive  

### ObjectPool&lt;T&gt; where T.countAll

public int countAll  

### ObjectPool&lt;T&gt; where T.countInactive

public int countInactive  

### ObjectPool&lt;T&gt; where T.ClearAll

public void ClearAll()  

### ObjectPool&lt;T&gt; where T.Get

public T Get()  

### ObjectPool&lt;T&gt; where T.new

public class ObjectPool&lt;T&gt; where T : new()  

### ObjectPool&lt;T&gt; where T.ObjectPool

public ObjectPool(UnityAction&lt;T&gt; actionOnGet, UnityAction&lt;T&gt; actionOnRelease, bool newIfEmpty = true)  

### ObjectPool&lt;T&gt; where T.Release

public void Release(T element)  

## Orient

class in XCharts.Runtime

the layout is horizontal or vertical.

Options:

- `Horizonal`: 水平
- `Vertical`: 垂直

## Padding

class in XCharts.Runtime / Inherits from: [ChildComponent](#childcomponent) / Subclasses: [TextPadding](#textpadding) 

padding setting of item or text.

### Padding.Padding()

public Padding()  

### Padding.Padding

public Padding(float top, float right, float bottom, float left)  


### Padding.SetPadding

public void SetPadding(float top, float right, float bottom, float left)  

## Painter

class in XCharts.Runtime / Inherits from: [MaskableGraphic](https://docs.unity3d.com/ScriptReference/30_search.html?q=maskablegraphic)

### Painter.index

public int index  

### Painter.type

public Type type  

### Painter.CheckRefresh

public void CheckRefresh()  

### Painter.Init

public void Init()  

### Painter.Refresh

public void Refresh()  

### Painter.SetActive

public void SetActive(bool flag, bool isDebugMode = false)  

## Painter.Type

class in XCharts.Runtime

Options:

- `Base`: 
- `Serie`: 
- `Top`: 

## Parallel

class in XCharts.Runtime / Inherits from: [Serie](#serie),[INeedSerieContainer](#ineedseriecontainer)

### Parallel.containerIndex

public int containerIndex  

### Parallel.containterInstanceId

public int containterInstanceId  

### Parallel.AddDefaultSerie

public static Serie AddDefaultSerie(BaseChart chart, string serieName)  

## ParallelAxis

class in XCharts.Runtime / Inherits from: [Axis](#axis)

### ParallelAxis.SetDefaultValue

public override void SetDefaultValue()  

## ParallelChart

class in XCharts.Runtime / Inherits from: [BaseChart](#basechart)

Parallel Coordinates is a common way of visualizing high-dimensional geometry and analyzing multivariate data.

## ParallelCoord

class in XCharts.Runtime / Inherits from: [CoordSystem](#coordsystem),[IUpdateRuntimeData](#iupdateruntimedata),[ISerieContainer](#iseriecontainer)

Grid component.

### ParallelCoord.Contains

public bool Contains(float x, float y)  


### ParallelCoord.IsPointerEnter

public bool IsPointerEnter()  

### ParallelCoord.UpdateRuntimeData

public void UpdateRuntimeData(BaseChart chart)  

## ParallelCoordContext

class in XCharts.Runtime / Inherits from: [MainComponentContext](#maincomponentcontext)

## Pie

class in XCharts.Runtime / Inherits from: [Serie](#serie)

### Pie.defaultColorBy

public override SerieColorBy defaultColorBy  

### Pie.titleJustForSerie

public override bool titleJustForSerie  

### Pie.AddDefaultSerie

public static Serie AddDefaultSerie(BaseChart chart, string serieName)  

### Pie.ConvertSerie

public static Pie ConvertSerie(Serie serie)  

## PieChart

class in XCharts.Runtime / Inherits from: [BaseChart](#basechart)

The pie chart is mainly used for showing proportion of different categories. Each arc length represents the proportion of data quantity.

### PieChart.DefaultAreaRosePieChart

public void DefaultAreaRosePieChart()  
default area rose pie chart.

### PieChart.DefaultDonutPieChart

public void DefaultDonutPieChart()  
default donut pie chart.

### PieChart.DefaultLabelDonutPieChart

public void DefaultLabelDonutPieChart()  
default label donut pie chart.

### PieChart.DefaultLabelPieChart

public void DefaultLabelPieChart()  
default label pie chart.

### PieChart.DefaultRadiusRosePieChart

public void DefaultRadiusRosePieChart()  
default rose pie chart.

## PieType

class in XCharts.Runtime

Options:

- `Solid`: solid pie chart - default fill style.
- `Wireframe`: wireframe pie chart - only show the outline wireframe.

## PolarAxisTheme

class in XCharts.Runtime / Inherits from: [BaseAxisTheme](#baseaxistheme)

### PolarAxisTheme.base(theme)

public PolarAxisTheme(ThemeType theme) : base(theme)  

### PolarAxisTheme.PolarAxisTheme

public PolarAxisTheme(ThemeType theme) : base(theme) { }  

## PolarChart

class in XCharts.Runtime / Inherits from: [BaseChart](#basechart)

Polar coordinates are usually used in a circular layout.

### PolarChart.DefaultHeatmapPolarChart

public void DefaultHeatmapPolarChart()  
default heatmap polar chart.

### PolarChart.DefaultRadialBarPolarChart

public void DefaultRadialBarPolarChart()  
default radial bar polar chart.

### PolarChart.DefaultTangentialBarPolarChart

public void DefaultTangentialBarPolarChart()  
default tangential bar polar chart.

## PolarCoord

class in XCharts.Runtime / Inherits from: [CoordSystem](#coordsystem),[ISerieContainer](#iseriecontainer)

Polar coordinate can be used in scatter and line chart. Every polar coordinate has an angleAxis and a radiusAxis.

### PolarCoord.Contains

public bool Contains(Vector3 pos)  

### PolarCoord.IsPointerEnter

public bool IsPointerEnter()  

## PolarCoordContext

class in XCharts.Runtime / Inherits from: [MainComponentContext](#maincomponentcontext)

## PropertyUtil

class in XCharts.Runtime

### PropertyUtil.SetClass&lt;T&gt;

public static bool SetClass&lt;T&gt;(ref T currentValue, T newValue, bool notNull = false) where T : class  

### PropertyUtil.SetColor

public static bool SetColor(ref Color32 currentValue, Color32 newValue)  


### PropertyUtil.SetStruct&lt;T&gt;

public static bool SetStruct&lt;T&gt;(ref T currentValue, T newValue) where T : struct  

## Radar

class in XCharts.Runtime / Inherits from: [Serie](#serie),[INeedSerieContainer](#ineedseriecontainer)

### Radar.containerIndex

public int containerIndex  

### Radar.containterInstanceId

public int containterInstanceId  

### Radar.defaultColorBy

public override SerieColorBy defaultColorBy  

### Radar.multiDimensionLabel

public override bool multiDimensionLabel  

### Radar.AddDefaultSerie

public static Serie AddDefaultSerie(BaseChart chart, string serieName)  

## RadarAxisTheme

class in XCharts.Runtime / Inherits from: [BaseAxisTheme](#baseaxistheme)

### RadarAxisTheme.RadarAxisTheme

public RadarAxisTheme(ThemeType theme) : base(theme)  

## RadarChart

class in XCharts.Runtime / Inherits from: [BaseChart](#basechart)

Radar chart is mainly used to show multi-variable data, such as the analysis of a football player's varied attributes. It relies radar component.

### RadarChart.DefaultCircleRadarChart

public void DefaultCircleRadarChart()  
default circle radar chart.

## RadarCoord

class in XCharts.Runtime / Inherits from: [CoordSystem](#coordsystem),[ISerieContainer](#iseriecontainer)

Radar coordinate conponnet for radar charts. 雷达图坐标系组件，只适用于雷达图。

## RadarCoord.PositionType

class in XCharts.Runtime

The position type of radar.

Options:

- `Vertice`: Display at the vertex.
- `Between`: Display at the middle of line.

## RadarCoord.Shape

class in XCharts.Runtime

Radar render type, in which 'Polygon' and 'Circle' are supported.

Options:

- `Polygon`: Radar render type, in which 'Polygon' and 'Circle' are supported.
- `Circle`: Radar render type, in which 'Polygon' and 'Circle' are supported.

## RadarCoordContext

class in XCharts.Runtime / Inherits from: [MainComponentContext](#maincomponentcontext)

### RadarCoordContext.center

public Vector3 center  
the center position of radar in container.

### RadarCoordContext.dataRadius

public float dataRadius  

### RadarCoordContext.isPointerEnter

public bool isPointerEnter  

### RadarCoordContext.radius

public float radius  
the true radius of radar.

## RadarType

class in XCharts.Runtime

the type of radar.

Options:

- `Multiple`: multiple radar.
- `Single`: single radar.

## RadiusAxis

class in XCharts.Runtime / Inherits from: [Axis](#axis)

Radial axis of polar coordinate.

### RadiusAxis.SetDefaultValue

public override void SetDefaultValue()  
Radial axis of polar coordinate.

## RadiusAxisTheme

class in XCharts.Runtime / Inherits from: [BaseAxisTheme](#baseaxistheme)

### RadiusAxisTheme.base(theme)

public RadiusAxisTheme(ThemeType theme) : base(theme)  

### RadiusAxisTheme.RadiusAxisTheme

public RadiusAxisTheme(ThemeType theme) : base(theme) { }  

## ReflectionUtil

class in XCharts.Runtime

### ReflectionUtil.DeepCloneSerializeField

public static object DeepCloneSerializeField(object obj)  

### ReflectionUtil.InvokeListAdd

public static void InvokeListAdd(object obj, FieldInfo field, object item)  

### ReflectionUtil.InvokeListAddTo&lt;T&gt;

public static void InvokeListAddTo&lt;T&gt;(object obj, FieldInfo field, Action&lt;T&gt; callback)  

### ReflectionUtil.InvokeListClear

public static void InvokeListClear(object obj, FieldInfo field)  

### ReflectionUtil.InvokeListCount

public static int InvokeListCount(object obj, FieldInfo field)  

### ReflectionUtil.InvokeListGet&lt;T&gt;

public static T InvokeListGet&lt;T&gt;(object obj, FieldInfo field, int i)  

## RequireChartComponentAttribute

class in XCharts.Runtime / Inherits from: [Attribute](https://docs.unity3d.com/ScriptReference/30_search.html?q=attribute)

### RequireChartComponentAttribute.RequireChartComponentAttribute

public RequireChartComponentAttribute(Type requiredComponent, Type requiredComponent2)  

public RequireChartComponentAttribute(Type requiredComponent, Type requiredComponent2, Type requiredComponent3)  


## Ring

class in XCharts.Runtime / Inherits from: [Serie](#serie)

### Ring.defaultColorBy

public override SerieColorBy defaultColorBy  

### Ring.AddDefaultSerie

public static Serie AddDefaultSerie(BaseChart chart, string serieName)  

### Ring.GetDataTotal

public override double GetDataTotal(int dimension, SerieData serieData = null)  

## RingChart

class in XCharts.Runtime / Inherits from: [BaseChart](#basechart)

Ring chart is mainly used to show the proportion of each item and the relationship between the items.

### RingChart.DefaultMultipleRingChart

public void DefaultMultipleRingChart()  
default multiple ring chart.

## RoseType

class in XCharts.Runtime

Whether to show as Nightingale chart, which distinguishs data through radius.

Options:

- `None`: Don't show as Nightingale chart.
- `Radius`: Use central angle to show the percentage of data, radius to show data size.
- `Area`: All the sectors will share the same central angle, the data size is shown only through radiuses.

## RuntimeUtil

class in XCharts.Runtime

### RuntimeUtil.GetAllAssemblyTypes

public static IEnumerable&lt;Type&gt; GetAllAssemblyTypes()  

### RuntimeUtil.GetAllTypesDerivedFrom

public static IEnumerable&lt;Type&gt; GetAllTypesDerivedFrom(Type type)  

### RuntimeUtil.GetAllTypesDerivedFrom&lt;T&gt;

public static IEnumerable&lt;Type&gt; GetAllTypesDerivedFrom&lt;T&gt;()  

### RuntimeUtil.GetAttribute&lt;T&gt;

public static T GetAttribute&lt;T&gt;(this MemberInfo type, bool check = true) where T : Attribute  


### RuntimeUtil.HasSubclass

public static bool HasSubclass(Type type)  

## SampleType

class in XCharts.Runtime

sample type of line chart.

Options:

- `Peak`: Take a peak. When the average value of the filter point is greater than or equal to 'sampleAverage', take the maximum value; If you do it the other way around, you get the minimum.
- `Average`: Take the average of the filter points.
- `Max`: Take the maximum value of the filter point.
- `Min`: Take the minimum value of the filter point.
- `Sum`: Take the sum of the filter points.

## Scatter

class in XCharts.Runtime / Inherits from: [BaseScatter](#basescatter)

### Scatter.AddDefaultSerie

public static Serie AddDefaultSerie(BaseChart chart, string serieName)  

## ScatterChart

class in XCharts.Runtime / Inherits from: [BaseChart](#basechart)

Scatter chart is mainly used to show the relationship between two data dimensions.

### ScatterChart.DefaultBubbleChart

public void DefaultBubbleChart()  
default bubble chart.

## SelectStyle

class in XCharts.Runtime / Inherits from: [StateStyle](#statestyle),[ISerieComponent](#iseriecomponent),[ISerieDataComponent](#iseriedatacomponent)

> Since `v3.2.0`

Configurations of select state.

## Serie

class in XCharts.Runtime / Inherits from: [BaseSerie](#baseserie),[IComparable](https://docs.unity3d.com/ScriptReference/30_search.html?q=icomparable) / Subclasses: [SerieHandler&lt;T&gt;](#seriehandlert),[Bar](#bar),[SimplifiedBar](#simplifiedbar),[Candlestick](#candlestick),[SimplifiedCandlestick](#simplifiedcandlestick),[Heatmap](#heatmap),[Line](#line),[SimplifiedLine](#simplifiedline),[Parallel](#parallel),[Pie](#pie),[Radar](#radar),[Ring](#ring),[BaseScatter](#basescatter) 

系列。系列一般由数据和配置组成，用来表示具体的图表图形，如折线图的一条折线，柱图的一组柱子等。一个图表中可以包含多个不同类型的系列。

### Serie.areaStyle

public AreaStyle areaStyle  
The style of area.

### Serie.blurStyle

public BlurStyle blurStyle  
style of blur state.

### Serie.colorByData

public bool colorByData  
取色策略是否为按数据项分配。

### Serie.data

public List&lt;SerieData&gt; data  
系列中的数据内容数组。SerieData可以设置1到n维数据。

### Serie.dataCount

public int dataCount  
the count of data list.

### Serie.dataDirty

public bool dataDirty  

### Serie.emphasisStyle

public EmphasisStyle emphasisStyle  
style of emphasis state.

### Serie.endLabel

public LabelStyle endLabel  

### Serie.highlight

public bool highlight  
Whether the serie is highlighted.

### Serie.index

public int index  
The index of serie.

### Serie.interactDirty

public bool interactDirty  

### Serie.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  

### Serie.labelLine

public LabelLine labelLine  
The line of label.

### Serie.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  
The arrow of line.

### Serie.links

public List&lt;SerieDataLink&gt; links  
数据节点的边。

### Serie.nameDirty

public bool nameDirty  

### Serie.onClick

public Action&lt;SerieEventData&gt; onClick  
event callback when click serie.

### Serie.onDown

public Action&lt;SerieEventData&gt; onDown  
event callback when mouse down on serie.

### Serie.onEnter

public Action&lt;SerieEventData&gt; onEnter  
event callback when mouse enter serie.

### Serie.onExit

public Action&lt;SerieEventData&gt; onExit  
event callback when mouse leave serie.

### Serie.selectStyle

public SelectStyle selectStyle  
style of select state.

### Serie.showDataDimension

public int showDataDimension  
数据项里的数据维数。

### Serie.showDataName

public bool showDataName  
在Editor的inpsector上是否显示name参数

### Serie.titleDirty

public bool titleDirty  

### Serie.titleStyle

public TitleStyle titleStyle  
the icon of data.

### Serie.AddChildData

public SerieData AddChildData(SerieData parent, List&lt;double&gt; value, string name, string id)  

public void AddChildData(SerieData parent, SerieData serieData)  


### Serie.AddData

public SerieData AddData(List&lt;double&gt; valueList, string dataName = null, string dataId = null)  
将一组数据添加到系列中。 如果数据只有一个，默认添加到维度Y中。

public SerieData AddData(params double[] values)  
添加任意维数据到系列中。


### Serie.AddExtraComponent&lt;T&gt;

public T AddExtraComponent&lt;T&gt;() where T : ChildComponent, ISerieComponent  

### Serie.AddLink

public virtual SerieDataLink AddLink(string sourceId, string targetId, double value = 0)  
Add a link data.

### Serie.AddSerieData

public virtual void AddSerieData(SerieData serieData)  

### Serie.AddXYData

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)  
添加一个数据到维度Y（此时维度X对应的数据是索引）

### Serie.AnimationEnable

public void AnimationEnable(bool flag)  
启用或取消初始动画

### Serie.AnimationFadeIn

public void AnimationFadeIn()  
渐入动画

### Serie.AnimationFadeOut

public void AnimationFadeOut()  
渐出动画

### Serie.AnimationPause

public void AnimationPause()  
暂停动画

### Serie.AnimationReset

public void AnimationReset()  
重置动画

### Serie.AnimationRestart

public void AnimationRestart()  
重置动画

### Serie.AnimationResume

public void AnimationResume()  
继续动画

### Serie.CanAddComponent

public bool CanAddComponent(Type type)  

### Serie.CanAddComponent&lt;T&gt;

public bool CanAddComponent&lt;T&gt;() where T : ChildComponent, ISerieComponent  

### Serie.ClearComponentDirty

public override void ClearComponentDirty()  

### Serie.ClearData

public override void ClearData()  
清空所有数据

### Serie.ClearDirty

public override void ClearDirty()  

### Serie.ClearHighlight

public void ClearHighlight()  
清除所有数据的高亮标志

### Serie.ClearLinks

public void ClearLinks()  
清空所有Link数据

### Serie.ClearSerieNameDirty

public void ClearSerieNameDirty()  

### Serie.ClearVerticesDirty

public override void ClearVerticesDirty()  

### Serie.Clone

public Serie Clone()  

### Serie.Clone&lt;T&gt;

public T Clone&lt;T&gt;() where T : Serie  

### Serie.CompareTo

public int CompareTo(object obj)  

### Serie.EnsureComponent

public ISerieComponent EnsureComponent(Type type)  

### Serie.EnsureComponent&lt;T&gt;

public T EnsureComponent&lt;T&gt;() 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)  

### Serie.GetComponent

public ISerieComponent GetComponent(Type type)  

### Serie.GetComponent&lt;T&gt;

public T GetComponent&lt;T&gt;() where T : ChildComponent, ISerieComponent  

### Serie.GetData

public double GetData(int index, int dimension, DataZoom dataZoom = null)  
获得指定index指定维数的数据

### Serie.GetDataList

public List&lt;SerieData&gt; GetDataList(DataZoom dataZoom = null, bool sorted = false)  
获得系列的数据列表

### Serie.GetDataTotal

public virtual double GetDataTotal(int dimension, SerieData serieData = null)  

### Serie.GetSerieData

public SerieData GetSerieData(SerieData parent, string id)  

public SerieData GetSerieData(string id, DataZoom dataZoom = null)  


### Serie.GetXYData

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)  

### Serie.GetYData

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)  

### Serie.IsIgnorePoint

public bool IsIgnorePoint(int index)  

### Serie.IsIgnoreValue

public bool IsIgnoreValue(double value)  

public bool IsIgnoreValue(SerieData serieData, double value)  


### Serie.IsLegendName

public bool IsLegendName(string legendName)  

### Serie.IsMinShowLabelValue

public bool IsMinShowLabelValue(double value)  

public bool IsMinShowLabelValue(SerieData serieData, int dimension = 1)  


### Serie.IsPerformanceMode

public bool IsPerformanceMode()  
是否为性能模式。性能模式下不绘制Symbol，不刷新Label，不单独设置数据项配置。

### Serie.IsSerie&lt;T&gt;

public bool IsSerie&lt;T&gt;() where T : Serie  

### Serie.IsSerieDataLegendName

public bool IsSerieDataLegendName(string legendName)  

### Serie.IsSerieLegendName

public bool IsSerieLegendName(string legendName)  

### Serie.IsUseCoord&lt;T&gt;

public bool IsUseCoord&lt;T&gt;() where T : CoordSystem  

### Serie.RemoveAllComponents

public void RemoveAllComponents()  
Remove all extra components.

### Serie.RemoveComponent

public void RemoveComponent(Type type)  

### Serie.RemoveComponent&lt;T&gt;

public void RemoveComponent&lt;T&gt;() where T : ISerieComponent  

### Serie.RemoveData

public void RemoveData(int index)  
移除指定索引的数据

### Serie.ResetDataIndex

public bool ResetDataIndex()  
重置数据项索引。避免部分数据项的索引异常。

### Serie.ResetInteract

public void ResetInteract()  

### Serie.SetAllDirty

public override void SetAllDirty()  

### Serie.SetCoord&lt;T&gt;

public bool SetCoord&lt;T&gt;() where T : CoordSystem  

### Serie.SetHighlight

public void SetHighlight(int index, bool flag)  
设置指定索引的数据为高亮状态

### Serie.SetVerticesDirty

public override void SetVerticesDirty()  

### Serie.UpdateData

public bool UpdateData(int index, List&lt;double&gt; values)  
更新指定索引的数据项数据列表


### Serie.UpdateDataName

public bool UpdateDataName(int index, string name)  

### Serie.UpdateXYData

public bool UpdateXYData(int index, double xValue, double yValue)  
更新指定索引的维度X和维度Y的数据

### Serie.UpdateYData

public bool UpdateYData(int index, double value)  
更新指定索引的维度Y数据

## SerieColorBy

class in XCharts.Runtime

The policy to take color from theme.

Options:

- `Default`: Select state.
- `Serie`: assigns the colors in the palette by serie, so that all data in the same series are in the same color.
- `Data`: assigns colors in the palette according to data items, with each data item using a different color.

## SerieComponentAttribute

class in XCharts.Runtime / Inherits from: [Attribute](https://docs.unity3d.com/ScriptReference/30_search.html?q=attribute)

The attribute for serie component.

### SerieComponentAttribute.Contains

public bool Contains(Type type)  

### SerieComponentAttribute.Contains&lt;T&gt;

public bool Contains&lt;T&gt;() where T : ISerieComponent  

### SerieComponentAttribute.SerieComponentAttribute

public SerieComponentAttribute(Type type1)  

public SerieComponentAttribute(Type type1, Type type2)  

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, 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, Type type7)  


## SerieContext

class in XCharts.Runtime

### SerieContext.titleObject

public ChartLabel titleObject  
绘制点

## SerieConvertAttribute

class in XCharts.Runtime / Inherits from: [Attribute](https://docs.unity3d.com/ScriptReference/30_search.html?q=attribute)

The attribute for which serie types can be converted to.

### SerieConvertAttribute.Contains

public bool Contains(Type type)  

### SerieConvertAttribute.Contains&lt;T&gt;

public bool Contains&lt;T&gt;() where T : Serie  

### SerieConvertAttribute.SerieConvertAttribute

public SerieConvertAttribute(Type serie, Type serie2)  

public SerieConvertAttribute(Type serie, Type serie2, Type serie3)  

public SerieConvertAttribute(Type serie, Type serie2, Type serie3, Type serie4)  


## SerieData

class in XCharts.Runtime / Inherits from: [ChildComponent](#childcomponent)

A data item of serie.

### SerieData.areaStyle

public AreaStyle areaStyle  

### SerieData.blurStyle

public BlurStyle blurStyle  
淡出状态的样式。

### SerieData.data

public List&lt;double&gt; data  
An arbitrary dimension data list of data item.

### SerieData.emphasisStyle

public EmphasisStyle emphasisStyle  
高亮状态的样式

### SerieData.id

public string id  
the id of data.

### SerieData.index

public override int index  
the index of SerieData.

### SerieData.itemStyle

public ItemStyle itemStyle  
单个数据项的样式设置。

### SerieData.labelLine

public LabelLine labelLine  

### SerieData.labelObject

public ChartLabel labelObject  

### SerieData.labelStyle

public LabelStyle labelStyle  
单个数据项的标签设置。

### SerieData.legendName

public string legendName  
数据项图例名称。当数据项名称不为空时，图例名称即为系列名称；反之则为索引index。

### SerieData.lineStyle

public LineStyle lineStyle  

### SerieData.name

public string name  
the name of data item.

### SerieData.parentId

public string parentId  
the id of parent SerieData.

### SerieData.radius

public float radius  
自定义半径。可用在饼图中自定义某个数据项的半径。

### SerieData.selected

public bool selected  
Whether the data item is selected.

### SerieData.selectStyle

public SelectStyle selectStyle  
选中状态的样式。

### SerieData.show

public bool show  
[default:true] Whether the data item is showed.

### SerieData.sortIndex

public int sortIndex  

### SerieData.state

public SerieState state  
the state of serie data.

### SerieData.symbol

public SerieSymbol symbol  
单个数据项的标记设置。

### SerieData.titleObject

public ChartLabel titleObject  

### SerieData.titleStyle

public TitleStyle titleStyle  

### SerieData.ClearComponentDirty

public override void ClearComponentDirty()  

### SerieData.ClearVerticesDirty

public override void ClearVerticesDirty()  

### SerieData.EnsureComponent

public ISerieDataComponent EnsureComponent(Type type)  

> Since `v3.6.0`

Ensure the serie data has the component, if not, add it.

### SerieData.EnsureComponent&lt;T&gt;

public T EnsureComponent&lt;T&gt;() where T : ChildComponent, ISerieDataComponent  

> Since `v3.6.0`

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)  

### SerieData.GetComponent&lt;T&gt;

public T GetComponent&lt;T&gt;() 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, 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)  


### SerieData.GetData

public double GetData(int index, double min, double max)  


### SerieData.GetFirstData

public double GetFirstData(bool unscaledTime, float animationDuration = 500f)  

### SerieData.GetLabelHeight

public float GetLabelHeight()  

### SerieData.GetLabelWidth

public float GetLabelWidth()  

### SerieData.GetLastData

public double GetLastData()  

### SerieData.GetMaxData

public double GetMaxData(bool inverse = false, int startDimensionIndex = 0)  
the maxinum value.

### SerieData.GetMinData

public double GetMinData(bool inverse = false, int startDimensionIndex = 0)  
the mininum value.

### SerieData.GetMinMaxData

public void GetMinMaxData(int startDimensionIndex, bool inverse, out double min, out double max)  

### SerieData.GetOrAddComponent&lt;T&gt;

public T GetOrAddComponent&lt;T&gt;() where T : ChildComponent, ISerieDataComponent  

### SerieData.GetPreviousData

public double GetPreviousData(int index, bool inverse = false)  

### SerieData.GetTotalData

public double GetTotalData()  

### SerieData.IsDataChanged

public bool IsDataChanged()  

### SerieData.IsInPolygon

public bool IsInPolygon(Vector2 p)  

### SerieData.List&lt;string&gt;

public static List&lt;string&gt; extraFieldList = new List&lt;string&gt;()  
A data item of serie.

### SerieData.OnAdd

public void OnAdd(AnimationStyle animation, double startValue = 0)  

### SerieData.RemoveAllComponent

public void RemoveAllComponent()  

### SerieData.RemoveComponent

public void RemoveComponent(Type type)  

### SerieData.RemoveComponent&lt;T&gt;

public void RemoveComponent&lt;T&gt;() where T : ISerieDataComponent  

### SerieData.Reset

public void Reset()  

### SerieData.SetIconActive

public void SetIconActive(bool flag)  

### SerieData.SetLabelActive

public void SetLabelActive(bool flag, bool force = false)  

### SerieData.SetPolygon

public void SetPolygon(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4)  

public void SetPolygon(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 p5)  


### SerieData.UpdateData

public bool UpdateData(int dimension, double value)  


## SerieDataComponentAttribute

class in XCharts.Runtime / Inherits from: [Attribute](https://docs.unity3d.com/ScriptReference/30_search.html?q=attribute)

The attribute for serie data component.

### SerieDataComponentAttribute.Contains

public bool Contains(Type type)  

### SerieDataComponentAttribute.Contains&lt;T&gt;

public bool Contains&lt;T&gt;() where T : ISerieComponent  

### SerieDataComponentAttribute.SerieDataComponentAttribute

public SerieDataComponentAttribute(Type type1)  

public SerieDataComponentAttribute(Type type1, Type type2)  

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, 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, Type type7)  


## SerieDataContext

class in XCharts.Runtime

### SerieDataContext.Reset

public void Reset()  

### SerieDataContext.UpdateExchangePosition

public void UpdateExchangePosition(ref float x, ref float y, float totalTime)  

## SerieDataExtraFieldAttribute

class in XCharts.Runtime / Inherits from: [Attribute](https://docs.unity3d.com/ScriptReference/30_search.html?q=attribute)

### SerieDataExtraFieldAttribute.Contains

public bool Contains(string field)  

### SerieDataExtraFieldAttribute.SerieDataExtraFieldAttribute

public SerieDataExtraFieldAttribute(string field1)  

public SerieDataExtraFieldAttribute(string field1, string field2)  

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, 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, string field7)  


## SerieDataLink

class in XCharts.Runtime / Inherits from: [ChildComponent](#childcomponent)

> Since `v3.10.0`

the link of serie data. Used for sankey chart. Sankey chart only supports directed acyclic graph. make sure the data link is directed acyclic graph.

## SerieDataSortType

class in XCharts.Runtime

the sort type of serie data.

Options:

- `None`: In the order of data.
- `Ascending`: Sort data in ascending order.
- `Descending`: Sort data in descending order.

## SerieEventData

class in XCharts.Runtime

the data of serie event.

### SerieEventData.dataIndex

public int dataIndex  
the index of data in serie.data.

### SerieEventData.dimension

public int dimension  
the dimension of data.

### SerieEventData.pointerPos

public Vector3 pointerPos  
the position of pointer in chart.

### SerieEventData.serieIndex

public int serieIndex  
the index of serie in chart.series.

### SerieEventData.value

public double value  
the value of data.

### SerieEventData.Reset

public void Reset()  

## SerieEventDataPool

class in XCharts.Runtime

### SerieEventDataPool.Get

public static SerieEventData Get(Vector3 pos, int serieIndex, int dataIndex, int dimension, double value)  

### SerieEventDataPool.Release

public static void Release(SerieEventData toRelease)  

## SerieHandler

class in XCharts.Runtime

### SerieHandler.AfterUpdate()

public virtual void AfterUpdate()  

### SerieHandler.attribute

public SerieHandlerAttribute attribute  

### SerieHandler.BeforeUpdate()

public virtual void BeforeUpdate()  

### SerieHandler.chart

public BaseChart chart  

### SerieHandler.defaultDimension

public virtual int defaultDimension  

### SerieHandler.eventData)

public virtual void OnBeginDrag(PointerEventData eventData)  

### SerieHandler.eventData)

public virtual void OnDrag(PointerEventData eventData)  

### SerieHandler.eventData)

public virtual void OnEndDrag(PointerEventData eventData)  

### SerieHandler.eventData)

public virtual void OnPointerClick(PointerEventData eventData)  

### SerieHandler.eventData)

public virtual void OnPointerDown(PointerEventData eventData)  

### SerieHandler.eventData)

public virtual void OnPointerEnter(PointerEventData eventData)  

### SerieHandler.eventData)

public virtual void OnPointerExit(PointerEventData eventData)  

### SerieHandler.eventData)

public virtual void OnPointerUp(PointerEventData eventData)  

### SerieHandler.eventData)

public virtual void OnScroll(PointerEventData eventData)  

### SerieHandler.ForceUpdateSerieContext()

public virtual void ForceUpdateSerieContext()  

### SerieHandler.GetPointerItemDataDimension()

public virtual int GetPointerItemDataDimension()  

### SerieHandler.GetPointerItemDataIndex()

public virtual int GetPointerItemDataIndex()  

### SerieHandler.InitComponent()

public virtual void InitComponent()  

### SerieHandler.inited

public bool inited  

### SerieHandler.legendName)

public virtual void OnLegendButtonEnter(int index, string legendName)  

### SerieHandler.legendName)

public virtual void OnLegendButtonExit(int index, string legendName)  

### SerieHandler.OnDataUpdate()

public virtual void OnDataUpdate()  

### SerieHandler.RefreshLabelInternal()

public virtual void RefreshLabelInternal()  

### SerieHandler.RefreshLabelNextFrame()

public virtual void RefreshLabelNextFrame()  

### SerieHandler.RemoveComponent()

public virtual void RemoveComponent()  

### SerieHandler.sb)

public virtual void CheckComponent(StringBuilder sb)  

### SerieHandler.show)

public virtual void OnLegendButtonClick(int index, string legendName, bool show)  

### SerieHandler.Update()

public virtual void Update()  

### SerieHandler.UpdateSerieContext()

public virtual void UpdateSerieContext()  

### SerieHandler.vh)

public virtual void DrawBase(VertexHelper vh)  

### SerieHandler.vh)

public virtual void DrawSerie(VertexHelper vh)  

### SerieHandler.vh)

public virtual void DrawTop(VertexHelper vh)  

### SerieHandler.vh)

public virtual void DrawUpper(VertexHelper vh)  

### SerieHandler.AfterUpdate

public virtual void AfterUpdate() { }  

### SerieHandler.BeforeUpdate

public virtual void BeforeUpdate() { }  

### SerieHandler.CheckComponent

public virtual void CheckComponent(StringBuilder sb) { }  

### SerieHandler.DrawBase

public virtual void DrawBase(VertexHelper vh) { }  

### SerieHandler.DrawSerie

public virtual void DrawSerie(VertexHelper vh) { }  

### SerieHandler.DrawTop

public virtual void DrawTop(VertexHelper vh) { }  

### SerieHandler.DrawUpper

public virtual void DrawUpper(VertexHelper vh) { }  

### SerieHandler.ForceUpdateSerieContext

public virtual void ForceUpdateSerieContext() { }  

### SerieHandler.InitComponent

public virtual void InitComponent() { }  

### SerieHandler.OnBeginDrag

public virtual void OnBeginDrag(PointerEventData eventData) { }  

### SerieHandler.OnDataUpdate

public virtual void OnDataUpdate() { }  

### SerieHandler.OnDrag

public virtual void OnDrag(PointerEventData eventData) { }  

### SerieHandler.OnEndDrag

public virtual void OnEndDrag(PointerEventData eventData) { }  

### SerieHandler.OnLegendButtonClick

public virtual void OnLegendButtonClick(int index, string legendName, bool show) { }  

### SerieHandler.OnLegendButtonEnter

public virtual void OnLegendButtonEnter(int index, string legendName) { }  

### SerieHandler.OnLegendButtonExit

public virtual void OnLegendButtonExit(int index, string legendName) { }  

### SerieHandler.OnPointerClick

public virtual void OnPointerClick(PointerEventData eventData) { }  

### SerieHandler.OnPointerDown

public virtual void OnPointerDown(PointerEventData eventData) { }  

### SerieHandler.OnPointerEnter

public virtual void OnPointerEnter(PointerEventData eventData) { }  

### SerieHandler.OnPointerExit

public virtual void OnPointerExit(PointerEventData eventData) { }  

### SerieHandler.OnPointerUp

public virtual void OnPointerUp(PointerEventData eventData) { }  

### SerieHandler.OnScroll

public virtual void OnScroll(PointerEventData eventData) { }  

### SerieHandler.RefreshLabelInternal

public virtual void RefreshLabelInternal() { }  

### SerieHandler.RefreshLabelNextFrame

public virtual void RefreshLabelNextFrame() { }  

### SerieHandler.RemoveComponent

public virtual void RemoveComponent() { }  

### SerieHandler.Update

public virtual void Update() { }  

### SerieHandler.UpdateSerieContext

public virtual void UpdateSerieContext() { }  

## SerieHandler where T

class in  / Subclasses: [SerieHandler&lt;T&gt;](#seriehandlert) 

## SerieHandler&lt;T&gt;

class in XCharts.Runtime / Inherits from: [SerieHandler where T](#seriehandler where t),[Serie](#serie)

### SerieHandler&lt;T&gt;.labelObject

public GameObject labelObject  

### SerieHandler&lt;T&gt;.serie

public T serie  

### SerieHandler&lt;T&gt;.AfterUpdate

public override void AfterUpdate()  

### SerieHandler&lt;T&gt;.BeforeUpdate

public override void BeforeUpdate()  

### SerieHandler&lt;T&gt;.DrawLabelLineSymbol

public void DrawLabelLineSymbol(VertexHelper vh, LabelLine labelLine, Vector3 startPos, Vector3 endPos, Color32 defaultColor)  

### SerieHandler&lt;T&gt;.ForceUpdateSerieContext

public override void ForceUpdateSerieContext()  

### SerieHandler&lt;T&gt;.GetPointerItemDataDimension

public override int GetPointerItemDataDimension()  

### SerieHandler&lt;T&gt;.GetPointerItemDataIndex

public override int GetPointerItemDataIndex()  

### SerieHandler&lt;T&gt;.GetSerieDataAutoColor

public virtual Color GetSerieDataAutoColor(SerieData serieData)  

### SerieHandler&lt;T&gt;.GetSerieDataLabelOffset

public virtual Vector3 GetSerieDataLabelOffset(SerieData serieData, LabelStyle label)  

### SerieHandler&lt;T&gt;.GetSerieDataLabelPosition

public virtual Vector3 GetSerieDataLabelPosition(SerieData serieData, LabelStyle label)  

### SerieHandler&lt;T&gt;.GetSerieDataTitlePosition

public virtual Vector3 GetSerieDataTitlePosition(SerieData serieData, TitleStyle titleStyle)  

### SerieHandler&lt;T&gt;.InitComponent

public override void InitComponent()  

### SerieHandler&lt;T&gt;.OnLegendButtonClick

public override void OnLegendButtonClick(int index, string legendName, bool show)  

### SerieHandler&lt;T&gt;.OnLegendButtonEnter

public override void OnLegendButtonEnter(int index, string legendName)  

### SerieHandler&lt;T&gt;.OnLegendButtonExit

public override void OnLegendButtonExit(int index, string legendName)  

### SerieHandler&lt;T&gt;.OnPointerClick

public override void OnPointerClick(PointerEventData eventData)  

### SerieHandler&lt;T&gt;.OnPointerDown

public override void OnPointerDown(PointerEventData eventData)  

### SerieHandler&lt;T&gt;.RefreshEndLabelInternal

public virtual void RefreshEndLabelInternal()  

### SerieHandler&lt;T&gt;.RefreshLabelInternal

public override void RefreshLabelInternal()  

### SerieHandler&lt;T&gt;.RefreshLabelNextFrame

public override void RefreshLabelNextFrame()  

### SerieHandler&lt;T&gt;.RefreshTitleLabelInternal

public void RefreshTitleLabelInternal()  

### SerieHandler&lt;T&gt;.RemoveComponent

public override void RemoveComponent()  

### SerieHandler&lt;T&gt;.Update

public override void Update()  

## SerieHandlerAttribute

class in XCharts.Runtime / Inherits from: [Attribute](https://docs.unity3d.com/ScriptReference/30_search.html?q=attribute)

### SerieHandlerAttribute.SerieHandlerAttribute

public SerieHandlerAttribute(Type handler, bool allowMultiple)  


## SerieHelper

class in XCharts.Runtime

### SerieHelper.CloneSerie&lt;T&gt;

public static T CloneSerie&lt;T&gt;(Serie serie) where T : Serie  

### SerieHelper.CopySerie

public static void CopySerie(Serie oldSerie, Serie newSerie)  

### SerieHelper.GetAllMinMaxData

public static void GetAllMinMaxData(Serie serie, double ceilRate = 0, DataZoom dataZoom = null)  

### SerieHelper.GetAreaStyle

public static AreaStyle GetAreaStyle(Serie serie, SerieData serieData)  

### SerieHelper.GetAverageData

public static double GetAverageData(Serie serie, int dimension = 1, DataZoom dataZoom = null)  

### SerieHelper.GetBlurStyle

public static BlurStyle GetBlurStyle(Serie serie, SerieData serieData)  

### SerieHelper.GetEmphasisStyle

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)  

### SerieHelper.GetItemFormatter

public static string GetItemFormatter(Serie serie, SerieData serieData, string defaultFormatter = null)  

### SerieHelper.GetItemMarker

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)  

### SerieHelper.GetLineColor

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)  

### SerieHelper.GetMaxData

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)  

### SerieHelper.GetMedianData

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)  

### SerieHelper.GetMinMaxData

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)  

### SerieHelper.GetNumericFormatter

public static string GetNumericFormatter(Serie serie, SerieData serieData, string defaultFormatter = null)  

### SerieHelper.GetSelectStyle

public static SelectStyle GetSelectStyle(Serie serie, SerieData serieData)  

### SerieHelper.GetSerieLabel

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)  

### SerieHelper.GetSerieState

public static SerieState GetSerieState(Serie serie, SerieData serieData, bool defaultSerieState = false)  

public static SerieState GetSerieState(SerieData serieData)  


### SerieHelper.GetSerieSymbol

public static SerieSymbol GetSerieSymbol(Serie serie, SerieData serieData, SerieState state = SerieState.Auto)  

### SerieHelper.GetStateStyle

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)  

### SerieHelper.GetTitleStyle

public static TitleStyle GetTitleStyle(Serie serie, SerieData serieData)  

### SerieHelper.IsAllZeroValue

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)  

### SerieHelper.UpdateCenter

public static void UpdateCenter(Serie serie, BaseChart chart)  
更新运行时中心点和半径

### SerieHelper.UpdateFilterData

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)  
获得指定维数的最大最小值

### SerieHelper.UpdateRect

public static void UpdateRect(Serie serie, Vector3 chartPosition, float chartWidth, float chartHeight)  

### SerieHelper.UpdateSerieRuntimeFilterData

public static void UpdateSerieRuntimeFilterData(Serie serie, bool filterInvisible = true)  

## SerieLabelHelper

class in XCharts.Runtime

### SerieLabelHelper.CanShowLabel

public static bool CanShowLabel(Serie serie, SerieData serieData, LabelStyle label, int dimesion)  

### SerieLabelHelper.GetLabelColor

public static Color GetLabelColor(Serie serie, ThemeStyle theme, int index)  

### SerieLabelHelper.SetGaugeLabelText

public static void SetGaugeLabelText(Serie serie)  

## SerieLabelPool

class in XCharts.Runtime

### SerieLabelPool.ClearAll

public static void ClearAll()  

### SerieLabelPool.Release

public static void Release(GameObject element)  

### SerieLabelPool.ReleaseAll

public static void ReleaseAll(Transform parent)  

## SerieParams

class in XCharts.Runtime

## SeriesHelper

class in XCharts.Runtime

### SeriesHelper.GetLastStackSerie

public static Serie GetLastStackSerie(List&lt;Serie&gt; series, Serie serie)  
获得上一个同堆叠且显示的serie。

### SeriesHelper.GetLegalSerieNameList

public static List&lt;string&gt; GetLegalSerieNameList(List&lt;Serie&gt; series)  

### SeriesHelper.GetMaxSerieDataCount

public static int GetMaxSerieDataCount(List&lt;Serie&gt; series)  

### SeriesHelper.GetMinAnimationDuration

public static float GetMinAnimationDuration(List&lt;Serie&gt; series)  

### SeriesHelper.GetNameColor

public static Color GetNameColor(BaseChart chart, int index, string name)  

### SeriesHelper.GetStackSeries

public static void GetStackSeries(List&lt;Serie&gt; series, ref Dictionary&lt;int, List&lt;Serie&gt;&gt; stackSeries)  
获得堆叠系列列表

### SeriesHelper.IsAnyClipSerie

public static bool IsAnyClipSerie(List&lt;Serie&gt; series)  
是否有需裁剪的serie。

### SeriesHelper.IsAnyColorByDataSerie

public static bool IsAnyColorByDataSerie(List&lt;Serie&gt; series)  
check if series has any serie which is color by data.

### SeriesHelper.IsLegalLegendName

public static bool IsLegalLegendName(string name)  

### SeriesHelper.IsPercentStack&lt;T&gt;

public static bool IsPercentStack&lt;T&gt;(List&lt;Serie&gt; series, string stackName) where T : Serie  
是否时百分比堆叠


### SeriesHelper.IsStack

public static bool IsStack(List&lt;Serie&gt; series)  
是否由数据堆叠

### SeriesHelper.IsStack&lt;T&gt;

public static bool IsStack&lt;T&gt;(List&lt;Serie&gt; series, string stackName) where T : Serie  
是否堆叠

### SeriesHelper.UpdateSerieNameList

public static void UpdateSerieNameList(BaseChart chart, ref List&lt;string&gt; serieNameList)  
获得所有系列名，不包含空名字。

### SeriesHelper.UpdateStackDataList

public static void UpdateStackDataList(List&lt;Serie&gt; series, Serie currSerie, DataZoom dataZoom, List&lt;List&lt;SerieData&gt;&gt; dataList)  

## SerieState

class in XCharts.Runtime

Serie state. Supports normal, emphasis, blur, and select states.

Options:

- `Normal`: Normal state.
- `Emphasis`: Emphasis state.
- `Blur`: Blur state.
- `Select`: Select state.
- `Auto`: Auto state.

## SerieSymbol

class in XCharts.Runtime / Inherits from: [SymbolStyle](#symbolstyle),[ISerieDataComponent](#iseriedatacomponent)

系列数据项的标记的图形

### SerieSymbol.GetSize

public float GetSize(SerieData serieData, float themeSize)  
根据指定的sizeType获得标记的大小

### SerieSymbol.Reset

public override void Reset()  

### SerieSymbol.ShowSymbol

public bool ShowSymbol(int dataIndex, int dataCount)  

## SerieTheme

class in XCharts.Runtime / Inherits from: [ChildComponent](#childcomponent)

### SerieTheme.Copy

public void Copy(SerieTheme theme)  

### SerieTheme.SerieTheme

public SerieTheme(ThemeType theme)  

## Settings

class in XCharts.Runtime / Inherits from: [MainComponent](#maincomponent)

Global parameter setting component. The default value can be used in general, and can be adjusted when necessary.

### Settings.show

public bool show  

### Settings.Copy

public void Copy(Settings settings)  

### Settings.Reset

public override void Reset()  

## SimplifiedBar

class in XCharts.Runtime / Inherits from: [Serie](#serie),[INeedSerieContainer](#ineedseriecontainer),[ISimplifiedSerie](#isimplifiedserie)

### SimplifiedBar.containerIndex

public int containerIndex  

### SimplifiedBar.containterInstanceId

public int containterInstanceId  

### SimplifiedBar.AddDefaultSerie

public static Serie AddDefaultSerie(BaseChart chart, string serieName)  

### SimplifiedBar.ConvertSerie

public static SimplifiedBar ConvertSerie(Serie serie)  

## SimplifiedBarChart

class in XCharts.Runtime / Inherits from: [BaseChart](#basechart)

A simplified bar chart is a simplified mode of a bar chart that provides better performance by simplifying components and configurations.

## SimplifiedCandlestick

class in XCharts.Runtime / Inherits from: [Serie](#serie),[INeedSerieContainer](#ineedseriecontainer),[ISimplifiedSerie](#isimplifiedserie)

### SimplifiedCandlestick.containerIndex

public int containerIndex  

### SimplifiedCandlestick.containterInstanceId

public int containterInstanceId  

### SimplifiedCandlestick.AddDefaultSerie

public static Serie AddDefaultSerie(BaseChart chart, string serieName)  

### SimplifiedCandlestick.ConvertSerie

public static SimplifiedCandlestick ConvertSerie(Serie serie)  

## SimplifiedCandlestickChart

class in XCharts.Runtime / Inherits from: [BaseChart](#basechart)

A simplified candlestick chart is a simplified mode of a bar chart that provides better performance by simplifying components and configurations.

## SimplifiedLine

class in XCharts.Runtime / Inherits from: [Serie](#serie),[INeedSerieContainer](#ineedseriecontainer),[ISimplifiedSerie](#isimplifiedserie)

### SimplifiedLine.containerIndex

public int containerIndex  

### SimplifiedLine.containterInstanceId

public int containterInstanceId  

### SimplifiedLine.AddDefaultSerie

public static Serie AddDefaultSerie(BaseChart chart, string serieName)  

### SimplifiedLine.ConvertSerie

public static SimplifiedLine ConvertSerie(Serie serie)  

## SimplifiedLineChart

class in XCharts.Runtime / Inherits from: [BaseChart](#basechart)

A simplified line chart is a simplified mode of a bar chart that provides better performance by simplifying components and configurations.

## Since

class in XCharts.Runtime / Inherits from: [Attribute](https://docs.unity3d.com/ScriptReference/30_search.html?q=attribute)

### Since.Since

public Since(string version)  

## SingleAxis

class in XCharts.Runtime / Inherits from: [Axis](#axis),[IUpdateRuntimeData](#iupdateruntimedata)

Single axis.

### SingleAxis.SetDefaultValue

public override void SetDefaultValue()  

### SingleAxis.UpdateRuntimeData

public void UpdateRuntimeData(BaseChart chart)  

## SingleAxisCoord

class in XCharts.Runtime / Inherits from: [CoordSystem](#coordsystem)

## StageColor

class in XCharts.Runtime / Inherits from: [ChildComponent](#childcomponent)

### StageColor.color

public Color32 color  
颜色。

### StageColor.percent

public float percent  
结束位置百分比。

### StageColor.StageColor

public StageColor(float percent, Color32 color)  

## StateStyle

class in XCharts.Runtime / Inherits from: [ChildComponent](#childcomponent) / Subclasses: [BlurStyle](#blurstyle),[EmphasisStyle](#emphasisstyle),[SelectStyle](#selectstyle) 

> Since `v3.2.0`

the state style of serie.

### StateStyle.ClearComponentDirty

public override void ClearComponentDirty()  

### StateStyle.ClearVerticesDirty

public override void ClearVerticesDirty()  

### StateStyle.Reset

public void Reset()  

## SubTitleTheme

class in XCharts.Runtime / Inherits from: [ComponentTheme](#componenttheme)

### SubTitleTheme.SubTitleTheme

public SubTitleTheme(ThemeType theme) : base(theme)  

## SVG

class in XUGL

### SVG.DrawPath

public static void DrawPath(VertexHelper vh, SVGPath path)  


### SVG.Test

public static void Test(VertexHelper vh)  

## SVGPath

class in XUGL

### SVGPath.AddSegment

public void AddSegment(SVGPathSeg seg)  

### SVGPath.Draw

public void Draw(VertexHelper vh)  

### SVGPath.Parse

public static SVGPath Parse(string path)  

## SVGPathSeg

class in XUGL

### SVGPathSeg.p1

public Vector2 p1  

### SVGPathSeg.p2

public Vector2 p2  

### SVGPathSeg.p3

public Vector2 p3  

### SVGPathSeg.x

public float x  

### SVGPathSeg.y

public float y  

### SVGPathSeg.SVGPathSeg

public SVGPathSeg(SVGPathSegType type)  

## SVGPathSegType

class in XUGL

Options:

- `M`: move to
- `L`: line to
- `H`: horizontal line to
- `V`: vertial line to
- `C`: curve to
- `S`: smooth curve to
- `Q`: quadratic bezier curve
- `T`: smooth quadratic bezier curve to
- `A`: elliptical Arc
- `Z`: close path

## SymbolSizeType

class in XCharts.Runtime

The way to get serie symbol size.

Options:

- `Custom`: Specify constant for symbol size.
- `FromData`: Specify the dataIndex and dataScale to calculate symbol size.
- `Function`: Specify function for symbol size.

## SymbolStyle

class in XCharts.Runtime / Inherits from: [ChildComponent](#childcomponent) / Subclasses: [SerieSymbol](#seriesymbol) 

系列数据项的标记的图形

### SymbolStyle.animationSize

public List&lt;float&gt; animationSize  
the setting for effect scatter.

### SymbolStyle.offset3

public Vector3 offset3  

### SymbolStyle.GetColor

public Color32 GetColor(Color32 defaultColor)  

### SymbolStyle.Reset

public virtual void Reset()  

## SymbolType

class in XCharts.Runtime

the type of symbol.

Options:

- `None`: 不显示标记。
- `Custom`: 自定义标记。
- `Circle`: 圆形。
- `EmptyCircle`: 空心圆。
- `Rect`: 正方形。可通过设置`itemStyle`的`cornerRadius`变成圆角矩形。
- `EmptyRect`: 空心正方形。
- `Triangle`: 三角形。
- `EmptyTriangle`: 空心三角形。
- `Diamond`: 菱形。
- `EmptyDiamond`: 空心菱形。
- `Arrow`: 箭头。
- `EmptyArrow`: 空心箭头。
- `Plus`: 加号。
- `Minus`: 减号。

## TextLimit

class in XCharts.Runtime / Inherits from: [ChildComponent](#childcomponent)

Text character limitation and adaptation component. When the length of the text exceeds the set length, it is cropped and suffixes are appended to the end.Only valid in the category axis.

### TextLimit.Clone

public TextLimit Clone()  

### TextLimit.Copy

public void Copy(TextLimit textLimit)  

### TextLimit.GetLimitContent

public string GetLimitContent(string content)  

### TextLimit.SetRelatedText

public void SetRelatedText(ChartText txt, float labelWidth)  

## TextPadding

class in XCharts.Runtime / Inherits from: [Padding](#padding)

Settings related to text.

### TextPadding.TextPadding()

public TextPadding()  
Settings related to text.

### TextPadding.TextPadding

public TextPadding(float top, float right, float bottom, float left)  


## TextStyle

class in XCharts.Runtime / Inherits from: [ChildComponent](#childcomponent)

Settings related to text.

### TextStyle.TextStyle()

public TextStyle()  

### TextStyle.Copy

public void Copy(TextStyle textStyle)  

### TextStyle.GetAlignment

public TextAnchor GetAlignment(TextAnchor defaultAlignment)  

### TextStyle.GetColor

public Color GetColor(Color defaultColor)  

### TextStyle.GetFontSize

public int GetFontSize(ComponentTheme defaultTheme)  

### TextStyle.TextStyle

public TextStyle(int fontSize)  

public TextStyle(int fontSize, FontStyle fontStyle)  

public TextStyle(int fontSize, FontStyle fontStyle, Color color)  

public TextStyle(int fontSize, FontStyle fontStyle, Color color, int rorate)  


### TextStyle.UpdateAlignmentByLocation

public void UpdateAlignmentByLocation(Location location)  

## Theme

class in XCharts.Runtime / Inherits from: [ScriptableObject](https://docs.unity3d.com/ScriptReference/30_search.html?q=scriptableobject)

Theme.

### Theme.axis

public AxisTheme axis  

### Theme.colorPalette

public List&lt;Color32&gt; 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  

### Theme.dataZoom

public DataZoomTheme dataZoom  

### Theme.legend

public LegendTheme legend  

### Theme.serie

public SerieTheme serie  

### Theme.subTitle

public SubTitleTheme subTitle  

### Theme.title

public TitleTheme title  

### Theme.tooltip

public TooltipTheme tooltip  

### Theme.visualMap

public VisualMapTheme visualMap  

### Theme.CheckWarning

public void CheckWarning(StringBuilder sb)  

### Theme.CloneTheme

public Theme CloneTheme()  
克隆主题。

### Theme.CopyTheme

public void CopyTheme(Theme theme)  
copy all configurations from theme.


### Theme.GetColor

public static Color32 GetColor(string hexColorStr)  
Convert the html string to color.


### Theme.GetColorStr

public string GetColorStr(int index)  
Gets the hexadecimal color string of the specified index from the palette.

### Theme.GetHashCode

public override int GetHashCode()  

### Theme.ResetTheme

public bool ResetTheme()  
Clear all custom configurations.

### Theme.ResetToDarkTheme

public static void ResetToDarkTheme(Theme theme)  
dark theme.

### Theme.ResetToDefaultTheme

public static void ResetToDefaultTheme(Theme theme)  
default theme.

### Theme.SetColorPalette

public void SetColorPalette(List&lt;string&gt; hexColorStringList)  

### Theme.SetDefaultFont

public void SetDefaultFont()  

### Theme.SyncFontToSubComponent

public void SyncFontToSubComponent()  

### Theme.SyncTMPFontToSubComponent

public void SyncTMPFontToSubComponent()  

## ThemeStyle

class in XCharts.Runtime / Inherits from: [ChildComponent](#childcomponent)

Theme.

### ThemeStyle.axis

public AxisTheme axis  

### ThemeStyle.common

public ComponentTheme common  

### ThemeStyle.customColorPalette

public List&lt;Color32&gt; customColorPalette  

### ThemeStyle.dataZoom

public DataZoomTheme dataZoom  

### ThemeStyle.legend

public LegendTheme legend  

### ThemeStyle.serie

public SerieTheme serie  

### ThemeStyle.show

public bool show  

### ThemeStyle.subTitle

public SubTitleTheme subTitle  

### ThemeStyle.title

public TitleTheme title  

### ThemeStyle.tooltip

public TooltipTheme tooltip  

### ThemeStyle.visualMap

public VisualMapTheme visualMap  

### ThemeStyle.CheckWarning

public void CheckWarning(StringBuilder sb)  

### ThemeStyle.GetBackgroundColor

public Color32 GetBackgroundColor(Background background)  

### ThemeStyle.GetColor

public static Color32 GetColor(string hexColorStr)  
Convert the html string to color.


### ThemeStyle.GetColorStr

public string GetColorStr(int index)  
Gets the hexadecimal color string of the specified index from the palette.

### ThemeStyle.SyncSharedThemeColorToCustom

public void SyncSharedThemeColorToCustom()  

## ThemeType

class in XCharts.Runtime

主题

Options:

- `Default`: 默认主题。
- `Light`: 亮主题。
- `Dark`: 暗主题。
- `Custom`: 自定义主题。

## Title

class in XCharts.Runtime / Inherits from: [MainComponent](#maincomponent),[IPropertyChanged](#ipropertychanged)

Title component, including main title and subtitle.

### Title.show

public bool show  
[default:true] Set this to false to prevent the title from showing.

### Title.text

public string text  
The main title text, supporting \n for newlines.

### Title.vertsDirty

public override bool vertsDirty  

### Title.ClearComponentDirty

public override void ClearComponentDirty()  

### Title.OnChanged

public void OnChanged()  

## TitleHandler

class in XCharts.Runtime / Inherits from: [MainComponentHandler&lt;Title&gt;](#maincomponenthandlertitle)

### TitleHandler.AddSubTitleLabel

public static ChartLabel AddSubTitleLabel(Transform parent, Title title, ComponentTheme componentTheme, BaseChart chart = null)  

### TitleHandler.AddTitleLabel

public static ChartLabel AddTitleLabel(Transform parent, Title title, ComponentTheme componentTheme, BaseChart chart = null)  

### TitleHandler.AddTitleObject

public static GameObject AddTitleObject(BaseGraph graph, Title title, ComponentTheme componentTheme, int titleSiblingIndex, string objectName = null)  

### TitleHandler.InitComponent

public override void InitComponent()  

### TitleHandler.OnSerieDataUpdate

public override void OnSerieDataUpdate(int serieIndex)  

## TitleStyle

class in XCharts.Runtime / Inherits from: [LabelStyle](#labelstyle),[ISerieDataComponent](#iseriedatacomponent),[ISerieComponent](#iseriecomponent)

the title of serie.

## TitleTheme

class in XCharts.Runtime / Inherits from: [ComponentTheme](#componenttheme)

### TitleTheme.TitleTheme

public TitleTheme(ThemeType theme) : base(theme)  

## Tooltip

class in XCharts.Runtime / Inherits from: [MainComponent](#maincomponent)

Tooltip component.

### Tooltip.alwayShowContent

public bool alwayShowContent  
Whether to trigger after always display.

### Tooltip.backgroundColor

public Color backgroundColor  
The background color of tooltip.

### Tooltip.backgroundImage

public Sprite backgroundImage  
The background image of tooltip.

### Tooltip.backgroundType

public Image.Type backgroundType  
The background type of tooltip.

### Tooltip.fixedHeight

public float fixedHeight  
Fixed height. Higher priority than minHeight.

### Tooltip.fixedWidth

public float fixedWidth  
Fixed width. Higher priority than minWidth.

### Tooltip.ignoreDataDefaultContent

public string ignoreDataDefaultContent  
The default display character information for ignored data.

### Tooltip.ignoreDataShow

public bool ignoreDataShow  
Whether to show ignored data on tooltip.

### Tooltip.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\}.<br/> \{.\} is the dot of the corresponding color of a Serie that is currently indicated or whose index is 0.<br/> \{a\} is the series name of the serie that is currently indicated or whose index is 0.<br/> \{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).<br/> \{c\} is the value of a Y-dimension (dimesion is 1) from a Serie that is currently indicated or whose index is 0.<br/> \{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.<br/> \{e\} is the name of the data item serieData that is currently indicated or whose index is 0.<br/> \{f\} is sum of data.<br/> \{y\} is category value of y axis.<br/> \{.1\} represents a dot from serie corresponding color that specifies index as 1.<br/> 1 in \{a1\}, \{b1\}, \{c1\} represents a serie that specifies an index of 1.<br/> \{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).<br/> \{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).<br/> \{d1:2: F2\} indicates that a formatted string with a value specified separately is F2 (numericFormatter is used when numericFormatter is not specified).<br/> \{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 ).<br/> Example: "\{a\}, \{c\}", "\{a1\}, \{c1: f1\}", "\{a1\}, \{c1:0: f1\}", "\{a1\} : \{c1:1-1: f1\}"<br/>

### Tooltip.marker

public string marker  
the marker of serie.

### Tooltip.minHeight

public float minHeight  
Minimum height. If fixedHeight has a value, take priority over fixedHeight.

### Tooltip.minWidth

public float minWidth  
Minimum width. If fixedWidth has a value, get fixedWidth first.

### Tooltip.offset

public Vector2 offset  
The position offset of tooltip relative to the mouse position.

### Tooltip.onClickIndex

public System.Action&lt;int&gt; onClickIndex  
the callback of tooltip click index.

### Tooltip.paddingLeftRight

public int paddingLeftRight  
the text padding of left and right. defaut:5.

### Tooltip.paddingTopBottom

public int paddingTopBottom  
the text padding of top and bottom. defaut:5.

### Tooltip.runtimeDataIndex

public List&lt;int&gt; runtimeDataIndex  
The data index currently indicated by Tooltip.

### Tooltip.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  
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\}. <br /> \{.\} is the dot of the corresponding color of serie currently indicated or index 0. <br /> \{a\} is the series name name of serie currently indicated or index 0. <br /> \{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). <br /> \{c\} is the value of the serie y-dimension (dimesion is 1) currently indicated or index is 0. <br /> \{d\} is the serie y-dimensional (dimesion 1) percentage value of the currently indicated or index 0, note without the % sign. <br /> \{e\} is the name of the serie data item serieData currently indicated or whose index is 0. <br /> \{h\} is the hexadecimal color value of serieData for the serie data item currently indicated or index 0. <br /> \{f\} is the sum of data. <br /> \{g\} indicates the total number of data. <br /> \{y\} is category value of y axis. <br /> \{.1\} represents a dot of the corresponding color with serie specified as index 1. <br /> The 1 in \{a1\}, \{b1\}, \{c1\} represents serie where index is specified as 1. <br /> \{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). <br /> \{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). <br /> \{d1:2:f2\} indicates that a format string with a single value is f2 (numericFormatter is used if no value is specified). <br /> \{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). <br /> example: "\{a\}, \{c\}", "\{a1\}, \{c1: f1\}", "\{a1\}, \{c1:0: f1\}", "\{a1\}, \{c1:1-1: f1\}"

### Tooltip.AddSerieDataIndex

public void AddSerieDataIndex(int serieIndex, int dataIndex)  

### Tooltip.ClearComponentDirty

public override void ClearComponentDirty()  

### Tooltip.ClearData

public override void ClearData()  

### Tooltip.ClearSerieDataIndex

public void ClearSerieDataIndex()  

### Tooltip.GetContentLabelStyle

public LabelStyle GetContentLabelStyle(int index)  

### Tooltip.IsActive

public bool IsActive()  
提示框是否显示

### Tooltip.isAnySerieDataIndex

public bool isAnySerieDataIndex()  

### Tooltip.IsSelected

public bool IsSelected(int index)  
指定索引的数据项是否被提示框选中


### Tooltip.IsTriggerAxis

public bool IsTriggerAxis()  

### Tooltip.IsTriggerItem

public bool IsTriggerItem()  

### Tooltip.KeepTop

public void KeepTop()  
Keep Tooltiop displayed at the top.

### Tooltip.SetActive

public void SetActive(bool flag)  
设置Tooltip组件是否显示

### Tooltip.SetContentActive

public void SetContentActive(bool flag)  
设置文本框是否显示

## Tooltip.Position

class in XCharts.Runtime

Position type.

Options:

- `Auto`: Auto. The mobile platform is displayed at the top, and the non-mobile platform follows the mouse position.
- `Custom`: Custom. Fully customize display position (x,y).
- `FixedX`: Just fix the coordinate X. Y follows the mouse position.
- `FixedY`: 

## Tooltip.Trigger

class in XCharts.Runtime

Trigger strategy.

Options:

- `Item`: Triggered by data item, which is mainly used for charts that don't have a category axis like scatter charts or pie charts.
- `Axis`: Triggered by axes, which is mainly used for charts that have category axes, like bar charts or line charts.
- `None`: Trigger nothing.
- `Auto`: Auto select trigger according to serie type.

## Tooltip.TriggerOn

class in XCharts.Runtime

the condition of trigger tooltip.

Options:

- `MouseMove`: Trigger when mouse move.
- `Click`: Trigger when mouse click.

## Tooltip.Type

class in XCharts.Runtime

Indicator type.

Options:

- `Line`: line indicator.
- `Shadow`: shadow crosshair indicator.
- `None`: no indicator displayed.
- `Cross`: crosshair indicator, which is actually the shortcut of enable two axisPointers of two orthometric axes.
- `Auto`: Auto select indicator according to serie type.

## TooltipContext

class in XCharts.Runtime

## TooltipData

class in XCharts.Runtime

## TooltipHelper

class in XCharts.Runtime

### TooltipHelper.GetItemNumericFormatter

public static string GetItemNumericFormatter(Tooltip tooltip, Serie serie, SerieData serieData)  

### TooltipHelper.GetLineColor

public static Color32 GetLineColor(Tooltip tooltip, Color32 defaultColor)  

### TooltipHelper.IsIgnoreFormatter

public static bool IsIgnoreFormatter(string itemFormatter)  

### TooltipHelper.LimitInRect

public static void LimitInRect(BaseChart chart, Tooltip tooltip, Rect chartRect)  

## TooltipTheme

class in XCharts.Runtime / Inherits from: [ComponentTheme](#componenttheme)

### TooltipTheme.Copy

public void Copy(TooltipTheme theme)  

### TooltipTheme.TooltipTheme

public TooltipTheme(ThemeType theme) : base(theme)  

## TooltipView

class in XCharts.Runtime

### TooltipView.CreateView

public static TooltipView CreateView(Tooltip tooltip, ThemeStyle theme, Transform parent)  

### TooltipView.GetCurrentPos

public Vector3 GetCurrentPos()  

### TooltipView.GetTargetPos

public Vector3 GetTargetPos()  

### TooltipView.Refresh

public void Refresh()  

### TooltipView.SetActive

public void SetActive(bool flag)  

### TooltipView.Update

public void Update()  

### TooltipView.UpdatePosition

public void UpdatePosition(Vector3 pos)  

## TooltipViewItem

class in XCharts.Runtime

## UGL

class in XUGL

UGUI Graphics Library.

### UGL.DrawDiamond

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)  


### UGL.DrawEllipse

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)  


### UGL.DrawEmptyTriangle

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&lt;Vector3&gt; 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)  
Draw a line. 画直线


### UGL.DrawMinus

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)  
Draw plus sign.

### UGL.DrawPolygon

public static void DrawPolygon(VertexHelper vh, List&lt;Vector3&gt; 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, 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, Color32 toColor)  


### UGL.DrawSquare

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)  

### UGL.DrawTriangle

public static void DrawTriangle(VertexHelper vh, Vector3 pos, float size, Color32 color, Color32 toColor)  


## UGL.Direction

class in XUGL

曲线方向

Options:

- `XAxis`: 沿X轴方向
- `YAxis`: 沿Y轴方向
- `Random`: 随机无序的。如一个闭合的环状曲线。

## UGLExample

class in XUGL / Inherits from: [MaskableGraphic](https://docs.unity3d.com/ScriptReference/30_search.html?q=maskablegraphic)

## UGLHelper

class in XUGL

### UGLHelper.GetAngle360

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)  

### UGLHelper.GetBezier2

public static Vector3 GetBezier2(float t, Vector3 sp, Vector3 p1, Vector3 p2, Vector3 ep)  

### UGLHelper.GetBezierList

public static List&lt;Vector3&gt; GetBezierList(Vector3 sp, Vector3 ep, int segment, Vector3 cp)  

### UGLHelper.GetDire

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&lt;Vector3&gt; intersection)  
获得两直线的交点


### UGLHelper.GetPos

public static Vector3 GetPos(Vector3 center, float radius, float angle, bool isDegree = false)  

### UGLHelper.GetVertialDire

public static Vector3 GetVertialDire(Vector3 dire)  

### UGLHelper.IsClearColor

public static bool IsClearColor(Color color)  


### UGLHelper.IsPointInPolygon

public static bool IsPointInPolygon(Vector3 p, List&lt;Vector2&gt; polyons)  

public static bool IsPointInPolygon(Vector3 p, params Vector3[] polyons)  


### UGLHelper.IsPointInTriangle

public static bool IsPointInTriangle(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 check)  

### UGLHelper.IsUp

public static bool IsUp(Vector3 p1, Vector3 p2, Vector3 p3)  

### UGLHelper.IsValueEqualsColor

public static bool IsValueEqualsColor(Color color1, Color color2)  


### UGLHelper.IsValueEqualsList&lt;T&gt;

public static bool IsValueEqualsList&lt;T&gt;(List&lt;T&gt; list1, List&lt;T&gt; list2)  

### UGLHelper.IsValueEqualsString

public static bool IsValueEqualsString(string str1, string str2)  

### UGLHelper.IsValueEqualsVector2

public static bool IsValueEqualsVector2(Vector2 v1, Vector2 v2)  

### UGLHelper.IsValueEqualsVector3

public static bool IsValueEqualsVector3(Vector3 v1, Vector2 v2)  


### UGLHelper.IsZeroVector

public static bool IsZeroVector(Vector3 pos)  

### UGLHelper.RotateRound

public static Vector3 RotateRound(Vector3 position, Vector3 center, Vector3 axis, float angle)  

## UIComponent

class in XCharts.Runtime / Inherits from: [BaseGraph](#basegraph)

UI组件基类。

### UIComponent.background

public Background background  
背景样式。

### UIComponent.chartHideFlags

public override HideFlags chartHideFlags  

### UIComponent.theme

public UIComponentTheme theme  

### UIComponent.SetAllDirty

public override void SetAllDirty()  

### UIComponent.SetDataDirty

public void SetDataDirty()  

> Since `v3.9.0`


### UIComponent.SetVerticesDirty

public override void SetVerticesDirty()  

### UIComponent.UpdateTheme

public bool UpdateTheme(ThemeType theme)  
Update chart theme.

## UIComponentTheme

class in XCharts.Runtime / Inherits from: [ChildComponent](#childcomponent)

### UIComponentTheme.show

public bool show  

### UIComponentTheme.GetBackgroundColor

public Color32 GetBackgroundColor(Background background)  

## UIHelper

class in XCharts.Runtime

UI帮助类。

### UIHelper.DrawBackground

public static void DrawBackground(VertexHelper vh, Background background, Color32 color, float smoothness = 2)  


## ViewControl

class in XCharts.Runtime / Inherits from: [ChildComponent](#childcomponent)

> Since `v3.11.0`

View control component in 3D coordinate system.

## VisualMap

class in XCharts.Runtime / Inherits from: [MainComponent](#maincomponent)

VisualMap component. Mapping data to visual elements such as colors.

### VisualMap.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  

### VisualMap.runtimeRangeMinHeight

public float runtimeRangeMinHeight  

### VisualMap.text

public string[] text  
Text on both ends.

### VisualMap.textGap

public float[] textGap  
The distance between the two text bodies.

### VisualMap.vertsDirty

public override bool vertsDirty  

### VisualMap.AddColors

public void AddColors(List&lt;string&gt; colors)  


### VisualMap.ClearComponentDirty

public override void ClearComponentDirty()  

### VisualMap.ClearVerticesDirty

public override void ClearVerticesDirty()  

### VisualMap.GetColor

public Color32 GetColor(double value)  


### VisualMap.GetIndex

public int GetIndex(double value)  

### VisualMap.GetValue

public double GetValue(Vector3 pos, Rect chartRect)  

### VisualMap.IsInRangeMaxRect

public bool IsInRangeMaxRect(Vector3 local, Rect chartRect, float triangleLen)  

### VisualMap.IsInRangeMinRect

public bool IsInRangeMinRect(Vector3 local, Rect chartRect, float triangleLen)  

### VisualMap.IsInRangeRect

public bool IsInRangeRect(Vector3 local, Rect chartRect)  

### VisualMap.IsInRect

public bool IsInRect(Vector3 local, Rect chartRect, float triangleLen = 20)  

### VisualMap.IsInSelectedValue

public bool IsInSelectedValue(double value)  

### VisualMap.IsPiecewise

public bool IsPiecewise()  

## VisualMap.SelectedMode

class in XCharts.Runtime

选择模式

Options:

- `Multiple`: 多选。
- `Single`: 单选。

## VisualMap.Type

class in XCharts.Runtime

类型。分为连续型和分段型。

Options:

- `Continuous`: 连续型。
- `Piecewise`: 分段型。

## VisualMapContext

class in XCharts.Runtime / Inherits from: [MainComponentContext](#maincomponentcontext)

### VisualMapContext.max

public double max  

### VisualMapContext.maxDrag

public bool maxDrag  

### VisualMapContext.min

public double min  

### VisualMapContext.minDrag

public bool minDrag  

### VisualMapContext.pointerIndex

public int pointerIndex  
鼠标悬停选中的index

### VisualMapContext.pointerValue

public double pointerValue  

## VisualMapHelper

class in XCharts.Runtime

### VisualMapHelper.AutoSetLineMinMax

public static void AutoSetLineMinMax(VisualMap visualMap, Serie serie, bool isY, Axis axis, Axis relativedAxis)  

### VisualMapHelper.GetDimension

public static int GetDimension(VisualMap visualMap, int defaultDimension)  

### VisualMapHelper.IsNeedAreaGradient

public static bool IsNeedAreaGradient(VisualMap visualMap)  

### VisualMapHelper.IsNeedGradient

public static bool IsNeedGradient(VisualMap visualMap)  

### VisualMapHelper.IsNeedLineGradient

public static bool IsNeedLineGradient(VisualMap visualMap)  

### VisualMapHelper.SetMinMax

public static void SetMinMax(VisualMap visualMap, double min, double max)  

## VisualMapRange

class in XCharts.Runtime / Inherits from: [ChildComponent](#childcomponent)

### VisualMapRange.color

public Color32 color  
颜色

### VisualMapRange.label

public string label  
文字描述

### VisualMapRange.max

public double max  
范围最大值

### VisualMapRange.min

public double min  
范围最小值

### VisualMapRange.Contains

public bool Contains(double value, double minMaxRange)  

## VisualMapTheme

class in XCharts.Runtime / Inherits from: [ComponentTheme](#componenttheme)

### VisualMapTheme.Copy

public void Copy(VisualMapTheme theme)  

### VisualMapTheme.VisualMapTheme

public VisualMapTheme(ThemeType theme) : base(theme)  

## Wrapper&lt;T&gt;

class in XCharts.Runtime

## XAxis

class in XCharts.Runtime / Inherits from: [Axis](#axis)

The x axis in cartesian(rectangular) coordinate.

### XAxis.SetDefaultValue

public override void SetDefaultValue()  
The x axis in cartesian(rectangular) coordinate.

## XAxis3D

class in XCharts.Runtime / Inherits from: [Axis](#axis)

> Since `v3.11.0`

The x axis in cartesian(rectangular) coordinate.

### XAxis3D.SetDefaultValue

public override void SetDefaultValue()  
The x axis in cartesian(rectangular) coordinate.

## XChartsMgr

class in XCharts.Runtime

### XChartsMgr.fullVersion

public static string fullVersion  

### XChartsMgr.AddChart

public static void AddChart(BaseChart chart)  

### XChartsMgr.ContainsChart

public static bool ContainsChart(BaseChart chart)  


### XChartsMgr.GetChart

public static BaseChart GetChart(string chartName)  

### XChartsMgr.GetCharts

public static List&lt;BaseChart&gt; GetCharts(string chartName)  

### XChartsMgr.GetPackageFullPath

public static string GetPackageFullPath()  

### XChartsMgr.GetRepeatChartNameInfo

public static string GetRepeatChartNameInfo(BaseChart chart, string chartName)  

### XChartsMgr.IsRepeatChartName

public static bool IsRepeatChartName(BaseChart chart, string chartName = null)  

### XChartsMgr.RemoveAllChartObject

public static void RemoveAllChartObject()  

### XChartsMgr.RemoveChart

public static void RemoveChart(string chartName)  

## XCResourceImporterWindow

class in XCharts.Runtime / Inherits from: [UnityEditor.EditorWindow](https://docs.unity3d.com/ScriptReference/30_search.html?q=unityeditoreditorwindow)

### XCResourceImporterWindow.ShowPackageImporterWindow

public static void ShowPackageImporterWindow()  

## XCResourcesImporter

class in XCharts.Runtime

### XCResourcesImporter.OnDestroy()

public void OnDestroy()  

### XCResourcesImporter.XCResourcesImporter()

public XCResourcesImporter()  

### XCResourcesImporter.OnDestroy

public void OnDestroy() { }  

### XCResourcesImporter.OnGUI

public void OnGUI()  

### XCResourcesImporter.XCResourcesImporter

public XCResourcesImporter() { }  

## XCSettings

class in XCharts.Runtime / Inherits from: [ScriptableObject](https://docs.unity3d.com/ScriptReference/30_search.html?q=scriptableobject)

### XCSettings.axisLineType

public static LineStyle.Type axisLineType  

### XCSettings.axisLineWidth

public static float axisLineWidth  

### XCSettings.axisSplitLineType

public static LineStyle.Type axisSplitLineType  

### XCSettings.axisSplitLineWidth

public static float axisSplitLineWidth  

### XCSettings.axisTickLength

public static float axisTickLength  

### XCSettings.axisTickWidth

public static float axisTickWidth  

### XCSettings.cicleSmoothness

public static float cicleSmoothness  

### XCSettings.customThemes

public static List&lt;Theme&gt; customThemes  

### XCSettings.dataZoomBorderWidth

public static float dataZoomBorderWidth  

### XCSettings.dataZoomDataLineWidth

public static float dataZoomDataLineWidth  

### XCSettings.editorShowAllListData

public static bool editorShowAllListData  

### XCSettings.font

public static Font font  

### XCSettings.fontSizeLv1

public static int fontSizeLv1  
一级字体大小。

### XCSettings.fontSizeLv2

public static int fontSizeLv2  

### XCSettings.fontSizeLv3

public static int fontSizeLv3  

### XCSettings.fontSizeLv4

public static int fontSizeLv4  

### XCSettings.gaugeAxisLineWidth

public static float gaugeAxisLineWidth  

### XCSettings.gaugeAxisSplitLineLength

public static float gaugeAxisSplitLineLength  

### XCSettings.gaugeAxisSplitLineWidth

public static float gaugeAxisSplitLineWidth  

### XCSettings.gaugeAxisTickLength

public static float gaugeAxisTickLength  

### XCSettings.gaugeAxisTickWidth

public static float gaugeAxisTickWidth  

### XCSettings.lang

public static Lang lang  

### XCSettings.lineSegmentDistance

public static float lineSegmentDistance  

### XCSettings.lineSmoothness

public static float lineSmoothness  

### XCSettings.lineSmoothStyle

public static float lineSmoothStyle  

### XCSettings.maxPainter

public static int maxPainter  

### XCSettings.serieCandlestickBorderWidth

public static float serieCandlestickBorderWidth  

### XCSettings.serieLineSymbolSize

public static float serieLineSymbolSize  

### XCSettings.serieLineWidth

public static float serieLineWidth  

### XCSettings.serieScatterSymbolSize

public static float serieScatterSymbolSize  

### XCSettings.serieSelectedRate

public static float serieSelectedRate  

### XCSettings.tmpFont

public static TMP_FontAsset tmpFont  

### XCSettings.tootipLineWidth

public static float tootipLineWidth  

### XCSettings.visualMapBorderWidth

public static float visualMapBorderWidth  

### XCSettings.visualMapTriangeLen

public static float visualMapTriangeLen  

### XCSettings.AddCustomTheme

public static bool AddCustomTheme(Theme theme)  

### XCSettings.ExistAssetFile

public static bool ExistAssetFile()  

### XCSettings.GetSettingAssetPath

public static string GetSettingAssetPath()  

## XCThemeMgr

class in XCharts.Runtime

### XCThemeMgr.AddTheme

public static void AddTheme(Theme theme)  

### XCThemeMgr.CheckReloadTheme

public static void CheckReloadTheme()  

### XCThemeMgr.ContainsTheme

public static bool ContainsTheme(string themeName)  

### XCThemeMgr.ExportTheme

public static bool ExportTheme(Theme theme)  


### XCThemeMgr.GetAllThemeNames

public static List&lt;string&gt; GetAllThemeNames()  

### XCThemeMgr.GetTheme

public static Theme GetTheme(string themeName)  


### XCThemeMgr.GetThemeAssetPath

public static string GetThemeAssetPath(string themeName)  

### XCThemeMgr.GetThemeList

public static List&lt;Theme&gt; GetThemeList()  

### XCThemeMgr.LoadTheme

public static Theme LoadTheme(string themeName)  


### XCThemeMgr.ReloadThemeList

public static void ReloadThemeList()  
重新加载主题列表

### XCThemeMgr.SwitchTheme

public static void SwitchTheme(BaseChart chart, string themeName)  

## XLog

class in XCharts.Runtime / Inherits from: [MonoBehaviour](#monobehaviour)

Log system. Used to output logs with date and log type, support output to file, support custom output log type.

### XLog.CanLog

public static bool CanLog(int level)  

### XLog.ClearAllLog

public static void ClearAllLog()  

### XLog.Debug

public static void Debug(string log)  

### XLog.EnableLog

public static void EnableLog(int logType)  

### XLog.Error

public static void Error(string log)  

### XLog.FlushLog

public static void FlushLog()  

### XLog.GetNowTime

public static string GetNowTime(string formatter = null)  

### XLog.GetTimestamp

public static ulong GetTimestamp()  

### XLog.Info

public static void Info(string log)  

### XLog.Log

public static void Log(string log)  

### XLog.LogError

public static void LogError(string log)  

### XLog.LogWarning

public static void LogWarning(string log)  

### XLog.Proto

public static void Proto(string log)  

### XLog.Vital

public static void Vital(string log)  

### XLog.Warning

public static void Warning(string log)  

## YAxis

class in XCharts.Runtime / Inherits from: [Axis](#axis)

The x axis in cartesian(rectangular) coordinate.

### YAxis.SetDefaultValue

public override void SetDefaultValue()  
The x axis in cartesian(rectangular) coordinate.

## YAxis3D

class in XCharts.Runtime / Inherits from: [Axis](#axis)

> Since `v3.11.0`

The x axis in cartesian(rectangular) coordinate.

### YAxis3D.SetDefaultValue

public override void SetDefaultValue()  
The x axis in cartesian(rectangular) coordinate.

## ZAxis3D

class in XCharts.Runtime / Inherits from: [Axis](#axis)

> Since `v3.11.0`

The x axis in cartesian(rectangular) coordinate.

### ZAxis3D.SetDefaultValue

public override void SetDefaultValue()  
The x axis in cartesian(rectangular) coordinate.

