更新文档

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)
- [HeatmapChart](#heatmapchart)
- [IgnoreDoc](#ignoredoc)
- [INeedSerieContainer](#ineedseriecontainer)
- [InputHelper](#inputhelper)
- [InteractData](#interactdata)
- [IPropertyChanged](#ipropertychanged)
- [ISerieComponent](#iseriecomponent)
- [ISerieContainer](#iseriecontainer)
- [ISerieDataComponent](#iseriedatacomponent)
- [ISimplifiedSerie](#isimplifiedserie)
- [IUpdateRuntimeData](#iupdateruntimedata)
- [LayerHelper](#layerhelper)
- [LegendContext](#legendcontext)
- [LegendHelper](#legendhelper)
@@ -63,6 +70,7 @@ slug: /api
- [RingChart](#ringchart)
- [RuntimeUtil](#runtimeutil)
- [ScatterChart](#scatterchart)
- [ScriptableObject](#scriptableobject)
- [SerieComponentAttribute](#seriecomponentattribute)
- [SerieContext](#seriecontext)
- [SerieConvertAttribute](#serieconvertattribute)
@@ -106,6 +114,8 @@ slug: /api
## AnimationStyleHelper
Fullname: XCharts.Runtime.AnimationStyleHelper
|public method|since|description|
|--|--|--|
|CheckDataAnimation()||public static float CheckDataAnimation(BaseChart chart, Serie serie, int dataIndex, float destProgress, float startPorgress = 0)|
@@ -115,14 +125,18 @@ slug: /api
## AxisContext
Fullname: XCharts.Runtime.AxisContext
Inherits or Implemented: [MainComponentContext](#maincomponentcontext)
## AxisHandler<T>
Fullname: XCharts.AxisHandler<T>
Inherits or Implemented: [MainComponentHandler](#maincomponenthandler)
## AxisHelper
Fullname: XCharts.Runtime.AxisHelper
|public method|since|description|
|--|--|--|
|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
Fullname: XCharts.Runtime.BarChart
Inherits or Implemented: [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|
|--|--|--|
@@ -344,7 +361,9 @@ Inherits or Implemented: [BaseGraph](#basegraph),[ISerializationCallbackReceiver
## 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|
|--|--|--|
@@ -379,10 +398,13 @@ Inherits or Implemented: [MaskableGraphic](#maskablegraphic),[IPointerDownHandle
## CandlestickChart
Fullname: XCharts.Runtime.CandlestickChart
Inherits or Implemented: [BaseChart](#basechart)
## ChartCached
Fullname: XCharts.Runtime.ChartCached
|public method|since|description|
|--|--|--|
|ColorToDotStr()||public static string ColorToDotStr(Color color)|
@@ -394,10 +416,16 @@ Inherits or Implemented: [BaseChart](#basechart)
## ChartConst
Fullname: XCharts.Runtime.ChartConst
## ChartDrawer
Fullname: XCharts.Runtime.ChartDrawer
## ChartHelper
Fullname: XCharts.Runtime.ChartHelper
|public method|since|description|
|--|--|--|
|ActiveAllObject()||public static void ActiveAllObject(Transform parent, bool active, string match = null)|
@@ -465,7 +493,8 @@ Inherits or Implemented: [BaseChart](#basechart)
## 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|
|--|--|--|
@@ -494,12 +523,16 @@ Inherits or Implemented: [Image](#image)
## ChartObject
Fullname: XCharts.Runtime.ChartObject
|public method|since|description|
|--|--|--|
|Destroy()||public virtual void Destroy()|
## CheckHelper
Fullname: XCharts.Runtime.CheckHelper
|public method|since|description|
|--|--|--|
|CheckChart()||public static string CheckChart(BaseChart chart)|
@@ -507,13 +540,16 @@ Inherits or Implemented: [Image](#image)
## ColorUtil
Fullname: XCharts.Runtime.ColorUtil
|public method|since|description|
|--|--|--|
|GetColor()||public static Color32 GetColor(string hexColorStr)<br/>Convert the html string to color. |
## 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|
|--|--|--|
@@ -522,6 +558,8 @@ Inherits or Implemented: [Attribute](#attribute)
## ComponentHelper
Fullname: XCharts.Runtime.ComponentHelper
|public method|since|description|
|--|--|--|
|GetAngleAxis()||public static AngleAxis GetAngleAxis(List&lt;MainComponent&gt; components, int polarIndex)|
@@ -532,7 +570,8 @@ Inherits or Implemented: [Attribute](#attribute)
## 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|
|--|--|--|
@@ -544,10 +583,13 @@ Inherits or Implemented: [Attribute](#attribute)
## DataZoomContext
Fullname: XCharts.Runtime.DataZoomContext
Inherits or Implemented: [MainComponentContext](#maincomponentcontext)
## DataZoomHelper
Fullname: XCharts.Runtime.DataZoomHelper
|public method|since|description|
|--|--|--|
|UpdateDataZoomRuntimeStartEndValue()||public static void UpdateDataZoomRuntimeStartEndValue(DataZoom dataZoom, Serie serie)|
@@ -555,6 +597,8 @@ Inherits or Implemented: [MainComponentContext](#maincomponentcontext)
## DateTimeUtil
Fullname: XCharts.Runtime.DateTimeUtil
|public method|since|description|
|--|--|--|
|GetDateTime()||public static DateTime GetDateTime(int timestamp)|
@@ -563,7 +607,8 @@ Inherits or Implemented: [MainComponentContext](#maincomponentcontext)
## 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|
|--|--|--|
@@ -571,6 +616,8 @@ Inherits or Implemented: [Attribute](#attribute)
## DefineSymbolsUtil
Fullname: XCharts.Runtime.DefineSymbolsUtil
|public method|since|description|
|--|--|--|
|AddGlobalDefine()||public static void AddGlobalDefine(string symbol)|
@@ -578,6 +625,8 @@ Inherits or Implemented: [Attribute](#attribute)
## FormatterHelper
Fullname: XCharts.Runtime.FormatterHelper
|public method|since|description|
|--|--|--|
|NeedFormat()||public static bool NeedFormat(string content)|
@@ -588,22 +637,32 @@ Inherits or Implemented: [Attribute](#attribute)
## GridCoordContext
Fullname: XCharts.Runtime.GridCoordContext
Inherits or Implemented: [MainComponentContext](#maincomponentcontext)
## HeatmapChart
Fullname: XCharts.Runtime.HeatmapChart
Inherits or Implemented: [BaseChart](#basechart)
## 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|
|--|--|--|
|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
Fullname: XCharts.Runtime.InputHelper
|public method|since|description|
|--|--|--|
|GetKeyDown()||public static bool GetKeyDown(KeyCode keyCode)|
@@ -611,6 +670,8 @@ Inherits or Implemented: [Attribute](#attribute)
## InteractData
Fullname: XCharts.Runtime.InteractData
|public method|since|description|
|--|--|--|
|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)|
|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
Fullname: XCharts.Runtime.LayerHelper
|public method|since|description|
|--|--|--|
|IsFixedWidthHeight()||public static bool IsFixedWidthHeight(RectTransform rt)|
@@ -634,10 +727,13 @@ Inherits or Implemented: [Attribute](#attribute)
## LegendContext
Fullname: XCharts.Runtime.LegendContext
Inherits or Implemented: [MainComponentContext](#maincomponentcontext)
## LegendHelper
Fullname: XCharts.Runtime.LegendHelper
|public method|since|description|
|--|--|--|
|CheckDataHighlighted()||public static bool CheckDataHighlighted(Serie serie, string legendName, bool heighlight)|
@@ -649,6 +745,8 @@ Inherits or Implemented: [MainComponentContext](#maincomponentcontext)
## LegendItem
Fullname: XCharts.Runtime.LegendItem
|public method|since|description|
|--|--|--|
|GetIconColor()||public Color GetIconColor()|
@@ -672,11 +770,14 @@ Inherits or Implemented: [MainComponentContext](#maincomponentcontext)
## LineChart
Fullname: XCharts.Runtime.LineChart
Inherits or Implemented: [BaseChart](#basechart)
## 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|
|--|--|--|
@@ -684,6 +785,7 @@ Inherits or Implemented: [Attribute](#attribute)
## ListForComponent
Fullname: XCharts.Runtime.ListForComponent
Inherits or Implemented: [ListFor](#listfor)
|public method|since|description|
@@ -692,6 +794,7 @@ Inherits or Implemented: [ListFor](#listfor)
## ListForSerie
Fullname: XCharts.Runtime.ListForSerie
Inherits or Implemented: [ListFor](#listfor)
|public method|since|description|
@@ -700,8 +803,14 @@ Inherits or Implemented: [ListFor](#listfor)
## MainComponentContext
Fullname: XCharts.Runtime.MainComponentContext
Subclasses: [AxisContext](#axiscontext),[DataZoomContext](#datazoomcontext),[LegendContext](#legendcontext),[RadarCoordContext](#radarcoordcontext),[VisualMapContext](#visualmapcontext),[GridCoordContext](#gridcoordcontext),[ParallelCoordContext](#parallelcoordcontext),[PolarCoordContext](#polarcoordcontext)
## MainComponentHandler
Fullname: XCharts.Runtime.MainComponentHandler
Subclasses: [AxisHandler<T>](#axishandlert),[MainComponentHandler<T>](#maincomponenthandlert)
|public method|since|description|
|--|--|--|
|CheckComponent()||public virtual void CheckComponent(StringBuilder sb) { }|
@@ -724,10 +833,13 @@ Inherits or Implemented: [ListFor](#listfor)
## MainComponentHandler&lt;T&gt;
Fullname: XCharts.Runtime.MainComponentHandler<T>
Inherits or Implemented: [MainComponentHandler](#maincomponenthandler)
## MathUtil
Fullname: XCharts.Runtime.MathUtil
|public method|since|description|
|--|--|--|
|Abs()||public static double Abs(double d)|
@@ -740,6 +852,7 @@ Inherits or Implemented: [MainComponentHandler](#maincomponenthandler)
## ObjectPool&lt;T&gt; where T
Fullname: XCharts.Runtime.ObjectPool<T> where T
Inherits or Implemented: [new()](#new())
|public method|since|description|
@@ -752,7 +865,8 @@ Inherits or Implemented: [new()](#new())
## 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|
|--|--|--|
@@ -764,26 +878,33 @@ Inherits or Implemented: [MaskableGraphic](#maskablegraphic)
## ParallelChart
Fullname: XCharts.Runtime.ParallelChart
Inherits or Implemented: [BaseChart](#basechart)
## ParallelCoordContext
Fullname: XCharts.Runtime.ParallelCoordContext
Inherits or Implemented: [MainComponentContext](#maincomponentcontext)
## PieChart
Fullname: XCharts.Runtime.PieChart
Inherits or Implemented: [BaseChart](#basechart)
## PolarChart
Fullname: XCharts.Runtime.PolarChart
Inherits or Implemented: [BaseChart](#basechart)
## PolarCoordContext
Fullname: XCharts.Runtime.PolarCoordContext
Inherits or Implemented: [MainComponentContext](#maincomponentcontext)
## PropertyUtil
Fullname: XCharts.Runtime.PropertyUtil
|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|
@@ -793,14 +914,18 @@ Inherits or Implemented: [MainComponentContext](#maincomponentcontext)
## RadarChart
Fullname: XCharts.Runtime.RadarChart
Inherits or Implemented: [BaseChart](#basechart)
## RadarCoordContext
Fullname: XCharts.Runtime.RadarCoordContext
Inherits or Implemented: [MainComponentContext](#maincomponentcontext)
## ReflectionUtil
Fullname: XCharts.Runtime.ReflectionUtil
|public method|since|description|
|--|--|--|
|DeepCloneSerializeField()||public static object DeepCloneSerializeField(object obj)|
@@ -812,7 +937,8 @@ Inherits or Implemented: [MainComponentContext](#maincomponentcontext)
## 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|
|--|--|--|
@@ -822,10 +948,13 @@ Inherits or Implemented: [Attribute](#attribute)
## RingChart
Fullname: XCharts.Runtime.RingChart
Inherits or Implemented: [BaseChart](#basechart)
## RuntimeUtil
Fullname: XCharts.Runtime.RuntimeUtil
|public method|since|description|
|--|--|--|
|GetAllAssemblyTypes()||public static IEnumerable&lt;Type&gt; GetAllAssemblyTypes()|
@@ -837,11 +966,18 @@ Inherits or Implemented: [BaseChart](#basechart)
## ScatterChart
Fullname: XCharts.Runtime.ScatterChart
Inherits or Implemented: [BaseChart](#basechart)
## ScriptableObject
Fullname: .ScriptableObject
Subclasses: [Lang](#lang),[XCSettings](#xcsettings),[Theme](#theme)
## 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|
|--|--|--|
@@ -858,9 +994,12 @@ Inherits or Implemented: [Attribute](#attribute)
## SerieContext
Fullname: XCharts.Runtime.SerieContext
## 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|
|--|--|--|
@@ -873,7 +1012,8 @@ Inherits or Implemented: [Attribute](#attribute)
## 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|
|--|--|--|
@@ -890,13 +1030,16 @@ Inherits or Implemented: [Attribute](#attribute)
## SerieDataContext
Fullname: XCharts.Runtime.SerieDataContext
|public method|since|description|
|--|--|--|
|Reset()||public void Reset()|
## 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|
|--|--|--|
@@ -912,12 +1055,16 @@ Inherits or Implemented: [Attribute](#attribute)
## SerieEventData
Fullname: XCharts.Runtime.SerieEventData
|public method|since|description|
|--|--|--|
|Reset()||public void Reset()|
## SerieEventDataPool
Fullname: XCharts.Runtime.SerieEventDataPool
|public method|since|description|
|--|--|--|
|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
Fullname: XCharts.Runtime.SerieHandler
|public method|since|description|
|--|--|--|
|CheckComponent()||public virtual void CheckComponent(StringBuilder sb) { }|
@@ -951,8 +1100,14 @@ Inherits or Implemented: [Attribute](#attribute)
|Update()||public virtual void Update() { }|
|UpdateSerieContext()||public virtual void UpdateSerieContext() { }|
## SerieHandler where T
Fullname: .SerieHandler where T
Subclasses: [SerieHandler<T>](#seriehandlert)
## SerieHandler&lt;T&gt;
Fullname: XCharts.Runtime.SerieHandler<T>
Inherits or Implemented: [SerieHandler where T](#seriehandler where t),[Serie](#serie)
|public method|since|description|
@@ -978,7 +1133,8 @@ Inherits or Implemented: [SerieHandler where T](#seriehandler where t),[Serie](#
## 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|
|--|--|--|
@@ -987,6 +1143,8 @@ Inherits or Implemented: [Attribute](#attribute)
## SerieHelper
Fullname: XCharts.Runtime.SerieHelper
|public method|since|description|
|--|--|--|
|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
Fullname: XCharts.Runtime.SerieLabelHelper
|public method|since|description|
|--|--|--|
|AvoidLabelOverlap()||public static void AvoidLabelOverlap(Serie serie, ComponentTheme theme)|
@@ -1040,6 +1200,8 @@ Inherits or Implemented: [Attribute](#attribute)
## SerieLabelPool
Fullname: XCharts.Runtime.SerieLabelPool
|public method|since|description|
|--|--|--|
|ClearAll()||public static void ClearAll()|
@@ -1048,8 +1210,12 @@ Inherits or Implemented: [Attribute](#attribute)
## SerieParams
Fullname: XCharts.Runtime.SerieParams
## SeriesHelper
Fullname: XCharts.Runtime.SeriesHelper
|public method|since|description|
|--|--|--|
|GetLastStackSerie()||public static Serie GetLastStackSerie(List&lt;Serie&gt; series, Serie serie)<br/>获得上一个同堆叠且显示的serie。 |
@@ -1068,19 +1234,23 @@ Inherits or Implemented: [Attribute](#attribute)
## SimplifiedBarChart
Fullname: XCharts.Runtime.SimplifiedBarChart
Inherits or Implemented: [BaseChart](#basechart)
## SimplifiedCandlestickChart
Fullname: XCharts.Runtime.SimplifiedCandlestickChart
Inherits or Implemented: [BaseChart](#basechart)
## SimplifiedLineChart
Fullname: XCharts.Runtime.SimplifiedLineChart
Inherits or Implemented: [BaseChart](#basechart)
## 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|
|--|--|--|
@@ -1088,6 +1258,8 @@ Inherits or Implemented: [Attribute](#attribute)
## SVG
Fullname: XUGL.SVG
|public method|since|description|
|--|--|--|
|DrawPath()||public static void DrawPath(VertexHelper vh, string path)|
@@ -1096,10 +1268,13 @@ Inherits or Implemented: [Attribute](#attribute)
## 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
Fullname: XUGL.SVGPath
|public method|since|description|
|--|--|--|
|AddSegment()||public void AddSegment(SVGPathSeg seg)|
@@ -1108,16 +1283,24 @@ Inherits or Implemented: [MaskableGraphic](#maskablegraphic)
## SVGPathSeg
Fullname: XUGL.SVGPathSeg
|public method|since|description|
|--|--|--|
|SVGPathSeg()||public SVGPathSeg(SVGPathSegType type)|
## TooltipContext
Fullname: XCharts.Runtime.TooltipContext
## TooltipData
Fullname: XCharts.Runtime.TooltipData
## TooltipHelper
Fullname: XCharts.Runtime.TooltipHelper
|public method|since|description|
|--|--|--|
|GetItemNumericFormatter()||public static string GetItemNumericFormatter(Tooltip tooltip, Serie serie, SerieData serieData)|
@@ -1127,6 +1310,8 @@ Inherits or Implemented: [MaskableGraphic](#maskablegraphic)
## TooltipView
Fullname: XCharts.Runtime.TooltipView
|public method|since|description|
|--|--|--|
|CreateView()||public static TooltipView CreateView(Tooltip tooltip, ThemeStyle theme, Transform parent)|
@@ -1139,8 +1324,12 @@ Inherits or Implemented: [MaskableGraphic](#maskablegraphic)
## TooltipViewItem
Fullname: XCharts.Runtime.TooltipViewItem
## UGL
Fullname: XUGL.UGL
|public method|since|description|
|--|--|--|
|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
Inherits or Implemented: [MaskableGraphic](#maskablegraphic)
Fullname: XUGL.UGLExample
Inherits or Implemented: [MaskableGraphic](https://docs.unity3d.com/ScriptReference/30_search.html?q=MaskableGraphic)
## UGLHelper
Fullname: XUGL.UGLHelper
|public method|since|description|
|--|--|--|
|GetAngle360()||public static float GetAngle360(Vector2 from, Vector2 to)<br/>获得0-360的角度12点钟方向为0度 |
@@ -1194,6 +1386,7 @@ Inherits or Implemented: [MaskableGraphic](#maskablegraphic)
## UIComponent
Fullname: XCharts.Runtime.UIComponent
Inherits or Implemented: [BaseGraph](#basegraph)
|public method|since|description|
@@ -1202,16 +1395,21 @@ Inherits or Implemented: [BaseGraph](#basegraph)
## UIHelper
Fullname: XCharts.Runtime.UIHelper
|public method|since|description|
|--|--|--|
|GetBackgroundColor()||public static Color32 GetBackgroundColor(UIComponent component)|
## VisualMapContext
Fullname: XCharts.Runtime.VisualMapContext
Inherits or Implemented: [MainComponentContext](#maincomponentcontext)
## VisualMapHelper
Fullname: XCharts.Runtime.VisualMapHelper
|public method|since|description|
|--|--|--|
|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
Fullname: XCharts.Runtime.XChartsMgr
|public method|since|description|
|--|--|--|
|AddChart()||public static void AddChart(BaseChart chart)|
@@ -1238,7 +1438,8 @@ Inherits or Implemented: [MainComponentContext](#maincomponentcontext)
## 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|
|--|--|--|
@@ -1246,6 +1447,8 @@ Inherits or Implemented: [UnityEditor.EditorWindow](#unityeditor.editorwindow)
## XCThemeMgr
Fullname: XCharts.Runtime.XCThemeMgr
|public method|since|description|
|--|--|--|
|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)
- [HeatmapChart](#heatmapchart)
- [IgnoreDoc](#ignoredoc)
- [INeedSerieContainer](#ineedseriecontainer)
- [InputHelper](#inputhelper)
- [InteractData](#interactdata)
- [IPropertyChanged](#ipropertychanged)
- [ISerieComponent](#iseriecomponent)
- [ISerieContainer](#iseriecontainer)
- [ISerieDataComponent](#iseriedatacomponent)
- [ISimplifiedSerie](#isimplifiedserie)
- [IUpdateRuntimeData](#iupdateruntimedata)
- [LayerHelper](#layerhelper)
- [LegendContext](#legendcontext)
- [LegendHelper](#legendhelper)
@@ -63,6 +70,7 @@ slug: /api
- [RingChart](#ringchart)
- [RuntimeUtil](#runtimeutil)
- [ScatterChart](#scatterchart)
- [ScriptableObject](#scriptableobject)
- [SerieComponentAttribute](#seriecomponentattribute)
- [SerieContext](#seriecontext)
- [SerieConvertAttribute](#serieconvertattribute)
@@ -106,6 +114,8 @@ slug: /api
## AnimationStyleHelper
全名: XCharts.Runtime.AnimationStyleHelper
|public method|since|description|
|--|--|--|
|CheckDataAnimation()||public static float CheckDataAnimation(BaseChart chart, Serie serie, int dataIndex, float destProgress, float startPorgress = 0)|
@@ -115,14 +125,18 @@ slug: /api
## AxisContext
Inherits or Implemented: [MainComponentContext](#maincomponentcontext)
全名: XCharts.Runtime.AxisContext
继承: [MainComponentContext](#maincomponentcontext)
## AxisHandler&lt;T&gt;
Inherits or Implemented: [MainComponentHandler](#maincomponenthandler)
全名: XCharts.AxisHandler<T>
继承: [MainComponentHandler](#maincomponenthandler)
## AxisHelper
全名: XCharts.Runtime.AxisHelper
|public method|since|description|
|--|--|--|
|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
Inherits or Implemented: [BaseChart](#basechart)
全名: XCharts.Runtime.BarChart
继承: [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|
|--|--|--|
@@ -344,7 +361,9 @@ Inherits or Implemented: [BaseGraph](#basegraph),[ISerializationCallbackReceiver
## 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|
|--|--|--|
@@ -379,10 +398,13 @@ Inherits or Implemented: [MaskableGraphic](#maskablegraphic),[IPointerDownHandle
## CandlestickChart
Inherits or Implemented: [BaseChart](#basechart)
全名: XCharts.Runtime.CandlestickChart
继承: [BaseChart](#basechart)
## ChartCached
全名: XCharts.Runtime.ChartCached
|public method|since|description|
|--|--|--|
|ColorToDotStr()||public static string ColorToDotStr(Color color)|
@@ -394,10 +416,16 @@ Inherits or Implemented: [BaseChart](#basechart)
## ChartConst
全名: XCharts.Runtime.ChartConst
## ChartDrawer
全名: XCharts.Runtime.ChartDrawer
## ChartHelper
全名: XCharts.Runtime.ChartHelper
|public method|since|description|
|--|--|--|
|ActiveAllObject()||public static void ActiveAllObject(Transform parent, bool active, string match = null)|
@@ -465,7 +493,8 @@ Inherits or Implemented: [BaseChart](#basechart)
## ChartLabel
Inherits or Implemented: [Image](#image)
全名: XCharts.Runtime.ChartLabel
继承: [Image](https://docs.unity3d.com/ScriptReference/30_search.html?q=Image)
|public method|since|description|
|--|--|--|
@@ -494,12 +523,16 @@ Inherits or Implemented: [Image](#image)
## ChartObject
全名: XCharts.Runtime.ChartObject
|public method|since|description|
|--|--|--|
|Destroy()||public virtual void Destroy()|
## CheckHelper
全名: XCharts.Runtime.CheckHelper
|public method|since|description|
|--|--|--|
|CheckChart()||public static string CheckChart(BaseChart chart)|
@@ -507,13 +540,16 @@ Inherits or Implemented: [Image](#image)
## ColorUtil
全名: XCharts.Runtime.ColorUtil
|public method|since|description|
|--|--|--|
|GetColor()||public static Color32 GetColor(string hexColorStr)<br/>将字符串颜色值转成Color。 |
## ComponentHandlerAttribute
Inherits or Implemented: [Attribute](#attribute)
全名: XCharts.Runtime.ComponentHandlerAttribute
继承: [Attribute](https://docs.unity3d.com/ScriptReference/30_search.html?q=Attribute)
|public method|since|description|
|--|--|--|
@@ -522,6 +558,8 @@ Inherits or Implemented: [Attribute](#attribute)
## ComponentHelper
全名: XCharts.Runtime.ComponentHelper
|public method|since|description|
|--|--|--|
|GetAngleAxis()||public static AngleAxis GetAngleAxis(List&lt;MainComponent&gt; components, int polarIndex)|
@@ -532,7 +570,8 @@ Inherits or Implemented: [Attribute](#attribute)
## CoordOptionsAttribute
Inherits or Implemented: [Attribute](#attribute)
全名: XCharts.Runtime.CoordOptionsAttribute
继承: [Attribute](https://docs.unity3d.com/ScriptReference/30_search.html?q=Attribute)
|public method|since|description|
|--|--|--|
@@ -544,10 +583,13 @@ Inherits or Implemented: [Attribute](#attribute)
## DataZoomContext
Inherits or Implemented: [MainComponentContext](#maincomponentcontext)
全名: XCharts.Runtime.DataZoomContext
继承: [MainComponentContext](#maincomponentcontext)
## DataZoomHelper
全名: XCharts.Runtime.DataZoomHelper
|public method|since|description|
|--|--|--|
|UpdateDataZoomRuntimeStartEndValue()||public static void UpdateDataZoomRuntimeStartEndValue(DataZoom dataZoom, Serie serie)|
@@ -555,6 +597,8 @@ Inherits or Implemented: [MainComponentContext](#maincomponentcontext)
## DateTimeUtil
全名: XCharts.Runtime.DateTimeUtil
|public method|since|description|
|--|--|--|
|GetDateTime()||public static DateTime GetDateTime(int timestamp)|
@@ -563,7 +607,8 @@ Inherits or Implemented: [MainComponentContext](#maincomponentcontext)
## DefaultAnimationAttribute
Inherits or Implemented: [Attribute](#attribute)
全名: XCharts.Runtime.DefaultAnimationAttribute
继承: [Attribute](https://docs.unity3d.com/ScriptReference/30_search.html?q=Attribute)
|public method|since|description|
|--|--|--|
@@ -571,6 +616,8 @@ Inherits or Implemented: [Attribute](#attribute)
## DefineSymbolsUtil
全名: XCharts.Runtime.DefineSymbolsUtil
|public method|since|description|
|--|--|--|
|AddGlobalDefine()||public static void AddGlobalDefine(string symbol)|
@@ -578,6 +625,8 @@ Inherits or Implemented: [Attribute](#attribute)
## FormatterHelper
全名: XCharts.Runtime.FormatterHelper
|public method|since|description|
|--|--|--|
|NeedFormat()||public static bool NeedFormat(string content)|
@@ -588,22 +637,32 @@ Inherits or Implemented: [Attribute](#attribute)
## GridCoordContext
Inherits or Implemented: [MainComponentContext](#maincomponentcontext)
全名: XCharts.Runtime.GridCoordContext
继承: [MainComponentContext](#maincomponentcontext)
## HeatmapChart
Inherits or Implemented: [BaseChart](#basechart)
全名: XCharts.Runtime.HeatmapChart
继承: [BaseChart](#basechart)
## IgnoreDoc
Inherits or Implemented: [Attribute](#attribute)
全名: XCharts.Runtime.IgnoreDoc
继承: [Attribute](https://docs.unity3d.com/ScriptReference/30_search.html?q=Attribute)
|public method|since|description|
|--|--|--|
|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
全名: XCharts.Runtime.InputHelper
|public method|since|description|
|--|--|--|
|GetKeyDown()||public static bool GetKeyDown(KeyCode keyCode)|
@@ -611,6 +670,8 @@ Inherits or Implemented: [Attribute](#attribute)
## InteractData
全名: XCharts.Runtime.InteractData
|public method|since|description|
|--|--|--|
|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)|
|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
全名: XCharts.Runtime.LayerHelper
|public method|since|description|
|--|--|--|
|IsFixedWidthHeight()||public static bool IsFixedWidthHeight(RectTransform rt)|
@@ -634,10 +727,13 @@ Inherits or Implemented: [Attribute](#attribute)
## LegendContext
Inherits or Implemented: [MainComponentContext](#maincomponentcontext)
全名: XCharts.Runtime.LegendContext
继承: [MainComponentContext](#maincomponentcontext)
## LegendHelper
全名: XCharts.Runtime.LegendHelper
|public method|since|description|
|--|--|--|
|CheckDataHighlighted()||public static bool CheckDataHighlighted(Serie serie, string legendName, bool heighlight)|
@@ -649,6 +745,8 @@ Inherits or Implemented: [MainComponentContext](#maincomponentcontext)
## LegendItem
全名: XCharts.Runtime.LegendItem
|public method|since|description|
|--|--|--|
|GetIconColor()||public Color GetIconColor()|
@@ -672,11 +770,14 @@ Inherits or Implemented: [MainComponentContext](#maincomponentcontext)
## LineChart
Inherits or Implemented: [BaseChart](#basechart)
全名: XCharts.Runtime.LineChart
继承: [BaseChart](#basechart)
## 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|
|--|--|--|
@@ -684,7 +785,8 @@ Inherits or Implemented: [Attribute](#attribute)
## ListForComponent
Inherits or Implemented: [ListFor](#listfor)
全名: XCharts.Runtime.ListForComponent
继承: [ListFor](#listfor)
|public method|since|description|
|--|--|--|
@@ -692,7 +794,8 @@ Inherits or Implemented: [ListFor](#listfor)
## ListForSerie
Inherits or Implemented: [ListFor](#listfor)
全名: XCharts.Runtime.ListForSerie
继承: [ListFor](#listfor)
|public method|since|description|
|--|--|--|
@@ -700,8 +803,14 @@ Inherits or Implemented: [ListFor](#listfor)
## MainComponentContext
全名: XCharts.Runtime.MainComponentContext
子类: [AxisContext](#axiscontext),[DataZoomContext](#datazoomcontext),[LegendContext](#legendcontext),[RadarCoordContext](#radarcoordcontext),[VisualMapContext](#visualmapcontext),[GridCoordContext](#gridcoordcontext),[ParallelCoordContext](#parallelcoordcontext),[PolarCoordContext](#polarcoordcontext)
## MainComponentHandler
全名: XCharts.Runtime.MainComponentHandler
子类: [AxisHandler<T>](#axishandlert),[MainComponentHandler<T>](#maincomponenthandlert)
|public method|since|description|
|--|--|--|
|CheckComponent()||public virtual void CheckComponent(StringBuilder sb) { }|
@@ -724,10 +833,13 @@ Inherits or Implemented: [ListFor](#listfor)
## MainComponentHandler&lt;T&gt;
Inherits or Implemented: [MainComponentHandler](#maincomponenthandler)
全名: XCharts.Runtime.MainComponentHandler<T>
继承: [MainComponentHandler](#maincomponenthandler)
## MathUtil
全名: XCharts.Runtime.MathUtil
|public method|since|description|
|--|--|--|
|Abs()||public static double Abs(double d)|
@@ -740,7 +852,8 @@ Inherits or Implemented: [MainComponentHandler](#maincomponenthandler)
## ObjectPool&lt;T&gt; where T
Inherits or Implemented: [new()](#new())
全名: XCharts.Runtime.ObjectPool<T> where T
继承: [new()](#new())
|public method|since|description|
|--|--|--|
@@ -752,7 +865,8 @@ Inherits or Implemented: [new()](#new())
## Painter
Inherits or Implemented: [MaskableGraphic](#maskablegraphic)
全名: XCharts.Runtime.Painter
继承: [MaskableGraphic](https://docs.unity3d.com/ScriptReference/30_search.html?q=MaskableGraphic)
|public method|since|description|
|--|--|--|
@@ -764,26 +878,33 @@ Inherits or Implemented: [MaskableGraphic](#maskablegraphic)
## ParallelChart
Inherits or Implemented: [BaseChart](#basechart)
全名: XCharts.Runtime.ParallelChart
继承: [BaseChart](#basechart)
## ParallelCoordContext
Inherits or Implemented: [MainComponentContext](#maincomponentcontext)
全名: XCharts.Runtime.ParallelCoordContext
继承: [MainComponentContext](#maincomponentcontext)
## PieChart
Inherits or Implemented: [BaseChart](#basechart)
全名: XCharts.Runtime.PieChart
继承: [BaseChart](#basechart)
## PolarChart
Inherits or Implemented: [BaseChart](#basechart)
全名: XCharts.Runtime.PolarChart
继承: [BaseChart](#basechart)
## PolarCoordContext
Inherits or Implemented: [MainComponentContext](#maincomponentcontext)
全名: XCharts.Runtime.PolarCoordContext
继承: [MainComponentContext](#maincomponentcontext)
## PropertyUtil
全名: XCharts.Runtime.PropertyUtil
|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|
@@ -793,14 +914,18 @@ Inherits or Implemented: [MainComponentContext](#maincomponentcontext)
## RadarChart
Inherits or Implemented: [BaseChart](#basechart)
全名: XCharts.Runtime.RadarChart
继承: [BaseChart](#basechart)
## RadarCoordContext
Inherits or Implemented: [MainComponentContext](#maincomponentcontext)
全名: XCharts.Runtime.RadarCoordContext
继承: [MainComponentContext](#maincomponentcontext)
## ReflectionUtil
全名: XCharts.Runtime.ReflectionUtil
|public method|since|description|
|--|--|--|
|DeepCloneSerializeField()||public static object DeepCloneSerializeField(object obj)|
@@ -812,7 +937,8 @@ Inherits or Implemented: [MainComponentContext](#maincomponentcontext)
## RequireChartComponentAttribute
Inherits or Implemented: [Attribute](#attribute)
全名: XCharts.Runtime.RequireChartComponentAttribute
继承: [Attribute](https://docs.unity3d.com/ScriptReference/30_search.html?q=Attribute)
|public method|since|description|
|--|--|--|
@@ -822,10 +948,13 @@ Inherits or Implemented: [Attribute](#attribute)
## RingChart
Inherits or Implemented: [BaseChart](#basechart)
全名: XCharts.Runtime.RingChart
继承: [BaseChart](#basechart)
## RuntimeUtil
全名: XCharts.Runtime.RuntimeUtil
|public method|since|description|
|--|--|--|
|GetAllAssemblyTypes()||public static IEnumerable&lt;Type&gt; GetAllAssemblyTypes()|
@@ -837,11 +966,18 @@ Inherits or Implemented: [BaseChart](#basechart)
## ScatterChart
Inherits or Implemented: [BaseChart](#basechart)
全名: XCharts.Runtime.ScatterChart
继承: [BaseChart](#basechart)
## ScriptableObject
全名: .ScriptableObject
子类: [Lang](#lang),[XCSettings](#xcsettings),[Theme](#theme)
## SerieComponentAttribute
Inherits or Implemented: [Attribute](#attribute)
全名: XCharts.Runtime.SerieComponentAttribute
继承: [Attribute](https://docs.unity3d.com/ScriptReference/30_search.html?q=Attribute)
|public method|since|description|
|--|--|--|
@@ -858,9 +994,12 @@ Inherits or Implemented: [Attribute](#attribute)
## SerieContext
全名: XCharts.Runtime.SerieContext
## SerieConvertAttribute
Inherits or Implemented: [Attribute](#attribute)
全名: XCharts.Runtime.SerieConvertAttribute
继承: [Attribute](https://docs.unity3d.com/ScriptReference/30_search.html?q=Attribute)
|public method|since|description|
|--|--|--|
@@ -873,7 +1012,8 @@ Inherits or Implemented: [Attribute](#attribute)
## SerieDataComponentAttribute
Inherits or Implemented: [Attribute](#attribute)
全名: XCharts.Runtime.SerieDataComponentAttribute
继承: [Attribute](https://docs.unity3d.com/ScriptReference/30_search.html?q=Attribute)
|public method|since|description|
|--|--|--|
@@ -890,13 +1030,16 @@ Inherits or Implemented: [Attribute](#attribute)
## SerieDataContext
全名: XCharts.Runtime.SerieDataContext
|public method|since|description|
|--|--|--|
|Reset()||public void Reset()|
## SerieDataExtraFieldAttribute
Inherits or Implemented: [Attribute](#attribute)
全名: XCharts.Runtime.SerieDataExtraFieldAttribute
继承: [Attribute](https://docs.unity3d.com/ScriptReference/30_search.html?q=Attribute)
|public method|since|description|
|--|--|--|
@@ -912,12 +1055,16 @@ Inherits or Implemented: [Attribute](#attribute)
## SerieEventData
全名: XCharts.Runtime.SerieEventData
|public method|since|description|
|--|--|--|
|Reset()||public void Reset()|
## SerieEventDataPool
全名: XCharts.Runtime.SerieEventDataPool
|public method|since|description|
|--|--|--|
|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
全名: XCharts.Runtime.SerieHandler
|public method|since|description|
|--|--|--|
|CheckComponent()||public virtual void CheckComponent(StringBuilder sb) { }|
@@ -951,9 +1100,15 @@ Inherits or Implemented: [Attribute](#attribute)
|Update()||public virtual void Update() { }|
|UpdateSerieContext()||public virtual void UpdateSerieContext() { }|
## SerieHandler where T
全名: .SerieHandler where T
子类: [SerieHandler<T>](#seriehandlert)
## 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|
|--|--|--|
@@ -978,7 +1133,8 @@ Inherits or Implemented: [SerieHandler where T](#seriehandler where t),[Serie](#
## SerieHandlerAttribute
Inherits or Implemented: [Attribute](#attribute)
全名: XCharts.Runtime.SerieHandlerAttribute
继承: [Attribute](https://docs.unity3d.com/ScriptReference/30_search.html?q=Attribute)
|public method|since|description|
|--|--|--|
@@ -987,6 +1143,8 @@ Inherits or Implemented: [Attribute](#attribute)
## SerieHelper
全名: XCharts.Runtime.SerieHelper
|public method|since|description|
|--|--|--|
|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
全名: XCharts.Runtime.SerieLabelHelper
|public method|since|description|
|--|--|--|
|AvoidLabelOverlap()||public static void AvoidLabelOverlap(Serie serie, ComponentTheme theme)|
@@ -1040,6 +1200,8 @@ Inherits or Implemented: [Attribute](#attribute)
## SerieLabelPool
全名: XCharts.Runtime.SerieLabelPool
|public method|since|description|
|--|--|--|
|ClearAll()||public static void ClearAll()|
@@ -1048,8 +1210,12 @@ Inherits or Implemented: [Attribute](#attribute)
## SerieParams
全名: XCharts.Runtime.SerieParams
## SeriesHelper
全名: XCharts.Runtime.SeriesHelper
|public method|since|description|
|--|--|--|
|GetLastStackSerie()||public static Serie GetLastStackSerie(List&lt;Serie&gt; series, Serie serie)<br/>获得上一个同堆叠且显示的serie。 |
@@ -1068,19 +1234,23 @@ Inherits or Implemented: [Attribute](#attribute)
## SimplifiedBarChart
Inherits or Implemented: [BaseChart](#basechart)
全名: XCharts.Runtime.SimplifiedBarChart
继承: [BaseChart](#basechart)
## SimplifiedCandlestickChart
Inherits or Implemented: [BaseChart](#basechart)
全名: XCharts.Runtime.SimplifiedCandlestickChart
继承: [BaseChart](#basechart)
## SimplifiedLineChart
Inherits or Implemented: [BaseChart](#basechart)
全名: XCharts.Runtime.SimplifiedLineChart
继承: [BaseChart](#basechart)
## Since
Inherits or Implemented: [Attribute](#attribute)
全名: XCharts.Runtime.Since
继承: [Attribute](https://docs.unity3d.com/ScriptReference/30_search.html?q=Attribute)
|public method|since|description|
|--|--|--|
@@ -1088,6 +1258,8 @@ Inherits or Implemented: [Attribute](#attribute)
## SVG
全名: XUGL.SVG
|public method|since|description|
|--|--|--|
|DrawPath()||public static void DrawPath(VertexHelper vh, string path)|
@@ -1096,10 +1268,13 @@ Inherits or Implemented: [Attribute](#attribute)
## SVGImage
Inherits or Implemented: [MaskableGraphic](#maskablegraphic)
全名: XCharts.Runtime.SVGImage
继承: [MaskableGraphic](https://docs.unity3d.com/ScriptReference/30_search.html?q=MaskableGraphic)
## SVGPath
全名: XUGL.SVGPath
|public method|since|description|
|--|--|--|
|AddSegment()||public void AddSegment(SVGPathSeg seg)|
@@ -1108,16 +1283,24 @@ Inherits or Implemented: [MaskableGraphic](#maskablegraphic)
## SVGPathSeg
全名: XUGL.SVGPathSeg
|public method|since|description|
|--|--|--|
|SVGPathSeg()||public SVGPathSeg(SVGPathSegType type)|
## TooltipContext
全名: XCharts.Runtime.TooltipContext
## TooltipData
全名: XCharts.Runtime.TooltipData
## TooltipHelper
全名: XCharts.Runtime.TooltipHelper
|public method|since|description|
|--|--|--|
|GetItemNumericFormatter()||public static string GetItemNumericFormatter(Tooltip tooltip, Serie serie, SerieData serieData)|
@@ -1127,6 +1310,8 @@ Inherits or Implemented: [MaskableGraphic](#maskablegraphic)
## TooltipView
全名: XCharts.Runtime.TooltipView
|public method|since|description|
|--|--|--|
|CreateView()||public static TooltipView CreateView(Tooltip tooltip, ThemeStyle theme, Transform parent)|
@@ -1139,8 +1324,12 @@ Inherits or Implemented: [MaskableGraphic](#maskablegraphic)
## TooltipViewItem
全名: XCharts.Runtime.TooltipViewItem
## UGL
全名: XUGL.UGL
|public method|since|description|
|--|--|--|
|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
Inherits or Implemented: [MaskableGraphic](#maskablegraphic)
全名: XUGL.UGLExample
继承: [MaskableGraphic](https://docs.unity3d.com/ScriptReference/30_search.html?q=MaskableGraphic)
## UGLHelper
全名: XUGL.UGLHelper
|public method|since|description|
|--|--|--|
|GetAngle360()||public static float GetAngle360(Vector2 from, Vector2 to)<br/>获得0-360的角度12点钟方向为0度 |
@@ -1194,7 +1386,8 @@ Inherits or Implemented: [MaskableGraphic](#maskablegraphic)
## UIComponent
Inherits or Implemented: [BaseGraph](#basegraph)
全名: XCharts.Runtime.UIComponent
继承: [BaseGraph](#basegraph)
|public method|since|description|
|--|--|--|
@@ -1202,16 +1395,21 @@ Inherits or Implemented: [BaseGraph](#basegraph)
## UIHelper
全名: XCharts.Runtime.UIHelper
|public method|since|description|
|--|--|--|
|GetBackgroundColor()||public static Color32 GetBackgroundColor(UIComponent component)|
## VisualMapContext
Inherits or Implemented: [MainComponentContext](#maincomponentcontext)
全名: XCharts.Runtime.VisualMapContext
继承: [MainComponentContext](#maincomponentcontext)
## VisualMapHelper
全名: XCharts.Runtime.VisualMapHelper
|public method|since|description|
|--|--|--|
|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
全名: XCharts.Runtime.XChartsMgr
|public method|since|description|
|--|--|--|
|AddChart()||public static void AddChart(BaseChart chart)|
@@ -1238,7 +1438,8 @@ Inherits or Implemented: [MainComponentContext](#maincomponentcontext)
## 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|
|--|--|--|
@@ -1246,6 +1447,8 @@ Inherits or Implemented: [UnityEditor.EditorWindow](#unityeditor.editorwindow)
## XCThemeMgr
全名: XCharts.Runtime.XCThemeMgr
|public method|since|description|
|--|--|--|
|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>
/// Whether to show as Nightingale chart, which distinguishs data through radius.
/// 是否展示成南丁格尔图,通过半径区分数据大小。
/// |是否展示成南丁格尔图,通过半径区分数据大小。
/// </summary>
public enum RoseType
{
@@ -61,7 +61,8 @@ namespace XCharts.Runtime
}
/// <summary>
/// the type of bar. |柱状图类型。
/// the type of bar.
/// |柱状图类型。
/// </summary>
public enum BarType
{
@@ -83,7 +84,8 @@ namespace XCharts.Runtime
}
/// <summary>
/// the type of radar. |雷达图类型。
/// the type of radar.
/// |雷达图类型。
/// </summary>
public enum RadarType
{
@@ -100,7 +102,8 @@ namespace XCharts.Runtime
}
/// <summary>
/// 采样类型
/// sample type of line chart.
/// |采样类型,一般用于折线图。
/// </summary>
public enum SampleType
{
@@ -133,26 +136,31 @@ namespace XCharts.Runtime
}
/// <summary>
/// 数据排序方式
/// the sort type of serie data.
/// |数据排序方式。
/// </summary>
public enum SerieDataSortType
{
/// <summary>
/// data 的顺序
/// In the order of data.
/// |按数据的顺序。
/// </summary>
None,
/// <summary>
/// 升序
/// Sort data in ascending order.
/// |升序。
/// </summary>
Ascending,
/// <summary>
/// 降序
/// Sort data in descending order.
/// |降序。
/// </summary>
Descending,
}
/// <summary>
/// 对齐方式
/// Alignment mode.
/// |对齐方式。文本,图标,图形等的对齐方式。
/// </summary>
public enum Align
{
@@ -202,23 +210,23 @@ namespace XCharts.Runtime
{
/// <summary>
/// Select state.
/// |默认策略。每种Serie都有自己的默认的取颜色策略。比如Line默认是Series策略Pie默认是Data策略
/// |默认策略。每种Serie都有自己的默认的取颜色策略。比如Line默认是Series策略Pie默认是Data策略
/// </summary>
Default,
/// <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>
Serie,
/// <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>
Data
}
/// <summary>
/// 系列。
/// 系列。系列一般由数据和配置组成,用来表示具体的图表图形,如折线图的一条折线,柱图的一组柱子等。一个图表中可以包含多个不同类型的系列。
/// </summary>
[System.Serializable]
public partial class Serie : BaseSerie, IComparable