-
Notifications
You must be signed in to change notification settings - Fork 575
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8b320e9
commit c53be4b
Showing
7 changed files
with
92 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,13 +46,14 @@ | |
一款基于`UGUI`的功能强大、简单易用的数据可视化图表插件。支持`折线图`、`柱状图`、`饼图`、`雷达图`、`散点图`、`热力图`、`环形图`、`K线图`、`极坐标`、`平行坐标`等十多种内置图表,以及`3D饼图`、`3D柱图`、`3D金字塔`、`漏斗图`、`仪表盘`、`水位图`、`象形柱图`、`甘特图`、`矩形树图`等扩展图表。 | ||
|
||
[XCharts3.0 官方主页](https://xcharts-team.github.io) | ||
[XCharts3.0 在线示例](https://xcharts-team.github.io/examples) | ||
|
||
[XCharts3.0 教程](Documentation~/zh/tutorial01.md) | ||
[XCharts3.0 API](Documentation~/zh/api.md) | ||
[XCharts3.0 问答](Documentation~/zh/faq.md) | ||
[XCharts3.0 配置项手册](Documentation~/zh/configuration.md) | ||
[XCharts3.0 更新日志](Documentation~/zh/changelog.md) | ||
[XCharts3.0 订阅服务](Documentation~/zh/support.md) | ||
[XCharts3.0 教程](Documentation~/zh/tutorial01.md) | ||
[XCharts3.0 API](Documentation~/zh/api.md) | ||
[XCharts3.0 问答](Documentation~/zh/faq.md) | ||
[XCharts3.0 配置项手册](Documentation~/zh/configuration.md) | ||
[XCharts3.0 更新日志](Documentation~/zh/changelog.md) | ||
[XCharts3.0 订阅服务](Documentation~/zh/support.md) | ||
|
||
## 特性 | ||
|
||
|
@@ -78,48 +79,22 @@ | |
|
||
![扩展图表](Documentation~/zh/img/readme_extendchart.png) | ||
|
||
XCharts不再内置Demo,Demo已独立出单独的仓库 [XCharts-Demo](https://github.com/XCharts-Team/XCharts-Demo),也可以在浏览器查看`WebGL`下的运行效果 [在线Demo](https://xcharts-team.github.io/demo/) 。 | ||
|
||
## `XCharts3.0` | ||
|
||
- 增加`Time`时间轴。 | ||
- 增加`SingleAxis`单轴。 | ||
- 增加多种坐标系:`Grid`、`Polar`、`Radar`、`SingleAxis`。 | ||
- 增加多种动画方式。 | ||
- 增加多种图表交互。 | ||
- 增加国际化支持。 | ||
- 增加`Widgets`小组件。 | ||
- 增加多种扩展图表。 | ||
|
||
## `XCharts3.0` 相比 `XCharts2.0` | ||
|
||
- 更健壮的底层框架。 | ||
- 更强大的性能。 | ||
- 更小的序列化文件。 | ||
- 更好的交互体验。 | ||
- 更多的组件支持。 | ||
- 更强大的文本自述能力。 | ||
- 更合理的组件调整。 | ||
- 更灵活的组件插拔。 | ||
- 更高效的二次开发。 | ||
- 更丰富的Demo示例。 | ||
|
||
![XCharts 3.0和2.0的对比](Documentation~/zh/img/readme_xcharts3.png) | ||
|
||
## 注意 | ||
|
||
- `XCharts3.0` 不完全兼容 `XCharts2.0` 版本,升级`3.0`可能需要调整部分代码和配置。建议旧项目可以继续使用`XCharts2.0`,新项目推荐使用`XCharts3.0`。 | ||
- `XCharts2.0` 进入维护阶段,后续只修复严重`bug`,理论上不再加新功能。 | ||
- `XCharts3.0` 不完全兼容 `XCharts2.0` 版本,升级`3.0`可能需要调整部分代码,图表部分配置需要重新调整。建议旧项目可以继续使用`XCharts2.0`,新项目推荐使用`XCharts3.0`。 | ||
- `XCharts2.0` 进入维护阶段,后续只修复严重`bug`,原则上不再加新功能。 | ||
- `XCharts` 理论上支持`Unity 5.6`及以上版本,但由于版本测试有限难免疏漏,发现版本兼容问题可提`Issue`。 | ||
- 本仓库只包含`XCharts`源码,不包含`Demo`示例部分。需要查看`Demo`请到[XCharts-Demo](https://github.com/XCharts-Team/XCharts-Demo)仓库。 | ||
- 本仓库只包含`XCharts`源码,不包含`Demo`示例部分。需要查看`Demo`示例源码请到[XCharts-Demo](https://github.com/XCharts-Team/XCharts-Demo)仓库。也可以在浏览器查看`WebGL`下的运行效果 [在线Demo](https://xcharts-team.github.io/examples/) 。 | ||
|
||
## 使用 | ||
|
||
1. 导入`XCharts`的`unitypackage`或者源码到项目。 | ||
2. 在`Hierarchy`视图下右键选择`XCharts->LineChart`,即可创建一个默认的折线图。 | ||
3. 在`Inspector`视图可以调整各个组件的参数,`Game`视图可看到实时效果。 | ||
|
||
- 更多使用细节,请看:[XCharts教程:5分钟上手教程](Documentation~/zh/tutorial01.md) | ||
- 更多细节,请看:[XCharts教程:5分钟上手教程](Documentation~/zh/tutorial01.md) | ||
- 首次使用,建议先认真看一遍教程。 | ||
|
||
## 分支 | ||
|
@@ -131,13 +106,18 @@ XCharts不再内置Demo,Demo已独立出单独的仓库 [XCharts-Demo](https:/ | |
- `1.0`:XCharts 1.0的稳定分支。带Demo,不再维护。 | ||
- `1.0-upm`:XCharts 1.0的稳定UMP分支。不带Demo,不再维护。 | ||
|
||
## 扩展 | ||
|
||
- [扩展图表](https://xcharts-team.github.io/docs/extra) 扩展图表订阅`VIP`后再按需购买,订阅详情请查看[☞ 看这里](Documentation~/zh/support.md) | ||
- [扩展组件](https://xcharts-team.github.io/docs/ui) 扩展组件订阅`VIP`后即可免费使用。 | ||
|
||
## FAQ | ||
|
||
1. `XCharts`可以免费使用吗? | ||
答:`XCharts`使用`MIT`协议,可以免费使用。也可以订阅`VIP`享受更多增值服务。 | ||
|
||
2. `XCharts`支持代码动态添加和修改数据吗?支持从`Excel`或数据库中获取数据吗? | ||
答:`XCharts`提供了各种数据操作的接口,支持代码动态修改配置,添加和修改数据,但数据来源需要自己解析或获取,再调用`XCharts`的接口添加到`XCharts`。 | ||
答:`XCharts`提供了各种数据操作的接口,支持代码动态修改配置,添加和修改数据,但数据来源需要自己解析和获取,再调用`XCharts`的接口添加到图表。 | ||
|
||
3. 这个插件除了用在`Unity`,还能用在其他平台(如`Winform`或`WPF`)吗? | ||
答:目前只支持在`Unity`平台使用。理论上任何支持`UGUI`的`Unity`版本都能运行`XCharts`。 | ||
|
@@ -161,4 +141,4 @@ XCharts不再内置Demo,Demo已独立出单独的仓库 [XCharts-Demo](https:/ | |
- 邮箱:`[email protected]` | ||
- QQ群:XCharts交流群(`202030963`) | ||
- VIP群:XCharts技术支持VIP群(`867291970`) | ||
- 捐助、合作和技术支持:[☞ 看这里](Documentation~/zh/support.md) | ||
- 捐助、合作、订阅和技术支持:[☞ 看这里](Documentation~/zh/support.md) |