Skip to content

Commit

Permalink
v2.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
monitor1394 committed Jul 24, 2021
1 parent bdd53bb commit f69aa1d
Show file tree
Hide file tree
Showing 9 changed files with 77 additions and 29 deletions.
20 changes: 20 additions & 0 deletions Assets/XCharts/CHANGELOG-EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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
Expand Down
22 changes: 21 additions & 1 deletion Assets/XCharts/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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`调节偏移
Expand Down
4 changes: 2 additions & 2 deletions Assets/XCharts/Documentation/XCharts问答.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,11 @@

## 锯齿太严重_如何让图表更顺滑

答:开启抗锯齿设置(在`Unity`里设置)。调整UI渲染模式为`Camera`模式,开启`MSAA`,设置`4`倍或更高抗锯齿。锯齿只能减少难以避免,像素越高锯齿越不明显。
答:开启抗锯齿设置(在`Unity`里设置)。调整UI渲染模式为`Camera`模式,开启`MSAA`,设置`4`倍或更高抗锯齿。

## 为什么鼠标移上图表Tooltip不显示

答:确认`Tooltip`是否开启确认父节点是否关闭了鼠标事件。
答:确认`Tooltip`是否开启确认父节点是否关闭了鼠标事件。

## 如何取消Tooltip的竖线

Expand Down
26 changes: 14 additions & 12 deletions Assets/XCharts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,29 +14,31 @@
<a href="https://github.com/monitor1394/unity-ugui-XCharts/blob/master/LICENSE">
<img src="https://img.shields.io/github/license/monitor1394/unity-ugui-XCharts">
</a>
<a href="https://github.com/monitor1394/unity-ugui-XCharts/releases">
<img src="https://img.shields.io/github/v/release/monitor1394/unity-ugui-XCharts?include_prereleases">
</a>
<a href="">
<img src="https://img.shields.io/github/languages/code-size/monitor1394/unity-ugui-xcharts">
</a>
<a href="https://www.npmjs.org/package/unity-ugui-xcharts">
<img src="https://img.shields.io/npm/v/unity-ugui-xcharts.svg?label=npm">
</a>
<a href="https://www.npmjs.org/package/unity-ugui-xcharts">
<img src="https://img.shields.io/npm/dt/unity-ugui-xcharts?label=npm%20downloads%20">
<img src="https://img.shields.io/npm/dm/unity-ugui-xcharts?label=npm%20downloads%20">
</a>
<a href="https://www.npmjs.org/package/unity-ugui-xcharts">
<img src="https://img.shields.io/npm/dm/unity-ugui-xcharts?label=%20">
<a href="">
<img src="https://img.shields.io/badge/Unity-5.6+-green">
</a>
<a href="https://github.com/monitor1394/unity-ugui-XCharts/releases">
<img src="https://img.shields.io/github/v/release/monitor1394/unity-ugui-XCharts?include_prereleases&label=github">
<a href="">
<img src="https://img.shields.io/badge/TextMeshPro-YES-green">
</a>
<a href="https://github.com/monitor1394/unity-ugui-XCharts/releases">
<img src="https://img.shields.io/github/downloads/monitor1394/unity-ugui-XCharts/total?label=github%20downloads">
</p>
<p align="center">
<a href="">
<img src="https://img.shields.io/github/stars/monitor1394/unity-ugui-XCharts?style=social">
</a>
<a href="">
<img src="https://img.shields.io/badge/Unity-5.6%20%7C%202017%20%7C%202018%20%7C%202019%20%7C%202020%20%7C%202021-green">
<img src="https://img.shields.io/github/forks/monitor1394/unity-ugui-XCharts?style=social">
</a>
<a href="">
<img src="https://img.shields.io/badge/TextMeshPro-YES-green">
<img src="https://img.shields.io/github/issues-closed/monitor1394/unity-ugui-XCharts?color=green&label=%20%20%20%20issues&logoColor=green&style=social">
</a>
</p>

Expand Down
4 changes: 1 addition & 3 deletions Assets/XCharts/Runtime/Component/Main/Tooltip.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System.Linq;
using System.Collections.ObjectModel;
/******************************************/
/******************************************/
/* */
/* Copyright (c) 2021 monitor1394 */
/* https://github.com/monitor1394 */
Expand Down
4 changes: 2 additions & 2 deletions Assets/XCharts/Runtime/XChartsMgr.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ class XChartsVersion
[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; } }
Expand Down
6 changes: 3 additions & 3 deletions Assets/XCharts/package.json
Original file line number Diff line number Diff line change
@@ -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.",
Expand Down
6 changes: 3 additions & 3 deletions Assets/XCharts/version.json
Original file line number Diff line number Diff line change
@@ -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"
}
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,24 @@
<a href="">
<img src="https://img.shields.io/github/languages/code-size/monitor1394/unity-ugui-xcharts">
</a>
<a href="https://www.npmjs.org/package/unity-ugui-xcharts">
<img src="https://img.shields.io/npm/dm/unity-ugui-xcharts?label=npm%20downloads%20">
</a>
<a href="">
<img src="https://img.shields.io/badge/Unity-5.6+-green">
</a>
<a href="">
<img src="https://img.shields.io/badge/TextMeshPro-YES-green">
</a>
</p>
<p align="center">
<a href="">
<img src="https://img.shields.io/github/stars/monitor1394/unity-ugui-XCharts?style=social">
</a>
<a href="">
<img src="https://img.shields.io/github/forks/monitor1394/unity-ugui-XCharts?style=social">
</a>
<a href="">
<img src="https://img.shields.io/github/issues-closed/monitor1394/unity-ugui-XCharts?color=green&label=%20%20%20%20issues&logoColor=green&style=social">
</a>
</p>

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

Expand Down

0 comments on commit f69aa1d

Please sign in to comment.