diff --git a/Assets/XCharts/CHANGELOG-EN.md b/Assets/XCharts/CHANGELOG-EN.md index c63512e2..06a3d6d9 100644 --- a/Assets/XCharts/CHANGELOG-EN.md +++ b/Assets/XCharts/CHANGELOG-EN.md @@ -2,6 +2,7 @@ # 更新日志 [master](#master) +[v2.3.0](#v2.3.0) [v2.2.3](#v2.2.3) [v2.2.2](#v2.2.2) [v2.2.1](#v2.2.1) @@ -38,6 +39,25 @@ ## master +## v2.3.0 + +### Main points + +* Data store upgraded from `float` to `double` +* Added `MarkLine` +* `Serie` can use `IconStyle` to configure ICONS uniformly +* `Label` supports custom display styles with code +* `DataZoom` is perfect +* `PieChart` optimization +* Problem fixes + +### Upgrade Note + +Since the data type is upgraded to `double`, the implicit conversion of `float` to `double` may have precision problems, so it is recommended that all previous data types of `float` be manually changed to `double`. + +### Details + +* (2021.07.24) Release `v2.3.0` version * (2021.07.22) Improved `SerieSymbol` to support `PictorialBarchart` extension * (2021.07.19) Fixed issue where `Tooltip` was not displayed on `WdbGL` platform * (2021.07.18) Added `iconStyle` for serie diff --git a/Assets/XCharts/CHANGELOG.md b/Assets/XCharts/CHANGELOG.md index ddc5e40e..0b8f3711 100644 --- a/Assets/XCharts/CHANGELOG.md +++ b/Assets/XCharts/CHANGELOG.md @@ -2,6 +2,7 @@ # 更新日志 [master](#master) +[v2.3.0](#v2.3.0) [v2.2.3](#v2.2.3) [v2.2.2](#v2.2.2) [v2.2.1](#v2.2.1) @@ -38,12 +39,31 @@ ## master +## v2.3.0 + +### 版本要点 + +* 数据存储由`float`升级为`double` +* 新增`MarkLine`标线 +* `Serie`下可用`IconStyle`统一配置图标 +* `Label`支持用代码自定义显示样式 +* `DataZoom`完善 +* `PieChart`优化 +* 问题修复 + +### 升级注意 + +由于数据类型升级为了`double`,`float`隐式转`double`可能有精度问题,所以建议之前为`float`的数据类型都手动改为`double`类型。 + +### 日志详情 + +* (2021.07.24) 发布`v2.3.0`版本 * (2021.07.22) 完善`SerieSymbol`以支持象形柱图`PictorialBarChart`扩展 * (2021.07.19) 修复`WdbGL`平台上`Tooltip`不显示的问题 * (2021.07.18) 增加`Serie`的`iconStyle`统一配置图标 * (2021.07.15) 增加`MarkLine`标线 (#142) * (2021.07.09) 优化`BarChart`可通过`serieData.show`设置是否显示柱条 -* (2021.07.08) 优化数据存储类型由`float`全部转为`double` +* (2021.07.08) 优化`data`数据存储类型由`float`全部转为`double` * (2021.07.05) 修复`PieChart`的`avoidLabelOverlap`参数不生效的问题 * (2021.07.04) 修复`PieChart`选中扇区后鼠标区域指示不准确的问题 * (2021.07.04) 优化`PieChart`的`Label`为`Inside`时可通过参数`Margin`调节偏移 diff --git a/Assets/XCharts/Documentation/XCharts问答.md b/Assets/XCharts/Documentation/XCharts问答.md index 40e17cba..bb5b224c 100644 --- a/Assets/XCharts/Documentation/XCharts问答.md +++ b/Assets/XCharts/Documentation/XCharts问答.md @@ -96,11 +96,11 @@ ## 锯齿太严重_如何让图表更顺滑 -答:开启抗锯齿设置(在`Unity`里设置)。调整UI渲染模式为`Camera`模式,开启`MSAA`,设置`4`倍或更高抗锯齿。锯齿只能减少难以避免,像素越高锯齿越不明显。 +答:开启抗锯齿设置(在`Unity`里设置)。调整UI渲染模式为`Camera`模式,开启`MSAA`,设置`4`倍或更高抗锯齿。 ## 为什么鼠标移上图表Tooltip不显示 -答:确认`Tooltip`是否开启。确认父节点是否关闭了鼠标事件。 +答:确认`Tooltip`是否开启;确认父节点是否关闭了鼠标事件。 ## 如何取消Tooltip的竖线 diff --git a/Assets/XCharts/README.md b/Assets/XCharts/README.md index 358960c5..9904ccba 100644 --- a/Assets/XCharts/README.md +++ b/Assets/XCharts/README.md @@ -14,31 +14,33 @@ + + + - - - - - - - - - - - - - + - +

+

+ + + + + + + + + +

A powerful, easy-to-use, configurable charting and data visualization library for Unity. Supporting line, bar, pie, radar, scatter, heatmap, gauge, ring, polar, liquid and other common chart. diff --git a/Assets/XCharts/Runtime/Component/Main/Tooltip.cs b/Assets/XCharts/Runtime/Component/Main/Tooltip.cs index 1916d6ec..0cc12152 100644 --- a/Assets/XCharts/Runtime/Component/Main/Tooltip.cs +++ b/Assets/XCharts/Runtime/Component/Main/Tooltip.cs @@ -1,6 +1,4 @@ -using System.Linq; -using System.Collections.ObjectModel; -/******************************************/ +/******************************************/ /* */ /* Copyright (c) 2021 monitor1394 */ /* https://github.com/monitor1394 */ diff --git a/Assets/XCharts/Runtime/XChartsMgr.cs b/Assets/XCharts/Runtime/XChartsMgr.cs index 6da9f8f6..1032eeb2 100644 --- a/Assets/XCharts/Runtime/XChartsMgr.cs +++ b/Assets/XCharts/Runtime/XChartsMgr.cs @@ -33,8 +33,8 @@ namespace XCharts [ExecuteInEditMode] public class XChartsMgr : MonoBehaviour { - internal static string _version = "2.2.3"; - internal static int _versionDate = 20210620; + internal static string _version = "2.3.0"; + internal static int _versionDate = 20210724; public static string version { get { return _version; } } public static int versionDate { get { return _versionDate; } } public static string fullVersion { get { return version + "-" + versionDate; } } diff --git a/Assets/XCharts/package.json b/Assets/XCharts/package.json index 79360d58..ee54c5c8 100644 --- a/Assets/XCharts/package.json +++ b/Assets/XCharts/package.json @@ -1,9 +1,9 @@ { "name": "com.monitor1394.xcharts", "displayName": "XCharts", - "version": "2.2.3", - "date": "20210620", - "checkdate": "20210620", + "version": "2.3.0", + "date": "20210724", + "checkdate": "20210724", "desc": "如果 XCharts 对您有帮助,希望您能在 Github 上点 Star 支持,非常感谢!", "unity": "2018.3", "description": "A charting and data visualization library for Unity.", diff --git a/Assets/XCharts/version.json b/Assets/XCharts/version.json index 5af132c2..a26dfdec 100644 --- a/Assets/XCharts/version.json +++ b/Assets/XCharts/version.json @@ -1,7 +1,7 @@ { - "version": "2.2.3", - "date": "20210620", - "checkdate": "20210620", + "version": "2.3.0", + "date": "20210724", + "checkdate": "20210724", "desc": "如果 XCharts 对您有帮助,希望您能在 Github 上点 Star 支持,非常感谢!", "homepage": "https://github.com/monitor1394/unity-ugui-XCharts" } \ No newline at end of file diff --git a/README.md b/README.md index 4b2a01dc..6bb369ee 100644 --- a/README.md +++ b/README.md @@ -24,9 +24,6 @@ - - - @@ -34,6 +31,17 @@

+

+ + + + + + + + + +

一款基于`UGUI`的功能强大、易用、参数可配置的数据可视化图表插件。支持折线图、柱状图、饼图、雷达图、散点图、热力图、仪表盘、环形图、极坐标、水位图、K线图等常见图表。