mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-25 02:10:16 +00:00
v2.3.0
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
# 更新日志
|
# 更新日志
|
||||||
|
|
||||||
[master](#master)
|
[master](#master)
|
||||||
|
[v2.3.0](#v2.3.0)
|
||||||
[v2.2.3](#v2.2.3)
|
[v2.2.3](#v2.2.3)
|
||||||
[v2.2.2](#v2.2.2)
|
[v2.2.2](#v2.2.2)
|
||||||
[v2.2.1](#v2.2.1)
|
[v2.2.1](#v2.2.1)
|
||||||
@@ -38,6 +39,25 @@
|
|||||||
|
|
||||||
## master
|
## 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.22) Improved `SerieSymbol` to support `PictorialBarchart` extension
|
||||||
* (2021.07.19) Fixed issue where `Tooltip` was not displayed on `WdbGL` platform
|
* (2021.07.19) Fixed issue where `Tooltip` was not displayed on `WdbGL` platform
|
||||||
* (2021.07.18) Added `iconStyle` for serie
|
* (2021.07.18) Added `iconStyle` for serie
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
# 更新日志
|
# 更新日志
|
||||||
|
|
||||||
[master](#master)
|
[master](#master)
|
||||||
|
[v2.3.0](#v2.3.0)
|
||||||
[v2.2.3](#v2.2.3)
|
[v2.2.3](#v2.2.3)
|
||||||
[v2.2.2](#v2.2.2)
|
[v2.2.2](#v2.2.2)
|
||||||
[v2.2.1](#v2.2.1)
|
[v2.2.1](#v2.2.1)
|
||||||
@@ -38,12 +39,31 @@
|
|||||||
|
|
||||||
## master
|
## 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.22) 完善`SerieSymbol`以支持象形柱图`PictorialBarChart`扩展
|
||||||
* (2021.07.19) 修复`WdbGL`平台上`Tooltip`不显示的问题
|
* (2021.07.19) 修复`WdbGL`平台上`Tooltip`不显示的问题
|
||||||
* (2021.07.18) 增加`Serie`的`iconStyle`统一配置图标
|
* (2021.07.18) 增加`Serie`的`iconStyle`统一配置图标
|
||||||
* (2021.07.15) 增加`MarkLine`标线 (#142)
|
* (2021.07.15) 增加`MarkLine`标线 (#142)
|
||||||
* (2021.07.09) 优化`BarChart`可通过`serieData.show`设置是否显示柱条
|
* (2021.07.09) 优化`BarChart`可通过`serieData.show`设置是否显示柱条
|
||||||
* (2021.07.08) 优化数据存储类型由`float`全部转为`double`
|
* (2021.07.08) 优化`data`数据存储类型由`float`全部转为`double`
|
||||||
* (2021.07.05) 修复`PieChart`的`avoidLabelOverlap`参数不生效的问题
|
* (2021.07.05) 修复`PieChart`的`avoidLabelOverlap`参数不生效的问题
|
||||||
* (2021.07.04) 修复`PieChart`选中扇区后鼠标区域指示不准确的问题
|
* (2021.07.04) 修复`PieChart`选中扇区后鼠标区域指示不准确的问题
|
||||||
* (2021.07.04) 优化`PieChart`的`Label`为`Inside`时可通过参数`Margin`调节偏移
|
* (2021.07.04) 优化`PieChart`的`Label`为`Inside`时可通过参数`Margin`调节偏移
|
||||||
|
|||||||
@@ -96,11 +96,11 @@
|
|||||||
|
|
||||||
## 锯齿太严重_如何让图表更顺滑
|
## 锯齿太严重_如何让图表更顺滑
|
||||||
|
|
||||||
答:开启抗锯齿设置(在`Unity`里设置)。调整UI渲染模式为`Camera`模式,开启`MSAA`,设置`4`倍或更高抗锯齿。锯齿只能减少难以避免,像素越高锯齿越不明显。
|
答:开启抗锯齿设置(在`Unity`里设置)。调整UI渲染模式为`Camera`模式,开启`MSAA`,设置`4`倍或更高抗锯齿。
|
||||||
|
|
||||||
## 为什么鼠标移上图表Tooltip不显示
|
## 为什么鼠标移上图表Tooltip不显示
|
||||||
|
|
||||||
答:确认`Tooltip`是否开启。确认父节点是否关闭了鼠标事件。
|
答:确认`Tooltip`是否开启;确认父节点是否关闭了鼠标事件。
|
||||||
|
|
||||||
## 如何取消Tooltip的竖线
|
## 如何取消Tooltip的竖线
|
||||||
|
|
||||||
|
|||||||
@@ -14,31 +14,33 @@
|
|||||||
<a href="https://github.com/monitor1394/unity-ugui-XCharts/blob/master/LICENSE">
|
<a href="https://github.com/monitor1394/unity-ugui-XCharts/blob/master/LICENSE">
|
||||||
<img src="https://img.shields.io/github/license/monitor1394/unity-ugui-XCharts">
|
<img src="https://img.shields.io/github/license/monitor1394/unity-ugui-XCharts">
|
||||||
</a>
|
</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="">
|
<a href="">
|
||||||
<img src="https://img.shields.io/github/languages/code-size/monitor1394/unity-ugui-xcharts">
|
<img src="https://img.shields.io/github/languages/code-size/monitor1394/unity-ugui-xcharts">
|
||||||
</a>
|
</a>
|
||||||
<a href="https://www.npmjs.org/package/unity-ugui-xcharts">
|
<a href="https://www.npmjs.org/package/unity-ugui-xcharts">
|
||||||
<img src="https://img.shields.io/npm/v/unity-ugui-xcharts.svg?label=npm">
|
<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/dt/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>
|
|
||||||
<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>
|
|
||||||
<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">
|
|
||||||
</a>
|
</a>
|
||||||
<a href="">
|
<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/badge/Unity-5.6+-green">
|
||||||
</a>
|
</a>
|
||||||
<a href="">
|
<a href="">
|
||||||
<img src="https://img.shields.io/badge/TextMeshPro-YES-green">
|
<img src="https://img.shields.io/badge/TextMeshPro-YES-green">
|
||||||
</a>
|
</a>
|
||||||
</p>
|
</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>
|
||||||
|
|
||||||
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.
|
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.
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
using System.Linq;
|
/******************************************/
|
||||||
using System.Collections.ObjectModel;
|
|
||||||
/******************************************/
|
|
||||||
/* */
|
/* */
|
||||||
/* Copyright (c) 2021 monitor1394 */
|
/* Copyright (c) 2021 monitor1394 */
|
||||||
/* https://github.com/monitor1394 */
|
/* https://github.com/monitor1394 */
|
||||||
|
|||||||
@@ -33,8 +33,8 @@ namespace XCharts
|
|||||||
[ExecuteInEditMode]
|
[ExecuteInEditMode]
|
||||||
public class XChartsMgr : MonoBehaviour
|
public class XChartsMgr : MonoBehaviour
|
||||||
{
|
{
|
||||||
internal static string _version = "2.2.3";
|
internal static string _version = "2.3.0";
|
||||||
internal static int _versionDate = 20210620;
|
internal static int _versionDate = 20210724;
|
||||||
public static string version { get { return _version; } }
|
public static string version { get { return _version; } }
|
||||||
public static int versionDate { get { return _versionDate; } }
|
public static int versionDate { get { return _versionDate; } }
|
||||||
public static string fullVersion { get { return version + "-" + versionDate; } }
|
public static string fullVersion { get { return version + "-" + versionDate; } }
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
{
|
{
|
||||||
"name": "com.monitor1394.xcharts",
|
"name": "com.monitor1394.xcharts",
|
||||||
"displayName": "XCharts",
|
"displayName": "XCharts",
|
||||||
"version": "2.2.3",
|
"version": "2.3.0",
|
||||||
"date": "20210620",
|
"date": "20210724",
|
||||||
"checkdate": "20210620",
|
"checkdate": "20210724",
|
||||||
"desc": "如果 XCharts 对您有帮助,希望您能在 Github 上点 Star 支持,非常感谢!",
|
"desc": "如果 XCharts 对您有帮助,希望您能在 Github 上点 Star 支持,非常感谢!",
|
||||||
"unity": "2018.3",
|
"unity": "2018.3",
|
||||||
"description": "A charting and data visualization library for Unity.",
|
"description": "A charting and data visualization library for Unity.",
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"version": "2.2.3",
|
"version": "2.3.0",
|
||||||
"date": "20210620",
|
"date": "20210724",
|
||||||
"checkdate": "20210620",
|
"checkdate": "20210724",
|
||||||
"desc": "如果 XCharts 对您有帮助,希望您能在 Github 上点 Star 支持,非常感谢!",
|
"desc": "如果 XCharts 对您有帮助,希望您能在 Github 上点 Star 支持,非常感谢!",
|
||||||
"homepage": "https://github.com/monitor1394/unity-ugui-XCharts"
|
"homepage": "https://github.com/monitor1394/unity-ugui-XCharts"
|
||||||
}
|
}
|
||||||
14
README.md
14
README.md
@@ -24,9 +24,6 @@
|
|||||||
<a href="">
|
<a href="">
|
||||||
<img src="https://img.shields.io/github/languages/code-size/monitor1394/unity-ugui-xcharts">
|
<img src="https://img.shields.io/github/languages/code-size/monitor1394/unity-ugui-xcharts">
|
||||||
</a>
|
</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="">
|
<a href="">
|
||||||
<img src="https://img.shields.io/badge/Unity-5.6+-green">
|
<img src="https://img.shields.io/badge/Unity-5.6+-green">
|
||||||
</a>
|
</a>
|
||||||
@@ -34,6 +31,17 @@
|
|||||||
<img src="https://img.shields.io/badge/TextMeshPro-YES-green">
|
<img src="https://img.shields.io/badge/TextMeshPro-YES-green">
|
||||||
</a>
|
</a>
|
||||||
</p>
|
</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线图等常见图表。
|
一款基于`UGUI`的功能强大、易用、参数可配置的数据可视化图表插件。支持折线图、柱状图、饼图、雷达图、散点图、热力图、仪表盘、环形图、极坐标、水位图、K线图等常见图表。
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user