API手册
所有类
- Align
- AngleAxis
- AngleAxisTheme
- AnimationAddition
- AnimationChange
- AnimationEasing
- AnimationExchange
- AnimationFadeIn
- AnimationFadeOut
- AnimationHiding
- AnimationInfo
- AnimationInfoContext
- AnimationInteraction
- AnimationStyle
- AnimationStyleHelper
- AnimationType
- AreaStyle
- AreaStyle.AreaOrigin
- ArrowStyle
- Axis
- Axis.AxisMinMaxType
- Axis.AxisPosition
- Axis.AxisType
- Axis3DHelper
- AxisAnimation
- AxisContext
- AxisHandler<T>
- AxisHelper
- AxisLabel
- AxisLine
- AxisMinorSplitLine
- AxisMinorTick
- AxisName
- AxisSplitArea
- AxisSplitLine
- AxisTheme
- AxisTick
- Background
- Bar
- BarChart
- BarType
- BaseAxisTheme
- BaseChart
- BaseGraph
- BaseLine
- BaseScatter
- BaseSerie
- BlurStyle
- BorderStyle
- CalendarCoord
- Candlestick
- CandlestickChart
- ChartCached
- ChartConst
- ChartDrawer
- ChartHelper
- ChartLabel
- ChartObject
- ChartText
- CheckHelper
- ChildComponent
- ColorUtil
- Comment
- CommentItem
- CommentLayer
- CommentMarkStyle
- ComponentHandlerAttribute
- ComponentHelper
- ComponentTheme
- CoordOptionsAttribute
- CoordSystem
- DataHelper
- DataZoom
- DataZoom.FilterMode
- DataZoom.RangeMode
- DataZoomContext
- DataZoomHelper
- DataZoomTheme
- DateTimeUtil
- DebugInfo
- DefaultAnimationAttribute
- DefaultTooltipAttribute
- DefineSymbolsUtil
- EffectScatter
- EmphasisStyle
- EmphasisStyle.BlurScope
- EmphasisStyle.FocusType
- EndLabelStyle
- FormatterHelper
- GraphData
- GraphEdge
- GraphNode
- GridCoord
- GridCoord3D
- GridCoord3DContext
- GridCoordContext
- GridLayout
- GridLayoutContext
- Heatmap
- HeatmapChart
- HeatmapType
- IconStyle
- IconStyle.Layer
- IgnoreDoc
- ImageStyle
- Indicator
- INeedSerieContainer
- InputHelper
- InteractData
- IPropertyChanged
- ISerieComponent
- ISerieContainer
- ISerieDataComponent
- ISimplifiedSerie
- ItemStyle
- IUpdateRuntimeData
- JsonUtil
- LabelLine
- LabelLine.LineType
- LabelStyle
- LabelStyle.Position
- Lang
- LangCandlestick
- LangTime
- LayerHelper
- Legend
- Legend.SelectedMode
- Legend.Type
- LegendContext
- LegendHelper
- LegendItem
- LegendTheme
- Level
- LevelStyle
- Line
- LineArrow
- LineArrow.Position
- LineChart
- LineHelper
- LineStyle
- LineStyle.Type
- LineType
- ListFor
- ListForComponent
- ListForSerie
- ListPool<T>
- Location
- Location.Align
- MainComponent
- MainComponentContext
- MainComponentHandler
- MainComponentHandler<T>
- MainComponentHandler<Title>
- MarkArea
- MarkAreaData
- MarkAreaType
- MarkLine
- MarkLineData
- MarkLineType
- MarqueeStyle
- MathUtil
- MLValue
- MLValue.Type
- MonoBehaviour
- Orient
- Padding
- Painter
- Painter.Type
- Parallel
- ParallelAxis
- ParallelChart
- ParallelCoord
- ParallelCoordContext
- Pie
- PieChart
- PieType
- PolarAxisTheme
- PolarChart
- PolarCoord
- PolarCoordContext
- PropertyUtil
- Radar
- RadarAxisTheme
- RadarChart
- RadarCoord
- RadarCoord.PositionType
- RadarCoord.Shape
- RadarCoordContext
- RadarType
- RadiusAxis
- RadiusAxisTheme
- ReflectionUtil
- RequireChartComponentAttribute
- Ring
- RingChart
- RoseType
- RuntimeUtil
- SampleType
- Scatter
- ScatterChart
- SelectStyle
- Serie
- SerieColorBy
- SerieComponentAttribute
- SerieContext
- SerieConvertAttribute
- SerieData
- SerieDataComponentAttribute
- SerieDataContext
- SerieDataExtraFieldAttribute
- SerieDataLink
- SerieDataSortType
- SerieEventData
- SerieEventDataPool
- SerieHandler
- SerieHandler<T>
- SerieHandlerAttribute
- SerieHelper
- SerieLabelHelper
- SerieLabelPool
- SerieParams
- SeriesHelper
- SerieState
- SerieSymbol
- SerieTheme
- Settings
- SimplifiedBar
- SimplifiedBarChart
- SimplifiedCandlestick
- SimplifiedCandlestickChart
- SimplifiedLine
- SimplifiedLineChart
- Since
- SingleAxis
- SingleAxisCoord
- StageColor
- StateStyle
- SubTitleTheme
- SVG
- SVGPath
- SVGPathSeg
- SVGPathSegType
- SymbolSizeType
- SymbolStyle
- SymbolType
- TextLimit
- TextPadding
- TextStyle
- Theme
- ThemeStyle
- ThemeType
- Title
- TitleHandler
- TitleStyle
- TitleTheme
- Tooltip
- Tooltip.Position
- Tooltip.Trigger
- Tooltip.TriggerOn
- Tooltip.Type
- TooltipContext
- TooltipData
- TooltipHelper
- TooltipTheme
- TooltipView
- TooltipViewItem
- UGL
- UGL.Direction
- UGLExample
- UGLHelper
- UIComponent
- UIComponentTheme
- UIHelper
- ViewControl
- VisualMap
- VisualMap.SelectedMode
- VisualMap.Type
- VisualMapContext
- VisualMapHelper
- VisualMapRange
- VisualMapTheme
- Wrapper<T>
- XAxis
- XAxis3D
- XChartsMgr
- XCResourceImporterWindow
- XCResourcesImporter
- XCSettings
- XCThemeMgr
- XLog
- YAxis
- YAxis3D
- ZAxis3D
Align
class in XCharts.Runtime
对齐方式。文本,图标,图形等的对齐方式。
可选:
Center: 对齐方式。文本,图标,图形等的对齐方 式。Left: 对齐方式。文本,图标,图形等的对齐方式。Right: 对齐方式。文本,图标,图形等的对齐方式。
AngleAxis
class in XCharts.Runtime / 继承自: Axis
极坐标系的角度轴。
AngleAxis.GetValueAngle
public float GetValueAngle(double value)
AngleAxis.SetDefaultValue
public override void SetDefaultValue()
AngleAxisTheme
class in XCharts.Runtime / 继承自: BaseAxisTheme
AngleAxisTheme.base(theme)
public AngleAxisTheme(ThemeType theme) : base(theme)
AngleAxisTheme.AngleAxisTheme
public AngleAxisTheme(ThemeType theme) : base(theme)
AnimationAddition
class in XCharts.Runtime / 继承自: AnimationInfo
从
v3.8.0开始支持
数据新增动画。
AnimationChange
class in XCharts.Runtime / 继承自: AnimationInfo
从
v3.8.0开始支持
数据变更动画。
AnimationEasing
class in XCharts.Runtime
可选:
Linear:
AnimationExchange
class in XCharts.Runtime / 继承自: AnimationInfo
从
v3.15.0开始支持
数据交换动画。一般用于图表数据排序时顺序变化的动画。
AnimationFadeIn
class in XCharts.Runtime / 继承自: AnimationInfo
从
v3.8.0开始支持
淡入动画。
AnimationFadeOut
class in XCharts.Runtime / 继承自: AnimationInfo
从
v3.8.0开始支持
淡出动画。
AnimationHiding
class in XCharts.Runtime / 继承自: AnimationInfo
从
v3.8.0开始支持
数据隐藏动画。
AnimationInfo
class in XCharts.Runtime / 子类: AnimationFadeIn,AnimationFadeOut,AnimationChange,AnimationAddition,AnimationHiding,AnimationInteraction,AnimationExchange
从
v3.8.0开始支持
动画配置参数。
AnimationInfo.delay
public float delay
动画开始前的延迟时间。
AnimationInfo.delayFunction
public AnimationDelayFunction delayFunction
动画延迟的委托函数。
AnimationInfo.duration
public float duration
动画的时长。默认用于计算动画的速度。也可以通过speed指定速度。
AnimationInfo.durationFunction
public AnimationDurationFunction durationFunction
动画时长的委托函数。
AnimationInfo.enable
public bool enable
是否开启动画效果。
AnimationInfo.OnAnimationEnd
public Action OnAnimationEnd
动画结束的回调。
AnimationInfo.OnAnimationStart
public Action OnAnimationStart
动画开始的回调。
AnimationInfo.reverse
public bool reverse
是否开启反向动画效果。
AnimationInfo.speed
public float speed
动画的速度。当指定speed时,duration将失效。默认为0,表示不指定速度。
AnimationInfo.End
public void End()
结束动画。
AnimationInfo.GetIndexDelay
public float GetIndexDelay(int dataIndex)
获取动画延迟。
AnimationInfo.Init
public bool Init(float curr, float dest, int totalPointIndex)
初始化动画。
AnimationInfo.IsFinish
public bool IsFinish()
动画是否结束。
AnimationInfo.IsInDelay
public bool IsInDelay()
动画是否在延迟中。
AnimationInfo.IsInIndexDelay
public bool IsInIndexDelay(int dataIndex)
动画是否在索引延迟中。
AnimationInfo.Pause
public void Pause()
暂停动画。
AnimationInfo.Reset
public void Reset()
重置动画。
AnimationInfo.Resume
public void Resume()
恢复动画。
AnimationInfo.Start
public void Start(bool reset = true)
开始动画。
AnimationInfoContext
class in XCharts.Runtime
AnimationInteraction
class in XCharts.Runtime / 继承自: AnimationInfo
从
v3.8.0开始支持
交互动画。
AnimationInteraction.offset
public MLValue offset
交互的多样式数值。如饼图的扇形选中时的偏移。
AnimationInteraction.radius
public MLValue radius
半径的多样式数值。
AnimationInteraction.width
public MLValue 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 / 继承自: ChildComponent
动画组件,用于控制图表的动画播放。支持配置五种动画表现:FadeIn(渐入动画),FadeOut(渐出动画),Change(变更动画),Addition(新增动画),Interaction(交互动画),Exchange(交换动画)。 按作用的对象可以分为两类:SerieAnimation(系列动画)和DataAnimation(数据动画)。
AnimationStyle.addition
public AnimationAddition addition
数据新增动画配置。
AnimationStyle.change
public AnimationChange change
数据变更动画配置。
AnimationStyle.enable
public bool enable
是否开启动画效果。
AnimationStyle.exchange
public AnimationExchange exchange
交换动画配置。如在排序柱图中有效。
AnimationStyle.fadeIn
public AnimationFadeIn fadeIn
渐入动画配置。
AnimationStyle.fadeInFinishCallback
public Action fadeInFinishCallback
AnimationStyle.fadeOut
public AnimationFadeOut fadeOut
渐出动画配置。
AnimationStyle.fadeOutFinishCallback
public Action fadeOutFinishCallback
AnimationStyle.hiding
public AnimationHiding hiding
数据隐藏动画配置。
AnimationStyle.interaction
public AnimationInteraction interaction
交互动画配置。
AnimationStyle.threshold
public int threshold
是否开启动画的阈值,当单个系列显示的图形数量大于这个阈值时会关闭动画。
AnimationStyle.unscaledTime
public bool unscaledTime
动画是否受TimeScaled的影响。默认为 false 受TimeScaled的影响。
AnimationStyle.Addition
public void Addition()
开始数据新增动画。
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()
开始渐入动画。
AnimationStyle.FadeOut
public void FadeOut()
开始渐出动画。