mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-25 18:30:14 +00:00
3.0
This commit is contained in:
@@ -35,7 +35,6 @@
|
||||
- [HeatmapChart](#HeatmapChart)
|
||||
- [InteractData](#InteractData)
|
||||
- [ItemStyleHelper](#ItemStyleHelper)
|
||||
- [LangCandlestick](#LangCandlestick)
|
||||
- [LayerHelper](#LayerHelper)
|
||||
- [LegendContext](#LegendContext)
|
||||
- [LegendHelper](#LegendHelper)
|
||||
@@ -93,7 +92,7 @@
|
||||
- [VisualMapContext](#VisualMapContext)
|
||||
- [VisualMapHelper](#VisualMapHelper)
|
||||
- [XChartsMgr](#XChartsMgr)
|
||||
- [XChartsPackageResourceImporterWindow](#XChartsPackageResourceImporterWindow)
|
||||
- [XCResourceImporterWindow](#XCResourceImporterWindow)
|
||||
- [XCThemeMgr](#XCThemeMgr)
|
||||
|
||||
## `AnimationStyleHelper`
|
||||
@@ -510,8 +509,6 @@ Inherits or Implemented: [BaseChart](#BaseChart)
|
||||
|--|--|
|
||||
| `IsNeedCorner` |public static bool IsNeedCorner(ItemStyle itemStyle)</br> |
|
||||
|
||||
## `LangCandlestick`
|
||||
|
||||
## `LayerHelper`
|
||||
|
||||
|public method|description|
|
||||
@@ -818,7 +815,6 @@ Inherits or Implemented: [Attribute](#Attribute)
|
||||
|
||||
|public method|description|
|
||||
|--|--|
|
||||
| `GetLastStackSerie` |public static Serie GetLastStackSerie(List<Serie> series, int index)</br>获得上一个同堆叠且显示的serie。 |
|
||||
| `GetLastStackSerie` |public static Serie GetLastStackSerie(List<Serie> series, Serie serie)</br>获得上一个同堆叠且显示的serie。 |
|
||||
| `GetLegalSerieNameList` |public static List<string> GetLegalSerieNameList(List<Serie> series)</br> |
|
||||
| `GetMaxSerieDataCount` |public static int GetMaxSerieDataCount(List<Serie> series)</br> |
|
||||
@@ -826,8 +822,6 @@ Inherits or Implemented: [Attribute](#Attribute)
|
||||
| `GetSerieByVesselIndex` |public static Serie GetSerieByVesselIndex(List<Serie> series, int vesselIndex)</br> |
|
||||
| `GetStackSeries` |public static void GetStackSeries(List<Serie> series, ref Dictionary<int, List<Serie>> stackSeries)</br>获得堆叠系列列表 |
|
||||
| `IsAnyClipSerie` |public static bool IsAnyClipSerie(List<Serie> series)</br>是否有需裁剪的serie。 |
|
||||
| `IsAnyGradientSerie` |public static bool IsAnyGradientSerie(List<Serie> series, string stack)</br>同堆叠的serie是否有渐变色的。 |
|
||||
| `IsAnyUpdateAnimationSerie` |public static bool IsAnyUpdateAnimationSerie(List<Serie> series)</br> |
|
||||
| `IsLegalLegendName` |public static bool IsLegalLegendName(string name)</br> |
|
||||
| `IsStack` |public static bool IsStack(List<Serie> series)</br>是否由数据堆叠 |
|
||||
| `UpdateSerieNameList` |public static void UpdateSerieNameList(BaseChart chart, ref List<string> serieNameList)</br>获得所有系列名,不包含空名字。 |
|
||||
@@ -971,14 +965,12 @@ Inherits or Implemented: [MainComponentContext](#MainComponentContext)
|
||||
| `GetChart` |public static BaseChart GetChart(string chartName)</br> |
|
||||
| `GetCharts` |public static List<BaseChart> GetCharts(string chartName)</br> |
|
||||
| `GetPackageFullPath` |public static string GetPackageFullPath()</br> |
|
||||
| `GetRepeatChartNameInfo` |public static string GetRepeatChartNameInfo(BaseChart chart, string chartName)</br> |
|
||||
| `IsExistTMPAssembly` |public static bool IsExistTMPAssembly()</br> |
|
||||
| `IsRepeatChartName` |public static bool IsRepeatChartName(BaseChart chart, string chartName = null)</br> |
|
||||
| `ModifyTMPRefence` |public static bool ModifyTMPRefence(bool removeTMP = false)</br> |
|
||||
| `RemoveAllChartObject` |public static void RemoveAllChartObject()</br> |
|
||||
| `RemoveChart` |public static void RemoveChart(string chartName)</br> |
|
||||
|
||||
## `XChartsPackageResourceImporterWindow`
|
||||
## `XCResourceImporterWindow`
|
||||
|
||||
Inherits or Implemented: [UnityEditor.EditorWindow](#UnityEditor.EditorWindow)
|
||||
|
||||
|
||||
@@ -35,7 +35,6 @@
|
||||
- [HeatmapChart](#HeatmapChart)
|
||||
- [InteractData](#InteractData)
|
||||
- [ItemStyleHelper](#ItemStyleHelper)
|
||||
- [LangCandlestick](#LangCandlestick)
|
||||
- [LayerHelper](#LayerHelper)
|
||||
- [LegendContext](#LegendContext)
|
||||
- [LegendHelper](#LegendHelper)
|
||||
@@ -93,7 +92,7 @@
|
||||
- [VisualMapContext](#VisualMapContext)
|
||||
- [VisualMapHelper](#VisualMapHelper)
|
||||
- [XChartsMgr](#XChartsMgr)
|
||||
- [XChartsPackageResourceImporterWindow](#XChartsPackageResourceImporterWindow)
|
||||
- [XCResourceImporterWindow](#XCResourceImporterWindow)
|
||||
- [XCThemeMgr](#XCThemeMgr)
|
||||
|
||||
## `AnimationStyleHelper`
|
||||
@@ -510,8 +509,6 @@ Inherits or Implemented: [BaseChart](#BaseChart)
|
||||
|--|--|
|
||||
| `IsNeedCorner` |public static bool IsNeedCorner(ItemStyle itemStyle)</br> |
|
||||
|
||||
## `LangCandlestick`
|
||||
|
||||
## `LayerHelper`
|
||||
|
||||
|public method|description|
|
||||
@@ -818,7 +815,6 @@ Inherits or Implemented: [Attribute](#Attribute)
|
||||
|
||||
|public method|description|
|
||||
|--|--|
|
||||
| `GetLastStackSerie` |public static Serie GetLastStackSerie(List<Serie> series, int index)</br>获得上一个同堆叠且显示的serie。 |
|
||||
| `GetLastStackSerie` |public static Serie GetLastStackSerie(List<Serie> series, Serie serie)</br>获得上一个同堆叠且显示的serie。 |
|
||||
| `GetLegalSerieNameList` |public static List<string> GetLegalSerieNameList(List<Serie> series)</br> |
|
||||
| `GetMaxSerieDataCount` |public static int GetMaxSerieDataCount(List<Serie> series)</br> |
|
||||
@@ -826,8 +822,6 @@ Inherits or Implemented: [Attribute](#Attribute)
|
||||
| `GetSerieByVesselIndex` |public static Serie GetSerieByVesselIndex(List<Serie> series, int vesselIndex)</br> |
|
||||
| `GetStackSeries` |public static void GetStackSeries(List<Serie> series, ref Dictionary<int, List<Serie>> stackSeries)</br>获得堆叠系列列表 |
|
||||
| `IsAnyClipSerie` |public static bool IsAnyClipSerie(List<Serie> series)</br>是否有需裁剪的serie。 |
|
||||
| `IsAnyGradientSerie` |public static bool IsAnyGradientSerie(List<Serie> series, string stack)</br>同堆叠的serie是否有渐变色的。 |
|
||||
| `IsAnyUpdateAnimationSerie` |public static bool IsAnyUpdateAnimationSerie(List<Serie> series)</br> |
|
||||
| `IsLegalLegendName` |public static bool IsLegalLegendName(string name)</br> |
|
||||
| `IsStack` |public static bool IsStack(List<Serie> series)</br>是否由数据堆叠 |
|
||||
| `UpdateSerieNameList` |public static void UpdateSerieNameList(BaseChart chart, ref List<string> serieNameList)</br>获得所有系列名,不包含空名字。 |
|
||||
@@ -971,14 +965,12 @@ Inherits or Implemented: [MainComponentContext](#MainComponentContext)
|
||||
| `GetChart` |public static BaseChart GetChart(string chartName)</br> |
|
||||
| `GetCharts` |public static List<BaseChart> GetCharts(string chartName)</br> |
|
||||
| `GetPackageFullPath` |public static string GetPackageFullPath()</br> |
|
||||
| `GetRepeatChartNameInfo` |public static string GetRepeatChartNameInfo(BaseChart chart, string chartName)</br> |
|
||||
| `IsExistTMPAssembly` |public static bool IsExistTMPAssembly()</br> |
|
||||
| `IsRepeatChartName` |public static bool IsRepeatChartName(BaseChart chart, string chartName = null)</br> |
|
||||
| `ModifyTMPRefence` |public static bool ModifyTMPRefence(bool removeTMP = false)</br> |
|
||||
| `RemoveAllChartObject` |public static void RemoveAllChartObject()</br> |
|
||||
| `RemoveChart` |public static void RemoveChart(string chartName)</br> |
|
||||
|
||||
## `XChartsPackageResourceImporterWindow`
|
||||
## `XCResourceImporterWindow`
|
||||
|
||||
Inherits or Implemented: [UnityEditor.EditorWindow](#UnityEditor.EditorWindow)
|
||||
|
||||
|
||||
@@ -22,6 +22,25 @@
|
||||
- [SimplifiedCandlestick](#SimplifiedCandlestick)
|
||||
- [SimplifiedLine](#SimplifiedLine)
|
||||
|
||||
## Theme
|
||||
|
||||
- [AngleAxisTheme](#AngleAxisTheme)
|
||||
- [AxisTheme](#AxisTheme)
|
||||
- [BaseAxisTheme](#BaseAxisTheme)
|
||||
- [ComponentTheme](#ComponentTheme)
|
||||
- [DataZoomTheme](#DataZoomTheme)
|
||||
- [LegendTheme](#LegendTheme)
|
||||
- [PolarAxisTheme](#PolarAxisTheme)
|
||||
- [RadarAxisTheme](#RadarAxisTheme)
|
||||
- [RadiusAxisTheme](#RadiusAxisTheme)
|
||||
- [SerieTheme](#SerieTheme)
|
||||
- [SubTitleTheme](#SubTitleTheme)
|
||||
- [Theme](#Theme)
|
||||
- [ThemeStyle](#ThemeStyle)
|
||||
- [TitleTheme](#TitleTheme)
|
||||
- [TooltipTheme](#TooltipTheme)
|
||||
- [VisualMapTheme](#VisualMapTheme)
|
||||
|
||||
## MainComponent
|
||||
|
||||
- [AngleAxis](#AngleAxis)
|
||||
@@ -125,9 +144,9 @@
|
||||
- [DebugInfo](#DebugInfo)
|
||||
- [Indicator](#Indicator)
|
||||
- [Lang](#Lang)
|
||||
- [LangCandlestick](#LangCandlestick)
|
||||
- [LangTime](#LangTime)
|
||||
- [MainComponent](#MainComponent)
|
||||
- [Theme](#Theme)
|
||||
- [XCResourcesImporter](#XCResourcesImporter)
|
||||
- [XCSettings](#XCSettings)
|
||||
|
||||
@@ -430,7 +449,7 @@ DataZoom component is used for zooming a specific area, which enables user to in
|
||||
| `filterMode` | | The mode of data filter.</br>`DataZoom.FilterMode`:</br>- `Filter`: data that outside the window will be filtered, which may lead to some changes of windows of other axes. For each data item, it will be filtered if one of the relevant dimensions is out of the window.</br>- `WeakFilter`: data that outside the window will be filtered, which may lead to some changes of windows of other axes. For each data item, it will be filtered only if all of the relevant dimensions are out of the same side of the window.</br>- `Empty`: data that outside the window will be set to NaN, which will not lead to changes of windows of other axes.</br>- `None`: Do not filter data.</br>|
|
||||
| `xAxisIndexs` | | Specify which xAxis is controlled by the dataZoom. |
|
||||
| `yAxisIndexs` | | Specify which yAxis is controlled by the dataZoom. |
|
||||
| `supportInside` | | Whether built-in support is supported. |
|
||||
| `supportInside` | | Whether built-in support is supported. Built into the coordinate system to allow the user to zoom in and out of the coordinate system by mouse dragging, mouse wheel, finger swiping (on the touch screen). |
|
||||
| `supportInsideScroll` |true | 是否支持坐标系内滚动 |
|
||||
| `supportInsideDrag` |true | 是否支持坐标系内拖拽 |
|
||||
| `supportSlider` | | Whether a slider is supported. There are separate sliders on which the user zooms or roams. |
|
||||
@@ -449,7 +468,7 @@ DataZoom component is used for zooming a specific area, which enables user to in
|
||||
| `bottom` | | Distance between dataZoom component and the bottom side of the container. bottom value is a instant pixel value like 10 or float value [0-1]. |
|
||||
| `rangeMode` | | Use absolute value or percent value in DataZoom.start and DataZoom.end.</br>`DataZoom.RangeMode`:</br>- `//Value`: The value type of start and end.取值类型</br>- `Percent`: percent value.</br>|
|
||||
| `start` | | The start percentage of the window out of the data extent, in the range of 0 ~ 100. |
|
||||
| `end` | | The end percentage of the window out of the data extent, in the range of 0 ~ 100. 数据窗口范围的结束百分比。范围是:0 ~ 100。 |
|
||||
| `end` | | The end percentage of the window out of the data extent, in the range of 0 ~ 100. |
|
||||
| `startValue` | | |
|
||||
| `endValue` | | |
|
||||
| `minShowNum` |1 | Minimum number of display data. Minimum number of data displayed when DataZoom is enlarged to maximum. |
|
||||
@@ -644,6 +663,9 @@ Inherits or Implemented: [ScriptableObject](#ScriptableObject)
|
||||
Language.
|
||||
|
||||
|
||||
## `LangCandlestick`
|
||||
|
||||
|
||||
## `LangTime`
|
||||
|
||||
|
||||
@@ -709,7 +731,7 @@ Inherits or Implemented: [ChildComponent](#ChildComponent),[ISerieExtraComponent
|
||||
|field|default|comment|
|
||||
|--|--|--|
|
||||
| `show` | | Whether to show the arrow. |
|
||||
| `Position` | | |
|
||||
| `position` | | The position of arrow.</br>`LineArrow.Position`:</br>- `End`: 末端箭头</br>- `Start`: 头端箭头</br>|
|
||||
| `arrow` | | the arrow of line. [ArrowStyle](ArrowStyle)|
|
||||
|
||||
## `LineStyle`
|
||||
|
||||
@@ -22,6 +22,25 @@
|
||||
- [SimplifiedCandlestick](#SimplifiedCandlestick)
|
||||
- [SimplifiedLine](#SimplifiedLine)
|
||||
|
||||
## Theme 主题
|
||||
|
||||
- [AngleAxisTheme](#AngleAxisTheme)
|
||||
- [AxisTheme](#AxisTheme)
|
||||
- [BaseAxisTheme](#BaseAxisTheme)
|
||||
- [ComponentTheme](#ComponentTheme)
|
||||
- [DataZoomTheme](#DataZoomTheme)
|
||||
- [LegendTheme](#LegendTheme)
|
||||
- [PolarAxisTheme](#PolarAxisTheme)
|
||||
- [RadarAxisTheme](#RadarAxisTheme)
|
||||
- [RadiusAxisTheme](#RadiusAxisTheme)
|
||||
- [SerieTheme](#SerieTheme)
|
||||
- [SubTitleTheme](#SubTitleTheme)
|
||||
- [Theme](#Theme)
|
||||
- [ThemeStyle](#ThemeStyle)
|
||||
- [TitleTheme](#TitleTheme)
|
||||
- [TooltipTheme](#TooltipTheme)
|
||||
- [VisualMapTheme](#VisualMapTheme)
|
||||
|
||||
## MainComponent 主组件
|
||||
|
||||
- [AngleAxis](#AngleAxis)
|
||||
@@ -125,9 +144,9 @@
|
||||
- [DebugInfo](#DebugInfo)
|
||||
- [Indicator](#Indicator)
|
||||
- [Lang](#Lang)
|
||||
- [LangCandlestick](#LangCandlestick)
|
||||
- [LangTime](#LangTime)
|
||||
- [MainComponent](#MainComponent)
|
||||
- [Theme](#Theme)
|
||||
- [XCResourcesImporter](#XCResourcesImporter)
|
||||
- [XCSettings](#XCSettings)
|
||||
|
||||
@@ -422,7 +441,7 @@ Inherits or Implemented: [MainComponent](#MainComponent)
|
||||
|
||||
Inherits or Implemented: [MainComponent](#MainComponent),[IUpdateRuntimeData](#IUpdateRuntimeData)
|
||||
|
||||
<para>DataZoom 组件 用于区域缩放,从而能自由关注细节的数据信息,或者概览数据整体,或者去除离群点的影响。</para>
|
||||
DataZoom 组件 用于区域缩放,从而能自由关注细节的数据信息,或者概览数据整体,或者去除离群点的影响。
|
||||
|
||||
|field|default|comment|
|
||||
|--|--|--|
|
||||
@@ -430,7 +449,7 @@ Inherits or Implemented: [MainComponent](#MainComponent),[IUpdateRuntimeData](#I
|
||||
| `filterMode` | | 数据过滤类型。</br>`DataZoom.FilterMode`:</br>- `Filter`: 当前数据窗口外的数据,被 过滤掉。即 会 影响其他轴的数据范围。每个数据项,只要有一个维度在数据窗口外,整个数据项就会被过滤掉。</br>- `WeakFilter`: 当前数据窗口外的数据,被 过滤掉。即 会 影响其他轴的数据范围。每个数据项,只有当全部维度都在数据窗口同侧外部,整个数据项才会被过滤掉。</br>- `Empty`: 当前数据窗口外的数据,被 设置为空。即 不会 影响其他轴的数据范围。</br>- `None`: 不过滤数据,只改变数轴范围。</br>|
|
||||
| `xAxisIndexs` | | 控制的 x 轴索引列表。 |
|
||||
| `yAxisIndexs` | | 控制的 y 轴索引列表。 |
|
||||
| `supportInside` | | Built into the coordinate system to allow the user to zoom in and out of the coordinate system by mouse dragging, mouse wheel, finger swiping (on the touch screen). |
|
||||
| `supportInside` | | 是否支持内置。内置于坐标系中,使用户可以在坐标系上通过鼠标拖拽、鼠标滚轮、手指滑动(触屏上)来缩放或漫游坐标系。 |
|
||||
| `supportInsideScroll` |true | 是否支持坐标系内滚动 |
|
||||
| `supportInsideDrag` |true | 是否支持坐标系内拖拽 |
|
||||
| `supportSlider` | | 是否支持滑动条。有单独的滑动条,用户在滑动条上进行缩放或漫游。 |
|
||||
@@ -449,7 +468,7 @@ Inherits or Implemented: [MainComponent](#MainComponent),[IUpdateRuntimeData](#I
|
||||
| `bottom` | | 组件离容器下侧的距离。 |
|
||||
| `rangeMode` | | 取绝对值还是百分比。</br>`DataZoom.RangeMode`:</br>- `//Value`: The value type of start and end.取值类型</br>- `Percent`: 百分比。</br>|
|
||||
| `start` | | 数据窗口范围的起始百分比。范围是:0 ~ 100。 |
|
||||
| `end` | | The end percentage of the window out of the data extent, in the range of 0 ~ 100. 数据窗口范围的结束百分比。范围是:0 ~ 100。 |
|
||||
| `end` | | 数据窗口范围的结束百分比。范围是:0 ~ 100。 |
|
||||
| `startValue` | | |
|
||||
| `endValue` | | |
|
||||
| `minShowNum` |1 | 最小显示数据个数。当DataZoom放大到最大时,最小显示的数据个数。 |
|
||||
@@ -644,6 +663,9 @@ Inherits or Implemented: [ScriptableObject](#ScriptableObject)
|
||||
国际化语言表。
|
||||
|
||||
|
||||
## `LangCandlestick`
|
||||
|
||||
|
||||
## `LangTime`
|
||||
|
||||
|
||||
@@ -709,7 +731,7 @@ Inherits or Implemented: [ChildComponent](#ChildComponent),[ISerieExtraComponent
|
||||
|field|default|comment|
|
||||
|--|--|--|
|
||||
| `show` | | 是否显示箭头。 |
|
||||
| `Position` | | |
|
||||
| `position` | | 箭头位置。</br>`LineArrow.Position`:</br>- `End`: 末端箭头</br>- `Start`: 头端箭头</br>|
|
||||
| `arrow` | | 箭头。 [ArrowStyle](ArrowStyle)|
|
||||
|
||||
## `LineStyle`
|
||||
|
||||
Reference in New Issue
Block a user