更新文档

This commit is contained in:
monitor1394
2023-05-28 22:42:49 +08:00
parent 4c1432a535
commit 6b6bf9d9da
5 changed files with 2175 additions and 297 deletions

View File

@@ -35,8 +35,15 @@ slug: /api
- [GridCoordContext](#gridcoordcontext) - [GridCoordContext](#gridcoordcontext)
- [HeatmapChart](#heatmapchart) - [HeatmapChart](#heatmapchart)
- [IgnoreDoc](#ignoredoc) - [IgnoreDoc](#ignoredoc)
- [INeedSerieContainer](#ineedseriecontainer)
- [InputHelper](#inputhelper) - [InputHelper](#inputhelper)
- [InteractData](#interactdata) - [InteractData](#interactdata)
- [IPropertyChanged](#ipropertychanged)
- [ISerieComponent](#iseriecomponent)
- [ISerieContainer](#iseriecontainer)
- [ISerieDataComponent](#iseriedatacomponent)
- [ISimplifiedSerie](#isimplifiedserie)
- [IUpdateRuntimeData](#iupdateruntimedata)
- [LayerHelper](#layerhelper) - [LayerHelper](#layerhelper)
- [LegendContext](#legendcontext) - [LegendContext](#legendcontext)
- [LegendHelper](#legendhelper) - [LegendHelper](#legendhelper)
@@ -63,6 +70,7 @@ slug: /api
- [RingChart](#ringchart) - [RingChart](#ringchart)
- [RuntimeUtil](#runtimeutil) - [RuntimeUtil](#runtimeutil)
- [ScatterChart](#scatterchart) - [ScatterChart](#scatterchart)
- [ScriptableObject](#scriptableobject)
- [SerieComponentAttribute](#seriecomponentattribute) - [SerieComponentAttribute](#seriecomponentattribute)
- [SerieContext](#seriecontext) - [SerieContext](#seriecontext)
- [SerieConvertAttribute](#serieconvertattribute) - [SerieConvertAttribute](#serieconvertattribute)
@@ -106,6 +114,8 @@ slug: /api
## AnimationStyleHelper ## AnimationStyleHelper
Fullname: XCharts.Runtime.AnimationStyleHelper
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|CheckDataAnimation()||public static float CheckDataAnimation(BaseChart chart, Serie serie, int dataIndex, float destProgress, float startPorgress = 0)| |CheckDataAnimation()||public static float CheckDataAnimation(BaseChart chart, Serie serie, int dataIndex, float destProgress, float startPorgress = 0)|
@@ -115,14 +125,18 @@ slug: /api
## AxisContext ## AxisContext
Fullname: XCharts.Runtime.AxisContext
Inherits or Implemented: [MainComponentContext](#maincomponentcontext) Inherits or Implemented: [MainComponentContext](#maincomponentcontext)
## AxisHandler<T> ## AxisHandler<T>
Fullname: XCharts.AxisHandler<T>
Inherits or Implemented: [MainComponentHandler](#maincomponenthandler) Inherits or Implemented: [MainComponentHandler](#maincomponenthandler)
## AxisHelper ## AxisHelper
Fullname: XCharts.Runtime.AxisHelper
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|AdjustCircleLabelPos()||public static void AdjustCircleLabelPos(ChartLabel txt, Vector3 pos, Vector3 cenPos, float txtHig, Vector3 offset)| |AdjustCircleLabelPos()||public static void AdjustCircleLabelPos(ChartLabel txt, Vector3 pos, Vector3 cenPos, float txtHig, Vector3 offset)|
@@ -149,11 +163,14 @@ Inherits or Implemented: [MainComponentHandler](#maincomponenthandler)
## BarChart ## BarChart
Fullname: XCharts.Runtime.BarChart
Inherits or Implemented: [BaseChart](#basechart) Inherits or Implemented: [BaseChart](#basechart)
## BaseChart ## BaseChart
Inherits or Implemented: [BaseGraph](#basegraph),[ISerializationCallbackReceiver](#iserializationcallbackreceiver) Fullname: XCharts.Runtime.BaseChart
Inherits or Implemented: [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)
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
@@ -344,7 +361,9 @@ Inherits or Implemented: [BaseGraph](#basegraph),[ISerializationCallbackReceiver
## BaseGraph ## BaseGraph
Inherits or Implemented: [MaskableGraphic](#maskablegraphic),[IPointerDownHandler](#ipointerdownhandler),[IPointerUpHandler](#ipointeruphandler),[](#) Fullname: XCharts.Runtime.BaseGraph
Inherits or Implemented: [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)
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
@@ -379,10 +398,13 @@ Inherits or Implemented: [MaskableGraphic](#maskablegraphic),[IPointerDownHandle
## CandlestickChart ## CandlestickChart
Fullname: XCharts.Runtime.CandlestickChart
Inherits or Implemented: [BaseChart](#basechart) Inherits or Implemented: [BaseChart](#basechart)
## ChartCached ## ChartCached
Fullname: XCharts.Runtime.ChartCached
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|ColorToDotStr()||public static string ColorToDotStr(Color color)| |ColorToDotStr()||public static string ColorToDotStr(Color color)|
@@ -394,10 +416,16 @@ Inherits or Implemented: [BaseChart](#basechart)
## ChartConst ## ChartConst
Fullname: XCharts.Runtime.ChartConst
## ChartDrawer ## ChartDrawer
Fullname: XCharts.Runtime.ChartDrawer
## ChartHelper ## ChartHelper
Fullname: XCharts.Runtime.ChartHelper
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|ActiveAllObject()||public static void ActiveAllObject(Transform parent, bool active, string match = null)| |ActiveAllObject()||public static void ActiveAllObject(Transform parent, bool active, string match = null)|
@@ -465,7 +493,8 @@ Inherits or Implemented: [BaseChart](#basechart)
## ChartLabel ## ChartLabel
Inherits or Implemented: [Image](#image) Fullname: XCharts.Runtime.ChartLabel
Inherits or Implemented: [Image](https://docs.unity3d.com/ScriptReference/30_search.html?q=Image)
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
@@ -494,12 +523,16 @@ Inherits or Implemented: [Image](#image)
## ChartObject ## ChartObject
Fullname: XCharts.Runtime.ChartObject
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|Destroy()||public virtual void Destroy()| |Destroy()||public virtual void Destroy()|
## CheckHelper ## CheckHelper
Fullname: XCharts.Runtime.CheckHelper
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|CheckChart()||public static string CheckChart(BaseChart chart)| |CheckChart()||public static string CheckChart(BaseChart chart)|
@@ -507,13 +540,16 @@ Inherits or Implemented: [Image](#image)
## ColorUtil ## ColorUtil
Fullname: XCharts.Runtime.ColorUtil
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|GetColor()||public static Color32 GetColor(string hexColorStr)<br/>Convert the html string to color. | |GetColor()||public static Color32 GetColor(string hexColorStr)<br/>Convert the html string to color. |
## ComponentHandlerAttribute ## ComponentHandlerAttribute
Inherits or Implemented: [Attribute](#attribute) Fullname: XCharts.Runtime.ComponentHandlerAttribute
Inherits or Implemented: [Attribute](https://docs.unity3d.com/ScriptReference/30_search.html?q=Attribute)
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
@@ -522,6 +558,8 @@ Inherits or Implemented: [Attribute](#attribute)
## ComponentHelper ## ComponentHelper
Fullname: XCharts.Runtime.ComponentHelper
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|GetAngleAxis()||public static AngleAxis GetAngleAxis(List&lt;MainComponent&gt; components, int polarIndex)| |GetAngleAxis()||public static AngleAxis GetAngleAxis(List&lt;MainComponent&gt; components, int polarIndex)|
@@ -532,7 +570,8 @@ Inherits or Implemented: [Attribute](#attribute)
## CoordOptionsAttribute ## CoordOptionsAttribute
Inherits or Implemented: [Attribute](#attribute) Fullname: XCharts.Runtime.CoordOptionsAttribute
Inherits or Implemented: [Attribute](https://docs.unity3d.com/ScriptReference/30_search.html?q=Attribute)
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
@@ -544,10 +583,13 @@ Inherits or Implemented: [Attribute](#attribute)
## DataZoomContext ## DataZoomContext
Fullname: XCharts.Runtime.DataZoomContext
Inherits or Implemented: [MainComponentContext](#maincomponentcontext) Inherits or Implemented: [MainComponentContext](#maincomponentcontext)
## DataZoomHelper ## DataZoomHelper
Fullname: XCharts.Runtime.DataZoomHelper
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|UpdateDataZoomRuntimeStartEndValue()||public static void UpdateDataZoomRuntimeStartEndValue(DataZoom dataZoom, Serie serie)| |UpdateDataZoomRuntimeStartEndValue()||public static void UpdateDataZoomRuntimeStartEndValue(DataZoom dataZoom, Serie serie)|
@@ -555,6 +597,8 @@ Inherits or Implemented: [MainComponentContext](#maincomponentcontext)
## DateTimeUtil ## DateTimeUtil
Fullname: XCharts.Runtime.DateTimeUtil
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|GetDateTime()||public static DateTime GetDateTime(int timestamp)| |GetDateTime()||public static DateTime GetDateTime(int timestamp)|
@@ -563,7 +607,8 @@ Inherits or Implemented: [MainComponentContext](#maincomponentcontext)
## DefaultAnimationAttribute ## DefaultAnimationAttribute
Inherits or Implemented: [Attribute](#attribute) Fullname: XCharts.Runtime.DefaultAnimationAttribute
Inherits or Implemented: [Attribute](https://docs.unity3d.com/ScriptReference/30_search.html?q=Attribute)
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
@@ -571,6 +616,8 @@ Inherits or Implemented: [Attribute](#attribute)
## DefineSymbolsUtil ## DefineSymbolsUtil
Fullname: XCharts.Runtime.DefineSymbolsUtil
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|AddGlobalDefine()||public static void AddGlobalDefine(string symbol)| |AddGlobalDefine()||public static void AddGlobalDefine(string symbol)|
@@ -578,6 +625,8 @@ Inherits or Implemented: [Attribute](#attribute)
## FormatterHelper ## FormatterHelper
Fullname: XCharts.Runtime.FormatterHelper
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|NeedFormat()||public static bool NeedFormat(string content)| |NeedFormat()||public static bool NeedFormat(string content)|
@@ -588,22 +637,32 @@ Inherits or Implemented: [Attribute](#attribute)
## GridCoordContext ## GridCoordContext
Fullname: XCharts.Runtime.GridCoordContext
Inherits or Implemented: [MainComponentContext](#maincomponentcontext) Inherits or Implemented: [MainComponentContext](#maincomponentcontext)
## HeatmapChart ## HeatmapChart
Fullname: XCharts.Runtime.HeatmapChart
Inherits or Implemented: [BaseChart](#basechart) Inherits or Implemented: [BaseChart](#basechart)
## IgnoreDoc ## IgnoreDoc
Inherits or Implemented: [Attribute](#attribute) Fullname: XCharts.Runtime.IgnoreDoc
Inherits or Implemented: [Attribute](https://docs.unity3d.com/ScriptReference/30_search.html?q=Attribute)
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|IgnoreDoc()||public IgnoreDoc()| |IgnoreDoc()||public IgnoreDoc()|
## INeedSerieContainer
Fullname: XCharts.Runtime.INeedSerieContainer
Subclasses: [Bar](#bar),[SimplifiedBar](#simplifiedbar),[Candlestick](#candlestick),[SimplifiedCandlestick](#simplifiedcandlestick),[Heatmap](#heatmap),[Line](#line),[SimplifiedLine](#simplifiedline),[Parallel](#parallel),[Radar](#radar),[BaseScatter](#basescatter)
## InputHelper ## InputHelper
Fullname: XCharts.Runtime.InputHelper
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|GetKeyDown()||public static bool GetKeyDown(KeyCode keyCode)| |GetKeyDown()||public static bool GetKeyDown(KeyCode keyCode)|
@@ -611,6 +670,8 @@ Inherits or Implemented: [Attribute](#attribute)
## InteractData ## InteractData
Fullname: XCharts.Runtime.InteractData
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|Reset()||public void Reset()| |Reset()||public void Reset()|
@@ -625,8 +686,40 @@ Inherits or Implemented: [Attribute](#attribute)
|TryGetValue()||public bool TryGetValue(ref float value, ref bool interacting, float animationDuration = 250)| |TryGetValue()||public bool TryGetValue(ref float value, ref bool interacting, float animationDuration = 250)|
|TryGetValueAndColor()||public bool TryGetValueAndColor(ref float value, ref Color32 color, ref Color32 toColor, ref bool interacting, float animationDuration = 250)| |TryGetValueAndColor()||public bool TryGetValueAndColor(ref float value, ref Color32 color, ref Color32 toColor, ref bool interacting, float animationDuration = 250)|
## IPropertyChanged
Fullname: XCharts.Runtime.IPropertyChanged
Subclasses: [Location](#location),[Comment](#comment),[Legend](#legend),[Title](#title)
## ISerieComponent
Fullname: XCharts.Runtime.ISerieComponent
Subclasses: [AreaStyle](#areastyle),[ImageStyle](#imagestyle),[LineArrow](#linearrow),[LabelLine](#labelline),[LabelStyle](#labelstyle),[BlurStyle](#blurstyle),[EmphasisStyle](#emphasisstyle),[SelectStyle](#selectstyle),[TitleStyle](#titlestyle)
## ISerieContainer
Fullname: XCharts.Runtime.ISerieContainer
Subclasses: [RadarCoord](#radarcoord),[CalendarCoord](#calendarcoord),[GridCoord](#gridcoord),[ParallelCoord](#parallelcoord),[PolarCoord](#polarcoord)
## ISerieDataComponent
Fullname: XCharts.Runtime.ISerieDataComponent
Subclasses: [AreaStyle](#areastyle),[ImageStyle](#imagestyle),[ItemStyle](#itemstyle),[LineStyle](#linestyle),[SerieSymbol](#seriesymbol),[LabelLine](#labelline),[LabelStyle](#labelstyle),[BlurStyle](#blurstyle),[EmphasisStyle](#emphasisstyle),[SelectStyle](#selectstyle),[TitleStyle](#titlestyle)
## ISimplifiedSerie
Fullname: XCharts.Runtime.ISimplifiedSerie
Subclasses: [SimplifiedBar](#simplifiedbar),[SimplifiedCandlestick](#simplifiedcandlestick),[SimplifiedLine](#simplifiedline)
## IUpdateRuntimeData
Fullname: XCharts.Runtime.IUpdateRuntimeData
Subclasses: [SingleAxis](#singleaxis),[DataZoom](#datazoom),[CalendarCoord](#calendarcoord),[GridCoord](#gridcoord),[ParallelCoord](#parallelcoord)
## LayerHelper ## LayerHelper
Fullname: XCharts.Runtime.LayerHelper
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|IsFixedWidthHeight()||public static bool IsFixedWidthHeight(RectTransform rt)| |IsFixedWidthHeight()||public static bool IsFixedWidthHeight(RectTransform rt)|
@@ -634,10 +727,13 @@ Inherits or Implemented: [Attribute](#attribute)
## LegendContext ## LegendContext
Fullname: XCharts.Runtime.LegendContext
Inherits or Implemented: [MainComponentContext](#maincomponentcontext) Inherits or Implemented: [MainComponentContext](#maincomponentcontext)
## LegendHelper ## LegendHelper
Fullname: XCharts.Runtime.LegendHelper
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|CheckDataHighlighted()||public static bool CheckDataHighlighted(Serie serie, string legendName, bool heighlight)| |CheckDataHighlighted()||public static bool CheckDataHighlighted(Serie serie, string legendName, bool heighlight)|
@@ -649,6 +745,8 @@ Inherits or Implemented: [MainComponentContext](#maincomponentcontext)
## LegendItem ## LegendItem
Fullname: XCharts.Runtime.LegendItem
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|GetIconColor()||public Color GetIconColor()| |GetIconColor()||public Color GetIconColor()|
@@ -672,11 +770,14 @@ Inherits or Implemented: [MainComponentContext](#maincomponentcontext)
## LineChart ## LineChart
Fullname: XCharts.Runtime.LineChart
Inherits or Implemented: [BaseChart](#basechart) Inherits or Implemented: [BaseChart](#basechart)
## ListFor ## ListFor
Inherits or Implemented: [Attribute](#attribute) Fullname: XCharts.Runtime.ListFor
Inherits or Implemented: [Attribute](https://docs.unity3d.com/ScriptReference/30_search.html?q=Attribute)
Subclasses: [ListForComponent](#listforcomponent),[ListForSerie](#listforserie)
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
@@ -684,6 +785,7 @@ Inherits or Implemented: [Attribute](#attribute)
## ListForComponent ## ListForComponent
Fullname: XCharts.Runtime.ListForComponent
Inherits or Implemented: [ListFor](#listfor) Inherits or Implemented: [ListFor](#listfor)
|public method|since|description| |public method|since|description|
@@ -692,6 +794,7 @@ Inherits or Implemented: [ListFor](#listfor)
## ListForSerie ## ListForSerie
Fullname: XCharts.Runtime.ListForSerie
Inherits or Implemented: [ListFor](#listfor) Inherits or Implemented: [ListFor](#listfor)
|public method|since|description| |public method|since|description|
@@ -700,8 +803,14 @@ Inherits or Implemented: [ListFor](#listfor)
## MainComponentContext ## MainComponentContext
Fullname: XCharts.Runtime.MainComponentContext
Subclasses: [AxisContext](#axiscontext),[DataZoomContext](#datazoomcontext),[LegendContext](#legendcontext),[RadarCoordContext](#radarcoordcontext),[VisualMapContext](#visualmapcontext),[GridCoordContext](#gridcoordcontext),[ParallelCoordContext](#parallelcoordcontext),[PolarCoordContext](#polarcoordcontext)
## MainComponentHandler ## MainComponentHandler
Fullname: XCharts.Runtime.MainComponentHandler
Subclasses: [AxisHandler<T>](#axishandlert),[MainComponentHandler<T>](#maincomponenthandlert)
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|CheckComponent()||public virtual void CheckComponent(StringBuilder sb) { }| |CheckComponent()||public virtual void CheckComponent(StringBuilder sb) { }|
@@ -724,10 +833,13 @@ Inherits or Implemented: [ListFor](#listfor)
## MainComponentHandler&lt;T&gt; ## MainComponentHandler&lt;T&gt;
Fullname: XCharts.Runtime.MainComponentHandler<T>
Inherits or Implemented: [MainComponentHandler](#maincomponenthandler) Inherits or Implemented: [MainComponentHandler](#maincomponenthandler)
## MathUtil ## MathUtil
Fullname: XCharts.Runtime.MathUtil
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|Abs()||public static double Abs(double d)| |Abs()||public static double Abs(double d)|
@@ -740,6 +852,7 @@ Inherits or Implemented: [MainComponentHandler](#maincomponenthandler)
## ObjectPool&lt;T&gt; where T ## ObjectPool&lt;T&gt; where T
Fullname: XCharts.Runtime.ObjectPool<T> where T
Inherits or Implemented: [new()](#new()) Inherits or Implemented: [new()](#new())
|public method|since|description| |public method|since|description|
@@ -752,7 +865,8 @@ Inherits or Implemented: [new()](#new())
## Painter ## Painter
Inherits or Implemented: [MaskableGraphic](#maskablegraphic) Fullname: XCharts.Runtime.Painter
Inherits or Implemented: [MaskableGraphic](https://docs.unity3d.com/ScriptReference/30_search.html?q=MaskableGraphic)
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
@@ -764,26 +878,33 @@ Inherits or Implemented: [MaskableGraphic](#maskablegraphic)
## ParallelChart ## ParallelChart
Fullname: XCharts.Runtime.ParallelChart
Inherits or Implemented: [BaseChart](#basechart) Inherits or Implemented: [BaseChart](#basechart)
## ParallelCoordContext ## ParallelCoordContext
Fullname: XCharts.Runtime.ParallelCoordContext
Inherits or Implemented: [MainComponentContext](#maincomponentcontext) Inherits or Implemented: [MainComponentContext](#maincomponentcontext)
## PieChart ## PieChart
Fullname: XCharts.Runtime.PieChart
Inherits or Implemented: [BaseChart](#basechart) Inherits or Implemented: [BaseChart](#basechart)
## PolarChart ## PolarChart
Fullname: XCharts.Runtime.PolarChart
Inherits or Implemented: [BaseChart](#basechart) Inherits or Implemented: [BaseChart](#basechart)
## PolarCoordContext ## PolarCoordContext
Fullname: XCharts.Runtime.PolarCoordContext
Inherits or Implemented: [MainComponentContext](#maincomponentcontext) Inherits or Implemented: [MainComponentContext](#maincomponentcontext)
## PropertyUtil ## PropertyUtil
Fullname: XCharts.Runtime.PropertyUtil
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|SetClass&lt;T&gt;()||public static bool SetClass&lt;T&gt;(ref T currentValue, T newValue, bool notNull = false) where T : class| |SetClass&lt;T&gt;()||public static bool SetClass&lt;T&gt;(ref T currentValue, T newValue, bool notNull = false) where T : class|
@@ -793,14 +914,18 @@ Inherits or Implemented: [MainComponentContext](#maincomponentcontext)
## RadarChart ## RadarChart
Fullname: XCharts.Runtime.RadarChart
Inherits or Implemented: [BaseChart](#basechart) Inherits or Implemented: [BaseChart](#basechart)
## RadarCoordContext ## RadarCoordContext
Fullname: XCharts.Runtime.RadarCoordContext
Inherits or Implemented: [MainComponentContext](#maincomponentcontext) Inherits or Implemented: [MainComponentContext](#maincomponentcontext)
## ReflectionUtil ## ReflectionUtil
Fullname: XCharts.Runtime.ReflectionUtil
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|DeepCloneSerializeField()||public static object DeepCloneSerializeField(object obj)| |DeepCloneSerializeField()||public static object DeepCloneSerializeField(object obj)|
@@ -812,7 +937,8 @@ Inherits or Implemented: [MainComponentContext](#maincomponentcontext)
## RequireChartComponentAttribute ## RequireChartComponentAttribute
Inherits or Implemented: [Attribute](#attribute) Fullname: XCharts.Runtime.RequireChartComponentAttribute
Inherits or Implemented: [Attribute](https://docs.unity3d.com/ScriptReference/30_search.html?q=Attribute)
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
@@ -822,10 +948,13 @@ Inherits or Implemented: [Attribute](#attribute)
## RingChart ## RingChart
Fullname: XCharts.Runtime.RingChart
Inherits or Implemented: [BaseChart](#basechart) Inherits or Implemented: [BaseChart](#basechart)
## RuntimeUtil ## RuntimeUtil
Fullname: XCharts.Runtime.RuntimeUtil
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|GetAllAssemblyTypes()||public static IEnumerable&lt;Type&gt; GetAllAssemblyTypes()| |GetAllAssemblyTypes()||public static IEnumerable&lt;Type&gt; GetAllAssemblyTypes()|
@@ -837,11 +966,18 @@ Inherits or Implemented: [BaseChart](#basechart)
## ScatterChart ## ScatterChart
Fullname: XCharts.Runtime.ScatterChart
Inherits or Implemented: [BaseChart](#basechart) Inherits or Implemented: [BaseChart](#basechart)
## ScriptableObject
Fullname: .ScriptableObject
Subclasses: [Lang](#lang),[XCSettings](#xcsettings),[Theme](#theme)
## SerieComponentAttribute ## SerieComponentAttribute
Inherits or Implemented: [Attribute](#attribute) Fullname: XCharts.Runtime.SerieComponentAttribute
Inherits or Implemented: [Attribute](https://docs.unity3d.com/ScriptReference/30_search.html?q=Attribute)
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
@@ -858,9 +994,12 @@ Inherits or Implemented: [Attribute](#attribute)
## SerieContext ## SerieContext
Fullname: XCharts.Runtime.SerieContext
## SerieConvertAttribute ## SerieConvertAttribute
Inherits or Implemented: [Attribute](#attribute) Fullname: XCharts.Runtime.SerieConvertAttribute
Inherits or Implemented: [Attribute](https://docs.unity3d.com/ScriptReference/30_search.html?q=Attribute)
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
@@ -873,7 +1012,8 @@ Inherits or Implemented: [Attribute](#attribute)
## SerieDataComponentAttribute ## SerieDataComponentAttribute
Inherits or Implemented: [Attribute](#attribute) Fullname: XCharts.Runtime.SerieDataComponentAttribute
Inherits or Implemented: [Attribute](https://docs.unity3d.com/ScriptReference/30_search.html?q=Attribute)
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
@@ -890,13 +1030,16 @@ Inherits or Implemented: [Attribute](#attribute)
## SerieDataContext ## SerieDataContext
Fullname: XCharts.Runtime.SerieDataContext
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|Reset()||public void Reset()| |Reset()||public void Reset()|
## SerieDataExtraFieldAttribute ## SerieDataExtraFieldAttribute
Inherits or Implemented: [Attribute](#attribute) Fullname: XCharts.Runtime.SerieDataExtraFieldAttribute
Inherits or Implemented: [Attribute](https://docs.unity3d.com/ScriptReference/30_search.html?q=Attribute)
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
@@ -912,12 +1055,16 @@ Inherits or Implemented: [Attribute](#attribute)
## SerieEventData ## SerieEventData
Fullname: XCharts.Runtime.SerieEventData
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|Reset()||public void Reset()| |Reset()||public void Reset()|
## SerieEventDataPool ## SerieEventDataPool
Fullname: XCharts.Runtime.SerieEventDataPool
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|Get()||public static SerieEventData Get(Vector3 pos, int serieIndex, int dataIndex, int dimension, double value)| |Get()||public static SerieEventData Get(Vector3 pos, int serieIndex, int dataIndex, int dimension, double value)|
@@ -925,6 +1072,8 @@ Inherits or Implemented: [Attribute](#attribute)
## SerieHandler ## SerieHandler
Fullname: XCharts.Runtime.SerieHandler
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|CheckComponent()||public virtual void CheckComponent(StringBuilder sb) { }| |CheckComponent()||public virtual void CheckComponent(StringBuilder sb) { }|
@@ -951,8 +1100,14 @@ Inherits or Implemented: [Attribute](#attribute)
|Update()||public virtual void Update() { }| |Update()||public virtual void Update() { }|
|UpdateSerieContext()||public virtual void UpdateSerieContext() { }| |UpdateSerieContext()||public virtual void UpdateSerieContext() { }|
## SerieHandler where T
Fullname: .SerieHandler where T
Subclasses: [SerieHandler<T>](#seriehandlert)
## SerieHandler&lt;T&gt; ## SerieHandler&lt;T&gt;
Fullname: XCharts.Runtime.SerieHandler<T>
Inherits or Implemented: [SerieHandler where T](#seriehandler where t),[Serie](#serie) Inherits or Implemented: [SerieHandler where T](#seriehandler where t),[Serie](#serie)
|public method|since|description| |public method|since|description|
@@ -978,7 +1133,8 @@ Inherits or Implemented: [SerieHandler where T](#seriehandler where t),[Serie](#
## SerieHandlerAttribute ## SerieHandlerAttribute
Inherits or Implemented: [Attribute](#attribute) Fullname: XCharts.Runtime.SerieHandlerAttribute
Inherits or Implemented: [Attribute](https://docs.unity3d.com/ScriptReference/30_search.html?q=Attribute)
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
@@ -987,6 +1143,8 @@ Inherits or Implemented: [Attribute](#attribute)
## SerieHelper ## SerieHelper
Fullname: XCharts.Runtime.SerieHelper
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|CloneSerie&lt;T&gt;()||public static T CloneSerie&lt;T&gt;(Serie serie) where T : Serie| |CloneSerie&lt;T&gt;()||public static T CloneSerie&lt;T&gt;(Serie serie) where T : Serie|
@@ -1029,6 +1187,8 @@ Inherits or Implemented: [Attribute](#attribute)
## SerieLabelHelper ## SerieLabelHelper
Fullname: XCharts.Runtime.SerieLabelHelper
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|AvoidLabelOverlap()||public static void AvoidLabelOverlap(Serie serie, ComponentTheme theme)| |AvoidLabelOverlap()||public static void AvoidLabelOverlap(Serie serie, ComponentTheme theme)|
@@ -1040,6 +1200,8 @@ Inherits or Implemented: [Attribute](#attribute)
## SerieLabelPool ## SerieLabelPool
Fullname: XCharts.Runtime.SerieLabelPool
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|ClearAll()||public static void ClearAll()| |ClearAll()||public static void ClearAll()|
@@ -1048,8 +1210,12 @@ Inherits or Implemented: [Attribute](#attribute)
## SerieParams ## SerieParams
Fullname: XCharts.Runtime.SerieParams
## SeriesHelper ## SeriesHelper
Fullname: XCharts.Runtime.SeriesHelper
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|GetLastStackSerie()||public static Serie GetLastStackSerie(List&lt;Serie&gt; series, Serie serie)<br/>获得上一个同堆叠且显示的serie。 | |GetLastStackSerie()||public static Serie GetLastStackSerie(List&lt;Serie&gt; series, Serie serie)<br/>获得上一个同堆叠且显示的serie。 |
@@ -1068,19 +1234,23 @@ Inherits or Implemented: [Attribute](#attribute)
## SimplifiedBarChart ## SimplifiedBarChart
Fullname: XCharts.Runtime.SimplifiedBarChart
Inherits or Implemented: [BaseChart](#basechart) Inherits or Implemented: [BaseChart](#basechart)
## SimplifiedCandlestickChart ## SimplifiedCandlestickChart
Fullname: XCharts.Runtime.SimplifiedCandlestickChart
Inherits or Implemented: [BaseChart](#basechart) Inherits or Implemented: [BaseChart](#basechart)
## SimplifiedLineChart ## SimplifiedLineChart
Fullname: XCharts.Runtime.SimplifiedLineChart
Inherits or Implemented: [BaseChart](#basechart) Inherits or Implemented: [BaseChart](#basechart)
## Since ## Since
Inherits or Implemented: [Attribute](#attribute) Fullname: XCharts.Runtime.Since
Inherits or Implemented: [Attribute](https://docs.unity3d.com/ScriptReference/30_search.html?q=Attribute)
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
@@ -1088,6 +1258,8 @@ Inherits or Implemented: [Attribute](#attribute)
## SVG ## SVG
Fullname: XUGL.SVG
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|DrawPath()||public static void DrawPath(VertexHelper vh, string path)| |DrawPath()||public static void DrawPath(VertexHelper vh, string path)|
@@ -1096,10 +1268,13 @@ Inherits or Implemented: [Attribute](#attribute)
## SVGImage ## SVGImage
Inherits or Implemented: [MaskableGraphic](#maskablegraphic) Fullname: XCharts.Runtime.SVGImage
Inherits or Implemented: [MaskableGraphic](https://docs.unity3d.com/ScriptReference/30_search.html?q=MaskableGraphic)
## SVGPath ## SVGPath
Fullname: XUGL.SVGPath
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|AddSegment()||public void AddSegment(SVGPathSeg seg)| |AddSegment()||public void AddSegment(SVGPathSeg seg)|
@@ -1108,16 +1283,24 @@ Inherits or Implemented: [MaskableGraphic](#maskablegraphic)
## SVGPathSeg ## SVGPathSeg
Fullname: XUGL.SVGPathSeg
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|SVGPathSeg()||public SVGPathSeg(SVGPathSegType type)| |SVGPathSeg()||public SVGPathSeg(SVGPathSegType type)|
## TooltipContext ## TooltipContext
Fullname: XCharts.Runtime.TooltipContext
## TooltipData ## TooltipData
Fullname: XCharts.Runtime.TooltipData
## TooltipHelper ## TooltipHelper
Fullname: XCharts.Runtime.TooltipHelper
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|GetItemNumericFormatter()||public static string GetItemNumericFormatter(Tooltip tooltip, Serie serie, SerieData serieData)| |GetItemNumericFormatter()||public static string GetItemNumericFormatter(Tooltip tooltip, Serie serie, SerieData serieData)|
@@ -1127,6 +1310,8 @@ Inherits or Implemented: [MaskableGraphic](#maskablegraphic)
## TooltipView ## TooltipView
Fullname: XCharts.Runtime.TooltipView
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|CreateView()||public static TooltipView CreateView(Tooltip tooltip, ThemeStyle theme, Transform parent)| |CreateView()||public static TooltipView CreateView(Tooltip tooltip, ThemeStyle theme, Transform parent)|
@@ -1139,8 +1324,12 @@ Inherits or Implemented: [MaskableGraphic](#maskablegraphic)
## TooltipViewItem ## TooltipViewItem
Fullname: XCharts.Runtime.TooltipViewItem
## UGL ## UGL
Fullname: XUGL.UGL
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|DrawDiamond()||public static void DrawDiamond(VertexHelper vh, Vector3 center, float size, Color32 color)<br/>Draw a diamond. 画菱形(钻石形状) | |DrawDiamond()||public static void DrawDiamond(VertexHelper vh, Vector3 center, float size, Color32 color)<br/>Draw a diamond. 画菱形(钻石形状) |
@@ -1162,10 +1351,13 @@ Inherits or Implemented: [MaskableGraphic](#maskablegraphic)
## UGLExample ## UGLExample
Inherits or Implemented: [MaskableGraphic](#maskablegraphic) Fullname: XUGL.UGLExample
Inherits or Implemented: [MaskableGraphic](https://docs.unity3d.com/ScriptReference/30_search.html?q=MaskableGraphic)
## UGLHelper ## UGLHelper
Fullname: XUGL.UGLHelper
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|GetAngle360()||public static float GetAngle360(Vector2 from, Vector2 to)<br/>获得0-360的角度12点钟方向为0度 | |GetAngle360()||public static float GetAngle360(Vector2 from, Vector2 to)<br/>获得0-360的角度12点钟方向为0度 |
@@ -1194,6 +1386,7 @@ Inherits or Implemented: [MaskableGraphic](#maskablegraphic)
## UIComponent ## UIComponent
Fullname: XCharts.Runtime.UIComponent
Inherits or Implemented: [BaseGraph](#basegraph) Inherits or Implemented: [BaseGraph](#basegraph)
|public method|since|description| |public method|since|description|
@@ -1202,16 +1395,21 @@ Inherits or Implemented: [BaseGraph](#basegraph)
## UIHelper ## UIHelper
Fullname: XCharts.Runtime.UIHelper
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|GetBackgroundColor()||public static Color32 GetBackgroundColor(UIComponent component)| |GetBackgroundColor()||public static Color32 GetBackgroundColor(UIComponent component)|
## VisualMapContext ## VisualMapContext
Fullname: XCharts.Runtime.VisualMapContext
Inherits or Implemented: [MainComponentContext](#maincomponentcontext) Inherits or Implemented: [MainComponentContext](#maincomponentcontext)
## VisualMapHelper ## VisualMapHelper
Fullname: XCharts.Runtime.VisualMapHelper
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|AutoSetLineMinMax()||public static void AutoSetLineMinMax(VisualMap visualMap, Serie serie, bool isY, Axis axis, Axis relativedAxis)| |AutoSetLineMinMax()||public static void AutoSetLineMinMax(VisualMap visualMap, Serie serie, bool isY, Axis axis, Axis relativedAxis)|
@@ -1223,6 +1421,8 @@ Inherits or Implemented: [MainComponentContext](#maincomponentcontext)
## XChartsMgr ## XChartsMgr
Fullname: XCharts.Runtime.XChartsMgr
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|AddChart()||public static void AddChart(BaseChart chart)| |AddChart()||public static void AddChart(BaseChart chart)|
@@ -1238,7 +1438,8 @@ Inherits or Implemented: [MainComponentContext](#maincomponentcontext)
## XCResourceImporterWindow ## XCResourceImporterWindow
Inherits or Implemented: [UnityEditor.EditorWindow](#unityeditor.editorwindow) Fullname: XCharts.Runtime.XCResourceImporterWindow
Inherits or Implemented: [UnityEditor.EditorWindow](https://docs.unity3d.com/ScriptReference/30_search.html?q=UnityEditor.EditorWindow)
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
@@ -1246,6 +1447,8 @@ Inherits or Implemented: [UnityEditor.EditorWindow](#unityeditor.editorwindow)
## XCThemeMgr ## XCThemeMgr
Fullname: XCharts.Runtime.XCThemeMgr
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|AddTheme()||public static void AddTheme(Theme theme)| |AddTheme()||public static void AddTheme(Theme theme)|

File diff suppressed because it is too large Load Diff

View File

@@ -35,8 +35,15 @@ slug: /api
- [GridCoordContext](#gridcoordcontext) - [GridCoordContext](#gridcoordcontext)
- [HeatmapChart](#heatmapchart) - [HeatmapChart](#heatmapchart)
- [IgnoreDoc](#ignoredoc) - [IgnoreDoc](#ignoredoc)
- [INeedSerieContainer](#ineedseriecontainer)
- [InputHelper](#inputhelper) - [InputHelper](#inputhelper)
- [InteractData](#interactdata) - [InteractData](#interactdata)
- [IPropertyChanged](#ipropertychanged)
- [ISerieComponent](#iseriecomponent)
- [ISerieContainer](#iseriecontainer)
- [ISerieDataComponent](#iseriedatacomponent)
- [ISimplifiedSerie](#isimplifiedserie)
- [IUpdateRuntimeData](#iupdateruntimedata)
- [LayerHelper](#layerhelper) - [LayerHelper](#layerhelper)
- [LegendContext](#legendcontext) - [LegendContext](#legendcontext)
- [LegendHelper](#legendhelper) - [LegendHelper](#legendhelper)
@@ -63,6 +70,7 @@ slug: /api
- [RingChart](#ringchart) - [RingChart](#ringchart)
- [RuntimeUtil](#runtimeutil) - [RuntimeUtil](#runtimeutil)
- [ScatterChart](#scatterchart) - [ScatterChart](#scatterchart)
- [ScriptableObject](#scriptableobject)
- [SerieComponentAttribute](#seriecomponentattribute) - [SerieComponentAttribute](#seriecomponentattribute)
- [SerieContext](#seriecontext) - [SerieContext](#seriecontext)
- [SerieConvertAttribute](#serieconvertattribute) - [SerieConvertAttribute](#serieconvertattribute)
@@ -106,6 +114,8 @@ slug: /api
## AnimationStyleHelper ## AnimationStyleHelper
全名: XCharts.Runtime.AnimationStyleHelper
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|CheckDataAnimation()||public static float CheckDataAnimation(BaseChart chart, Serie serie, int dataIndex, float destProgress, float startPorgress = 0)| |CheckDataAnimation()||public static float CheckDataAnimation(BaseChart chart, Serie serie, int dataIndex, float destProgress, float startPorgress = 0)|
@@ -115,14 +125,18 @@ slug: /api
## AxisContext ## AxisContext
Inherits or Implemented: [MainComponentContext](#maincomponentcontext) 全名: XCharts.Runtime.AxisContext
继承: [MainComponentContext](#maincomponentcontext)
## AxisHandler&lt;T&gt; ## AxisHandler&lt;T&gt;
Inherits or Implemented: [MainComponentHandler](#maincomponenthandler) 全名: XCharts.AxisHandler<T>
继承: [MainComponentHandler](#maincomponenthandler)
## AxisHelper ## AxisHelper
全名: XCharts.Runtime.AxisHelper
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|AdjustCircleLabelPos()||public static void AdjustCircleLabelPos(ChartLabel txt, Vector3 pos, Vector3 cenPos, float txtHig, Vector3 offset)| |AdjustCircleLabelPos()||public static void AdjustCircleLabelPos(ChartLabel txt, Vector3 pos, Vector3 cenPos, float txtHig, Vector3 offset)|
@@ -149,11 +163,14 @@ Inherits or Implemented: [MainComponentHandler](#maincomponenthandler)
## BarChart ## BarChart
Inherits or Implemented: [BaseChart](#basechart) 全名: XCharts.Runtime.BarChart
继承: [BaseChart](#basechart)
## BaseChart ## BaseChart
Inherits or Implemented: [BaseGraph](#basegraph),[ISerializationCallbackReceiver](#iserializationcallbackreceiver) 全名: XCharts.Runtime.BaseChart
继承: [BaseGraph](#basegraph),[ISerializationCallbackReceiver](https://docs.unity3d.com/ScriptReference/30_search.html?q=ISerializationCallbackReceiver)
子类: [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)
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
@@ -344,7 +361,9 @@ Inherits or Implemented: [BaseGraph](#basegraph),[ISerializationCallbackReceiver
## BaseGraph ## BaseGraph
Inherits or Implemented: [MaskableGraphic](#maskablegraphic),[IPointerDownHandler](#ipointerdownhandler),[IPointerUpHandler](#ipointeruphandler),[](#) 全名: XCharts.Runtime.BaseGraph
继承: [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),[](#)
子类: [BaseChart](#basechart),[UIComponent](#uicomponent)
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
@@ -379,10 +398,13 @@ Inherits or Implemented: [MaskableGraphic](#maskablegraphic),[IPointerDownHandle
## CandlestickChart ## CandlestickChart
Inherits or Implemented: [BaseChart](#basechart) 全名: XCharts.Runtime.CandlestickChart
继承: [BaseChart](#basechart)
## ChartCached ## ChartCached
全名: XCharts.Runtime.ChartCached
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|ColorToDotStr()||public static string ColorToDotStr(Color color)| |ColorToDotStr()||public static string ColorToDotStr(Color color)|
@@ -394,10 +416,16 @@ Inherits or Implemented: [BaseChart](#basechart)
## ChartConst ## ChartConst
全名: XCharts.Runtime.ChartConst
## ChartDrawer ## ChartDrawer
全名: XCharts.Runtime.ChartDrawer
## ChartHelper ## ChartHelper
全名: XCharts.Runtime.ChartHelper
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|ActiveAllObject()||public static void ActiveAllObject(Transform parent, bool active, string match = null)| |ActiveAllObject()||public static void ActiveAllObject(Transform parent, bool active, string match = null)|
@@ -465,7 +493,8 @@ Inherits or Implemented: [BaseChart](#basechart)
## ChartLabel ## ChartLabel
Inherits or Implemented: [Image](#image) 全名: XCharts.Runtime.ChartLabel
继承: [Image](https://docs.unity3d.com/ScriptReference/30_search.html?q=Image)
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
@@ -494,12 +523,16 @@ Inherits or Implemented: [Image](#image)
## ChartObject ## ChartObject
全名: XCharts.Runtime.ChartObject
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|Destroy()||public virtual void Destroy()| |Destroy()||public virtual void Destroy()|
## CheckHelper ## CheckHelper
全名: XCharts.Runtime.CheckHelper
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|CheckChart()||public static string CheckChart(BaseChart chart)| |CheckChart()||public static string CheckChart(BaseChart chart)|
@@ -507,13 +540,16 @@ Inherits or Implemented: [Image](#image)
## ColorUtil ## ColorUtil
全名: XCharts.Runtime.ColorUtil
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|GetColor()||public static Color32 GetColor(string hexColorStr)<br/>将字符串颜色值转成Color。 | |GetColor()||public static Color32 GetColor(string hexColorStr)<br/>将字符串颜色值转成Color。 |
## ComponentHandlerAttribute ## ComponentHandlerAttribute
Inherits or Implemented: [Attribute](#attribute) 全名: XCharts.Runtime.ComponentHandlerAttribute
继承: [Attribute](https://docs.unity3d.com/ScriptReference/30_search.html?q=Attribute)
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
@@ -522,6 +558,8 @@ Inherits or Implemented: [Attribute](#attribute)
## ComponentHelper ## ComponentHelper
全名: XCharts.Runtime.ComponentHelper
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|GetAngleAxis()||public static AngleAxis GetAngleAxis(List&lt;MainComponent&gt; components, int polarIndex)| |GetAngleAxis()||public static AngleAxis GetAngleAxis(List&lt;MainComponent&gt; components, int polarIndex)|
@@ -532,7 +570,8 @@ Inherits or Implemented: [Attribute](#attribute)
## CoordOptionsAttribute ## CoordOptionsAttribute
Inherits or Implemented: [Attribute](#attribute) 全名: XCharts.Runtime.CoordOptionsAttribute
继承: [Attribute](https://docs.unity3d.com/ScriptReference/30_search.html?q=Attribute)
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
@@ -544,10 +583,13 @@ Inherits or Implemented: [Attribute](#attribute)
## DataZoomContext ## DataZoomContext
Inherits or Implemented: [MainComponentContext](#maincomponentcontext) 全名: XCharts.Runtime.DataZoomContext
继承: [MainComponentContext](#maincomponentcontext)
## DataZoomHelper ## DataZoomHelper
全名: XCharts.Runtime.DataZoomHelper
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|UpdateDataZoomRuntimeStartEndValue()||public static void UpdateDataZoomRuntimeStartEndValue(DataZoom dataZoom, Serie serie)| |UpdateDataZoomRuntimeStartEndValue()||public static void UpdateDataZoomRuntimeStartEndValue(DataZoom dataZoom, Serie serie)|
@@ -555,6 +597,8 @@ Inherits or Implemented: [MainComponentContext](#maincomponentcontext)
## DateTimeUtil ## DateTimeUtil
全名: XCharts.Runtime.DateTimeUtil
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|GetDateTime()||public static DateTime GetDateTime(int timestamp)| |GetDateTime()||public static DateTime GetDateTime(int timestamp)|
@@ -563,7 +607,8 @@ Inherits or Implemented: [MainComponentContext](#maincomponentcontext)
## DefaultAnimationAttribute ## DefaultAnimationAttribute
Inherits or Implemented: [Attribute](#attribute) 全名: XCharts.Runtime.DefaultAnimationAttribute
继承: [Attribute](https://docs.unity3d.com/ScriptReference/30_search.html?q=Attribute)
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
@@ -571,6 +616,8 @@ Inherits or Implemented: [Attribute](#attribute)
## DefineSymbolsUtil ## DefineSymbolsUtil
全名: XCharts.Runtime.DefineSymbolsUtil
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|AddGlobalDefine()||public static void AddGlobalDefine(string symbol)| |AddGlobalDefine()||public static void AddGlobalDefine(string symbol)|
@@ -578,6 +625,8 @@ Inherits or Implemented: [Attribute](#attribute)
## FormatterHelper ## FormatterHelper
全名: XCharts.Runtime.FormatterHelper
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|NeedFormat()||public static bool NeedFormat(string content)| |NeedFormat()||public static bool NeedFormat(string content)|
@@ -588,22 +637,32 @@ Inherits or Implemented: [Attribute](#attribute)
## GridCoordContext ## GridCoordContext
Inherits or Implemented: [MainComponentContext](#maincomponentcontext) 全名: XCharts.Runtime.GridCoordContext
继承: [MainComponentContext](#maincomponentcontext)
## HeatmapChart ## HeatmapChart
Inherits or Implemented: [BaseChart](#basechart) 全名: XCharts.Runtime.HeatmapChart
继承: [BaseChart](#basechart)
## IgnoreDoc ## IgnoreDoc
Inherits or Implemented: [Attribute](#attribute) 全名: XCharts.Runtime.IgnoreDoc
继承: [Attribute](https://docs.unity3d.com/ScriptReference/30_search.html?q=Attribute)
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|IgnoreDoc()||public IgnoreDoc()| |IgnoreDoc()||public IgnoreDoc()|
## INeedSerieContainer
全名: XCharts.Runtime.INeedSerieContainer
子类: [Bar](#bar),[SimplifiedBar](#simplifiedbar),[Candlestick](#candlestick),[SimplifiedCandlestick](#simplifiedcandlestick),[Heatmap](#heatmap),[Line](#line),[SimplifiedLine](#simplifiedline),[Parallel](#parallel),[Radar](#radar),[BaseScatter](#basescatter)
## InputHelper ## InputHelper
全名: XCharts.Runtime.InputHelper
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|GetKeyDown()||public static bool GetKeyDown(KeyCode keyCode)| |GetKeyDown()||public static bool GetKeyDown(KeyCode keyCode)|
@@ -611,6 +670,8 @@ Inherits or Implemented: [Attribute](#attribute)
## InteractData ## InteractData
全名: XCharts.Runtime.InteractData
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|Reset()||public void Reset()| |Reset()||public void Reset()|
@@ -625,8 +686,40 @@ Inherits or Implemented: [Attribute](#attribute)
|TryGetValue()||public bool TryGetValue(ref float value, ref bool interacting, float animationDuration = 250)| |TryGetValue()||public bool TryGetValue(ref float value, ref bool interacting, float animationDuration = 250)|
|TryGetValueAndColor()||public bool TryGetValueAndColor(ref float value, ref Color32 color, ref Color32 toColor, ref bool interacting, float animationDuration = 250)| |TryGetValueAndColor()||public bool TryGetValueAndColor(ref float value, ref Color32 color, ref Color32 toColor, ref bool interacting, float animationDuration = 250)|
## IPropertyChanged
全名: XCharts.Runtime.IPropertyChanged
子类: [Location](#location),[Comment](#comment),[Legend](#legend),[Title](#title)
## ISerieComponent
全名: XCharts.Runtime.ISerieComponent
子类: [AreaStyle](#areastyle),[ImageStyle](#imagestyle),[LineArrow](#linearrow),[LabelLine](#labelline),[LabelStyle](#labelstyle),[BlurStyle](#blurstyle),[EmphasisStyle](#emphasisstyle),[SelectStyle](#selectstyle),[TitleStyle](#titlestyle)
## ISerieContainer
全名: XCharts.Runtime.ISerieContainer
子类: [RadarCoord](#radarcoord),[CalendarCoord](#calendarcoord),[GridCoord](#gridcoord),[ParallelCoord](#parallelcoord),[PolarCoord](#polarcoord)
## ISerieDataComponent
全名: XCharts.Runtime.ISerieDataComponent
子类: [AreaStyle](#areastyle),[ImageStyle](#imagestyle),[ItemStyle](#itemstyle),[LineStyle](#linestyle),[SerieSymbol](#seriesymbol),[LabelLine](#labelline),[LabelStyle](#labelstyle),[BlurStyle](#blurstyle),[EmphasisStyle](#emphasisstyle),[SelectStyle](#selectstyle),[TitleStyle](#titlestyle)
## ISimplifiedSerie
全名: XCharts.Runtime.ISimplifiedSerie
子类: [SimplifiedBar](#simplifiedbar),[SimplifiedCandlestick](#simplifiedcandlestick),[SimplifiedLine](#simplifiedline)
## IUpdateRuntimeData
全名: XCharts.Runtime.IUpdateRuntimeData
子类: [SingleAxis](#singleaxis),[DataZoom](#datazoom),[CalendarCoord](#calendarcoord),[GridCoord](#gridcoord),[ParallelCoord](#parallelcoord)
## LayerHelper ## LayerHelper
全名: XCharts.Runtime.LayerHelper
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|IsFixedWidthHeight()||public static bool IsFixedWidthHeight(RectTransform rt)| |IsFixedWidthHeight()||public static bool IsFixedWidthHeight(RectTransform rt)|
@@ -634,10 +727,13 @@ Inherits or Implemented: [Attribute](#attribute)
## LegendContext ## LegendContext
Inherits or Implemented: [MainComponentContext](#maincomponentcontext) 全名: XCharts.Runtime.LegendContext
继承: [MainComponentContext](#maincomponentcontext)
## LegendHelper ## LegendHelper
全名: XCharts.Runtime.LegendHelper
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|CheckDataHighlighted()||public static bool CheckDataHighlighted(Serie serie, string legendName, bool heighlight)| |CheckDataHighlighted()||public static bool CheckDataHighlighted(Serie serie, string legendName, bool heighlight)|
@@ -649,6 +745,8 @@ Inherits or Implemented: [MainComponentContext](#maincomponentcontext)
## LegendItem ## LegendItem
全名: XCharts.Runtime.LegendItem
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|GetIconColor()||public Color GetIconColor()| |GetIconColor()||public Color GetIconColor()|
@@ -672,11 +770,14 @@ Inherits or Implemented: [MainComponentContext](#maincomponentcontext)
## LineChart ## LineChart
Inherits or Implemented: [BaseChart](#basechart) 全名: XCharts.Runtime.LineChart
继承: [BaseChart](#basechart)
## ListFor ## ListFor
Inherits or Implemented: [Attribute](#attribute) 全名: XCharts.Runtime.ListFor
继承: [Attribute](https://docs.unity3d.com/ScriptReference/30_search.html?q=Attribute)
子类: [ListForComponent](#listforcomponent),[ListForSerie](#listforserie)
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
@@ -684,7 +785,8 @@ Inherits or Implemented: [Attribute](#attribute)
## ListForComponent ## ListForComponent
Inherits or Implemented: [ListFor](#listfor) 全名: XCharts.Runtime.ListForComponent
继承: [ListFor](#listfor)
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
@@ -692,7 +794,8 @@ Inherits or Implemented: [ListFor](#listfor)
## ListForSerie ## ListForSerie
Inherits or Implemented: [ListFor](#listfor) 全名: XCharts.Runtime.ListForSerie
继承: [ListFor](#listfor)
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
@@ -700,8 +803,14 @@ Inherits or Implemented: [ListFor](#listfor)
## MainComponentContext ## MainComponentContext
全名: XCharts.Runtime.MainComponentContext
子类: [AxisContext](#axiscontext),[DataZoomContext](#datazoomcontext),[LegendContext](#legendcontext),[RadarCoordContext](#radarcoordcontext),[VisualMapContext](#visualmapcontext),[GridCoordContext](#gridcoordcontext),[ParallelCoordContext](#parallelcoordcontext),[PolarCoordContext](#polarcoordcontext)
## MainComponentHandler ## MainComponentHandler
全名: XCharts.Runtime.MainComponentHandler
子类: [AxisHandler<T>](#axishandlert),[MainComponentHandler<T>](#maincomponenthandlert)
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|CheckComponent()||public virtual void CheckComponent(StringBuilder sb) { }| |CheckComponent()||public virtual void CheckComponent(StringBuilder sb) { }|
@@ -724,10 +833,13 @@ Inherits or Implemented: [ListFor](#listfor)
## MainComponentHandler&lt;T&gt; ## MainComponentHandler&lt;T&gt;
Inherits or Implemented: [MainComponentHandler](#maincomponenthandler) 全名: XCharts.Runtime.MainComponentHandler<T>
继承: [MainComponentHandler](#maincomponenthandler)
## MathUtil ## MathUtil
全名: XCharts.Runtime.MathUtil
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|Abs()||public static double Abs(double d)| |Abs()||public static double Abs(double d)|
@@ -740,7 +852,8 @@ Inherits or Implemented: [MainComponentHandler](#maincomponenthandler)
## ObjectPool&lt;T&gt; where T ## ObjectPool&lt;T&gt; where T
Inherits or Implemented: [new()](#new()) 全名: XCharts.Runtime.ObjectPool<T> where T
继承: [new()](#new())
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
@@ -752,7 +865,8 @@ Inherits or Implemented: [new()](#new())
## Painter ## Painter
Inherits or Implemented: [MaskableGraphic](#maskablegraphic) 全名: XCharts.Runtime.Painter
继承: [MaskableGraphic](https://docs.unity3d.com/ScriptReference/30_search.html?q=MaskableGraphic)
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
@@ -764,26 +878,33 @@ Inherits or Implemented: [MaskableGraphic](#maskablegraphic)
## ParallelChart ## ParallelChart
Inherits or Implemented: [BaseChart](#basechart) 全名: XCharts.Runtime.ParallelChart
继承: [BaseChart](#basechart)
## ParallelCoordContext ## ParallelCoordContext
Inherits or Implemented: [MainComponentContext](#maincomponentcontext) 全名: XCharts.Runtime.ParallelCoordContext
继承: [MainComponentContext](#maincomponentcontext)
## PieChart ## PieChart
Inherits or Implemented: [BaseChart](#basechart) 全名: XCharts.Runtime.PieChart
继承: [BaseChart](#basechart)
## PolarChart ## PolarChart
Inherits or Implemented: [BaseChart](#basechart) 全名: XCharts.Runtime.PolarChart
继承: [BaseChart](#basechart)
## PolarCoordContext ## PolarCoordContext
Inherits or Implemented: [MainComponentContext](#maincomponentcontext) 全名: XCharts.Runtime.PolarCoordContext
继承: [MainComponentContext](#maincomponentcontext)
## PropertyUtil ## PropertyUtil
全名: XCharts.Runtime.PropertyUtil
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|SetClass&lt;T&gt;()||public static bool SetClass&lt;T&gt;(ref T currentValue, T newValue, bool notNull = false) where T : class| |SetClass&lt;T&gt;()||public static bool SetClass&lt;T&gt;(ref T currentValue, T newValue, bool notNull = false) where T : class|
@@ -793,14 +914,18 @@ Inherits or Implemented: [MainComponentContext](#maincomponentcontext)
## RadarChart ## RadarChart
Inherits or Implemented: [BaseChart](#basechart) 全名: XCharts.Runtime.RadarChart
继承: [BaseChart](#basechart)
## RadarCoordContext ## RadarCoordContext
Inherits or Implemented: [MainComponentContext](#maincomponentcontext) 全名: XCharts.Runtime.RadarCoordContext
继承: [MainComponentContext](#maincomponentcontext)
## ReflectionUtil ## ReflectionUtil
全名: XCharts.Runtime.ReflectionUtil
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|DeepCloneSerializeField()||public static object DeepCloneSerializeField(object obj)| |DeepCloneSerializeField()||public static object DeepCloneSerializeField(object obj)|
@@ -812,7 +937,8 @@ Inherits or Implemented: [MainComponentContext](#maincomponentcontext)
## RequireChartComponentAttribute ## RequireChartComponentAttribute
Inherits or Implemented: [Attribute](#attribute) 全名: XCharts.Runtime.RequireChartComponentAttribute
继承: [Attribute](https://docs.unity3d.com/ScriptReference/30_search.html?q=Attribute)
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
@@ -822,10 +948,13 @@ Inherits or Implemented: [Attribute](#attribute)
## RingChart ## RingChart
Inherits or Implemented: [BaseChart](#basechart) 全名: XCharts.Runtime.RingChart
继承: [BaseChart](#basechart)
## RuntimeUtil ## RuntimeUtil
全名: XCharts.Runtime.RuntimeUtil
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|GetAllAssemblyTypes()||public static IEnumerable&lt;Type&gt; GetAllAssemblyTypes()| |GetAllAssemblyTypes()||public static IEnumerable&lt;Type&gt; GetAllAssemblyTypes()|
@@ -837,11 +966,18 @@ Inherits or Implemented: [BaseChart](#basechart)
## ScatterChart ## ScatterChart
Inherits or Implemented: [BaseChart](#basechart) 全名: XCharts.Runtime.ScatterChart
继承: [BaseChart](#basechart)
## ScriptableObject
全名: .ScriptableObject
子类: [Lang](#lang),[XCSettings](#xcsettings),[Theme](#theme)
## SerieComponentAttribute ## SerieComponentAttribute
Inherits or Implemented: [Attribute](#attribute) 全名: XCharts.Runtime.SerieComponentAttribute
继承: [Attribute](https://docs.unity3d.com/ScriptReference/30_search.html?q=Attribute)
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
@@ -858,9 +994,12 @@ Inherits or Implemented: [Attribute](#attribute)
## SerieContext ## SerieContext
全名: XCharts.Runtime.SerieContext
## SerieConvertAttribute ## SerieConvertAttribute
Inherits or Implemented: [Attribute](#attribute) 全名: XCharts.Runtime.SerieConvertAttribute
继承: [Attribute](https://docs.unity3d.com/ScriptReference/30_search.html?q=Attribute)
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
@@ -873,7 +1012,8 @@ Inherits or Implemented: [Attribute](#attribute)
## SerieDataComponentAttribute ## SerieDataComponentAttribute
Inherits or Implemented: [Attribute](#attribute) 全名: XCharts.Runtime.SerieDataComponentAttribute
继承: [Attribute](https://docs.unity3d.com/ScriptReference/30_search.html?q=Attribute)
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
@@ -890,13 +1030,16 @@ Inherits or Implemented: [Attribute](#attribute)
## SerieDataContext ## SerieDataContext
全名: XCharts.Runtime.SerieDataContext
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|Reset()||public void Reset()| |Reset()||public void Reset()|
## SerieDataExtraFieldAttribute ## SerieDataExtraFieldAttribute
Inherits or Implemented: [Attribute](#attribute) 全名: XCharts.Runtime.SerieDataExtraFieldAttribute
继承: [Attribute](https://docs.unity3d.com/ScriptReference/30_search.html?q=Attribute)
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
@@ -912,12 +1055,16 @@ Inherits or Implemented: [Attribute](#attribute)
## SerieEventData ## SerieEventData
全名: XCharts.Runtime.SerieEventData
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|Reset()||public void Reset()| |Reset()||public void Reset()|
## SerieEventDataPool ## SerieEventDataPool
全名: XCharts.Runtime.SerieEventDataPool
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|Get()||public static SerieEventData Get(Vector3 pos, int serieIndex, int dataIndex, int dimension, double value)| |Get()||public static SerieEventData Get(Vector3 pos, int serieIndex, int dataIndex, int dimension, double value)|
@@ -925,6 +1072,8 @@ Inherits or Implemented: [Attribute](#attribute)
## SerieHandler ## SerieHandler
全名: XCharts.Runtime.SerieHandler
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|CheckComponent()||public virtual void CheckComponent(StringBuilder sb) { }| |CheckComponent()||public virtual void CheckComponent(StringBuilder sb) { }|
@@ -951,9 +1100,15 @@ Inherits or Implemented: [Attribute](#attribute)
|Update()||public virtual void Update() { }| |Update()||public virtual void Update() { }|
|UpdateSerieContext()||public virtual void UpdateSerieContext() { }| |UpdateSerieContext()||public virtual void UpdateSerieContext() { }|
## SerieHandler where T
全名: .SerieHandler where T
子类: [SerieHandler<T>](#seriehandlert)
## SerieHandler&lt;T&gt; ## SerieHandler&lt;T&gt;
Inherits or Implemented: [SerieHandler where T](#seriehandler where t),[Serie](#serie) 全名: XCharts.Runtime.SerieHandler<T>
继承: [SerieHandler where T](#seriehandler where t),[Serie](#serie)
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
@@ -978,7 +1133,8 @@ Inherits or Implemented: [SerieHandler where T](#seriehandler where t),[Serie](#
## SerieHandlerAttribute ## SerieHandlerAttribute
Inherits or Implemented: [Attribute](#attribute) 全名: XCharts.Runtime.SerieHandlerAttribute
继承: [Attribute](https://docs.unity3d.com/ScriptReference/30_search.html?q=Attribute)
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
@@ -987,6 +1143,8 @@ Inherits or Implemented: [Attribute](#attribute)
## SerieHelper ## SerieHelper
全名: XCharts.Runtime.SerieHelper
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|CloneSerie&lt;T&gt;()||public static T CloneSerie&lt;T&gt;(Serie serie) where T : Serie| |CloneSerie&lt;T&gt;()||public static T CloneSerie&lt;T&gt;(Serie serie) where T : Serie|
@@ -1029,6 +1187,8 @@ Inherits or Implemented: [Attribute](#attribute)
## SerieLabelHelper ## SerieLabelHelper
全名: XCharts.Runtime.SerieLabelHelper
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|AvoidLabelOverlap()||public static void AvoidLabelOverlap(Serie serie, ComponentTheme theme)| |AvoidLabelOverlap()||public static void AvoidLabelOverlap(Serie serie, ComponentTheme theme)|
@@ -1040,6 +1200,8 @@ Inherits or Implemented: [Attribute](#attribute)
## SerieLabelPool ## SerieLabelPool
全名: XCharts.Runtime.SerieLabelPool
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|ClearAll()||public static void ClearAll()| |ClearAll()||public static void ClearAll()|
@@ -1048,8 +1210,12 @@ Inherits or Implemented: [Attribute](#attribute)
## SerieParams ## SerieParams
全名: XCharts.Runtime.SerieParams
## SeriesHelper ## SeriesHelper
全名: XCharts.Runtime.SeriesHelper
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|GetLastStackSerie()||public static Serie GetLastStackSerie(List&lt;Serie&gt; series, Serie serie)<br/>获得上一个同堆叠且显示的serie。 | |GetLastStackSerie()||public static Serie GetLastStackSerie(List&lt;Serie&gt; series, Serie serie)<br/>获得上一个同堆叠且显示的serie。 |
@@ -1068,19 +1234,23 @@ Inherits or Implemented: [Attribute](#attribute)
## SimplifiedBarChart ## SimplifiedBarChart
Inherits or Implemented: [BaseChart](#basechart) 全名: XCharts.Runtime.SimplifiedBarChart
继承: [BaseChart](#basechart)
## SimplifiedCandlestickChart ## SimplifiedCandlestickChart
Inherits or Implemented: [BaseChart](#basechart) 全名: XCharts.Runtime.SimplifiedCandlestickChart
继承: [BaseChart](#basechart)
## SimplifiedLineChart ## SimplifiedLineChart
Inherits or Implemented: [BaseChart](#basechart) 全名: XCharts.Runtime.SimplifiedLineChart
继承: [BaseChart](#basechart)
## Since ## Since
Inherits or Implemented: [Attribute](#attribute) 全名: XCharts.Runtime.Since
继承: [Attribute](https://docs.unity3d.com/ScriptReference/30_search.html?q=Attribute)
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
@@ -1088,6 +1258,8 @@ Inherits or Implemented: [Attribute](#attribute)
## SVG ## SVG
全名: XUGL.SVG
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|DrawPath()||public static void DrawPath(VertexHelper vh, string path)| |DrawPath()||public static void DrawPath(VertexHelper vh, string path)|
@@ -1096,10 +1268,13 @@ Inherits or Implemented: [Attribute](#attribute)
## SVGImage ## SVGImage
Inherits or Implemented: [MaskableGraphic](#maskablegraphic) 全名: XCharts.Runtime.SVGImage
继承: [MaskableGraphic](https://docs.unity3d.com/ScriptReference/30_search.html?q=MaskableGraphic)
## SVGPath ## SVGPath
全名: XUGL.SVGPath
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|AddSegment()||public void AddSegment(SVGPathSeg seg)| |AddSegment()||public void AddSegment(SVGPathSeg seg)|
@@ -1108,16 +1283,24 @@ Inherits or Implemented: [MaskableGraphic](#maskablegraphic)
## SVGPathSeg ## SVGPathSeg
全名: XUGL.SVGPathSeg
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|SVGPathSeg()||public SVGPathSeg(SVGPathSegType type)| |SVGPathSeg()||public SVGPathSeg(SVGPathSegType type)|
## TooltipContext ## TooltipContext
全名: XCharts.Runtime.TooltipContext
## TooltipData ## TooltipData
全名: XCharts.Runtime.TooltipData
## TooltipHelper ## TooltipHelper
全名: XCharts.Runtime.TooltipHelper
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|GetItemNumericFormatter()||public static string GetItemNumericFormatter(Tooltip tooltip, Serie serie, SerieData serieData)| |GetItemNumericFormatter()||public static string GetItemNumericFormatter(Tooltip tooltip, Serie serie, SerieData serieData)|
@@ -1127,6 +1310,8 @@ Inherits or Implemented: [MaskableGraphic](#maskablegraphic)
## TooltipView ## TooltipView
全名: XCharts.Runtime.TooltipView
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|CreateView()||public static TooltipView CreateView(Tooltip tooltip, ThemeStyle theme, Transform parent)| |CreateView()||public static TooltipView CreateView(Tooltip tooltip, ThemeStyle theme, Transform parent)|
@@ -1139,8 +1324,12 @@ Inherits or Implemented: [MaskableGraphic](#maskablegraphic)
## TooltipViewItem ## TooltipViewItem
全名: XCharts.Runtime.TooltipViewItem
## UGL ## UGL
全名: XUGL.UGL
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|DrawDiamond()||public static void DrawDiamond(VertexHelper vh, Vector3 center, float size, Color32 color)<br/>Draw a diamond. 画菱形(钻石形状) | |DrawDiamond()||public static void DrawDiamond(VertexHelper vh, Vector3 center, float size, Color32 color)<br/>Draw a diamond. 画菱形(钻石形状) |
@@ -1162,10 +1351,13 @@ Inherits or Implemented: [MaskableGraphic](#maskablegraphic)
## UGLExample ## UGLExample
Inherits or Implemented: [MaskableGraphic](#maskablegraphic) 全名: XUGL.UGLExample
继承: [MaskableGraphic](https://docs.unity3d.com/ScriptReference/30_search.html?q=MaskableGraphic)
## UGLHelper ## UGLHelper
全名: XUGL.UGLHelper
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|GetAngle360()||public static float GetAngle360(Vector2 from, Vector2 to)<br/>获得0-360的角度12点钟方向为0度 | |GetAngle360()||public static float GetAngle360(Vector2 from, Vector2 to)<br/>获得0-360的角度12点钟方向为0度 |
@@ -1194,7 +1386,8 @@ Inherits or Implemented: [MaskableGraphic](#maskablegraphic)
## UIComponent ## UIComponent
Inherits or Implemented: [BaseGraph](#basegraph) 全名: XCharts.Runtime.UIComponent
继承: [BaseGraph](#basegraph)
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
@@ -1202,16 +1395,21 @@ Inherits or Implemented: [BaseGraph](#basegraph)
## UIHelper ## UIHelper
全名: XCharts.Runtime.UIHelper
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|GetBackgroundColor()||public static Color32 GetBackgroundColor(UIComponent component)| |GetBackgroundColor()||public static Color32 GetBackgroundColor(UIComponent component)|
## VisualMapContext ## VisualMapContext
Inherits or Implemented: [MainComponentContext](#maincomponentcontext) 全名: XCharts.Runtime.VisualMapContext
继承: [MainComponentContext](#maincomponentcontext)
## VisualMapHelper ## VisualMapHelper
全名: XCharts.Runtime.VisualMapHelper
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|AutoSetLineMinMax()||public static void AutoSetLineMinMax(VisualMap visualMap, Serie serie, bool isY, Axis axis, Axis relativedAxis)| |AutoSetLineMinMax()||public static void AutoSetLineMinMax(VisualMap visualMap, Serie serie, bool isY, Axis axis, Axis relativedAxis)|
@@ -1223,6 +1421,8 @@ Inherits or Implemented: [MainComponentContext](#maincomponentcontext)
## XChartsMgr ## XChartsMgr
全名: XCharts.Runtime.XChartsMgr
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|AddChart()||public static void AddChart(BaseChart chart)| |AddChart()||public static void AddChart(BaseChart chart)|
@@ -1238,7 +1438,8 @@ Inherits or Implemented: [MainComponentContext](#maincomponentcontext)
## XCResourceImporterWindow ## XCResourceImporterWindow
Inherits or Implemented: [UnityEditor.EditorWindow](#unityeditor.editorwindow) 全名: XCharts.Runtime.XCResourceImporterWindow
继承: [UnityEditor.EditorWindow](https://docs.unity3d.com/ScriptReference/30_search.html?q=UnityEditor.EditorWindow)
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
@@ -1246,6 +1447,8 @@ Inherits or Implemented: [UnityEditor.EditorWindow](#unityeditor.editorwindow)
## XCThemeMgr ## XCThemeMgr
全名: XCharts.Runtime.XCThemeMgr
|public method|since|description| |public method|since|description|
|--|--|--| |--|--|--|
|AddTheme()||public static void AddTheme(Theme theme)| |AddTheme()||public static void AddTheme(Theme theme)|

File diff suppressed because it is too large Load Diff

View File

@@ -6,7 +6,7 @@ namespace XCharts.Runtime
{ {
/// <summary> /// <summary>
/// Whether to show as Nightingale chart, which distinguishs data through radius. /// Whether to show as Nightingale chart, which distinguishs data through radius.
/// 是否展示成南丁格尔图,通过半径区分数据大小。 /// |是否展示成南丁格尔图,通过半径区分数据大小。
/// </summary> /// </summary>
public enum RoseType public enum RoseType
{ {
@@ -61,7 +61,8 @@ namespace XCharts.Runtime
} }
/// <summary> /// <summary>
/// the type of bar. |柱状图类型。 /// the type of bar.
/// |柱状图类型。
/// </summary> /// </summary>
public enum BarType public enum BarType
{ {
@@ -83,7 +84,8 @@ namespace XCharts.Runtime
} }
/// <summary> /// <summary>
/// the type of radar. |雷达图类型。 /// the type of radar.
/// |雷达图类型。
/// </summary> /// </summary>
public enum RadarType public enum RadarType
{ {
@@ -100,7 +102,8 @@ namespace XCharts.Runtime
} }
/// <summary> /// <summary>
/// 采样类型 /// sample type of line chart.
/// |采样类型,一般用于折线图。
/// </summary> /// </summary>
public enum SampleType public enum SampleType
{ {
@@ -133,26 +136,31 @@ namespace XCharts.Runtime
} }
/// <summary> /// <summary>
/// 数据排序方式 /// the sort type of serie data.
/// |数据排序方式。
/// </summary> /// </summary>
public enum SerieDataSortType public enum SerieDataSortType
{ {
/// <summary> /// <summary>
/// data 的顺序 /// In the order of data.
/// |按数据的顺序。
/// </summary> /// </summary>
None, None,
/// <summary> /// <summary>
/// 升序 /// Sort data in ascending order.
/// |升序。
/// </summary> /// </summary>
Ascending, Ascending,
/// <summary> /// <summary>
/// 降序 /// Sort data in descending order.
/// |降序。
/// </summary> /// </summary>
Descending, Descending,
} }
/// <summary> /// <summary>
/// 对齐方式 /// Alignment mode.
/// |对齐方式。文本,图标,图形等的对齐方式。
/// </summary> /// </summary>
public enum Align public enum Align
{ {
@@ -202,23 +210,23 @@ namespace XCharts.Runtime
{ {
/// <summary> /// <summary>
/// Select state. /// Select state.
/// |默认策略。每种Serie都有自己的默认的取颜色策略。比如Line默认是Series策略Pie默认是Data策略 /// |默认策略。每种Serie都有自己的默认的取颜色策略。比如Line默认是Series策略Pie默认是Data策略
/// </summary> /// </summary>
Default, Default,
/// <summary> /// <summary>
/// assigns the colors in the palette by serie, so that all data in the same series are in the same color;. /// assigns the colors in the palette by serie, so that all data in the same series are in the same color.
/// |按照系列分配调色盘中的颜色,同一系列中的所有数据都是用相同的颜色。 /// |按照系列分配调色盘中的颜色,同一系列中的所有数据都是用相同的颜色。
/// </summary> /// </summary>
Serie, Serie,
/// <summary> /// <summary>
/// assigns colors in the palette according to data items, with each data item using a different color.. /// assigns colors in the palette according to data items, with each data item using a different color.
/// |按照数据项分配调色盘中的颜色,每个数据项都使用不同的颜色。 /// |按照数据项分配调色盘中的颜色,每个数据项都使用不同的颜色。
/// </summary> /// </summary>
Data Data
} }
/// <summary> /// <summary>
/// 系列。 /// 系列。系列一般由数据和配置组成,用来表示具体的图表图形,如折线图的一条折线,柱图的一组柱子等。一个图表中可以包含多个不同类型的系列。
/// </summary> /// </summary>
[System.Serializable] [System.Serializable]
public partial class Serie : BaseSerie, IComparable public partial class Serie : BaseSerie, IComparable