From da611012da522fb31c4f87fc7ecc5e8eaab63fbf Mon Sep 17 00:00:00 2001
From: monitor1394
Date: Sun, 20 Mar 2022 20:58:17 +0800
Subject: [PATCH] 3.0
---
CHANGELOG.md | 2 +-
Documentation~/CHANGELOG-EN.md | 2 +-
Documentation~/XChartsAPI.md | 4 ++--
Documentation~/XCharts教程:5分钟上手教程.md | 22 +++++++++----------
Documentation~/XCharts配置项手册.md | 4 ++--
Documentation~/XCharts问答.md | 8 +++----
Documentation~/xcharts-api-EN.md | 4 ++--
Documentation~/xcharts-configuration-EN.md | 4 ++--
.../xcharts-questions-and-answers-EN.md | 8 +++----
README.md | 14 ++++++------
package.json | 6 ++---
11 files changed, 39 insertions(+), 39 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index c5bd7eb5..73ac083a 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -217,7 +217,7 @@
## v1.6.0
* (2020.08.24) 发布`v1.6.0`版本
-* (2020.08.23) 重构代码,将与绘制相关的`Color`改为`Color32`,减少隐式转换(更新后会导致自定义的颜色丢失,可参考[问答29](https://github.com/monitor1394/unity-ugui-XCharts/blob/master/Assets/XCharts/Documentation/XCharts问答.md)进行升级)
+* (2020.08.23) 重构代码,将与绘制相关的`Color`改为`Color32`,减少隐式转换(更新后会导致自定义的颜色丢失,可参考[问答29](https://github.com/XCharts-Team/XCharts/blob/master/Assets/XCharts/Documentation/XCharts问答.md)进行升级)
* (2020.08.15) 优化`PieChart`绘制表现效果#85
* (2020.08.11) 增加`LiquidChart`数据变更动画#83
* (2020.08.11) 优化`PieChart`文本堆叠和引线效果#85
diff --git a/Documentation~/CHANGELOG-EN.md b/Documentation~/CHANGELOG-EN.md
index 18bab5a4..abca7e09 100644
--- a/Documentation~/CHANGELOG-EN.md
+++ b/Documentation~/CHANGELOG-EN.md
@@ -215,7 +215,7 @@ Since the data type is upgraded to `double`, the implicit conversion of `float`
## v1.6.0
* (2020.08.24) Release `v1.6.0` version
-* (2020.08.23) Refactor code, replace `Color` with `Color32` for reduce implicit conversion (Can cause custom colors to lose, reference [Q&A 29](https://github.com/monitor1394/unity-ugui-XCharts/blob/master/Assets/XCharts/Documentation/xcharts-questions-and-answers-EN.md) to upgrade)
+* (2020.08.23) Refactor code, replace `Color` with `Color32` for reduce implicit conversion (Can cause custom colors to lose, reference [Q&A 29](https://github.com/XCharts-Team/XCharts/blob/master/Assets/XCharts/Documentation/xcharts-questions-and-answers-EN.md) to upgrade)
* (2020.08.15) Optimized `PieChart` drawing performance effect #85
* (2020.08.11) Added `LiquidChart` data change animation#83
* (2020.08.11) Optimized `PieChart` text stack and lead line effects#85
diff --git a/Documentation~/XChartsAPI.md b/Documentation~/XChartsAPI.md
index f61b299f..b453dad0 100644
--- a/Documentation~/XChartsAPI.md
+++ b/Documentation~/XChartsAPI.md
@@ -1,6 +1,6 @@
# XCharts API
-[返回首页](https://github.com/monitor1394/unity-ugui-XCharts)
+[返回首页](https://github.com/XCharts-Team/XCharts)
[XCharts配置项手册](XCharts配置项手册.md)
[XCharts问答](XCharts问答.md)
@@ -145,7 +145,7 @@
* `RingChart.UpdateMax(int serieIndex, float value)`:更新指定系列的所有数据项的最大值。
* `RingChart.UpdateMax(float value)`:更新第一个系列第一个数据项的最大值。
-[返回首页](https://github.com/monitor1394/unity-ugui-XCharts)
+[返回首页](https://github.com/XCharts-Team/XCharts)
[XCharts配置项手册](XCharts配置项手册.md)
[XCharts问答](XCharts问答.md)
diff --git a/Documentation~/XCharts教程:5分钟上手教程.md b/Documentation~/XCharts教程:5分钟上手教程.md
index 4e5d81e1..3a42696c 100644
--- a/Documentation~/XCharts教程:5分钟上手教程.md
+++ b/Documentation~/XCharts教程:5分钟上手教程.md
@@ -1,9 +1,9 @@
# 教程:5分钟上手 XCharts 3.0
-[返回首页](https://github.com/monitor1394/unity-ugui-XCharts)
-[XCharts问答](https://github.com/monitor1394/unity-ugui-XCharts/master/Documentation~/XCharts问答.md)
-[XChartsAPI接口](https://github.com/monitor1394/unity-ugui-XCharts/master/Documentation~/XChartsAPI.md)
-[XCharts配置项手册](https://github.com/monitor1394/unity-ugui-XCharts/master/Documentation~/XCharts配置项手册.md)
+[返回首页](https://github.com/XCharts-Team/XCharts)
+[XCharts问答](https://github.com/XCharts-Team/XCharts/master/Documentation~/XCharts问答.md)
+[XChartsAPI接口](https://github.com/XCharts-Team/XCharts/master/Documentation~/XChartsAPI.md)
+[XCharts配置项手册](https://github.com/XCharts-Team/XCharts/master/Documentation~/XCharts配置项手册.md)
## 获取和导入 XCharts
@@ -17,12 +17,12 @@
3. 通过`Package Manager`导入XCharts
- 对于Unity 2018.3以上版本,可通过 Package Manager来导入XCharts,打开Package Manager后,通过 `Add package form git URL...`,输入XCharts的github URL: https://github.com/monitor1394/unity-ugui-XCharts.git#master 稍等片刻后即可使用XCharts。
+ 对于Unity 2018.3以上版本,可通过 Package Manager来导入XCharts,打开Package Manager后,通过 `Add package form git URL...`,输入XCharts的github URL: https://github.com/XCharts-Team/XCharts.git#master 稍等片刻后即可使用XCharts。
也可以直接将package加入到`manifest.json`文件:打开`Packages`目录下的`manifest.json`文件,在`dependencies`下加入:
``` json
- "com.monitor1394.xcharts": "https://github.com/monitor1394/unity-ugui-XCharts.git#master",
+ "com.monitor1394.xcharts": "https://github.com/XCharts-Team/XCharts.git#master",
```
如需更新`XCharts`,删除`manifest.json`文件(部分Unity版本可能是packages-lock.json文件)的`lock`下的`com.monitor1394.xcharts`相关内容即会重新下载编译。
@@ -148,7 +148,7 @@ for (int i = 0; i < 10; i++)
你还可以用代码控制更多的参数,`Examples`下还有更多的其他例子,凡是`Inspector`上看到的可配置的参数,都可以通过代码来设置。[XCharts配置项手册](XCharts配置项手册.md)里面的所有参数都是可以通过代码控制的。
-另外,除非定制,建议调用[XChartsAPI接口](https://github.com/monitor1394/unity-ugui-XCharts/master/Documentation~/XChartsAPI.md) 里面的接口,这些接口内部会做一些关联处理,比如刷新图表等。如果自己调用了内部组件的接口,需要自己处理刷新等其他问题。
+另外,除非定制,建议调用[XChartsAPI接口](https://github.com/XCharts-Team/XCharts/master/Documentation~/XChartsAPI.md) 里面的接口,这些接口内部会做一些关联处理,比如刷新图表等。如果自己调用了内部组件的接口,需要自己处理刷新等其他问题。
## 使用TextMeshPro
@@ -225,7 +225,7 @@ itemStyle.color = Color.blue;
```
-[返回首页](https://github.com/monitor1394/unity-ugui-XCharts)
-[XCharts问答](https://github.com/monitor1394/unity-ugui-XCharts/master/Documentation~/XCharts问答.md)
-[XChartsAPI接口](https://github.com/monitor1394/unity-ugui-XCharts/master/Documentation~/XChartsAPI.md)
-[XCharts配置项手册](https://github.com/monitor1394/unity-ugui-XCharts/master/Documentation~/XCharts配置项手册.md)
+[返回首页](https://github.com/XCharts-Team/XCharts)
+[XCharts问答](https://github.com/XCharts-Team/XCharts/master/Documentation~/XCharts问答.md)
+[XChartsAPI接口](https://github.com/XCharts-Team/XCharts/master/Documentation~/XChartsAPI.md)
+[XCharts配置项手册](https://github.com/XCharts-Team/XCharts/master/Documentation~/XCharts配置项手册.md)
diff --git a/Documentation~/XCharts配置项手册.md b/Documentation~/XCharts配置项手册.md
index 55afed4e..20db7f91 100644
--- a/Documentation~/XCharts配置项手册.md
+++ b/Documentation~/XCharts配置项手册.md
@@ -1,6 +1,6 @@
# 配置项手册
-[返回首页](https://github.com/monitor1394/unity-ugui-XCharts)
+[返回首页](https://github.com/XCharts-Team/XCharts)
[XChartsAPI接口](XChartsAPI.md)
[XCharts问答](XCharts问答.md)
@@ -1060,6 +1060,6 @@ K线图系列。
* `height`:图标的高。
* `offset`:位置偏移。
-[返回首页](https://github.com/monitor1394/unity-ugui-XCharts)
+[返回首页](https://github.com/XCharts-Team/XCharts)
[XChartsAPI接口](XChartsAPI.md)
[XCharts问答](XCharts问答.md)
diff --git a/Documentation~/XCharts问答.md b/Documentation~/XCharts问答.md
index bb5b224c..2852cb19 100644
--- a/Documentation~/XCharts问答.md
+++ b/Documentation~/XCharts问答.md
@@ -1,6 +1,6 @@
# XCharts问答
-[返回首页](https://github.com/monitor1394/unity-ugui-XCharts)
+[返回首页](https://github.com/XCharts-Team/XCharts)
[XChartsAPI接口](XChartsAPI.md)
[XCharts配置项手册](XCharts配置项手册.md)
@@ -152,16 +152,16 @@
## 为什么升级到1_6_0版本后很多自定义颜色丢失了_应该如何升级
-答:1.6.0版本为了减少隐式转换,将所有的绘制相关的`Color`都改为了`Color32`,所以会导致一些自定义的颜色的丢失。影响到的主要组件有:`ItemStyle`,`LineStyle`,`AreaStyle`,`Vessel`,`VisualMap`,`AxisSplitArea`,`AxisSplitLine`,`GaugeAxis`,`SerieLabel`等。可以用脚本[UpgradeChartColor.cs](https://github.com/monitor1394/unity-ugui-XCharts/blob/master/Assets/XCharts/Editor/Tools/UpgradeChartColor.cs)进行升级。
+答:1.6.0版本为了减少隐式转换,将所有的绘制相关的`Color`都改为了`Color32`,所以会导致一些自定义的颜色的丢失。影响到的主要组件有:`ItemStyle`,`LineStyle`,`AreaStyle`,`Vessel`,`VisualMap`,`AxisSplitArea`,`AxisSplitLine`,`GaugeAxis`,`SerieLabel`等。可以用脚本[UpgradeChartColor.cs](https://github.com/XCharts-Team/XCharts/blob/master/Assets/XCharts/Editor/Tools/UpgradeChartColor.cs)进行升级。
升级步骤如下:
1. 备份好你的项目。
-2. 先不升级`XCharts`,只下载或拷贝脚本[UpgradeChartColor.cs](https://github.com/monitor1394/unity-ugui-XCharts/blob/master/Assets/XCharts/Editor/Tools/UpgradeChartColor.cs)放到旧项目的`Editor`下,由于旧版本可能不存在某些新版本才有的图表或者属性配置,可能会编译错误,需要处理按3,4步骤处理一下。
+2. 先不升级`XCharts`,只下载或拷贝脚本[UpgradeChartColor.cs](https://github.com/XCharts-Team/XCharts/blob/master/Assets/XCharts/Editor/Tools/UpgradeChartColor.cs)放到旧项目的`Editor`下,由于旧版本可能不存在某些新版本才有的图表或者属性配置,可能会编译错误,需要处理按3,4步骤处理一下。
3. 若是由`itemStyle.toColor2`引起的编译报错,可将导出地方的`itemStyle.toColor2`改为`Color.clear`;导入的地方注释掉即可。
4. 若是由`LiquidChart`引起的编译报错,将所有涉及`LiquidChart`的地方都注释掉即可。
5. 编译通过后,通过`菜单栏->XCharts->ExportColorConfig`导出旧版本的颜色配置文件(配置文件默认保存到`Assets`下的`color.config`)。
6. 升级`XCharts`到最新版本。
7. 通过`菜单栏->XCharts->ImportColorConfig`将`color.config`导入即可恢复自定义的颜色(如果`color.config`不在升级后的项目的`Assets`下的话需要拷贝到此目录下)。
-[返回首页](https://github.com/monitor1394/unity-ugui-XCharts)
+[返回首页](https://github.com/XCharts-Team/XCharts)
[XChartsAPI接口](XChartsAPI.md)
[XCharts配置项手册](XCharts配置项手册.md)
diff --git a/Documentation~/xcharts-api-EN.md b/Documentation~/xcharts-api-EN.md
index 6b1d2da3..47a1d6df 100644
--- a/Documentation~/xcharts-api-EN.md
+++ b/Documentation~/xcharts-api-EN.md
@@ -1,6 +1,6 @@
# XCharts API
-[返回首页](https://github.com/monitor1394/unity-ugui-XCharts)
+[返回首页](https://github.com/XCharts-Team/XCharts)
[XCharts配置项手册](XCharts配置项手册.md)
[XCharts问答](XCharts问答.md)
@@ -142,7 +142,7 @@
* `RingChart.UpdateMax(int serieIndex, float value)`:更新指定系列的所有数据项的最大值。
* `RingChart.UpdateMax(float value)`:更新第一个系列第一个数据项的最大值。
-[返回首页](https://github.com/monitor1394/unity-ugui-XCharts)
+[返回首页](https://github.com/XCharts-Team/XCharts)
[XCharts配置项手册](XCharts配置项手册.md)
[XCharts问答](XCharts问答.md)
diff --git a/Documentation~/xcharts-configuration-EN.md b/Documentation~/xcharts-configuration-EN.md
index fb6245ed..423ff095 100644
--- a/Documentation~/xcharts-configuration-EN.md
+++ b/Documentation~/xcharts-configuration-EN.md
@@ -1,6 +1,6 @@
# XCharts Configuration
-[XCharts Homepage](https://github.com/monitor1394/unity-ugui-XCharts)
+[XCharts Homepage](https://github.com/XCharts-Team/XCharts)
[XCharts API](xcharts-api-EN.md)
[XCharts Q&A](xcharts-questions-and-answers-EN.md)
@@ -954,6 +954,6 @@ K线图系列。
* `height` : the height of the icon.
* `Offset` : Offset.
-[返回首页](https://github.com/monitor1394/unity-ugui-XCharts)
+[返回首页](https://github.com/XCharts-Team/XCharts)
[XChartsAPI接口](XChartsAPI.md)
[XCharts问答](XCharts问答.md)
diff --git a/Documentation~/xcharts-questions-and-answers-EN.md b/Documentation~/xcharts-questions-and-answers-EN.md
index 70011f69..21124fa7 100644
--- a/Documentation~/xcharts-questions-and-answers-EN.md
+++ b/Documentation~/xcharts-questions-and-answers-EN.md
@@ -1,6 +1,6 @@
# XCharts Q&A
-[XCharts Homepage](https://github.com/monitor1394/unity-ugui-XCharts)
+[XCharts Homepage](https://github.com/XCharts-Team/XCharts)
[XCharts API](xcharts-api-EN.md)
[XCharts Configuration](xcharts-configuration-EN.md)
@@ -148,14 +148,14 @@ A: Check whether `RemoveData()` and add new `Serie` in the code. If you want to
## Why_are_many_custom_colors_lost_after_upgrading_to_1_6_0_How_should_I_upgrade
-A: In version `1.6.0`, in order to reduce implicit conversion, all drawing related `Color` was changed to `Color32`, so some custom colors were lost. The main components affected are: `ItemStyle`, `LineStyle`, `AreaStyle`, `Vessel`, `VisualMap`, `AxisSplitArea`, `AxisSplitLine`, `GaugeAxis`,`SerieLabel`, etc. Can use the script [UpgradeChartColor.cs](https://github.com/monitor1394/unity-ugui-XCharts/blob/master/Assets/XCharts/Editor/Tools/UpgradeChartColor.cs) to upgrade.
+A: In version `1.6.0`, in order to reduce implicit conversion, all drawing related `Color` was changed to `Color32`, so some custom colors were lost. The main components affected are: `ItemStyle`, `LineStyle`, `AreaStyle`, `Vessel`, `VisualMap`, `AxisSplitArea`, `AxisSplitLine`, `GaugeAxis`,`SerieLabel`, etc. Can use the script [UpgradeChartColor.cs](https://github.com/XCharts-Team/XCharts/blob/master/Assets/XCharts/Editor/Tools/UpgradeChartColor.cs) to upgrade.
The upgrade steps are as follows:
1. Back up the project.
-2. Download or copy the script [UpgradeChartColor.cs](https://github.com/monitor1394/unity-ugui-XCharts/blob/master/Assets/XCharts/Editor/Tools/UpgradeChartColor.cs) in the old project `Editor`, Change the `color` field inside to `color.clear` (because some fields may not exist in the old version).
+2. Download or copy the script [UpgradeChartColor.cs](https://github.com/XCharts-Team/XCharts/blob/master/Assets/XCharts/Editor/Tools/UpgradeChartColor.cs) in the old project `Editor`, Change the `color` field inside to `color.clear` (because some fields may not exist in the old version).
3. After compilation, the old version of color configuration file is exported through `menu bar -> XCharts-> ExportColorConfig` (the configuration file is saved by default to `color.config` under `Assets`).
4. Upgrade `XCharts` to the latest version.
5. The custom color can be restored by importing `color.config` through `menu bar -> XCharts-> ImportColorConfig` (if `color.config` is not under `Assets` of the upgraded project, copy it to this directory).
-[XCharts Homepage](https://github.com/monitor1394/unity-ugui-XCharts)
+[XCharts Homepage](https://github.com/XCharts-Team/XCharts)
[XCharts API](xcharts-api-EN.md)
[XCharts Configuration](xcharts-configuration-EN.md)
\ No newline at end of file
diff --git a/README.md b/README.md
index 14f40348..60abd383 100644
--- a/README.md
+++ b/README.md
@@ -12,11 +12,11 @@
English Doc
-
-
+
+
-
-
+
+
@@ -33,13 +33,13 @@
-
+
-
+
-
+
diff --git a/package.json b/package.json
index ee277e16..b08854b0 100644
--- a/package.json
+++ b/package.json
@@ -18,12 +18,12 @@
"category": "chart",
"repository": {
"type": "git",
- "url": "git+https://github.com/monitor1394/unity-ugui-XCharts.git"
+ "url": "git+https://github.com/XCharts-Team/XCharts.git"
},
"author": "monitor1394",
"license": "MIT",
"bugs": {
- "url": "https://github.com/monitor1394/unity-ugui-XCharts/issues"
+ "url": "https://github.com/XCharts-Team/XCharts/issues"
},
- "homepage": "https://github.com/monitor1394/unity-ugui-XCharts"
+ "homepage": "https://github.com/XCharts-Team/XCharts"
}
\ No newline at end of file