diff --git a/Documentation/XChartsAPI-EN.md b/Documentation/XChartsAPI-EN.md index 191e9b1e..467f3516 100644 --- a/Documentation/XChartsAPI-EN.md +++ b/Documentation/XChartsAPI-EN.md @@ -107,9 +107,11 @@ ## `AxisContext` +Inherits or Implemented: [MainComponentContext](#MainComponentContext) ## `AxisHandler` +Inherits or Implemented: [MainComponentHandler](#MainComponentHandler) ## `AxisHelper` @@ -133,9 +135,12 @@ ## `BarChart` +Inherits or Implemented: [BaseChart](#BaseChart) ## `BaseChart` +Inherits or Implemented: [BaseGraph](#BaseGraph),[ISerializationCallbackReceiver](#ISerializationCallbackReceiver) + |public method|description| |--|--| | `AddChartComponent` |public MainComponent AddChartComponent(Type type)
| @@ -262,6 +267,8 @@ ## `BaseGraph` +Inherits or Implemented: [MaskableGraphic](#MaskableGraphic),[IPointerDownHandler](#IPointerDownHandler),[IPointerUpHandler](#IPointerUpHandler),[](#) + |public method|description| |--|--| | `CheckWarning` |public string CheckWarning()
检测警告信息。 | @@ -283,6 +290,7 @@ ## `CandlestickChart` +Inherits or Implemented: [BaseChart](#BaseChart) ## `ChartCached` @@ -297,10 +305,8 @@ ## `ChartConst` - ## `ChartDrawer` - ## `ChartHelper` |public method|description| @@ -360,6 +366,8 @@ ## `ChartLabel` +Inherits or Implemented: [Image](#Image) + |public method|description| |--|--| | `GetLabelHeight` |public float GetLabelHeight()
| @@ -402,6 +410,8 @@ ## `ComponentHandlerAttribute` +Inherits or Implemented: [Attribute](#Attribute) + |public method|description| |--|--| | `ComponentHandlerAttribute` |public ComponentHandlerAttribute(Type handler)
| @@ -419,6 +429,8 @@ ## `CoordOptionsAttribute` +Inherits or Implemented: [Attribute](#Attribute) + |public method|description| |--|--| | `CoordOptionsAttribute` |public CoordOptionsAttribute(Type coord)
| @@ -428,6 +440,7 @@ ## `DataZoomContext` +Inherits or Implemented: [MainComponentContext](#MainComponentContext) ## `DataZoomHelper` @@ -445,6 +458,8 @@ ## `DefaultAnimationAttribute` +Inherits or Implemented: [Attribute](#Attribute) + |public method|description| |--|--| | `DefaultAnimationAttribute` |public DefaultAnimationAttribute(AnimationType handler)
| @@ -467,9 +482,11 @@ ## `GridCoordContext` +Inherits or Implemented: [MainComponentContext](#MainComponentContext),[IRectContext](#IRectContext) ## `HeatmapChart` +Inherits or Implemented: [BaseChart](#BaseChart) ## `InteractData` @@ -495,7 +512,6 @@ ## `LangCandlestick` - ## `LayerHelper` |public method|description| @@ -505,6 +521,7 @@ ## `LegendContext` +Inherits or Implemented: [MainComponentContext](#MainComponentContext) ## `LegendHelper` @@ -540,33 +557,39 @@ ## `LineChart` +Inherits or Implemented: [BaseChart](#BaseChart) ## `ListFor` +Inherits or Implemented: [Attribute](#Attribute) + |public method|description| |--|--| | `ListFor` |public ListFor(Type type)
| ## `ListForComponent` +Inherits or Implemented: [ListFor](#ListFor) + |public method|description| |--|--| | `ListForComponent` |public ListForComponent(Type type) : base(type)
| ## `ListForSerie` +Inherits or Implemented: [ListFor](#ListFor) + |public method|description| |--|--| | `ListForSerie` |public ListForSerie(Type type) : base(type)
| ## `MainComponentContext` - ## `MainComponentHandler` - ## `MainComponentHandler` +Inherits or Implemented: [MainComponentHandler](#MainComponentHandler) ## `MathUtil` @@ -580,6 +603,8 @@ ## `Painter` +Inherits or Implemented: [MaskableGraphic](#MaskableGraphic) + |public method|description| |--|--| | `Init` |public void Init()
| @@ -588,21 +613,27 @@ ## `ParallelChart` +Inherits or Implemented: [BaseChart](#BaseChart) ## `ParallelCoordContext` +Inherits or Implemented: [MainComponentContext](#MainComponentContext) ## `PieChart` +Inherits or Implemented: [BaseChart](#BaseChart) ## `PolarChart` +Inherits or Implemented: [BaseChart](#BaseChart) ## `PolarCoordContext` +Inherits or Implemented: [MainComponentContext](#MainComponentContext) ## `ProgressBar` +Inherits or Implemented: [BaseChart](#BaseChart) ## `PropertyUtil` @@ -613,9 +644,11 @@ ## `RadarChart` +Inherits or Implemented: [BaseChart](#BaseChart) ## `RadarCoordContext` +Inherits or Implemented: [MainComponentContext](#MainComponentContext) ## `ReflectionUtil` @@ -630,6 +663,8 @@ ## `RequireChartComponentAttribute` +Inherits or Implemented: [Attribute](#Attribute) + |public method|description| |--|--| | `RequireChartComponentAttribute` |public RequireChartComponentAttribute(Type requiredComponent)
| @@ -638,6 +673,7 @@ ## `RingChart` +Inherits or Implemented: [BaseChart](#BaseChart) ## `RuntimeUtil` @@ -651,12 +687,14 @@ ## `ScatterChart` +Inherits or Implemented: [BaseChart](#BaseChart) ## `SerieContext` - ## `SerieConvertAttribute` +Inherits or Implemented: [Attribute](#Attribute) + |public method|description| |--|--| | `Contains` |public bool Contains(Type type)
| @@ -667,9 +705,10 @@ ## `SerieDataContext` - ## `SerieExtraComponentAttribute` +Inherits or Implemented: [Attribute](#Attribute) + |public method|description| |--|--| | `Contains` |public bool Contains(Type type)
| @@ -684,9 +723,10 @@ ## `SerieHandler` - ## `SerieHandler` +Inherits or Implemented: [SerieHandler where T](#SerieHandler where T),[Serie](#Serie) + |public method|description| |--|--| | `GetSerieDataLabelPosition` |public virtual Vector3 GetSerieDataLabelPosition(SerieData serieData, LabelStyle label)
| @@ -702,6 +742,8 @@ ## `SerieHandlerAttribute` +Inherits or Implemented: [Attribute](#Attribute) + |public method|description| |--|--| | `SerieHandlerAttribute` |public SerieHandlerAttribute(Type handler)
| @@ -772,7 +814,6 @@ ## `SerieParams` - ## `SeriesHelper` |public method|description| @@ -794,12 +835,15 @@ ## `SimplifiedBarChart` +Inherits or Implemented: [BaseChart](#BaseChart) ## `SimplifiedCandlestickChart` +Inherits or Implemented: [BaseChart](#BaseChart) ## `SimplifiedLineChart` +Inherits or Implemented: [BaseChart](#BaseChart) ## `SVG` @@ -811,6 +855,7 @@ ## `SVGImage` +Inherits or Implemented: [MaskableGraphic](#MaskableGraphic) ## `SVGPath` @@ -828,10 +873,8 @@ ## `TooltipContext` - ## `TooltipData` - ## `TooltipHelper` |public method|description| @@ -855,7 +898,6 @@ ## `TooltipViewItem` - ## `UGL` |public method|description| @@ -878,6 +920,7 @@ ## `UGLExample` +Inherits or Implemented: [MaskableGraphic](#MaskableGraphic) ## `UGLHelper` @@ -905,6 +948,7 @@ ## `VisualMapContext` +Inherits or Implemented: [MainComponentContext](#MainComponentContext) ## `VisualMapHelper` @@ -936,6 +980,8 @@ ## `XChartsPackageResourceImporterWindow` +Inherits or Implemented: [UnityEditor.EditorWindow](#UnityEditor.EditorWindow) + |public method|description| |--|--| | `ShowPackageImporterWindow` |public static void ShowPackageImporterWindow()
| diff --git a/Documentation/XChartsAPI-ZH.md b/Documentation/XChartsAPI-ZH.md index 552e35c3..9a3d4582 100644 --- a/Documentation/XChartsAPI-ZH.md +++ b/Documentation/XChartsAPI-ZH.md @@ -1,6 +1,6 @@ # API -[返回首页](https://github.com/XCharts-Team/XCharts)
+[XCharts主页](https://github.com/XCharts-Team/XCharts)
[XCharts配置项手册](XChartsConfiguration-ZH.md)
[XCharts问答](XChartsFQA-ZH.md) @@ -107,9 +107,11 @@ ## `AxisContext` +Inherits or Implemented: [MainComponentContext](#MainComponentContext) ## `AxisHandler` +Inherits or Implemented: [MainComponentHandler](#MainComponentHandler) ## `AxisHelper` @@ -133,9 +135,12 @@ ## `BarChart` +Inherits or Implemented: [BaseChart](#BaseChart) ## `BaseChart` +Inherits or Implemented: [BaseGraph](#BaseGraph),[ISerializationCallbackReceiver](#ISerializationCallbackReceiver) + |public method|description| |--|--| | `AddChartComponent` |public MainComponent AddChartComponent(Type type)
| @@ -262,6 +267,8 @@ ## `BaseGraph` +Inherits or Implemented: [MaskableGraphic](#MaskableGraphic),[IPointerDownHandler](#IPointerDownHandler),[IPointerUpHandler](#IPointerUpHandler),[](#) + |public method|description| |--|--| | `CheckWarning` |public string CheckWarning()
检测警告信息。 | @@ -283,6 +290,7 @@ ## `CandlestickChart` +Inherits or Implemented: [BaseChart](#BaseChart) ## `ChartCached` @@ -297,10 +305,8 @@ ## `ChartConst` - ## `ChartDrawer` - ## `ChartHelper` |public method|description| @@ -360,6 +366,8 @@ ## `ChartLabel` +Inherits or Implemented: [Image](#Image) + |public method|description| |--|--| | `GetLabelHeight` |public float GetLabelHeight()
| @@ -402,6 +410,8 @@ ## `ComponentHandlerAttribute` +Inherits or Implemented: [Attribute](#Attribute) + |public method|description| |--|--| | `ComponentHandlerAttribute` |public ComponentHandlerAttribute(Type handler)
| @@ -419,6 +429,8 @@ ## `CoordOptionsAttribute` +Inherits or Implemented: [Attribute](#Attribute) + |public method|description| |--|--| | `CoordOptionsAttribute` |public CoordOptionsAttribute(Type coord)
| @@ -428,6 +440,7 @@ ## `DataZoomContext` +Inherits or Implemented: [MainComponentContext](#MainComponentContext) ## `DataZoomHelper` @@ -445,6 +458,8 @@ ## `DefaultAnimationAttribute` +Inherits or Implemented: [Attribute](#Attribute) + |public method|description| |--|--| | `DefaultAnimationAttribute` |public DefaultAnimationAttribute(AnimationType handler)
| @@ -467,9 +482,11 @@ ## `GridCoordContext` +Inherits or Implemented: [MainComponentContext](#MainComponentContext),[IRectContext](#IRectContext) ## `HeatmapChart` +Inherits or Implemented: [BaseChart](#BaseChart) ## `InteractData` @@ -495,7 +512,6 @@ ## `LangCandlestick` - ## `LayerHelper` |public method|description| @@ -505,6 +521,7 @@ ## `LegendContext` +Inherits or Implemented: [MainComponentContext](#MainComponentContext) ## `LegendHelper` @@ -540,33 +557,39 @@ ## `LineChart` +Inherits or Implemented: [BaseChart](#BaseChart) ## `ListFor` +Inherits or Implemented: [Attribute](#Attribute) + |public method|description| |--|--| | `ListFor` |public ListFor(Type type)
| ## `ListForComponent` +Inherits or Implemented: [ListFor](#ListFor) + |public method|description| |--|--| | `ListForComponent` |public ListForComponent(Type type) : base(type)
| ## `ListForSerie` +Inherits or Implemented: [ListFor](#ListFor) + |public method|description| |--|--| | `ListForSerie` |public ListForSerie(Type type) : base(type)
| ## `MainComponentContext` - ## `MainComponentHandler` - ## `MainComponentHandler` +Inherits or Implemented: [MainComponentHandler](#MainComponentHandler) ## `MathUtil` @@ -580,6 +603,8 @@ ## `Painter` +Inherits or Implemented: [MaskableGraphic](#MaskableGraphic) + |public method|description| |--|--| | `Init` |public void Init()
| @@ -588,21 +613,27 @@ ## `ParallelChart` +Inherits or Implemented: [BaseChart](#BaseChart) ## `ParallelCoordContext` +Inherits or Implemented: [MainComponentContext](#MainComponentContext) ## `PieChart` +Inherits or Implemented: [BaseChart](#BaseChart) ## `PolarChart` +Inherits or Implemented: [BaseChart](#BaseChart) ## `PolarCoordContext` +Inherits or Implemented: [MainComponentContext](#MainComponentContext) ## `ProgressBar` +Inherits or Implemented: [BaseChart](#BaseChart) ## `PropertyUtil` @@ -613,9 +644,11 @@ ## `RadarChart` +Inherits or Implemented: [BaseChart](#BaseChart) ## `RadarCoordContext` +Inherits or Implemented: [MainComponentContext](#MainComponentContext) ## `ReflectionUtil` @@ -630,6 +663,8 @@ ## `RequireChartComponentAttribute` +Inherits or Implemented: [Attribute](#Attribute) + |public method|description| |--|--| | `RequireChartComponentAttribute` |public RequireChartComponentAttribute(Type requiredComponent)
| @@ -638,6 +673,7 @@ ## `RingChart` +Inherits or Implemented: [BaseChart](#BaseChart) ## `RuntimeUtil` @@ -651,12 +687,14 @@ ## `ScatterChart` +Inherits or Implemented: [BaseChart](#BaseChart) ## `SerieContext` - ## `SerieConvertAttribute` +Inherits or Implemented: [Attribute](#Attribute) + |public method|description| |--|--| | `Contains` |public bool Contains(Type type)
| @@ -667,9 +705,10 @@ ## `SerieDataContext` - ## `SerieExtraComponentAttribute` +Inherits or Implemented: [Attribute](#Attribute) + |public method|description| |--|--| | `Contains` |public bool Contains(Type type)
| @@ -684,9 +723,10 @@ ## `SerieHandler` - ## `SerieHandler` +Inherits or Implemented: [SerieHandler where T](#SerieHandler where T),[Serie](#Serie) + |public method|description| |--|--| | `GetSerieDataLabelPosition` |public virtual Vector3 GetSerieDataLabelPosition(SerieData serieData, LabelStyle label)
| @@ -702,6 +742,8 @@ ## `SerieHandlerAttribute` +Inherits or Implemented: [Attribute](#Attribute) + |public method|description| |--|--| | `SerieHandlerAttribute` |public SerieHandlerAttribute(Type handler)
| @@ -772,7 +814,6 @@ ## `SerieParams` - ## `SeriesHelper` |public method|description| @@ -794,12 +835,15 @@ ## `SimplifiedBarChart` +Inherits or Implemented: [BaseChart](#BaseChart) ## `SimplifiedCandlestickChart` +Inherits or Implemented: [BaseChart](#BaseChart) ## `SimplifiedLineChart` +Inherits or Implemented: [BaseChart](#BaseChart) ## `SVG` @@ -811,6 +855,7 @@ ## `SVGImage` +Inherits or Implemented: [MaskableGraphic](#MaskableGraphic) ## `SVGPath` @@ -828,10 +873,8 @@ ## `TooltipContext` - ## `TooltipData` - ## `TooltipHelper` |public method|description| @@ -855,7 +898,6 @@ ## `TooltipViewItem` - ## `UGL` |public method|description| @@ -878,6 +920,7 @@ ## `UGLExample` +Inherits or Implemented: [MaskableGraphic](#MaskableGraphic) ## `UGLHelper` @@ -905,6 +948,7 @@ ## `VisualMapContext` +Inherits or Implemented: [MainComponentContext](#MainComponentContext) ## `VisualMapHelper` @@ -936,6 +980,8 @@ ## `XChartsPackageResourceImporterWindow` +Inherits or Implemented: [UnityEditor.EditorWindow](#UnityEditor.EditorWindow) + |public method|description| |--|--| | `ShowPackageImporterWindow` |public static void ShowPackageImporterWindow()
| @@ -959,6 +1005,6 @@ | `ReloadThemeList` |public static void ReloadThemeList()
重新加载主题列表 | | `SwitchTheme` |public static void SwitchTheme(BaseChart chart, string themeName)
| -[返回首页](https://github.com/XCharts-Team/XCharts)
+[XCharts主页](https://github.com/XCharts-Team/XCharts)
[XCharts配置项手册](XChartsConfiguration-ZH.md)
[XCharts问答](XChartsFQA-ZH.md) diff --git a/Documentation/XChartsConfiguration-EN.md b/Documentation/XChartsConfiguration-EN.md index 8c8e9ded..74408d72 100644 --- a/Documentation/XChartsConfiguration-EN.md +++ b/Documentation/XChartsConfiguration-EN.md @@ -1391,6 +1391,7 @@ Inherits or Implemented: [Axis](#Axis) The x axis in cartesian(rectangular) coordinate. -n[XCharts Homepage](https://github.com/XCharts-Team/XCharts)
+ +[XCharts Homepage](https://github.com/XCharts-Team/XCharts)
[XCharts API](XChartsAPI-EN.md)
[XCharts Q&A](XChartsFQA-EN.md) diff --git a/Documentation/XChartsConfiguration-ZH.md b/Documentation/XChartsConfiguration-ZH.md index defaf1f2..fd8ccdf6 100644 --- a/Documentation/XChartsConfiguration-ZH.md +++ b/Documentation/XChartsConfiguration-ZH.md @@ -1,6 +1,6 @@ # 配置项手册 -[返回首页](https://github.com/XCharts-Team/XCharts)
+[XCharts主页](https://github.com/XCharts-Team/XCharts)
[XChartsAPI接口](XChartsAPI-ZH.md)
[XCharts问答](XChartsFQA-ZH.md) @@ -1391,6 +1391,7 @@ Inherits or Implemented: [Axis](#Axis) 直角坐标系 grid 中的 y 轴。 -n[返回首页](https://github.com/XCharts-Team/XCharts)
+ +[XCharts主页](https://github.com/XCharts-Team/XCharts)
[XChartsAPI接口](XChartsAPI-ZH.md)
[XCharts问答](XChartsFQA-ZH.md) diff --git a/Documentation/XChartsFQA-ZH.md b/Documentation/XChartsFQA-ZH.md index a87081b0..0a10d4f3 100644 --- a/Documentation/XChartsFQA-ZH.md +++ b/Documentation/XChartsFQA-ZH.md @@ -1,6 +1,6 @@ # XCharts问答 -[返回首页](https://github.com/XCharts-Team/XCharts) +[XCharts主页](https://github.com/XCharts-Team/XCharts) [XChartsAPI](XChartsAPI-ZH.md) [XCharts配置项手册](XChartsConfiguration-ZH.md) @@ -162,6 +162,6 @@ 6. 升级`XCharts`到最新版本。 7. 通过`菜单栏->XCharts->ImportColorConfig`将`color.config`导入即可恢复自定义的颜色(如果`color.config`不在升级后的项目的`Assets`下的话需要拷贝到此目录下)。 -[返回首页](https://github.com/XCharts-Team/XCharts) +[XCharts主页](https://github.com/XCharts-Team/XCharts) [XChartsAPI](XChartsAPI-ZH.md) [XCharts配置项手册](XChartsConfiguration-ZH.md) diff --git a/Documentation/XChartsTutorial01-EN.md b/Documentation/XChartsTutorial01-EN.md index 53edaa8e..7168929a 100644 --- a/Documentation/XChartsTutorial01-EN.md +++ b/Documentation/XChartsTutorial01-EN.md @@ -1,6 +1,6 @@ # 教程:5分钟上手 XCharts 3.0 -[返回首页](https://github.com/XCharts-Team/XCharts)
+[XCharts主页](https://github.com/XCharts-Team/XCharts)
[XCharts问答](XChartsFQA-ZH.md)
[XChartsAPI接口](XChartsAPI-ZH.md)
[XCharts配置项手册](XChartsConfiguration-ZH.md) @@ -225,7 +225,7 @@ itemStyle.color = Color.blue; ``` -[返回首页](https://github.com/XCharts-Team/XCharts)
+[XCharts主页](https://github.com/XCharts-Team/XCharts)
[XCharts问答](XChartsFQA-ZH.md)
[XChartsAPI接口](XChartsAPI-ZH.md)
[XCharts配置项手册](XChartsConfiguration-ZH.md) diff --git a/Documentation/XChartsTutorial01-ZH.md b/Documentation/XChartsTutorial01-ZH.md index 53edaa8e..7168929a 100644 --- a/Documentation/XChartsTutorial01-ZH.md +++ b/Documentation/XChartsTutorial01-ZH.md @@ -1,6 +1,6 @@ # 教程:5分钟上手 XCharts 3.0 -[返回首页](https://github.com/XCharts-Team/XCharts)
+[XCharts主页](https://github.com/XCharts-Team/XCharts)
[XCharts问答](XChartsFQA-ZH.md)
[XChartsAPI接口](XChartsAPI-ZH.md)
[XCharts配置项手册](XChartsConfiguration-ZH.md) @@ -225,7 +225,7 @@ itemStyle.color = Color.blue; ``` -[返回首页](https://github.com/XCharts-Team/XCharts)
+[XCharts主页](https://github.com/XCharts-Team/XCharts)
[XCharts问答](XChartsFQA-ZH.md)
[XChartsAPI接口](XChartsAPI-ZH.md)
[XCharts配置项手册](XChartsConfiguration-ZH.md) diff --git a/Editor/Series/SerieBaseEditor.cs b/Editor/Series/SerieBaseEditor.cs index 5c3c5154..c1a2a390 100644 --- a/Editor/Series/SerieBaseEditor.cs +++ b/Editor/Series/SerieBaseEditor.cs @@ -26,7 +26,7 @@ internal void Init(BaseChart chart, Serie target, SerializedProperty property, U this.chart = chart; this.serie = target; this.baseProperty = property; - m_DisplayName = string.Format("serie {0}: {1}", serie.index, serie.GetType().Name); + m_DisplayName = string.Format("Serie {0}: {1}", serie.index, serie.GetType().Name); //m_Inspector = inspector; showProperty = baseProperty.FindPropertyRelative("m_Show"); if (showProperty == null) diff --git a/README.md b/README.md index bdca98c8..d7946c1a 100644 --- a/README.md +++ b/README.md @@ -45,11 +45,11 @@ 一款基于`UGUI`的功能强大、易用、参数可配置的数据可视化图表插件。支持折线图、柱状图、饼图、雷达图、散点图、热力图、环形图、K线图、极坐标、平行坐标等十种常见免费内置图表,以及3D柱图、漏斗图、金字塔、仪表盘、水位图、象形柱图、甘特图、矩形树图等多种付费扩展图表。 -[XCharts教程](Documentation/XChartsTutorial01-ZH.md) -[XChartsAPI](Documentation/XChartsAPI-ZH.md) -[XCharts问答](Documentation/XChartsFQA-ZH.md) -[XCharts配置项手册](Documentation/XChartsConfiguration-ZH.md) -[XCharts更新日志](CHANGELOG.md) +[XCharts3.0 教程](Documentation/XChartsTutorial01-ZH.md) +[XCharts3.0 API](Documentation/XChartsAPI-ZH.md) +[XCharts3.0 问答](Documentation/XChartsFQA-ZH.md) +[XCharts3.0 配置项手册](Documentation/XChartsConfiguration-ZH.md) +[XCharts3.0 更新日志](CHANGELOG.md) ## 特性 diff --git a/Runtime/Internal/XChartsMgr.cs b/Runtime/Internal/XChartsMgr.cs index 4879a9ea..57b4efb1 100644 --- a/Runtime/Internal/XChartsMgr.cs +++ b/Runtime/Internal/XChartsMgr.cs @@ -20,8 +20,8 @@ class XChartsVersion [ExecuteInEditMode] public static class XChartsMgr { - public static readonly string version = "3.0.0"; - public static readonly int versionDate = 20220101; + public static readonly string version = "3.0.0-preview5"; + public static readonly int versionDate = 20220326; public static string fullVersion { get { return version + "-" + versionDate; } } internal static List chartList = new List(); diff --git a/Runtime/Widgets/SVGImage.cs b/Runtime/Widgets/SVGImage.cs index 8bf7ac00..1e12c979 100644 --- a/Runtime/Widgets/SVGImage.cs +++ b/Runtime/Widgets/SVGImage.cs @@ -12,8 +12,8 @@ public class SVGImage : MaskableGraphic private SVGPath m_Path; - public string svgPath { get { return m_SVGPath; } } - public bool mirrorY { get { return m_MirrorY; } } + public string svgPath { set { m_SVGPath = value; } get { return m_SVGPath; } } + public bool mirrorY { set { m_MirrorY = value; } get { return m_MirrorY; } } protected override void Awake() { diff --git a/package.json b/package.json index b08854b0..e6ce8714 100644 --- a/package.json +++ b/package.json @@ -1,9 +1,9 @@ { "name": "com.monitor1394.xcharts", "displayName": "XCharts", - "version": "3.0.0", - "date": "20210724", - "checkdate": "20210724", + "version": "3.0.0-preview5", + "date": "20220326", + "checkdate": "20220326", "desc": "如果 XCharts 对您有帮助,希望您能在 Github 上点 Star 支持,非常感谢!", "unity": "2018.3", "description": "A charting and data visualization library for Unity.",