This commit is contained in:
monitor1394
2022-03-26 21:34:38 +08:00
parent 3fbf5bc906
commit ed393ea560
13 changed files with 79 additions and 121 deletions

View File

@@ -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)

View File

@@ -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)

View File

@@ -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`

View File

@@ -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`

View File

@@ -21,7 +21,7 @@ namespace XCharts.Runtime
Start
}
[SerializeField] private bool m_Show;
[SerializeField] Position m_Position;
[SerializeField] private Position m_Position;
[SerializeField]
private ArrowStyle m_Arrow = new ArrowStyle()
{

View File

@@ -8,8 +8,7 @@ namespace XCharts.Runtime
/// DataZoom component is used for zooming a specific area,
/// which enables user to investigate data in detail,
/// or get an overview of the data, or get rid of outlier points.
/// |
/// <para>DataZoom 组件 用于区域缩放,从而能自由关注细节的数据信息,或者概览数据整体,或者去除离群点的影响。</para>
/// |DataZoom 组件 用于区域缩放,从而能自由关注细节的数据信息,或者概览数据整体,或者去除离群点的影响。
/// </summary>
[System.Serializable]
[ComponentHandler(typeof(DataZoomHandler), true)]
@@ -132,7 +131,7 @@ namespace XCharts.Runtime
}
/// <summary>
/// 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,
/// 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).
/// |是否支持内置。内置于坐标系中,使用户可以在坐标系上通过鼠标拖拽、鼠标滚轮、手指滑动(触屏上)来缩放或漫游坐标系。
/// </summary>
@@ -303,7 +302,7 @@ namespace XCharts.Runtime
}
/// <summary>
/// The end percentage of the window out of the data extent, in the range of 0 ~ 100.
/// 数据窗口范围的结束百分比。范围是0 ~ 100。
/// |数据窗口范围的结束百分比。范围是0 ~ 100。
/// </summary>
public float end
{

View File

@@ -109,26 +109,6 @@ namespace XCharts.Runtime
return SerieHelper.GetItemColor(destSerie, destSerieData, chart.theme, index, false);
}
/// <summary>
/// 同堆叠的serie是否有渐变色的。
/// </summary>
/// <param name="stack"></param>
/// <returns></returns>
public static bool IsAnyGradientSerie(List<Serie> series, string stack)
{
if (string.IsNullOrEmpty(stack)) return false;
foreach (var serie in series)
{
if (serie.show && serie.areaStyle != null && serie.areaStyle.show && stack.Equals(serie.stack))
{
if (!ChartHelper.IsValueEqualsColor(serie.areaStyle.color, serie.areaStyle.toColor)
&& !ChartHelper.IsClearColor(serie.areaStyle.toColor))
return true;
}
}
return false;
}
/// <summary>
/// 是否有需裁剪的serie。
/// </summary>
@@ -142,18 +122,6 @@ namespace XCharts.Runtime
return false;
}
public static bool IsAnyUpdateAnimationSerie(List<Serie> series)
{
foreach (var serie in series)
{
if (serie.animation.enable && serie.animation.dataChangeEnable)
{
return true;
}
}
return false;
}
/// <summary>
/// 获得上一个同堆叠且显示的serie。
/// </summary>
@@ -170,17 +138,6 @@ namespace XCharts.Runtime
return null;
}
/// <summary>
/// 获得上一个同堆叠且显示的serie。
/// </summary>
/// <param name="index"></param>
/// <returns></returns>
public static Serie GetLastStackSerie(List<Serie> series, int index)
{
var serie = series[index];
return GetLastStackSerie(series, serie);
}
public static Serie GetSerieByVesselIndex(List<Serie> series, int vesselIndex)
{
foreach (var serie in series)

View File

@@ -2,17 +2,15 @@
using System.Collections.Generic;
using UnityEngine;
using System;
using System.Text;
namespace XCharts.Runtime
{
[Serializable]
[CreateAssetMenu(menuName = "XCharts/Export Lang")]
/// <summary>
/// Language.
/// |国际化语言表。
/// </summary>
[Serializable]
[CreateAssetMenu(menuName = "XCharts/Export Lang")]
public class Lang : ScriptableObject
{
public string langName = "EN";
@@ -58,6 +56,7 @@ namespace XCharts.Runtime
"Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" };
}
[Serializable]
public class LangCandlestick
{
public List<string> dimensionNames = new List<string>() { "open", "close", "lowest", "highest" };

View File

@@ -21,7 +21,8 @@ namespace XCharts.Runtime
public void OnGUI()
{
m_EssentialResourcesImported = File.Exists("Assets/XCharts/Resources/XCSettings.asset");
m_EssentialResourcesImported = Resources.Load<XCSettings>("XCSettings") != null ||
XCSettings.ExistAssetFile();
GUILayout.BeginVertical();
{
@@ -125,17 +126,17 @@ namespace XCharts.Runtime
}
}
public class XChartsPackageResourceImporterWindow : UnityEditor.EditorWindow
public class XCResourceImporterWindow : UnityEditor.EditorWindow
{
[SerializeField] XCResourcesImporter m_ResourceImporter;
static XChartsPackageResourceImporterWindow m_ImporterWindow;
static XCResourceImporterWindow m_ImporterWindow;
public static void ShowPackageImporterWindow()
{
if (m_ImporterWindow == null)
{
m_ImporterWindow = GetWindow<XChartsPackageResourceImporterWindow>();
m_ImporterWindow = GetWindow<XCResourceImporterWindow>();
m_ImporterWindow.titleContent = new GUIContent("XCharts Importer");
}

View File

@@ -129,9 +129,8 @@ namespace XCharts.Runtime
#if UNITY_EDITOR
if (s_Instance == null)
{
var isExist = System.IO.File.Exists("Assets/XCharts/Resources/XCSettings.asset");
if(isExist)
XChartsPackageResourceImporterWindow.ShowPackageImporterWindow();
if (!ExistAssetFile())
XCResourceImporterWindow.ShowPackageImporterWindow();
}
else
{
@@ -152,6 +151,11 @@ namespace XCharts.Runtime
}
}
public static bool ExistAssetFile()
{
return System.IO.File.Exists("Assets/XCharts/Resources/XCSettings.asset");
}
public static bool AddCustomTheme(Theme theme)
{
if (theme == null) return false;

View File

@@ -86,33 +86,6 @@ namespace XCharts.Runtime
return chartList.Contains(chart);
}
public static bool IsRepeatChartName(BaseChart chart, string chartName = null)
{
if (chartName == null)
chartName = chart.chartName;
if (string.IsNullOrEmpty(chartName))
return false;
foreach (var temp in chartList)
{
if (temp != chart && chartName.Equals(temp.chartName))
return true;
}
return false;
}
public static string GetRepeatChartNameInfo(BaseChart chart, string chartName)
{
if (string.IsNullOrEmpty(chartName))
return string.Empty;
string result = "";
foreach (var temp in chartList)
{
if (temp != chart && chartName.Equals(temp.chartName))
result += ChartHelper.GetFullName(temp.transform) + "\n";
}
return result;
}
public static void RemoveAllChartObject()
{
if (chartList.Count == 0)

View File

@@ -9,12 +9,11 @@ using TMPro;
namespace XCharts.Runtime
{
[Serializable]
/// <summary>
/// Theme.
/// |主题相关配置。
/// </summary>
[Serializable]
public class Theme : ScriptableObject
{
[SerializeField] private ThemeType m_ThemeType = ThemeType.Default;

View File

@@ -8,11 +8,9 @@
"unity": "2018.3",
"description": "A charting and data visualization library for Unity.",
"keywords": [
"unity",
"chart",
"xcharts",
"graphic",
"visualization",
"charts",
"graph",
"data-visualization"
],
"category": "chart",