From 451097c8bc18b649e0f51e3c07baf999dba17ea9 Mon Sep 17 00:00:00 2001 From: monitor1394 Date: Wed, 23 Oct 2019 18:59:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=91=E5=B8=831.0.0=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 3 +- Scripts/Editor.meta => Editor.meta | 4 +- {Scripts/Editor => Editor}/BarChartEditor.cs | 0 .../Editor => Editor}/BarChartEditor.cs.meta | 0 {Scripts/Editor => Editor}/BaseChartEditor.cs | 0 .../Editor => Editor}/BaseChartEditor.cs.meta | 0 Editor/CheckVersionEditor.cs | 79 +++++++++ Editor/CheckVersionEditor.cs.meta | 11 ++ .../CoordinateChartEditor.cs | 0 .../CoordinateChartEditor.cs.meta | 0 .../Editor => Editor}/HeatmapChartEditor.cs | 0 .../HeatmapChartEditor.cs.meta | 0 {Scripts/Editor => Editor}/LineChartEditor.cs | 0 .../Editor => Editor}/LineChartEditor.cs.meta | 0 {Scripts/Editor => Editor}/PieChartEditor.cs | 0 .../Editor => Editor}/PieChartEditor.cs.meta | 0 .../Editor => Editor}/PropertyDrawers.meta | 0 .../PropertyDrawers/AnimationDrawer.cs | 0 .../PropertyDrawers/AnimationDrawer.cs.meta | 0 .../PropertyDrawers/AreaStyleDrawer.cs | 0 .../PropertyDrawers/AreaStyleDrawer.cs.meta | 0 .../PropertyDrawers/AxisDrawer.cs | 0 .../PropertyDrawers/AxisDrawer.cs.meta | 0 .../PropertyDrawers/AxisLabelDrawer.cs | 0 .../PropertyDrawers/AxisLabelDrawer.cs.meta | 0 .../PropertyDrawers/AxisLineDrawer.cs | 0 .../PropertyDrawers/AxisLineDrawer.cs.meta | 0 .../PropertyDrawers/AxisNameDrawer.cs | 0 .../PropertyDrawers/AxisNameDrawer.cs.meta | 0 .../PropertyDrawers/AxisSplitAreaDrawer.cs | 0 .../AxisSplitAreaDrawer.cs.meta | 0 .../PropertyDrawers/AxisTickDrawer.cs | 0 .../PropertyDrawers/AxisTickDrawer.cs.meta | 0 .../PropertyDrawers/DataZoomDrawer.cs | 0 .../PropertyDrawers/DataZoomDrawer.cs.meta | 0 .../PropertyDrawers/EmphasisStyleDrawer.cs | 0 .../EmphasisStyleDrawer.cs.meta | 0 .../PropertyDrawers/GridDrawer.cs | 0 .../PropertyDrawers/GridDrawer.cs.meta | 0 .../PropertyDrawers/ItemStyleDrawer.cs | 0 .../PropertyDrawers/ItemStyleDrawer.cs.meta | 0 .../PropertyDrawers/LegendDrawer.cs | 0 .../PropertyDrawers/LegendDrawer.cs.meta | 0 .../PropertyDrawers/LineArrowDrawer.cs | 0 .../PropertyDrawers/LineArrowDrawer.cs.meta | 0 .../PropertyDrawers/LineStyleDrawer.cs | 0 .../PropertyDrawers/LineStyleDrawer.cs.meta | 0 .../PropertyDrawers/LocationDrawer.cs | 0 .../PropertyDrawers/LocationDrawer.cs.meta | 0 .../PropertyDrawers/RadarDrawer.cs | 0 .../PropertyDrawers/RadarDrawer.cs.meta | 0 .../PropertyDrawers/RadarIndicatorDrawer.cs | 0 .../RadarIndicatorDrawer.cs.meta | 0 .../PropertyDrawers/SerieDrawer.cs | 0 .../PropertyDrawers/SerieDrawer.cs.meta | 0 .../PropertyDrawers/SerieLabelDrawer.cs | 0 .../PropertyDrawers/SerieLabelDrawer.cs.meta | 0 .../PropertyDrawers/SerieSymbolDrawer.cs | 0 .../PropertyDrawers/SerieSymbolDrawer.cs.meta | 0 .../PropertyDrawers/SeriesDrawer.cs | 0 .../PropertyDrawers/SeriesDrawer.cs.meta | 0 .../PropertyDrawers/SettingsDrawer.cs | 0 .../PropertyDrawers/SettingsDrawer.cs.meta | 0 .../PropertyDrawers/ThemeInfoDrawer.cs | 0 .../PropertyDrawers/ThemeInfoDrawer.cs.meta | 0 .../PropertyDrawers/TitleDrawer.cs | 0 .../PropertyDrawers/TitleDrawer.cs.meta | 0 .../PropertyDrawers/TooltipDrawer.cs | 0 .../PropertyDrawers/TooltipDrawer.cs.meta | 0 .../PropertyDrawers/VisualMapDrawer.cs | 0 .../PropertyDrawers/VisualMapDrawer.cs.meta | 0 .../PropertyDrawers/XAxisDrawer.cs | 0 .../PropertyDrawers/XAxisDrawer.cs.meta | 0 .../PropertyDrawers/YAxisDrawer.cs | 0 .../PropertyDrawers/YAxisDrawer.cs.meta | 0 .../Editor => Editor}/RadarChartEditor.cs | 0 .../RadarChartEditor.cs.meta | 0 .../Editor => Editor}/ScatterChartEditor.cs | 0 .../ScatterChartEditor.cs.meta | 0 {Scripts/Editor => Editor}/Utility.meta | 0 .../Utility/ChartEditorHelper.cs | 0 .../Utility/ChartEditorHelper.cs.meta | 0 .../Editor => Editor}/XCharts.Editor.asmdef | 0 .../XCharts.Editor.asmdef.meta | 0 Scripts/Runtime.meta => Runtime.meta | 2 +- {Scripts/Runtime => Runtime}/API.meta | 0 .../Runtime => Runtime}/API/BaseChart_API.cs | 0 .../API/BaseChart_API.cs.meta | 0 .../API/CoordinateChart_API.cs | 0 .../API/CoordinateChart_API.cs.meta | 0 {Scripts/Runtime => Runtime}/BarChart.cs | 0 {Scripts/Runtime => Runtime}/BarChart.cs.meta | 0 {Scripts/Runtime => Runtime}/Component.meta | 0 .../Component/ChartComponent.cs | 0 .../Component/ChartComponent.cs.meta | 0 .../Runtime => Runtime}/Component/Main.meta | 0 .../Component/Main/Axis.cs | 0 .../Component/Main/Axis.cs.meta | 0 .../Component/Main/DataZoom.cs | 0 .../Component/Main/DataZoom.cs.meta | 0 .../Component/Main/Grid.cs | 0 .../Component/Main/Grid.cs.meta | 0 .../Component/Main/Legend.cs | 0 .../Component/Main/Legend.cs.meta | 0 .../Component/Main/Radar.cs | 0 .../Component/Main/Radar.cs.meta | 0 .../Component/Main/Serie.cs | 0 .../Component/Main/Serie.cs.meta | 0 .../Component/Main/Series.cs | 0 .../Component/Main/Series.cs.meta | 0 .../Component/Main/Settings.cs | 0 .../Component/Main/Settings.cs.meta | 0 .../Component/Main/Theme.cs | 0 .../Component/Main/Theme.cs.meta | 0 .../Component/Main/Title.cs | 0 .../Component/Main/Title.cs.meta | 0 .../Component/Main/Tooltip.cs | 0 .../Component/Main/Tooltip.cs.meta | 0 .../Component/Main/VisualMap.cs | 0 .../Component/Main/VisualMap.cs.meta | 0 .../Component/MainComponent.cs | 0 .../Component/MainComponent.cs.meta | 0 .../Runtime => Runtime}/Component/Sub.meta | 0 .../Component/Sub/Animation.cs | 0 .../Component/Sub/Animation.cs.meta | 0 .../Component/Sub/AreaStyle.cs | 0 .../Component/Sub/AreaStyle.cs.meta | 0 .../Component/Sub/AxisLabel.cs | 0 .../Component/Sub/AxisLabel.cs.meta | 0 .../Component/Sub/AxisLine.cs | 0 .../Component/Sub/AxisLine.cs.meta | 0 .../Component/Sub/AxisName.cs | 0 .../Component/Sub/AxisName.cs.meta | 0 .../Component/Sub/AxisSplitArea.cs | 0 .../Component/Sub/AxisSplitArea.cs.meta | 0 .../Component/Sub/AxisTick.cs | 0 .../Component/Sub/AxisTick.cs.meta | 0 .../Component/Sub/Emphasis.cs | 0 .../Component/Sub/Emphasis.cs.meta | 0 .../Component/Sub/ItemStyle.cs | 0 .../Component/Sub/ItemStyle.cs.meta | 0 .../Component/Sub/LineArrow.cs | 0 .../Component/Sub/LineArrow.cs.meta | 0 .../Component/Sub/LineStyle.cs | 0 .../Component/Sub/LineStyle.cs.meta | 0 .../Component/Sub/Location.cs | 0 .../Component/Sub/Location.cs.meta | 0 .../Component/Sub/SerieData.cs | 0 .../Component/Sub/SerieData.cs.meta | 0 .../Component/Sub/SerieLabel.cs | 0 .../Component/Sub/SerieLabel.cs.meta | 0 .../Component/Sub/SerieSymbol.cs | 0 .../Component/Sub/SerieSymbol.cs.meta | 0 .../Component/SubComponent.cs | 0 .../Component/SubComponent.cs.meta | 0 {Scripts/Runtime => Runtime}/HeatmapChart.cs | 0 .../Runtime => Runtime}/HeatmapChart.cs.meta | 0 {Scripts/Runtime => Runtime}/Helper.meta | 0 .../Helper/VisualMapHelper.cs | 0 .../Helper/VisualMapHelper.cs.meta | 0 {Scripts/Runtime => Runtime}/Interface.meta | 0 .../Interface/IJsonData.cs | 0 .../Interface/IJsonData.cs.meta | 0 .../Interface/IPropertyChanged.cs | 0 .../Interface/IPropertyChanged.cs.meta | 0 {Scripts/Runtime => Runtime}/Internal.meta | 0 .../Runtime => Runtime}/Internal/AxisPool.cs | 0 .../Internal/AxisPool.cs.meta | 0 .../Runtime => Runtime}/Internal/BaseChart.cs | 0 .../Internal/BaseChart.cs.meta | 0 .../Internal/CoordinateChart.cs | 0 .../Internal/CoordinateChart.cs.meta | 0 .../Internal/CoordinateChart_DrawBar.cs | 0 .../Internal/CoordinateChart_DrawBar.cs.meta | 0 .../Internal/CoordinateChart_DrawHeatmap.cs | 0 .../CoordinateChart_DrawHeatmap.cs.meta | 0 .../Internal/CoordinateChart_DrawLine.cs | 0 .../Internal/CoordinateChart_DrawLine.cs.meta | 0 .../Internal/CoordinateChart_DrawScatter.cs | 0 .../CoordinateChart_DrawScatter.cs.meta | 0 .../Internal/JsonDataSupport.cs | 0 .../Internal/JsonDataSupport.cs.meta | 0 .../Runtime => Runtime}/Internal/ListPool.cs | 0 .../Internal/ListPool.cs.meta | 0 .../Internal/ObjectPool.cs | 0 .../Internal/ObjectPool.cs.meta | 0 {Scripts/Runtime => Runtime}/LineChart.cs | 0 .../Runtime => Runtime}/LineChart.cs.meta | 0 {Scripts/Runtime => Runtime}/PieChart.cs | 0 {Scripts/Runtime => Runtime}/PieChart.cs.meta | 0 {Scripts/Runtime => Runtime}/RadarChart.cs | 0 .../Runtime => Runtime}/RadarChart.cs.meta | 0 {Scripts/Runtime => Runtime}/ScatterChart.cs | 0 .../Runtime => Runtime}/ScatterChart.cs.meta | 0 {Scripts/Runtime => Runtime}/Utility.meta | 0 .../Utility/ChartCached.cs | 0 .../Utility/ChartCached.cs.meta | 0 .../Utility/ChartDrawer.cs | 0 .../Utility/ChartDrawer.cs.meta | 0 .../Utility/ChartHelper.cs | 0 .../Utility/ChartHelper.cs.meta | 0 Runtime/Utility/XChartsMgr.cs | 155 ++++++++++++++++++ .../Utility/XChartsMgr.cs.meta | 0 .../XCharts.Runtime.asmdef | 0 .../XCharts.Runtime.asmdef.meta | 0 Scripts/Runtime/Utility/XChartsMgr.cs | 57 ------- package.json | 4 +- version.json | 3 +- 208 files changed, 253 insertions(+), 65 deletions(-) rename Scripts/Editor.meta => Editor.meta (62%) rename {Scripts/Editor => Editor}/BarChartEditor.cs (100%) rename {Scripts/Editor => Editor}/BarChartEditor.cs.meta (100%) rename {Scripts/Editor => Editor}/BaseChartEditor.cs (100%) rename {Scripts/Editor => Editor}/BaseChartEditor.cs.meta (100%) create mode 100644 Editor/CheckVersionEditor.cs create mode 100644 Editor/CheckVersionEditor.cs.meta rename {Scripts/Editor => Editor}/CoordinateChartEditor.cs (100%) rename {Scripts/Editor => Editor}/CoordinateChartEditor.cs.meta (100%) rename {Scripts/Editor => Editor}/HeatmapChartEditor.cs (100%) rename {Scripts/Editor => Editor}/HeatmapChartEditor.cs.meta (100%) rename {Scripts/Editor => Editor}/LineChartEditor.cs (100%) rename {Scripts/Editor => Editor}/LineChartEditor.cs.meta (100%) rename {Scripts/Editor => Editor}/PieChartEditor.cs (100%) rename {Scripts/Editor => Editor}/PieChartEditor.cs.meta (100%) rename {Scripts/Editor => Editor}/PropertyDrawers.meta (100%) rename {Scripts/Editor => Editor}/PropertyDrawers/AnimationDrawer.cs (100%) rename {Scripts/Editor => Editor}/PropertyDrawers/AnimationDrawer.cs.meta (100%) rename {Scripts/Editor => Editor}/PropertyDrawers/AreaStyleDrawer.cs (100%) rename {Scripts/Editor => Editor}/PropertyDrawers/AreaStyleDrawer.cs.meta (100%) rename {Scripts/Editor => Editor}/PropertyDrawers/AxisDrawer.cs (100%) rename {Scripts/Editor => Editor}/PropertyDrawers/AxisDrawer.cs.meta (100%) rename {Scripts/Editor => Editor}/PropertyDrawers/AxisLabelDrawer.cs (100%) rename {Scripts/Editor => Editor}/PropertyDrawers/AxisLabelDrawer.cs.meta (100%) rename {Scripts/Editor => Editor}/PropertyDrawers/AxisLineDrawer.cs (100%) rename {Scripts/Editor => Editor}/PropertyDrawers/AxisLineDrawer.cs.meta (100%) rename {Scripts/Editor => Editor}/PropertyDrawers/AxisNameDrawer.cs (100%) rename {Scripts/Editor => Editor}/PropertyDrawers/AxisNameDrawer.cs.meta (100%) rename {Scripts/Editor => Editor}/PropertyDrawers/AxisSplitAreaDrawer.cs (100%) rename {Scripts/Editor => Editor}/PropertyDrawers/AxisSplitAreaDrawer.cs.meta (100%) rename {Scripts/Editor => Editor}/PropertyDrawers/AxisTickDrawer.cs (100%) rename {Scripts/Editor => Editor}/PropertyDrawers/AxisTickDrawer.cs.meta (100%) rename {Scripts/Editor => Editor}/PropertyDrawers/DataZoomDrawer.cs (100%) rename {Scripts/Editor => Editor}/PropertyDrawers/DataZoomDrawer.cs.meta (100%) rename {Scripts/Editor => Editor}/PropertyDrawers/EmphasisStyleDrawer.cs (100%) rename {Scripts/Editor => Editor}/PropertyDrawers/EmphasisStyleDrawer.cs.meta (100%) rename {Scripts/Editor => Editor}/PropertyDrawers/GridDrawer.cs (100%) rename {Scripts/Editor => Editor}/PropertyDrawers/GridDrawer.cs.meta (100%) rename {Scripts/Editor => Editor}/PropertyDrawers/ItemStyleDrawer.cs (100%) rename {Scripts/Editor => Editor}/PropertyDrawers/ItemStyleDrawer.cs.meta (100%) rename {Scripts/Editor => Editor}/PropertyDrawers/LegendDrawer.cs (100%) rename {Scripts/Editor => Editor}/PropertyDrawers/LegendDrawer.cs.meta (100%) rename {Scripts/Editor => Editor}/PropertyDrawers/LineArrowDrawer.cs (100%) rename {Scripts/Editor => Editor}/PropertyDrawers/LineArrowDrawer.cs.meta (100%) rename {Scripts/Editor => Editor}/PropertyDrawers/LineStyleDrawer.cs (100%) rename {Scripts/Editor => Editor}/PropertyDrawers/LineStyleDrawer.cs.meta (100%) rename {Scripts/Editor => Editor}/PropertyDrawers/LocationDrawer.cs (100%) rename {Scripts/Editor => Editor}/PropertyDrawers/LocationDrawer.cs.meta (100%) rename {Scripts/Editor => Editor}/PropertyDrawers/RadarDrawer.cs (100%) rename {Scripts/Editor => Editor}/PropertyDrawers/RadarDrawer.cs.meta (100%) rename {Scripts/Editor => Editor}/PropertyDrawers/RadarIndicatorDrawer.cs (100%) rename {Scripts/Editor => Editor}/PropertyDrawers/RadarIndicatorDrawer.cs.meta (100%) rename {Scripts/Editor => Editor}/PropertyDrawers/SerieDrawer.cs (100%) rename {Scripts/Editor => Editor}/PropertyDrawers/SerieDrawer.cs.meta (100%) rename {Scripts/Editor => Editor}/PropertyDrawers/SerieLabelDrawer.cs (100%) rename {Scripts/Editor => Editor}/PropertyDrawers/SerieLabelDrawer.cs.meta (100%) rename {Scripts/Editor => Editor}/PropertyDrawers/SerieSymbolDrawer.cs (100%) rename {Scripts/Editor => Editor}/PropertyDrawers/SerieSymbolDrawer.cs.meta (100%) rename {Scripts/Editor => Editor}/PropertyDrawers/SeriesDrawer.cs (100%) rename {Scripts/Editor => Editor}/PropertyDrawers/SeriesDrawer.cs.meta (100%) rename {Scripts/Editor => Editor}/PropertyDrawers/SettingsDrawer.cs (100%) rename {Scripts/Editor => Editor}/PropertyDrawers/SettingsDrawer.cs.meta (100%) rename {Scripts/Editor => Editor}/PropertyDrawers/ThemeInfoDrawer.cs (100%) rename {Scripts/Editor => Editor}/PropertyDrawers/ThemeInfoDrawer.cs.meta (100%) rename {Scripts/Editor => Editor}/PropertyDrawers/TitleDrawer.cs (100%) rename {Scripts/Editor => Editor}/PropertyDrawers/TitleDrawer.cs.meta (100%) rename {Scripts/Editor => Editor}/PropertyDrawers/TooltipDrawer.cs (100%) rename {Scripts/Editor => Editor}/PropertyDrawers/TooltipDrawer.cs.meta (100%) rename {Scripts/Editor => Editor}/PropertyDrawers/VisualMapDrawer.cs (100%) rename {Scripts/Editor => Editor}/PropertyDrawers/VisualMapDrawer.cs.meta (100%) rename {Scripts/Editor => Editor}/PropertyDrawers/XAxisDrawer.cs (100%) rename {Scripts/Editor => Editor}/PropertyDrawers/XAxisDrawer.cs.meta (100%) rename {Scripts/Editor => Editor}/PropertyDrawers/YAxisDrawer.cs (100%) rename {Scripts/Editor => Editor}/PropertyDrawers/YAxisDrawer.cs.meta (100%) rename {Scripts/Editor => Editor}/RadarChartEditor.cs (100%) rename {Scripts/Editor => Editor}/RadarChartEditor.cs.meta (100%) rename {Scripts/Editor => Editor}/ScatterChartEditor.cs (100%) rename {Scripts/Editor => Editor}/ScatterChartEditor.cs.meta (100%) rename {Scripts/Editor => Editor}/Utility.meta (100%) rename {Scripts/Editor => Editor}/Utility/ChartEditorHelper.cs (100%) rename {Scripts/Editor => Editor}/Utility/ChartEditorHelper.cs.meta (100%) rename {Scripts/Editor => Editor}/XCharts.Editor.asmdef (100%) rename {Scripts/Editor => Editor}/XCharts.Editor.asmdef.meta (100%) rename Scripts/Runtime.meta => Runtime.meta (77%) rename {Scripts/Runtime => Runtime}/API.meta (100%) rename {Scripts/Runtime => Runtime}/API/BaseChart_API.cs (100%) rename {Scripts/Runtime => Runtime}/API/BaseChart_API.cs.meta (100%) rename {Scripts/Runtime => Runtime}/API/CoordinateChart_API.cs (100%) rename {Scripts/Runtime => Runtime}/API/CoordinateChart_API.cs.meta (100%) rename {Scripts/Runtime => Runtime}/BarChart.cs (100%) rename {Scripts/Runtime => Runtime}/BarChart.cs.meta (100%) rename {Scripts/Runtime => Runtime}/Component.meta (100%) rename {Scripts/Runtime => Runtime}/Component/ChartComponent.cs (100%) rename {Scripts/Runtime => Runtime}/Component/ChartComponent.cs.meta (100%) rename {Scripts/Runtime => Runtime}/Component/Main.meta (100%) rename {Scripts/Runtime => Runtime}/Component/Main/Axis.cs (100%) rename {Scripts/Runtime => Runtime}/Component/Main/Axis.cs.meta (100%) rename {Scripts/Runtime => Runtime}/Component/Main/DataZoom.cs (100%) rename {Scripts/Runtime => Runtime}/Component/Main/DataZoom.cs.meta (100%) rename {Scripts/Runtime => Runtime}/Component/Main/Grid.cs (100%) rename {Scripts/Runtime => Runtime}/Component/Main/Grid.cs.meta (100%) rename {Scripts/Runtime => Runtime}/Component/Main/Legend.cs (100%) rename {Scripts/Runtime => Runtime}/Component/Main/Legend.cs.meta (100%) rename {Scripts/Runtime => Runtime}/Component/Main/Radar.cs (100%) rename {Scripts/Runtime => Runtime}/Component/Main/Radar.cs.meta (100%) rename {Scripts/Runtime => Runtime}/Component/Main/Serie.cs (100%) rename {Scripts/Runtime => Runtime}/Component/Main/Serie.cs.meta (100%) rename {Scripts/Runtime => Runtime}/Component/Main/Series.cs (100%) rename {Scripts/Runtime => Runtime}/Component/Main/Series.cs.meta (100%) rename {Scripts/Runtime => Runtime}/Component/Main/Settings.cs (100%) rename {Scripts/Runtime => Runtime}/Component/Main/Settings.cs.meta (100%) rename {Scripts/Runtime => Runtime}/Component/Main/Theme.cs (100%) rename {Scripts/Runtime => Runtime}/Component/Main/Theme.cs.meta (100%) rename {Scripts/Runtime => Runtime}/Component/Main/Title.cs (100%) rename {Scripts/Runtime => Runtime}/Component/Main/Title.cs.meta (100%) rename {Scripts/Runtime => Runtime}/Component/Main/Tooltip.cs (100%) rename {Scripts/Runtime => Runtime}/Component/Main/Tooltip.cs.meta (100%) rename {Scripts/Runtime => Runtime}/Component/Main/VisualMap.cs (100%) rename {Scripts/Runtime => Runtime}/Component/Main/VisualMap.cs.meta (100%) rename {Scripts/Runtime => Runtime}/Component/MainComponent.cs (100%) rename {Scripts/Runtime => Runtime}/Component/MainComponent.cs.meta (100%) rename {Scripts/Runtime => Runtime}/Component/Sub.meta (100%) rename {Scripts/Runtime => Runtime}/Component/Sub/Animation.cs (100%) rename {Scripts/Runtime => Runtime}/Component/Sub/Animation.cs.meta (100%) rename {Scripts/Runtime => Runtime}/Component/Sub/AreaStyle.cs (100%) rename {Scripts/Runtime => Runtime}/Component/Sub/AreaStyle.cs.meta (100%) rename {Scripts/Runtime => Runtime}/Component/Sub/AxisLabel.cs (100%) rename {Scripts/Runtime => Runtime}/Component/Sub/AxisLabel.cs.meta (100%) rename {Scripts/Runtime => Runtime}/Component/Sub/AxisLine.cs (100%) rename {Scripts/Runtime => Runtime}/Component/Sub/AxisLine.cs.meta (100%) rename {Scripts/Runtime => Runtime}/Component/Sub/AxisName.cs (100%) rename {Scripts/Runtime => Runtime}/Component/Sub/AxisName.cs.meta (100%) rename {Scripts/Runtime => Runtime}/Component/Sub/AxisSplitArea.cs (100%) rename {Scripts/Runtime => Runtime}/Component/Sub/AxisSplitArea.cs.meta (100%) rename {Scripts/Runtime => Runtime}/Component/Sub/AxisTick.cs (100%) rename {Scripts/Runtime => Runtime}/Component/Sub/AxisTick.cs.meta (100%) rename {Scripts/Runtime => Runtime}/Component/Sub/Emphasis.cs (100%) rename {Scripts/Runtime => Runtime}/Component/Sub/Emphasis.cs.meta (100%) rename {Scripts/Runtime => Runtime}/Component/Sub/ItemStyle.cs (100%) rename {Scripts/Runtime => Runtime}/Component/Sub/ItemStyle.cs.meta (100%) rename {Scripts/Runtime => Runtime}/Component/Sub/LineArrow.cs (100%) rename {Scripts/Runtime => Runtime}/Component/Sub/LineArrow.cs.meta (100%) rename {Scripts/Runtime => Runtime}/Component/Sub/LineStyle.cs (100%) rename {Scripts/Runtime => Runtime}/Component/Sub/LineStyle.cs.meta (100%) rename {Scripts/Runtime => Runtime}/Component/Sub/Location.cs (100%) rename {Scripts/Runtime => Runtime}/Component/Sub/Location.cs.meta (100%) rename {Scripts/Runtime => Runtime}/Component/Sub/SerieData.cs (100%) rename {Scripts/Runtime => Runtime}/Component/Sub/SerieData.cs.meta (100%) rename {Scripts/Runtime => Runtime}/Component/Sub/SerieLabel.cs (100%) rename {Scripts/Runtime => Runtime}/Component/Sub/SerieLabel.cs.meta (100%) rename {Scripts/Runtime => Runtime}/Component/Sub/SerieSymbol.cs (100%) rename {Scripts/Runtime => Runtime}/Component/Sub/SerieSymbol.cs.meta (100%) rename {Scripts/Runtime => Runtime}/Component/SubComponent.cs (100%) rename {Scripts/Runtime => Runtime}/Component/SubComponent.cs.meta (100%) rename {Scripts/Runtime => Runtime}/HeatmapChart.cs (100%) rename {Scripts/Runtime => Runtime}/HeatmapChart.cs.meta (100%) rename {Scripts/Runtime => Runtime}/Helper.meta (100%) rename {Scripts/Runtime => Runtime}/Helper/VisualMapHelper.cs (100%) rename {Scripts/Runtime => Runtime}/Helper/VisualMapHelper.cs.meta (100%) rename {Scripts/Runtime => Runtime}/Interface.meta (100%) rename {Scripts/Runtime => Runtime}/Interface/IJsonData.cs (100%) rename {Scripts/Runtime => Runtime}/Interface/IJsonData.cs.meta (100%) rename {Scripts/Runtime => Runtime}/Interface/IPropertyChanged.cs (100%) rename {Scripts/Runtime => Runtime}/Interface/IPropertyChanged.cs.meta (100%) rename {Scripts/Runtime => Runtime}/Internal.meta (100%) rename {Scripts/Runtime => Runtime}/Internal/AxisPool.cs (100%) rename {Scripts/Runtime => Runtime}/Internal/AxisPool.cs.meta (100%) rename {Scripts/Runtime => Runtime}/Internal/BaseChart.cs (100%) rename {Scripts/Runtime => Runtime}/Internal/BaseChart.cs.meta (100%) rename {Scripts/Runtime => Runtime}/Internal/CoordinateChart.cs (100%) rename {Scripts/Runtime => Runtime}/Internal/CoordinateChart.cs.meta (100%) rename {Scripts/Runtime => Runtime}/Internal/CoordinateChart_DrawBar.cs (100%) rename {Scripts/Runtime => Runtime}/Internal/CoordinateChart_DrawBar.cs.meta (100%) rename {Scripts/Runtime => Runtime}/Internal/CoordinateChart_DrawHeatmap.cs (100%) rename {Scripts/Runtime => Runtime}/Internal/CoordinateChart_DrawHeatmap.cs.meta (100%) rename {Scripts/Runtime => Runtime}/Internal/CoordinateChart_DrawLine.cs (100%) rename {Scripts/Runtime => Runtime}/Internal/CoordinateChart_DrawLine.cs.meta (100%) rename {Scripts/Runtime => Runtime}/Internal/CoordinateChart_DrawScatter.cs (100%) rename {Scripts/Runtime => Runtime}/Internal/CoordinateChart_DrawScatter.cs.meta (100%) rename {Scripts/Runtime => Runtime}/Internal/JsonDataSupport.cs (100%) rename {Scripts/Runtime => Runtime}/Internal/JsonDataSupport.cs.meta (100%) rename {Scripts/Runtime => Runtime}/Internal/ListPool.cs (100%) rename {Scripts/Runtime => Runtime}/Internal/ListPool.cs.meta (100%) rename {Scripts/Runtime => Runtime}/Internal/ObjectPool.cs (100%) rename {Scripts/Runtime => Runtime}/Internal/ObjectPool.cs.meta (100%) rename {Scripts/Runtime => Runtime}/LineChart.cs (100%) rename {Scripts/Runtime => Runtime}/LineChart.cs.meta (100%) rename {Scripts/Runtime => Runtime}/PieChart.cs (100%) rename {Scripts/Runtime => Runtime}/PieChart.cs.meta (100%) rename {Scripts/Runtime => Runtime}/RadarChart.cs (100%) rename {Scripts/Runtime => Runtime}/RadarChart.cs.meta (100%) rename {Scripts/Runtime => Runtime}/ScatterChart.cs (100%) rename {Scripts/Runtime => Runtime}/ScatterChart.cs.meta (100%) rename {Scripts/Runtime => Runtime}/Utility.meta (100%) rename {Scripts/Runtime => Runtime}/Utility/ChartCached.cs (100%) rename {Scripts/Runtime => Runtime}/Utility/ChartCached.cs.meta (100%) rename {Scripts/Runtime => Runtime}/Utility/ChartDrawer.cs (100%) rename {Scripts/Runtime => Runtime}/Utility/ChartDrawer.cs.meta (100%) rename {Scripts/Runtime => Runtime}/Utility/ChartHelper.cs (100%) rename {Scripts/Runtime => Runtime}/Utility/ChartHelper.cs.meta (100%) create mode 100644 Runtime/Utility/XChartsMgr.cs rename {Scripts/Runtime => Runtime}/Utility/XChartsMgr.cs.meta (100%) rename {Scripts/Runtime => Runtime}/XCharts.Runtime.asmdef (100%) rename {Scripts/Runtime => Runtime}/XCharts.Runtime.asmdef.meta (100%) delete mode 100644 Scripts/Runtime/Utility/XChartsMgr.cs diff --git a/CHANGELOG.md b/CHANGELOG.md index 735c92e9..2df8978b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,8 @@ # 更新日志 -* (2019.10.22) 增加通过`Package Manager`安装的支持 +* (2019.10.23) 增加版本检测功能:`Component -> XCharts -> Check For Update` +* (2019.10.22) 增加`Package Manager`安装的支持 * (2019.10.20) 增加`Demo`首页`BarChart`的代码动态控制效果 * (2019.10.18) 增加`Serie`的`barType`参数,可配置`斑马柱状图` * (2019.10.18) 增加`Serie`的`barPercentStack`参数,可配置`百分比堆叠柱状图` diff --git a/Scripts/Editor.meta b/Editor.meta similarity index 62% rename from Scripts/Editor.meta rename to Editor.meta index f5b68c6e..792fad1b 100644 --- a/Scripts/Editor.meta +++ b/Editor.meta @@ -1,8 +1,6 @@ fileFormatVersion: 2 -guid: 0ed45d2c9978fbf4aac0915d767f8853 +guid: 98b750952a34c427693ac70f09008bae folderAsset: yes -timeCreated: 1554216875 -licenseType: Free DefaultImporter: externalObjects: {} userData: diff --git a/Scripts/Editor/BarChartEditor.cs b/Editor/BarChartEditor.cs similarity index 100% rename from Scripts/Editor/BarChartEditor.cs rename to Editor/BarChartEditor.cs diff --git a/Scripts/Editor/BarChartEditor.cs.meta b/Editor/BarChartEditor.cs.meta similarity index 100% rename from Scripts/Editor/BarChartEditor.cs.meta rename to Editor/BarChartEditor.cs.meta diff --git a/Scripts/Editor/BaseChartEditor.cs b/Editor/BaseChartEditor.cs similarity index 100% rename from Scripts/Editor/BaseChartEditor.cs rename to Editor/BaseChartEditor.cs diff --git a/Scripts/Editor/BaseChartEditor.cs.meta b/Editor/BaseChartEditor.cs.meta similarity index 100% rename from Scripts/Editor/BaseChartEditor.cs.meta rename to Editor/BaseChartEditor.cs.meta diff --git a/Editor/CheckVersionEditor.cs b/Editor/CheckVersionEditor.cs new file mode 100644 index 00000000..e52b8bc6 --- /dev/null +++ b/Editor/CheckVersionEditor.cs @@ -0,0 +1,79 @@ +/******************************************/ +/* */ +/* Copyright (c) 2018 monitor1394 */ +/* https://github.com/monitor1394 */ +/* */ +/******************************************/ + +using UnityEditor; +using UnityEngine; + +namespace XCharts +{ + public class CheckVersionEditor : EditorWindow + { + private Vector2 scrollPos; + private static CheckVersionEditor window; + + [MenuItem("Component/XCharts/Check For Update")] + private static void ShowWindow() + { + window = GetWindow(); + window.titleContent = new GUIContent("XCharts Check For Update"); + window.minSize = new Vector2(550, window.minSize.y); + window.Show(); + XChartsMgr.Instance.CheckVersion(); + } + + private void OnGUI() + { + var mgr = XChartsMgr.Instance; + GUILayout.Label(""); + GUILayout.Label("当前版本:" + mgr.nowVersion); + if (mgr.needUpdate && !mgr.isCheck) + { + GUILayout.BeginHorizontal(); + GUILayout.Label("最新版本:" + mgr.newVersion); + if (mgr.isCheck) GUILayout.Label("检测中..."); + else GUILayout.Label("有更新!"); + if (GUILayout.Button("去Github主页")) + { + Application.OpenURL("https://github.com/monitor1394/unity-ugui-XCharts"); + } + GUILayout.EndHorizontal(); + + GUILayout.Label(""); + if (!string.IsNullOrEmpty(mgr.desc)) + { + GUILayout.Label(mgr.desc); + GUILayout.Label(""); + } + + scrollPos = GUILayout.BeginScrollView(scrollPos); + GUILayout.TextArea(mgr.changeLog); + GUILayout.EndScrollView(); + } + else + { + if (mgr.isCheck) GUILayout.Label("最新版本:检测中..."); + else GUILayout.Label("最新版本:" + mgr.newVersion); + + if (!mgr.needUpdate && !mgr.isCheck) + { + GUILayout.Label(""); + GUILayout.Label("已是最新版本!"); + GUILayout.Label(""); + if (!string.IsNullOrEmpty(mgr.desc)) + { + GUILayout.Label(mgr.desc); + GUILayout.Label(""); + } + if (GUILayout.Button("去Github主页")) + { + Application.OpenURL(mgr.homepage); + } + } + } + } + } +} \ No newline at end of file diff --git a/Editor/CheckVersionEditor.cs.meta b/Editor/CheckVersionEditor.cs.meta new file mode 100644 index 00000000..aaf61b93 --- /dev/null +++ b/Editor/CheckVersionEditor.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 98d1061c4167c4fff8ed25c3e8be8756 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Scripts/Editor/CoordinateChartEditor.cs b/Editor/CoordinateChartEditor.cs similarity index 100% rename from Scripts/Editor/CoordinateChartEditor.cs rename to Editor/CoordinateChartEditor.cs diff --git a/Scripts/Editor/CoordinateChartEditor.cs.meta b/Editor/CoordinateChartEditor.cs.meta similarity index 100% rename from Scripts/Editor/CoordinateChartEditor.cs.meta rename to Editor/CoordinateChartEditor.cs.meta diff --git a/Scripts/Editor/HeatmapChartEditor.cs b/Editor/HeatmapChartEditor.cs similarity index 100% rename from Scripts/Editor/HeatmapChartEditor.cs rename to Editor/HeatmapChartEditor.cs diff --git a/Scripts/Editor/HeatmapChartEditor.cs.meta b/Editor/HeatmapChartEditor.cs.meta similarity index 100% rename from Scripts/Editor/HeatmapChartEditor.cs.meta rename to Editor/HeatmapChartEditor.cs.meta diff --git a/Scripts/Editor/LineChartEditor.cs b/Editor/LineChartEditor.cs similarity index 100% rename from Scripts/Editor/LineChartEditor.cs rename to Editor/LineChartEditor.cs diff --git a/Scripts/Editor/LineChartEditor.cs.meta b/Editor/LineChartEditor.cs.meta similarity index 100% rename from Scripts/Editor/LineChartEditor.cs.meta rename to Editor/LineChartEditor.cs.meta diff --git a/Scripts/Editor/PieChartEditor.cs b/Editor/PieChartEditor.cs similarity index 100% rename from Scripts/Editor/PieChartEditor.cs rename to Editor/PieChartEditor.cs diff --git a/Scripts/Editor/PieChartEditor.cs.meta b/Editor/PieChartEditor.cs.meta similarity index 100% rename from Scripts/Editor/PieChartEditor.cs.meta rename to Editor/PieChartEditor.cs.meta diff --git a/Scripts/Editor/PropertyDrawers.meta b/Editor/PropertyDrawers.meta similarity index 100% rename from Scripts/Editor/PropertyDrawers.meta rename to Editor/PropertyDrawers.meta diff --git a/Scripts/Editor/PropertyDrawers/AnimationDrawer.cs b/Editor/PropertyDrawers/AnimationDrawer.cs similarity index 100% rename from Scripts/Editor/PropertyDrawers/AnimationDrawer.cs rename to Editor/PropertyDrawers/AnimationDrawer.cs diff --git a/Scripts/Editor/PropertyDrawers/AnimationDrawer.cs.meta b/Editor/PropertyDrawers/AnimationDrawer.cs.meta similarity index 100% rename from Scripts/Editor/PropertyDrawers/AnimationDrawer.cs.meta rename to Editor/PropertyDrawers/AnimationDrawer.cs.meta diff --git a/Scripts/Editor/PropertyDrawers/AreaStyleDrawer.cs b/Editor/PropertyDrawers/AreaStyleDrawer.cs similarity index 100% rename from Scripts/Editor/PropertyDrawers/AreaStyleDrawer.cs rename to Editor/PropertyDrawers/AreaStyleDrawer.cs diff --git a/Scripts/Editor/PropertyDrawers/AreaStyleDrawer.cs.meta b/Editor/PropertyDrawers/AreaStyleDrawer.cs.meta similarity index 100% rename from Scripts/Editor/PropertyDrawers/AreaStyleDrawer.cs.meta rename to Editor/PropertyDrawers/AreaStyleDrawer.cs.meta diff --git a/Scripts/Editor/PropertyDrawers/AxisDrawer.cs b/Editor/PropertyDrawers/AxisDrawer.cs similarity index 100% rename from Scripts/Editor/PropertyDrawers/AxisDrawer.cs rename to Editor/PropertyDrawers/AxisDrawer.cs diff --git a/Scripts/Editor/PropertyDrawers/AxisDrawer.cs.meta b/Editor/PropertyDrawers/AxisDrawer.cs.meta similarity index 100% rename from Scripts/Editor/PropertyDrawers/AxisDrawer.cs.meta rename to Editor/PropertyDrawers/AxisDrawer.cs.meta diff --git a/Scripts/Editor/PropertyDrawers/AxisLabelDrawer.cs b/Editor/PropertyDrawers/AxisLabelDrawer.cs similarity index 100% rename from Scripts/Editor/PropertyDrawers/AxisLabelDrawer.cs rename to Editor/PropertyDrawers/AxisLabelDrawer.cs diff --git a/Scripts/Editor/PropertyDrawers/AxisLabelDrawer.cs.meta b/Editor/PropertyDrawers/AxisLabelDrawer.cs.meta similarity index 100% rename from Scripts/Editor/PropertyDrawers/AxisLabelDrawer.cs.meta rename to Editor/PropertyDrawers/AxisLabelDrawer.cs.meta diff --git a/Scripts/Editor/PropertyDrawers/AxisLineDrawer.cs b/Editor/PropertyDrawers/AxisLineDrawer.cs similarity index 100% rename from Scripts/Editor/PropertyDrawers/AxisLineDrawer.cs rename to Editor/PropertyDrawers/AxisLineDrawer.cs diff --git a/Scripts/Editor/PropertyDrawers/AxisLineDrawer.cs.meta b/Editor/PropertyDrawers/AxisLineDrawer.cs.meta similarity index 100% rename from Scripts/Editor/PropertyDrawers/AxisLineDrawer.cs.meta rename to Editor/PropertyDrawers/AxisLineDrawer.cs.meta diff --git a/Scripts/Editor/PropertyDrawers/AxisNameDrawer.cs b/Editor/PropertyDrawers/AxisNameDrawer.cs similarity index 100% rename from Scripts/Editor/PropertyDrawers/AxisNameDrawer.cs rename to Editor/PropertyDrawers/AxisNameDrawer.cs diff --git a/Scripts/Editor/PropertyDrawers/AxisNameDrawer.cs.meta b/Editor/PropertyDrawers/AxisNameDrawer.cs.meta similarity index 100% rename from Scripts/Editor/PropertyDrawers/AxisNameDrawer.cs.meta rename to Editor/PropertyDrawers/AxisNameDrawer.cs.meta diff --git a/Scripts/Editor/PropertyDrawers/AxisSplitAreaDrawer.cs b/Editor/PropertyDrawers/AxisSplitAreaDrawer.cs similarity index 100% rename from Scripts/Editor/PropertyDrawers/AxisSplitAreaDrawer.cs rename to Editor/PropertyDrawers/AxisSplitAreaDrawer.cs diff --git a/Scripts/Editor/PropertyDrawers/AxisSplitAreaDrawer.cs.meta b/Editor/PropertyDrawers/AxisSplitAreaDrawer.cs.meta similarity index 100% rename from Scripts/Editor/PropertyDrawers/AxisSplitAreaDrawer.cs.meta rename to Editor/PropertyDrawers/AxisSplitAreaDrawer.cs.meta diff --git a/Scripts/Editor/PropertyDrawers/AxisTickDrawer.cs b/Editor/PropertyDrawers/AxisTickDrawer.cs similarity index 100% rename from Scripts/Editor/PropertyDrawers/AxisTickDrawer.cs rename to Editor/PropertyDrawers/AxisTickDrawer.cs diff --git a/Scripts/Editor/PropertyDrawers/AxisTickDrawer.cs.meta b/Editor/PropertyDrawers/AxisTickDrawer.cs.meta similarity index 100% rename from Scripts/Editor/PropertyDrawers/AxisTickDrawer.cs.meta rename to Editor/PropertyDrawers/AxisTickDrawer.cs.meta diff --git a/Scripts/Editor/PropertyDrawers/DataZoomDrawer.cs b/Editor/PropertyDrawers/DataZoomDrawer.cs similarity index 100% rename from Scripts/Editor/PropertyDrawers/DataZoomDrawer.cs rename to Editor/PropertyDrawers/DataZoomDrawer.cs diff --git a/Scripts/Editor/PropertyDrawers/DataZoomDrawer.cs.meta b/Editor/PropertyDrawers/DataZoomDrawer.cs.meta similarity index 100% rename from Scripts/Editor/PropertyDrawers/DataZoomDrawer.cs.meta rename to Editor/PropertyDrawers/DataZoomDrawer.cs.meta diff --git a/Scripts/Editor/PropertyDrawers/EmphasisStyleDrawer.cs b/Editor/PropertyDrawers/EmphasisStyleDrawer.cs similarity index 100% rename from Scripts/Editor/PropertyDrawers/EmphasisStyleDrawer.cs rename to Editor/PropertyDrawers/EmphasisStyleDrawer.cs diff --git a/Scripts/Editor/PropertyDrawers/EmphasisStyleDrawer.cs.meta b/Editor/PropertyDrawers/EmphasisStyleDrawer.cs.meta similarity index 100% rename from Scripts/Editor/PropertyDrawers/EmphasisStyleDrawer.cs.meta rename to Editor/PropertyDrawers/EmphasisStyleDrawer.cs.meta diff --git a/Scripts/Editor/PropertyDrawers/GridDrawer.cs b/Editor/PropertyDrawers/GridDrawer.cs similarity index 100% rename from Scripts/Editor/PropertyDrawers/GridDrawer.cs rename to Editor/PropertyDrawers/GridDrawer.cs diff --git a/Scripts/Editor/PropertyDrawers/GridDrawer.cs.meta b/Editor/PropertyDrawers/GridDrawer.cs.meta similarity index 100% rename from Scripts/Editor/PropertyDrawers/GridDrawer.cs.meta rename to Editor/PropertyDrawers/GridDrawer.cs.meta diff --git a/Scripts/Editor/PropertyDrawers/ItemStyleDrawer.cs b/Editor/PropertyDrawers/ItemStyleDrawer.cs similarity index 100% rename from Scripts/Editor/PropertyDrawers/ItemStyleDrawer.cs rename to Editor/PropertyDrawers/ItemStyleDrawer.cs diff --git a/Scripts/Editor/PropertyDrawers/ItemStyleDrawer.cs.meta b/Editor/PropertyDrawers/ItemStyleDrawer.cs.meta similarity index 100% rename from Scripts/Editor/PropertyDrawers/ItemStyleDrawer.cs.meta rename to Editor/PropertyDrawers/ItemStyleDrawer.cs.meta diff --git a/Scripts/Editor/PropertyDrawers/LegendDrawer.cs b/Editor/PropertyDrawers/LegendDrawer.cs similarity index 100% rename from Scripts/Editor/PropertyDrawers/LegendDrawer.cs rename to Editor/PropertyDrawers/LegendDrawer.cs diff --git a/Scripts/Editor/PropertyDrawers/LegendDrawer.cs.meta b/Editor/PropertyDrawers/LegendDrawer.cs.meta similarity index 100% rename from Scripts/Editor/PropertyDrawers/LegendDrawer.cs.meta rename to Editor/PropertyDrawers/LegendDrawer.cs.meta diff --git a/Scripts/Editor/PropertyDrawers/LineArrowDrawer.cs b/Editor/PropertyDrawers/LineArrowDrawer.cs similarity index 100% rename from Scripts/Editor/PropertyDrawers/LineArrowDrawer.cs rename to Editor/PropertyDrawers/LineArrowDrawer.cs diff --git a/Scripts/Editor/PropertyDrawers/LineArrowDrawer.cs.meta b/Editor/PropertyDrawers/LineArrowDrawer.cs.meta similarity index 100% rename from Scripts/Editor/PropertyDrawers/LineArrowDrawer.cs.meta rename to Editor/PropertyDrawers/LineArrowDrawer.cs.meta diff --git a/Scripts/Editor/PropertyDrawers/LineStyleDrawer.cs b/Editor/PropertyDrawers/LineStyleDrawer.cs similarity index 100% rename from Scripts/Editor/PropertyDrawers/LineStyleDrawer.cs rename to Editor/PropertyDrawers/LineStyleDrawer.cs diff --git a/Scripts/Editor/PropertyDrawers/LineStyleDrawer.cs.meta b/Editor/PropertyDrawers/LineStyleDrawer.cs.meta similarity index 100% rename from Scripts/Editor/PropertyDrawers/LineStyleDrawer.cs.meta rename to Editor/PropertyDrawers/LineStyleDrawer.cs.meta diff --git a/Scripts/Editor/PropertyDrawers/LocationDrawer.cs b/Editor/PropertyDrawers/LocationDrawer.cs similarity index 100% rename from Scripts/Editor/PropertyDrawers/LocationDrawer.cs rename to Editor/PropertyDrawers/LocationDrawer.cs diff --git a/Scripts/Editor/PropertyDrawers/LocationDrawer.cs.meta b/Editor/PropertyDrawers/LocationDrawer.cs.meta similarity index 100% rename from Scripts/Editor/PropertyDrawers/LocationDrawer.cs.meta rename to Editor/PropertyDrawers/LocationDrawer.cs.meta diff --git a/Scripts/Editor/PropertyDrawers/RadarDrawer.cs b/Editor/PropertyDrawers/RadarDrawer.cs similarity index 100% rename from Scripts/Editor/PropertyDrawers/RadarDrawer.cs rename to Editor/PropertyDrawers/RadarDrawer.cs diff --git a/Scripts/Editor/PropertyDrawers/RadarDrawer.cs.meta b/Editor/PropertyDrawers/RadarDrawer.cs.meta similarity index 100% rename from Scripts/Editor/PropertyDrawers/RadarDrawer.cs.meta rename to Editor/PropertyDrawers/RadarDrawer.cs.meta diff --git a/Scripts/Editor/PropertyDrawers/RadarIndicatorDrawer.cs b/Editor/PropertyDrawers/RadarIndicatorDrawer.cs similarity index 100% rename from Scripts/Editor/PropertyDrawers/RadarIndicatorDrawer.cs rename to Editor/PropertyDrawers/RadarIndicatorDrawer.cs diff --git a/Scripts/Editor/PropertyDrawers/RadarIndicatorDrawer.cs.meta b/Editor/PropertyDrawers/RadarIndicatorDrawer.cs.meta similarity index 100% rename from Scripts/Editor/PropertyDrawers/RadarIndicatorDrawer.cs.meta rename to Editor/PropertyDrawers/RadarIndicatorDrawer.cs.meta diff --git a/Scripts/Editor/PropertyDrawers/SerieDrawer.cs b/Editor/PropertyDrawers/SerieDrawer.cs similarity index 100% rename from Scripts/Editor/PropertyDrawers/SerieDrawer.cs rename to Editor/PropertyDrawers/SerieDrawer.cs diff --git a/Scripts/Editor/PropertyDrawers/SerieDrawer.cs.meta b/Editor/PropertyDrawers/SerieDrawer.cs.meta similarity index 100% rename from Scripts/Editor/PropertyDrawers/SerieDrawer.cs.meta rename to Editor/PropertyDrawers/SerieDrawer.cs.meta diff --git a/Scripts/Editor/PropertyDrawers/SerieLabelDrawer.cs b/Editor/PropertyDrawers/SerieLabelDrawer.cs similarity index 100% rename from Scripts/Editor/PropertyDrawers/SerieLabelDrawer.cs rename to Editor/PropertyDrawers/SerieLabelDrawer.cs diff --git a/Scripts/Editor/PropertyDrawers/SerieLabelDrawer.cs.meta b/Editor/PropertyDrawers/SerieLabelDrawer.cs.meta similarity index 100% rename from Scripts/Editor/PropertyDrawers/SerieLabelDrawer.cs.meta rename to Editor/PropertyDrawers/SerieLabelDrawer.cs.meta diff --git a/Scripts/Editor/PropertyDrawers/SerieSymbolDrawer.cs b/Editor/PropertyDrawers/SerieSymbolDrawer.cs similarity index 100% rename from Scripts/Editor/PropertyDrawers/SerieSymbolDrawer.cs rename to Editor/PropertyDrawers/SerieSymbolDrawer.cs diff --git a/Scripts/Editor/PropertyDrawers/SerieSymbolDrawer.cs.meta b/Editor/PropertyDrawers/SerieSymbolDrawer.cs.meta similarity index 100% rename from Scripts/Editor/PropertyDrawers/SerieSymbolDrawer.cs.meta rename to Editor/PropertyDrawers/SerieSymbolDrawer.cs.meta diff --git a/Scripts/Editor/PropertyDrawers/SeriesDrawer.cs b/Editor/PropertyDrawers/SeriesDrawer.cs similarity index 100% rename from Scripts/Editor/PropertyDrawers/SeriesDrawer.cs rename to Editor/PropertyDrawers/SeriesDrawer.cs diff --git a/Scripts/Editor/PropertyDrawers/SeriesDrawer.cs.meta b/Editor/PropertyDrawers/SeriesDrawer.cs.meta similarity index 100% rename from Scripts/Editor/PropertyDrawers/SeriesDrawer.cs.meta rename to Editor/PropertyDrawers/SeriesDrawer.cs.meta diff --git a/Scripts/Editor/PropertyDrawers/SettingsDrawer.cs b/Editor/PropertyDrawers/SettingsDrawer.cs similarity index 100% rename from Scripts/Editor/PropertyDrawers/SettingsDrawer.cs rename to Editor/PropertyDrawers/SettingsDrawer.cs diff --git a/Scripts/Editor/PropertyDrawers/SettingsDrawer.cs.meta b/Editor/PropertyDrawers/SettingsDrawer.cs.meta similarity index 100% rename from Scripts/Editor/PropertyDrawers/SettingsDrawer.cs.meta rename to Editor/PropertyDrawers/SettingsDrawer.cs.meta diff --git a/Scripts/Editor/PropertyDrawers/ThemeInfoDrawer.cs b/Editor/PropertyDrawers/ThemeInfoDrawer.cs similarity index 100% rename from Scripts/Editor/PropertyDrawers/ThemeInfoDrawer.cs rename to Editor/PropertyDrawers/ThemeInfoDrawer.cs diff --git a/Scripts/Editor/PropertyDrawers/ThemeInfoDrawer.cs.meta b/Editor/PropertyDrawers/ThemeInfoDrawer.cs.meta similarity index 100% rename from Scripts/Editor/PropertyDrawers/ThemeInfoDrawer.cs.meta rename to Editor/PropertyDrawers/ThemeInfoDrawer.cs.meta diff --git a/Scripts/Editor/PropertyDrawers/TitleDrawer.cs b/Editor/PropertyDrawers/TitleDrawer.cs similarity index 100% rename from Scripts/Editor/PropertyDrawers/TitleDrawer.cs rename to Editor/PropertyDrawers/TitleDrawer.cs diff --git a/Scripts/Editor/PropertyDrawers/TitleDrawer.cs.meta b/Editor/PropertyDrawers/TitleDrawer.cs.meta similarity index 100% rename from Scripts/Editor/PropertyDrawers/TitleDrawer.cs.meta rename to Editor/PropertyDrawers/TitleDrawer.cs.meta diff --git a/Scripts/Editor/PropertyDrawers/TooltipDrawer.cs b/Editor/PropertyDrawers/TooltipDrawer.cs similarity index 100% rename from Scripts/Editor/PropertyDrawers/TooltipDrawer.cs rename to Editor/PropertyDrawers/TooltipDrawer.cs diff --git a/Scripts/Editor/PropertyDrawers/TooltipDrawer.cs.meta b/Editor/PropertyDrawers/TooltipDrawer.cs.meta similarity index 100% rename from Scripts/Editor/PropertyDrawers/TooltipDrawer.cs.meta rename to Editor/PropertyDrawers/TooltipDrawer.cs.meta diff --git a/Scripts/Editor/PropertyDrawers/VisualMapDrawer.cs b/Editor/PropertyDrawers/VisualMapDrawer.cs similarity index 100% rename from Scripts/Editor/PropertyDrawers/VisualMapDrawer.cs rename to Editor/PropertyDrawers/VisualMapDrawer.cs diff --git a/Scripts/Editor/PropertyDrawers/VisualMapDrawer.cs.meta b/Editor/PropertyDrawers/VisualMapDrawer.cs.meta similarity index 100% rename from Scripts/Editor/PropertyDrawers/VisualMapDrawer.cs.meta rename to Editor/PropertyDrawers/VisualMapDrawer.cs.meta diff --git a/Scripts/Editor/PropertyDrawers/XAxisDrawer.cs b/Editor/PropertyDrawers/XAxisDrawer.cs similarity index 100% rename from Scripts/Editor/PropertyDrawers/XAxisDrawer.cs rename to Editor/PropertyDrawers/XAxisDrawer.cs diff --git a/Scripts/Editor/PropertyDrawers/XAxisDrawer.cs.meta b/Editor/PropertyDrawers/XAxisDrawer.cs.meta similarity index 100% rename from Scripts/Editor/PropertyDrawers/XAxisDrawer.cs.meta rename to Editor/PropertyDrawers/XAxisDrawer.cs.meta diff --git a/Scripts/Editor/PropertyDrawers/YAxisDrawer.cs b/Editor/PropertyDrawers/YAxisDrawer.cs similarity index 100% rename from Scripts/Editor/PropertyDrawers/YAxisDrawer.cs rename to Editor/PropertyDrawers/YAxisDrawer.cs diff --git a/Scripts/Editor/PropertyDrawers/YAxisDrawer.cs.meta b/Editor/PropertyDrawers/YAxisDrawer.cs.meta similarity index 100% rename from Scripts/Editor/PropertyDrawers/YAxisDrawer.cs.meta rename to Editor/PropertyDrawers/YAxisDrawer.cs.meta diff --git a/Scripts/Editor/RadarChartEditor.cs b/Editor/RadarChartEditor.cs similarity index 100% rename from Scripts/Editor/RadarChartEditor.cs rename to Editor/RadarChartEditor.cs diff --git a/Scripts/Editor/RadarChartEditor.cs.meta b/Editor/RadarChartEditor.cs.meta similarity index 100% rename from Scripts/Editor/RadarChartEditor.cs.meta rename to Editor/RadarChartEditor.cs.meta diff --git a/Scripts/Editor/ScatterChartEditor.cs b/Editor/ScatterChartEditor.cs similarity index 100% rename from Scripts/Editor/ScatterChartEditor.cs rename to Editor/ScatterChartEditor.cs diff --git a/Scripts/Editor/ScatterChartEditor.cs.meta b/Editor/ScatterChartEditor.cs.meta similarity index 100% rename from Scripts/Editor/ScatterChartEditor.cs.meta rename to Editor/ScatterChartEditor.cs.meta diff --git a/Scripts/Editor/Utility.meta b/Editor/Utility.meta similarity index 100% rename from Scripts/Editor/Utility.meta rename to Editor/Utility.meta diff --git a/Scripts/Editor/Utility/ChartEditorHelper.cs b/Editor/Utility/ChartEditorHelper.cs similarity index 100% rename from Scripts/Editor/Utility/ChartEditorHelper.cs rename to Editor/Utility/ChartEditorHelper.cs diff --git a/Scripts/Editor/Utility/ChartEditorHelper.cs.meta b/Editor/Utility/ChartEditorHelper.cs.meta similarity index 100% rename from Scripts/Editor/Utility/ChartEditorHelper.cs.meta rename to Editor/Utility/ChartEditorHelper.cs.meta diff --git a/Scripts/Editor/XCharts.Editor.asmdef b/Editor/XCharts.Editor.asmdef similarity index 100% rename from Scripts/Editor/XCharts.Editor.asmdef rename to Editor/XCharts.Editor.asmdef diff --git a/Scripts/Editor/XCharts.Editor.asmdef.meta b/Editor/XCharts.Editor.asmdef.meta similarity index 100% rename from Scripts/Editor/XCharts.Editor.asmdef.meta rename to Editor/XCharts.Editor.asmdef.meta diff --git a/Scripts/Runtime.meta b/Runtime.meta similarity index 77% rename from Scripts/Runtime.meta rename to Runtime.meta index 94aaa78b..bfcc193c 100644 --- a/Scripts/Runtime.meta +++ b/Runtime.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: 986c44b52f57345d1a9b001ee7f99990 +guid: b33410c335fd5440483c5cabb05c3e5d folderAsset: yes DefaultImporter: externalObjects: {} diff --git a/Scripts/Runtime/API.meta b/Runtime/API.meta similarity index 100% rename from Scripts/Runtime/API.meta rename to Runtime/API.meta diff --git a/Scripts/Runtime/API/BaseChart_API.cs b/Runtime/API/BaseChart_API.cs similarity index 100% rename from Scripts/Runtime/API/BaseChart_API.cs rename to Runtime/API/BaseChart_API.cs diff --git a/Scripts/Runtime/API/BaseChart_API.cs.meta b/Runtime/API/BaseChart_API.cs.meta similarity index 100% rename from Scripts/Runtime/API/BaseChart_API.cs.meta rename to Runtime/API/BaseChart_API.cs.meta diff --git a/Scripts/Runtime/API/CoordinateChart_API.cs b/Runtime/API/CoordinateChart_API.cs similarity index 100% rename from Scripts/Runtime/API/CoordinateChart_API.cs rename to Runtime/API/CoordinateChart_API.cs diff --git a/Scripts/Runtime/API/CoordinateChart_API.cs.meta b/Runtime/API/CoordinateChart_API.cs.meta similarity index 100% rename from Scripts/Runtime/API/CoordinateChart_API.cs.meta rename to Runtime/API/CoordinateChart_API.cs.meta diff --git a/Scripts/Runtime/BarChart.cs b/Runtime/BarChart.cs similarity index 100% rename from Scripts/Runtime/BarChart.cs rename to Runtime/BarChart.cs diff --git a/Scripts/Runtime/BarChart.cs.meta b/Runtime/BarChart.cs.meta similarity index 100% rename from Scripts/Runtime/BarChart.cs.meta rename to Runtime/BarChart.cs.meta diff --git a/Scripts/Runtime/Component.meta b/Runtime/Component.meta similarity index 100% rename from Scripts/Runtime/Component.meta rename to Runtime/Component.meta diff --git a/Scripts/Runtime/Component/ChartComponent.cs b/Runtime/Component/ChartComponent.cs similarity index 100% rename from Scripts/Runtime/Component/ChartComponent.cs rename to Runtime/Component/ChartComponent.cs diff --git a/Scripts/Runtime/Component/ChartComponent.cs.meta b/Runtime/Component/ChartComponent.cs.meta similarity index 100% rename from Scripts/Runtime/Component/ChartComponent.cs.meta rename to Runtime/Component/ChartComponent.cs.meta diff --git a/Scripts/Runtime/Component/Main.meta b/Runtime/Component/Main.meta similarity index 100% rename from Scripts/Runtime/Component/Main.meta rename to Runtime/Component/Main.meta diff --git a/Scripts/Runtime/Component/Main/Axis.cs b/Runtime/Component/Main/Axis.cs similarity index 100% rename from Scripts/Runtime/Component/Main/Axis.cs rename to Runtime/Component/Main/Axis.cs diff --git a/Scripts/Runtime/Component/Main/Axis.cs.meta b/Runtime/Component/Main/Axis.cs.meta similarity index 100% rename from Scripts/Runtime/Component/Main/Axis.cs.meta rename to Runtime/Component/Main/Axis.cs.meta diff --git a/Scripts/Runtime/Component/Main/DataZoom.cs b/Runtime/Component/Main/DataZoom.cs similarity index 100% rename from Scripts/Runtime/Component/Main/DataZoom.cs rename to Runtime/Component/Main/DataZoom.cs diff --git a/Scripts/Runtime/Component/Main/DataZoom.cs.meta b/Runtime/Component/Main/DataZoom.cs.meta similarity index 100% rename from Scripts/Runtime/Component/Main/DataZoom.cs.meta rename to Runtime/Component/Main/DataZoom.cs.meta diff --git a/Scripts/Runtime/Component/Main/Grid.cs b/Runtime/Component/Main/Grid.cs similarity index 100% rename from Scripts/Runtime/Component/Main/Grid.cs rename to Runtime/Component/Main/Grid.cs diff --git a/Scripts/Runtime/Component/Main/Grid.cs.meta b/Runtime/Component/Main/Grid.cs.meta similarity index 100% rename from Scripts/Runtime/Component/Main/Grid.cs.meta rename to Runtime/Component/Main/Grid.cs.meta diff --git a/Scripts/Runtime/Component/Main/Legend.cs b/Runtime/Component/Main/Legend.cs similarity index 100% rename from Scripts/Runtime/Component/Main/Legend.cs rename to Runtime/Component/Main/Legend.cs diff --git a/Scripts/Runtime/Component/Main/Legend.cs.meta b/Runtime/Component/Main/Legend.cs.meta similarity index 100% rename from Scripts/Runtime/Component/Main/Legend.cs.meta rename to Runtime/Component/Main/Legend.cs.meta diff --git a/Scripts/Runtime/Component/Main/Radar.cs b/Runtime/Component/Main/Radar.cs similarity index 100% rename from Scripts/Runtime/Component/Main/Radar.cs rename to Runtime/Component/Main/Radar.cs diff --git a/Scripts/Runtime/Component/Main/Radar.cs.meta b/Runtime/Component/Main/Radar.cs.meta similarity index 100% rename from Scripts/Runtime/Component/Main/Radar.cs.meta rename to Runtime/Component/Main/Radar.cs.meta diff --git a/Scripts/Runtime/Component/Main/Serie.cs b/Runtime/Component/Main/Serie.cs similarity index 100% rename from Scripts/Runtime/Component/Main/Serie.cs rename to Runtime/Component/Main/Serie.cs diff --git a/Scripts/Runtime/Component/Main/Serie.cs.meta b/Runtime/Component/Main/Serie.cs.meta similarity index 100% rename from Scripts/Runtime/Component/Main/Serie.cs.meta rename to Runtime/Component/Main/Serie.cs.meta diff --git a/Scripts/Runtime/Component/Main/Series.cs b/Runtime/Component/Main/Series.cs similarity index 100% rename from Scripts/Runtime/Component/Main/Series.cs rename to Runtime/Component/Main/Series.cs diff --git a/Scripts/Runtime/Component/Main/Series.cs.meta b/Runtime/Component/Main/Series.cs.meta similarity index 100% rename from Scripts/Runtime/Component/Main/Series.cs.meta rename to Runtime/Component/Main/Series.cs.meta diff --git a/Scripts/Runtime/Component/Main/Settings.cs b/Runtime/Component/Main/Settings.cs similarity index 100% rename from Scripts/Runtime/Component/Main/Settings.cs rename to Runtime/Component/Main/Settings.cs diff --git a/Scripts/Runtime/Component/Main/Settings.cs.meta b/Runtime/Component/Main/Settings.cs.meta similarity index 100% rename from Scripts/Runtime/Component/Main/Settings.cs.meta rename to Runtime/Component/Main/Settings.cs.meta diff --git a/Scripts/Runtime/Component/Main/Theme.cs b/Runtime/Component/Main/Theme.cs similarity index 100% rename from Scripts/Runtime/Component/Main/Theme.cs rename to Runtime/Component/Main/Theme.cs diff --git a/Scripts/Runtime/Component/Main/Theme.cs.meta b/Runtime/Component/Main/Theme.cs.meta similarity index 100% rename from Scripts/Runtime/Component/Main/Theme.cs.meta rename to Runtime/Component/Main/Theme.cs.meta diff --git a/Scripts/Runtime/Component/Main/Title.cs b/Runtime/Component/Main/Title.cs similarity index 100% rename from Scripts/Runtime/Component/Main/Title.cs rename to Runtime/Component/Main/Title.cs diff --git a/Scripts/Runtime/Component/Main/Title.cs.meta b/Runtime/Component/Main/Title.cs.meta similarity index 100% rename from Scripts/Runtime/Component/Main/Title.cs.meta rename to Runtime/Component/Main/Title.cs.meta diff --git a/Scripts/Runtime/Component/Main/Tooltip.cs b/Runtime/Component/Main/Tooltip.cs similarity index 100% rename from Scripts/Runtime/Component/Main/Tooltip.cs rename to Runtime/Component/Main/Tooltip.cs diff --git a/Scripts/Runtime/Component/Main/Tooltip.cs.meta b/Runtime/Component/Main/Tooltip.cs.meta similarity index 100% rename from Scripts/Runtime/Component/Main/Tooltip.cs.meta rename to Runtime/Component/Main/Tooltip.cs.meta diff --git a/Scripts/Runtime/Component/Main/VisualMap.cs b/Runtime/Component/Main/VisualMap.cs similarity index 100% rename from Scripts/Runtime/Component/Main/VisualMap.cs rename to Runtime/Component/Main/VisualMap.cs diff --git a/Scripts/Runtime/Component/Main/VisualMap.cs.meta b/Runtime/Component/Main/VisualMap.cs.meta similarity index 100% rename from Scripts/Runtime/Component/Main/VisualMap.cs.meta rename to Runtime/Component/Main/VisualMap.cs.meta diff --git a/Scripts/Runtime/Component/MainComponent.cs b/Runtime/Component/MainComponent.cs similarity index 100% rename from Scripts/Runtime/Component/MainComponent.cs rename to Runtime/Component/MainComponent.cs diff --git a/Scripts/Runtime/Component/MainComponent.cs.meta b/Runtime/Component/MainComponent.cs.meta similarity index 100% rename from Scripts/Runtime/Component/MainComponent.cs.meta rename to Runtime/Component/MainComponent.cs.meta diff --git a/Scripts/Runtime/Component/Sub.meta b/Runtime/Component/Sub.meta similarity index 100% rename from Scripts/Runtime/Component/Sub.meta rename to Runtime/Component/Sub.meta diff --git a/Scripts/Runtime/Component/Sub/Animation.cs b/Runtime/Component/Sub/Animation.cs similarity index 100% rename from Scripts/Runtime/Component/Sub/Animation.cs rename to Runtime/Component/Sub/Animation.cs diff --git a/Scripts/Runtime/Component/Sub/Animation.cs.meta b/Runtime/Component/Sub/Animation.cs.meta similarity index 100% rename from Scripts/Runtime/Component/Sub/Animation.cs.meta rename to Runtime/Component/Sub/Animation.cs.meta diff --git a/Scripts/Runtime/Component/Sub/AreaStyle.cs b/Runtime/Component/Sub/AreaStyle.cs similarity index 100% rename from Scripts/Runtime/Component/Sub/AreaStyle.cs rename to Runtime/Component/Sub/AreaStyle.cs diff --git a/Scripts/Runtime/Component/Sub/AreaStyle.cs.meta b/Runtime/Component/Sub/AreaStyle.cs.meta similarity index 100% rename from Scripts/Runtime/Component/Sub/AreaStyle.cs.meta rename to Runtime/Component/Sub/AreaStyle.cs.meta diff --git a/Scripts/Runtime/Component/Sub/AxisLabel.cs b/Runtime/Component/Sub/AxisLabel.cs similarity index 100% rename from Scripts/Runtime/Component/Sub/AxisLabel.cs rename to Runtime/Component/Sub/AxisLabel.cs diff --git a/Scripts/Runtime/Component/Sub/AxisLabel.cs.meta b/Runtime/Component/Sub/AxisLabel.cs.meta similarity index 100% rename from Scripts/Runtime/Component/Sub/AxisLabel.cs.meta rename to Runtime/Component/Sub/AxisLabel.cs.meta diff --git a/Scripts/Runtime/Component/Sub/AxisLine.cs b/Runtime/Component/Sub/AxisLine.cs similarity index 100% rename from Scripts/Runtime/Component/Sub/AxisLine.cs rename to Runtime/Component/Sub/AxisLine.cs diff --git a/Scripts/Runtime/Component/Sub/AxisLine.cs.meta b/Runtime/Component/Sub/AxisLine.cs.meta similarity index 100% rename from Scripts/Runtime/Component/Sub/AxisLine.cs.meta rename to Runtime/Component/Sub/AxisLine.cs.meta diff --git a/Scripts/Runtime/Component/Sub/AxisName.cs b/Runtime/Component/Sub/AxisName.cs similarity index 100% rename from Scripts/Runtime/Component/Sub/AxisName.cs rename to Runtime/Component/Sub/AxisName.cs diff --git a/Scripts/Runtime/Component/Sub/AxisName.cs.meta b/Runtime/Component/Sub/AxisName.cs.meta similarity index 100% rename from Scripts/Runtime/Component/Sub/AxisName.cs.meta rename to Runtime/Component/Sub/AxisName.cs.meta diff --git a/Scripts/Runtime/Component/Sub/AxisSplitArea.cs b/Runtime/Component/Sub/AxisSplitArea.cs similarity index 100% rename from Scripts/Runtime/Component/Sub/AxisSplitArea.cs rename to Runtime/Component/Sub/AxisSplitArea.cs diff --git a/Scripts/Runtime/Component/Sub/AxisSplitArea.cs.meta b/Runtime/Component/Sub/AxisSplitArea.cs.meta similarity index 100% rename from Scripts/Runtime/Component/Sub/AxisSplitArea.cs.meta rename to Runtime/Component/Sub/AxisSplitArea.cs.meta diff --git a/Scripts/Runtime/Component/Sub/AxisTick.cs b/Runtime/Component/Sub/AxisTick.cs similarity index 100% rename from Scripts/Runtime/Component/Sub/AxisTick.cs rename to Runtime/Component/Sub/AxisTick.cs diff --git a/Scripts/Runtime/Component/Sub/AxisTick.cs.meta b/Runtime/Component/Sub/AxisTick.cs.meta similarity index 100% rename from Scripts/Runtime/Component/Sub/AxisTick.cs.meta rename to Runtime/Component/Sub/AxisTick.cs.meta diff --git a/Scripts/Runtime/Component/Sub/Emphasis.cs b/Runtime/Component/Sub/Emphasis.cs similarity index 100% rename from Scripts/Runtime/Component/Sub/Emphasis.cs rename to Runtime/Component/Sub/Emphasis.cs diff --git a/Scripts/Runtime/Component/Sub/Emphasis.cs.meta b/Runtime/Component/Sub/Emphasis.cs.meta similarity index 100% rename from Scripts/Runtime/Component/Sub/Emphasis.cs.meta rename to Runtime/Component/Sub/Emphasis.cs.meta diff --git a/Scripts/Runtime/Component/Sub/ItemStyle.cs b/Runtime/Component/Sub/ItemStyle.cs similarity index 100% rename from Scripts/Runtime/Component/Sub/ItemStyle.cs rename to Runtime/Component/Sub/ItemStyle.cs diff --git a/Scripts/Runtime/Component/Sub/ItemStyle.cs.meta b/Runtime/Component/Sub/ItemStyle.cs.meta similarity index 100% rename from Scripts/Runtime/Component/Sub/ItemStyle.cs.meta rename to Runtime/Component/Sub/ItemStyle.cs.meta diff --git a/Scripts/Runtime/Component/Sub/LineArrow.cs b/Runtime/Component/Sub/LineArrow.cs similarity index 100% rename from Scripts/Runtime/Component/Sub/LineArrow.cs rename to Runtime/Component/Sub/LineArrow.cs diff --git a/Scripts/Runtime/Component/Sub/LineArrow.cs.meta b/Runtime/Component/Sub/LineArrow.cs.meta similarity index 100% rename from Scripts/Runtime/Component/Sub/LineArrow.cs.meta rename to Runtime/Component/Sub/LineArrow.cs.meta diff --git a/Scripts/Runtime/Component/Sub/LineStyle.cs b/Runtime/Component/Sub/LineStyle.cs similarity index 100% rename from Scripts/Runtime/Component/Sub/LineStyle.cs rename to Runtime/Component/Sub/LineStyle.cs diff --git a/Scripts/Runtime/Component/Sub/LineStyle.cs.meta b/Runtime/Component/Sub/LineStyle.cs.meta similarity index 100% rename from Scripts/Runtime/Component/Sub/LineStyle.cs.meta rename to Runtime/Component/Sub/LineStyle.cs.meta diff --git a/Scripts/Runtime/Component/Sub/Location.cs b/Runtime/Component/Sub/Location.cs similarity index 100% rename from Scripts/Runtime/Component/Sub/Location.cs rename to Runtime/Component/Sub/Location.cs diff --git a/Scripts/Runtime/Component/Sub/Location.cs.meta b/Runtime/Component/Sub/Location.cs.meta similarity index 100% rename from Scripts/Runtime/Component/Sub/Location.cs.meta rename to Runtime/Component/Sub/Location.cs.meta diff --git a/Scripts/Runtime/Component/Sub/SerieData.cs b/Runtime/Component/Sub/SerieData.cs similarity index 100% rename from Scripts/Runtime/Component/Sub/SerieData.cs rename to Runtime/Component/Sub/SerieData.cs diff --git a/Scripts/Runtime/Component/Sub/SerieData.cs.meta b/Runtime/Component/Sub/SerieData.cs.meta similarity index 100% rename from Scripts/Runtime/Component/Sub/SerieData.cs.meta rename to Runtime/Component/Sub/SerieData.cs.meta diff --git a/Scripts/Runtime/Component/Sub/SerieLabel.cs b/Runtime/Component/Sub/SerieLabel.cs similarity index 100% rename from Scripts/Runtime/Component/Sub/SerieLabel.cs rename to Runtime/Component/Sub/SerieLabel.cs diff --git a/Scripts/Runtime/Component/Sub/SerieLabel.cs.meta b/Runtime/Component/Sub/SerieLabel.cs.meta similarity index 100% rename from Scripts/Runtime/Component/Sub/SerieLabel.cs.meta rename to Runtime/Component/Sub/SerieLabel.cs.meta diff --git a/Scripts/Runtime/Component/Sub/SerieSymbol.cs b/Runtime/Component/Sub/SerieSymbol.cs similarity index 100% rename from Scripts/Runtime/Component/Sub/SerieSymbol.cs rename to Runtime/Component/Sub/SerieSymbol.cs diff --git a/Scripts/Runtime/Component/Sub/SerieSymbol.cs.meta b/Runtime/Component/Sub/SerieSymbol.cs.meta similarity index 100% rename from Scripts/Runtime/Component/Sub/SerieSymbol.cs.meta rename to Runtime/Component/Sub/SerieSymbol.cs.meta diff --git a/Scripts/Runtime/Component/SubComponent.cs b/Runtime/Component/SubComponent.cs similarity index 100% rename from Scripts/Runtime/Component/SubComponent.cs rename to Runtime/Component/SubComponent.cs diff --git a/Scripts/Runtime/Component/SubComponent.cs.meta b/Runtime/Component/SubComponent.cs.meta similarity index 100% rename from Scripts/Runtime/Component/SubComponent.cs.meta rename to Runtime/Component/SubComponent.cs.meta diff --git a/Scripts/Runtime/HeatmapChart.cs b/Runtime/HeatmapChart.cs similarity index 100% rename from Scripts/Runtime/HeatmapChart.cs rename to Runtime/HeatmapChart.cs diff --git a/Scripts/Runtime/HeatmapChart.cs.meta b/Runtime/HeatmapChart.cs.meta similarity index 100% rename from Scripts/Runtime/HeatmapChart.cs.meta rename to Runtime/HeatmapChart.cs.meta diff --git a/Scripts/Runtime/Helper.meta b/Runtime/Helper.meta similarity index 100% rename from Scripts/Runtime/Helper.meta rename to Runtime/Helper.meta diff --git a/Scripts/Runtime/Helper/VisualMapHelper.cs b/Runtime/Helper/VisualMapHelper.cs similarity index 100% rename from Scripts/Runtime/Helper/VisualMapHelper.cs rename to Runtime/Helper/VisualMapHelper.cs diff --git a/Scripts/Runtime/Helper/VisualMapHelper.cs.meta b/Runtime/Helper/VisualMapHelper.cs.meta similarity index 100% rename from Scripts/Runtime/Helper/VisualMapHelper.cs.meta rename to Runtime/Helper/VisualMapHelper.cs.meta diff --git a/Scripts/Runtime/Interface.meta b/Runtime/Interface.meta similarity index 100% rename from Scripts/Runtime/Interface.meta rename to Runtime/Interface.meta diff --git a/Scripts/Runtime/Interface/IJsonData.cs b/Runtime/Interface/IJsonData.cs similarity index 100% rename from Scripts/Runtime/Interface/IJsonData.cs rename to Runtime/Interface/IJsonData.cs diff --git a/Scripts/Runtime/Interface/IJsonData.cs.meta b/Runtime/Interface/IJsonData.cs.meta similarity index 100% rename from Scripts/Runtime/Interface/IJsonData.cs.meta rename to Runtime/Interface/IJsonData.cs.meta diff --git a/Scripts/Runtime/Interface/IPropertyChanged.cs b/Runtime/Interface/IPropertyChanged.cs similarity index 100% rename from Scripts/Runtime/Interface/IPropertyChanged.cs rename to Runtime/Interface/IPropertyChanged.cs diff --git a/Scripts/Runtime/Interface/IPropertyChanged.cs.meta b/Runtime/Interface/IPropertyChanged.cs.meta similarity index 100% rename from Scripts/Runtime/Interface/IPropertyChanged.cs.meta rename to Runtime/Interface/IPropertyChanged.cs.meta diff --git a/Scripts/Runtime/Internal.meta b/Runtime/Internal.meta similarity index 100% rename from Scripts/Runtime/Internal.meta rename to Runtime/Internal.meta diff --git a/Scripts/Runtime/Internal/AxisPool.cs b/Runtime/Internal/AxisPool.cs similarity index 100% rename from Scripts/Runtime/Internal/AxisPool.cs rename to Runtime/Internal/AxisPool.cs diff --git a/Scripts/Runtime/Internal/AxisPool.cs.meta b/Runtime/Internal/AxisPool.cs.meta similarity index 100% rename from Scripts/Runtime/Internal/AxisPool.cs.meta rename to Runtime/Internal/AxisPool.cs.meta diff --git a/Scripts/Runtime/Internal/BaseChart.cs b/Runtime/Internal/BaseChart.cs similarity index 100% rename from Scripts/Runtime/Internal/BaseChart.cs rename to Runtime/Internal/BaseChart.cs diff --git a/Scripts/Runtime/Internal/BaseChart.cs.meta b/Runtime/Internal/BaseChart.cs.meta similarity index 100% rename from Scripts/Runtime/Internal/BaseChart.cs.meta rename to Runtime/Internal/BaseChart.cs.meta diff --git a/Scripts/Runtime/Internal/CoordinateChart.cs b/Runtime/Internal/CoordinateChart.cs similarity index 100% rename from Scripts/Runtime/Internal/CoordinateChart.cs rename to Runtime/Internal/CoordinateChart.cs diff --git a/Scripts/Runtime/Internal/CoordinateChart.cs.meta b/Runtime/Internal/CoordinateChart.cs.meta similarity index 100% rename from Scripts/Runtime/Internal/CoordinateChart.cs.meta rename to Runtime/Internal/CoordinateChart.cs.meta diff --git a/Scripts/Runtime/Internal/CoordinateChart_DrawBar.cs b/Runtime/Internal/CoordinateChart_DrawBar.cs similarity index 100% rename from Scripts/Runtime/Internal/CoordinateChart_DrawBar.cs rename to Runtime/Internal/CoordinateChart_DrawBar.cs diff --git a/Scripts/Runtime/Internal/CoordinateChart_DrawBar.cs.meta b/Runtime/Internal/CoordinateChart_DrawBar.cs.meta similarity index 100% rename from Scripts/Runtime/Internal/CoordinateChart_DrawBar.cs.meta rename to Runtime/Internal/CoordinateChart_DrawBar.cs.meta diff --git a/Scripts/Runtime/Internal/CoordinateChart_DrawHeatmap.cs b/Runtime/Internal/CoordinateChart_DrawHeatmap.cs similarity index 100% rename from Scripts/Runtime/Internal/CoordinateChart_DrawHeatmap.cs rename to Runtime/Internal/CoordinateChart_DrawHeatmap.cs diff --git a/Scripts/Runtime/Internal/CoordinateChart_DrawHeatmap.cs.meta b/Runtime/Internal/CoordinateChart_DrawHeatmap.cs.meta similarity index 100% rename from Scripts/Runtime/Internal/CoordinateChart_DrawHeatmap.cs.meta rename to Runtime/Internal/CoordinateChart_DrawHeatmap.cs.meta diff --git a/Scripts/Runtime/Internal/CoordinateChart_DrawLine.cs b/Runtime/Internal/CoordinateChart_DrawLine.cs similarity index 100% rename from Scripts/Runtime/Internal/CoordinateChart_DrawLine.cs rename to Runtime/Internal/CoordinateChart_DrawLine.cs diff --git a/Scripts/Runtime/Internal/CoordinateChart_DrawLine.cs.meta b/Runtime/Internal/CoordinateChart_DrawLine.cs.meta similarity index 100% rename from Scripts/Runtime/Internal/CoordinateChart_DrawLine.cs.meta rename to Runtime/Internal/CoordinateChart_DrawLine.cs.meta diff --git a/Scripts/Runtime/Internal/CoordinateChart_DrawScatter.cs b/Runtime/Internal/CoordinateChart_DrawScatter.cs similarity index 100% rename from Scripts/Runtime/Internal/CoordinateChart_DrawScatter.cs rename to Runtime/Internal/CoordinateChart_DrawScatter.cs diff --git a/Scripts/Runtime/Internal/CoordinateChart_DrawScatter.cs.meta b/Runtime/Internal/CoordinateChart_DrawScatter.cs.meta similarity index 100% rename from Scripts/Runtime/Internal/CoordinateChart_DrawScatter.cs.meta rename to Runtime/Internal/CoordinateChart_DrawScatter.cs.meta diff --git a/Scripts/Runtime/Internal/JsonDataSupport.cs b/Runtime/Internal/JsonDataSupport.cs similarity index 100% rename from Scripts/Runtime/Internal/JsonDataSupport.cs rename to Runtime/Internal/JsonDataSupport.cs diff --git a/Scripts/Runtime/Internal/JsonDataSupport.cs.meta b/Runtime/Internal/JsonDataSupport.cs.meta similarity index 100% rename from Scripts/Runtime/Internal/JsonDataSupport.cs.meta rename to Runtime/Internal/JsonDataSupport.cs.meta diff --git a/Scripts/Runtime/Internal/ListPool.cs b/Runtime/Internal/ListPool.cs similarity index 100% rename from Scripts/Runtime/Internal/ListPool.cs rename to Runtime/Internal/ListPool.cs diff --git a/Scripts/Runtime/Internal/ListPool.cs.meta b/Runtime/Internal/ListPool.cs.meta similarity index 100% rename from Scripts/Runtime/Internal/ListPool.cs.meta rename to Runtime/Internal/ListPool.cs.meta diff --git a/Scripts/Runtime/Internal/ObjectPool.cs b/Runtime/Internal/ObjectPool.cs similarity index 100% rename from Scripts/Runtime/Internal/ObjectPool.cs rename to Runtime/Internal/ObjectPool.cs diff --git a/Scripts/Runtime/Internal/ObjectPool.cs.meta b/Runtime/Internal/ObjectPool.cs.meta similarity index 100% rename from Scripts/Runtime/Internal/ObjectPool.cs.meta rename to Runtime/Internal/ObjectPool.cs.meta diff --git a/Scripts/Runtime/LineChart.cs b/Runtime/LineChart.cs similarity index 100% rename from Scripts/Runtime/LineChart.cs rename to Runtime/LineChart.cs diff --git a/Scripts/Runtime/LineChart.cs.meta b/Runtime/LineChart.cs.meta similarity index 100% rename from Scripts/Runtime/LineChart.cs.meta rename to Runtime/LineChart.cs.meta diff --git a/Scripts/Runtime/PieChart.cs b/Runtime/PieChart.cs similarity index 100% rename from Scripts/Runtime/PieChart.cs rename to Runtime/PieChart.cs diff --git a/Scripts/Runtime/PieChart.cs.meta b/Runtime/PieChart.cs.meta similarity index 100% rename from Scripts/Runtime/PieChart.cs.meta rename to Runtime/PieChart.cs.meta diff --git a/Scripts/Runtime/RadarChart.cs b/Runtime/RadarChart.cs similarity index 100% rename from Scripts/Runtime/RadarChart.cs rename to Runtime/RadarChart.cs diff --git a/Scripts/Runtime/RadarChart.cs.meta b/Runtime/RadarChart.cs.meta similarity index 100% rename from Scripts/Runtime/RadarChart.cs.meta rename to Runtime/RadarChart.cs.meta diff --git a/Scripts/Runtime/ScatterChart.cs b/Runtime/ScatterChart.cs similarity index 100% rename from Scripts/Runtime/ScatterChart.cs rename to Runtime/ScatterChart.cs diff --git a/Scripts/Runtime/ScatterChart.cs.meta b/Runtime/ScatterChart.cs.meta similarity index 100% rename from Scripts/Runtime/ScatterChart.cs.meta rename to Runtime/ScatterChart.cs.meta diff --git a/Scripts/Runtime/Utility.meta b/Runtime/Utility.meta similarity index 100% rename from Scripts/Runtime/Utility.meta rename to Runtime/Utility.meta diff --git a/Scripts/Runtime/Utility/ChartCached.cs b/Runtime/Utility/ChartCached.cs similarity index 100% rename from Scripts/Runtime/Utility/ChartCached.cs rename to Runtime/Utility/ChartCached.cs diff --git a/Scripts/Runtime/Utility/ChartCached.cs.meta b/Runtime/Utility/ChartCached.cs.meta similarity index 100% rename from Scripts/Runtime/Utility/ChartCached.cs.meta rename to Runtime/Utility/ChartCached.cs.meta diff --git a/Scripts/Runtime/Utility/ChartDrawer.cs b/Runtime/Utility/ChartDrawer.cs similarity index 100% rename from Scripts/Runtime/Utility/ChartDrawer.cs rename to Runtime/Utility/ChartDrawer.cs diff --git a/Scripts/Runtime/Utility/ChartDrawer.cs.meta b/Runtime/Utility/ChartDrawer.cs.meta similarity index 100% rename from Scripts/Runtime/Utility/ChartDrawer.cs.meta rename to Runtime/Utility/ChartDrawer.cs.meta diff --git a/Scripts/Runtime/Utility/ChartHelper.cs b/Runtime/Utility/ChartHelper.cs similarity index 100% rename from Scripts/Runtime/Utility/ChartHelper.cs rename to Runtime/Utility/ChartHelper.cs diff --git a/Scripts/Runtime/Utility/ChartHelper.cs.meta b/Runtime/Utility/ChartHelper.cs.meta similarity index 100% rename from Scripts/Runtime/Utility/ChartHelper.cs.meta rename to Runtime/Utility/ChartHelper.cs.meta diff --git a/Runtime/Utility/XChartsMgr.cs b/Runtime/Utility/XChartsMgr.cs new file mode 100644 index 00000000..5181f9a2 --- /dev/null +++ b/Runtime/Utility/XChartsMgr.cs @@ -0,0 +1,155 @@ +using System.Text; + +using System.Collections; +using UnityEngine; +using System.Text.RegularExpressions; + +namespace XCharts +{ + class XChartsVersion + { + public string version = ""; + public int date = 0; + public int checkdate = 0; + public string desc = ""; + public string homepage = ""; + } + + public class XChartsMgr : MonoBehaviour + { + public const string version = "1.0.0"; + public const int date = 20191023; + + [SerializeField] private string m_NowVersion; + [SerializeField] private string m_NewVersion; + + private static XChartsMgr m_XCharts; + + public static XChartsMgr Instance + { + get + { + if (m_XCharts == null) + { + var go = GameObject.Find("_xcharts_"); + if (go == null) + { + go = new GameObject(); + go.name = "_xcharts_"; + DontDestroyOnLoad(go); + m_XCharts = go.AddComponent(); + } + else + { + m_XCharts = go.GetComponent(); + if (m_XCharts == null) + { + m_XCharts = go.AddComponent(); + } + } + m_XCharts.m_NowVersion = version + " (" + date + ")"; + } + return m_XCharts; + } + } + + private XChartsMgr() { } + + + public string changeLog { get; private set; } + public string newVersion { get { return m_NewVersion; } } + public string nowVersion { get { return m_NowVersion; } } + public string desc { get; private set; } + public string homepage { get; private set; } + public int newDate { get; private set; } + public int newCheckDate { get; private set; } + public bool isCheck { get; private set; } + + public bool needUpdate + { + get + { + return date < newCheckDate; + } + } + + public void CheckVersion() + { + isCheck = true; + StartCoroutine(GetVersion()); + if (date < newCheckDate) + { + StartCoroutine(GetChangeLog()); + } + } + + IEnumerator GetVersion() + { + var url = "https://raw.githubusercontent.com/monitor1394/unity-ugui-XCharts/master/Assets/XCharts/version.json"; + var web = new WWW(url); + yield return web; + if (!string.IsNullOrEmpty(web.error)) + Debug.LogError(web.error); + else + { + var cv = JsonUtility.FromJson(web.text); + m_NewVersion = cv.version + " (" + cv.date + ")"; + newDate = cv.date; + newCheckDate = cv.checkdate; + desc = cv.desc; + homepage = cv.homepage; + web.Dispose(); + isCheck = false; + } + } + + IEnumerator GetChangeLog() + { + isCheck = true; + var url = "https://raw.githubusercontent.com/monitor1394/unity-ugui-XCharts/master/Assets/XCharts/CHANGELOG.md"; + var web = new WWW(url); + yield return web; + if (!string.IsNullOrEmpty(web.error)) + Debug.LogError(web.error); + else + { + CheckLog(web.text); + web.Dispose(); + isCheck = false; + } + } + + private void CheckLog(string text) + { + StringBuilder sb = new StringBuilder(); + var temp = text.Split('\n'); + var regex = new Regex(".*(\\d{4}\\.\\d{2}\\.\\d{2}).*"); + var checkDate = XChartsMgr.date; + foreach (var t in temp) + { + if (regex.IsMatch(t)) + { + var mat = regex.Match(t); + var date = mat.Groups[1].ToString().Replace(".", ""); + int logDate; + if (int.TryParse(date, out logDate)) + { + if (logDate >= checkDate) + { + sb.Append(t).Append("\n"); + } + else + { + break; + } + } + } + else + { + sb.Append(t).Append("\n"); + } + } + changeLog = sb.ToString(); + } + } +} \ No newline at end of file diff --git a/Scripts/Runtime/Utility/XChartsMgr.cs.meta b/Runtime/Utility/XChartsMgr.cs.meta similarity index 100% rename from Scripts/Runtime/Utility/XChartsMgr.cs.meta rename to Runtime/Utility/XChartsMgr.cs.meta diff --git a/Scripts/Runtime/XCharts.Runtime.asmdef b/Runtime/XCharts.Runtime.asmdef similarity index 100% rename from Scripts/Runtime/XCharts.Runtime.asmdef rename to Runtime/XCharts.Runtime.asmdef diff --git a/Scripts/Runtime/XCharts.Runtime.asmdef.meta b/Runtime/XCharts.Runtime.asmdef.meta similarity index 100% rename from Scripts/Runtime/XCharts.Runtime.asmdef.meta rename to Runtime/XCharts.Runtime.asmdef.meta diff --git a/Scripts/Runtime/Utility/XChartsMgr.cs b/Scripts/Runtime/Utility/XChartsMgr.cs deleted file mode 100644 index c1da0ecf..00000000 --- a/Scripts/Runtime/Utility/XChartsMgr.cs +++ /dev/null @@ -1,57 +0,0 @@ - -using System.Collections; -using UnityEngine; -using UnityEngine.Networking; - -namespace XCharts -{ - public class XChartsMgr : MonoBehaviour - { - [SerializeField] private string m_Version; - [SerializeField] private string m_Date; - - private XChartsMgr m_XCharts; - public XChartsMgr Instance - { - get - { - if (m_XCharts == null) - { - var go = new GameObject(); - go.name = "_xcharts_"; - m_XCharts = go.AddComponent(); - CheckVersion(); - } - return m_XCharts; - } - } - - private XChartsMgr() { } - - private void Awake() - { - CheckVersion(); - } - - public void CheckVersion() - { - //StartCoroutine(GetVersion()); - } - - IEnumerator GetVersion() - { - var url = "https://raw.githubusercontent.com/monitor1394/unity-ugui-XCharts/master/README.md"; - var web = new UnityWebRequest(url); - Debug.LogError(web.url); - yield return web.SendWebRequest(); - if (web.isHttpError || web.isNetworkError) - Debug.LogError(web.error); - else - { - Debug.LogError(web.downloadedBytes); - Debug.LogError(web.downloadHandler.text); - web.Dispose(); - } - } - } -} \ No newline at end of file diff --git a/package.json b/package.json index 2e75f61a..fef002b9 100644 --- a/package.json +++ b/package.json @@ -2,8 +2,8 @@ "name": "com.monitor1394.xcharts", "displayName": "XCharts", "version": "1.0.1", - "unity": "2018.1", - "description": "A powerful, easy-to-use, configurable charting and data visualization library for Unity. 一款基于UGUI的功能强大、易用、参数可配置的数据可视化图表报表插件。支持折线图、柱状图、饼图、雷达图、散点图、热力图等常见图表。", + "unity": "2018.3", + "description": "A charting and data visualization library for Unity. 一款基于UGUI的数据可视化图表报表插件。", "keywords": [ "XCharts", "Chart", diff --git a/version.json b/version.json index b03abf49..39eab2b4 100644 --- a/version.json +++ b/version.json @@ -2,5 +2,6 @@ "version": "1.0.0", "date": "20191022", "checkdate": "20191022", - "desc": "" + "desc": "欢迎 Github 上点 Star 支持,非常感谢!", + "homepage": "https://github.com/monitor1394/unity-ugui-XCharts" } \ No newline at end of file