mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-30 21:38:49 +00:00
发布v1.5.0版本
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
|
|
||||||
# 更新日志
|
# 更新日志
|
||||||
|
|
||||||
|
* (2020.05.22) 发布`v1.5.0`版本
|
||||||
* (2020.05.21) 增加`圆角柱图`支持渐变
|
* (2020.05.21) 增加`圆角柱图`支持渐变
|
||||||
* (2020.05.21) 增加`Background`背景组件
|
* (2020.05.21) 增加`Background`背景组件
|
||||||
* (2020.05.19) 隐藏`Hierarchy`试图下自动生成的子节点
|
* (2020.05.19) 隐藏`Hierarchy`试图下自动生成的子节点
|
||||||
|
|||||||
36
README.md
36
README.md
@@ -16,30 +16,34 @@ A powerful, easy-to-use, configurable charting and data visualization library fo
|
|||||||
* support interactive operations such as data filtering, view zooming and detail display on PC and mobile terminals.
|
* support interactive operations such as data filtering, view zooming and detail display on PC and mobile terminals.
|
||||||
* support 10,000-level big data rendering.
|
* support 10,000-level big data rendering.
|
||||||
|
|
||||||
|
## Environment
|
||||||
|
|
||||||
|
* Unity2017.4.27f1
|
||||||
|
* .Net 3.5
|
||||||
|
* macOS 10.15.4
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
* 本项目在`Unity 2018.3.14f1`和`.Net 3.5`下开发,在 `Unity 5`、`Unity 2017`、`Unity 2019`上测试正常。理论上可运行于任何支持`UGUI`的`Unity`版本。
|
* This project was developed under `Unity 2017.4.27f1` and `.net 3.5`, tested normally on `Unity 5`, `Unity 2018` and `Unity 2019`. It can theoretically run on any version that supports `UGUI`.
|
||||||
* 通过下载源码或`unitypackage`包导入到你的项目中。如果你是`2018.3`及以上版本,强烈建议通过`Package Manager`的`Git`来导入包:
|
* Download the source code or `unitypackage` to import into your project. If `Unity` version are `2018.3` or above, it is recommended to import packages through `Package Manager`:
|
||||||
|
1. Open the `manifest.json` file under `Packages` directory and add under `dependencies`:
|
||||||
1. 打开`Packages`目录下的`manifest.json`文件,在`dependencies`下加入:
|
|
||||||
|
|
||||||
``` json
|
``` json
|
||||||
"com.monitor1394.xcharts": "https://github.com/monitor1394/unity-ugui-XCharts.git#package",
|
"com.monitor1394.xcharts": "https://github.com/monitor1394/unity-ugui-XCharts.git#package",
|
||||||
```
|
```
|
||||||
|
2. Going back to `Unity`, it may take 3 to 5 minutes to download.
|
||||||
|
3. If you want to delete `XCharts`, just delete the content added in step 1.
|
||||||
|
4. If you want to update `XCharts`, open `manifest.json` file , delete the content about `com.monitor1394.xcharts` under `lock`, it will download anagain. Also can check For update in `components-> XCharts -> Check For Update`.
|
||||||
|
|
||||||
2. 回到`Unity`,可能会花3到5分钟进行下载和编译,成功后就可以开始使用`XCharts`了。
|
* Add a chart in Editor quickly:
|
||||||
3. 如果要删除`XCharts`,删除掉1步骤所加的内容即可。
|
1. In `Hierarchy`, right-click menu `XChart->LineChart`.
|
||||||
4. 如果要更新`XCharts`,删除`manifest.json`文件的`lock`下的`com.monitor1394.xcharts`相关内容即会从新下载编译。在 `Component -> XCharts -> Check For Update`可以检测是否有新版本可更新。
|
2. In unity menu bar, `Component->XCharts->LineChart`.
|
||||||
|
3. In `Inspector`,`Add Component->LineChart`.
|
||||||
|
4. Then a simple line chart is done.
|
||||||
|
5. In `Inspector` you can adjust the parameters of components, and in `Game` will feedback the adjustment effect in realtime 。the detail of parameters go to see: [XCharts配置项手册](https://github.com/monitor1394/unity-ugui-XCharts/blob/master/Assets/XCharts/Documentation/XCharts配置项手册.md).
|
||||||
|
|
||||||
* 在Editor上快速创建一个图表:
|
* See more examples of code dynamic control: [教程:5分钟上手XCharts](https://github.com/monitor1394/unity-ugui-XCharts/blob/master/Doc/教程:5分钟上手XCharts.md) .
|
||||||
|
|
||||||
1. 在`Canvas`下通过`Create Empty`创建一个空`gameObject`,命名为 `line_chart`。
|
## Documents
|
||||||
2. 通过菜单栏 `Component->XCharts->LineChart` 或者 `Inspector` 视图的 `Add Component` 添加 `LineChart` 脚本。一个简单的折线图就出来了。
|
|
||||||
3. `Inspector` 视图下可以调整各个组件的参数,`Game` 视图会实时反馈调整的效果。各个组件的详细参数说明可查阅[XCharts配置项手册](https://github.com/monitor1394/unity-ugui-XCharts/blob/master/Assets/XCharts/Documentation/XCharts配置项手册.md)。
|
|
||||||
|
|
||||||
* 更多的代码动态控制的例子请参考[教程:5分钟上手XCharts](https://github.com/monitor1394/unity-ugui-XCharts/blob/master/Doc/教程:5分钟上手XCharts.md) 。
|
|
||||||
|
|
||||||
## 文档
|
|
||||||
|
|
||||||
* [XCharts主页](https://github.com/monitor1394/unity-ugui-XCharts)
|
* [XCharts主页](https://github.com/monitor1394/unity-ugui-XCharts)
|
||||||
* 常见问题看这里☞ [XCharts问答](https://github.com/monitor1394/unity-ugui-XCharts/blob/master/Assets/XCharts/Documentation/XCharts问答.md)
|
* 常见问题看这里☞ [XCharts问答](https://github.com/monitor1394/unity-ugui-XCharts/blob/master/Assets/XCharts/Documentation/XCharts问答.md)
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "com.monitor1394.xcharts",
|
"name": "com.monitor1394.xcharts",
|
||||||
"displayName": "XCharts",
|
"displayName": "XCharts",
|
||||||
"version": "1.4.0",
|
"version": "1.5.0",
|
||||||
"unity": "2018.3",
|
"unity": "2018.3",
|
||||||
"description": "A charting and data visualization library for Unity.",
|
"description": "A charting and data visualization library for Unity.",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"version": "1.4.0",
|
"version": "1.5.0",
|
||||||
"date": "20200411",
|
"date": "20200522",
|
||||||
"checkdate": "20200411",
|
"checkdate": "20200522",
|
||||||
"desc": "如果 XCharts 对您有帮助,希望您能在 Github 上点 Star 支持,非常感谢!",
|
"desc": "如果 XCharts 对您有帮助,希望您能在 Github 上点 Star 支持,非常感谢!",
|
||||||
"homepage": "https://github.com/monitor1394/unity-ugui-XCharts"
|
"homepage": "https://github.com/monitor1394/unity-ugui-XCharts"
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user