mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-18 14:30:10 +00:00
优化结构,分离为XCharts和XChartsDemo两部分
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
|
||||
# 更新日志
|
||||
|
||||
* (2019.11.09) 优化结构,分离为`XCharts`和`XChartsDemo`两部分
|
||||
* (2019.11.05) 发布`v1.0.4`版本
|
||||
* (2019.11.05) 增加`Radar`雷达组件文本样式参数配置支持
|
||||
* (2019.11.04) 修复`Unity2018.3`以下版本代码不兼容的问题
|
||||
* (2019.11.04) 优化`SerieLabel`过多时引起的性能问题
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5e6b0fb015bc6524d8bab146b6f2ba3a
|
||||
folderAsset: yes
|
||||
timeCreated: 1553641866
|
||||
licenseType: Free
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
{
|
||||
"name": "XCharts.Editor.Demo",
|
||||
"references": [
|
||||
"XCharts.Demo.Runtime",
|
||||
"XCharts.Runtime"
|
||||
],
|
||||
"optionalUnityReferences": [],
|
||||
"includePlatforms": [
|
||||
"Editor"
|
||||
],
|
||||
"excludePlatforms": [],
|
||||
"allowUnsafeCode": false,
|
||||
"overrideReferences": false,
|
||||
"precompiledReferences": [],
|
||||
"autoReferenced": true,
|
||||
"defineConstraints": []
|
||||
}
|
||||
8
Assets/XChartsDemo.meta
Normal file
8
Assets/XChartsDemo.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 926cd5f4d8406451cb0c54e3ae6f71cd
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 05b7d15b7a92f4c1eb56dbf47522bf6c
|
||||
guid: e7c05fe198b1e46eabc5896450bf9cec
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
@@ -8,7 +8,7 @@
|
||||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
|
||||
namespace XCharts
|
||||
namespace XChartsDemo
|
||||
{
|
||||
[CustomPropertyDrawer(typeof(ChartModule), true)]
|
||||
public class ChartModuleDrawer : PropertyDrawer
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
using UnityEditor;
|
||||
|
||||
namespace XCharts
|
||||
namespace XChartsDemo
|
||||
{
|
||||
/// <summary>
|
||||
/// Editor class used to edit UI BaseChart.
|
||||
8
Assets/XChartsDemo/Runtime.meta
Normal file
8
Assets/XChartsDemo/Runtime.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7a51c10c0ca30408fba6f8e59145ce69
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -9,8 +9,9 @@ using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using UnityEngine.EventSystems;
|
||||
using UnityEngine.UI;
|
||||
using XCharts;
|
||||
|
||||
namespace XCharts
|
||||
namespace XChartsDemo
|
||||
{
|
||||
[System.Serializable]
|
||||
public class ChartModule
|
||||
@@ -34,7 +35,7 @@ namespace XCharts
|
||||
[SerializeField] private Color m_ButtonNormalColor;
|
||||
[SerializeField] private Color m_ButtonSelectedColor;
|
||||
[SerializeField] private Color m_ButtonHighlightColor;
|
||||
[SerializeField] private List<ChartModule> m_ChartModule;
|
||||
[SerializeField] private List<ChartModule> m_ChartModule = new List<ChartModule>();
|
||||
|
||||
private GameObject m_BtnClone;
|
||||
private Theme m_SelectedTheme;
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 85bc0178fe453471fb2706bf81a09235
|
||||
guid: f81ca580204024b8db33b4646c549c4f
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
6350
Assets/XChartsDemo/demo_test.unity
Normal file
6350
Assets/XChartsDemo/demo_test.unity
Normal file
File diff suppressed because it is too large
Load Diff
@@ -1,6 +1,6 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2d3606aaaf73f468984f4615b496f408
|
||||
AssemblyDefinitionImporter:
|
||||
guid: fdfb9e4f5faa4431d936da787c337fc9
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
34
README.md
34
README.md
@@ -132,25 +132,21 @@ XCharts的图表由组件和数据组成。不同的组件和数据可以组合
|
||||
``` js
|
||||
<root>
|
||||
├── Demo // Demo
|
||||
│ ├── Editor
|
||||
│ │ ├── ChartModuleDrawer.cs
|
||||
│ │ └── DemoEditor.cs
|
||||
│ ├── Runtime
|
||||
│ │ ├── Demo_Dynamic.cs
|
||||
│ │ ├── Demo_LargeData.cs
|
||||
│ │ ├── Demo_PieChart.cs
|
||||
│ │ ├── Demo_Test.cs
|
||||
│ │ ├── Demo.cs
|
||||
│ │ ├── Demo00_CheatSheet.cs
|
||||
│ │ ├── Demo10_LineChart.cs
|
||||
│ │ ├── Demo11_AddSinCurve.cs
|
||||
│ │ ├── Demo12_CustomDrawing.cs
|
||||
│ │ ├── Demo13_LineSimple.cs
|
||||
│ │ ├── Demo20_BarChart.cs
|
||||
│ │ ├── Demo30_PieChart.cs
|
||||
│ │ ├── Demo50_Scatter.cs
|
||||
│ │ ├── Demo60_Heatmap.cs
|
||||
│ └── demo-xchart.unity
|
||||
│ └── Runtime
|
||||
│ ├── Demo_Dynamic.cs
|
||||
│ ├── Demo_LargeData.cs
|
||||
│ ├── Demo_PieChart.cs
|
||||
│ ├── Demo_Test.cs
|
||||
│ ├── Demo.cs
|
||||
│ ├── Demo00_CheatSheet.cs
|
||||
│ ├── Demo10_LineChart.cs
|
||||
│ ├── Demo11_AddSinCurve.cs
|
||||
│ ├── Demo12_CustomDrawing.cs
|
||||
│ ├── Demo13_LineSimple.cs
|
||||
│ ├── Demo20_BarChart.cs
|
||||
│ ├── Demo30_PieChart.cs
|
||||
│ ├── Demo50_Scatter.cs
|
||||
│ └── Demo60_Heatmap.cs
|
||||
├── Editor // Editor相关代码
|
||||
│ ├── PropertyDrawers // 组件Drawer
|
||||
│ │ ├── AnimationDrawer.cs
|
||||
|
||||
Reference in New Issue
Block a user