Skip to content

Commit

Permalink
v2.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
monitor1394 committed Apr 13, 2021
1 parent 0bc5a24 commit cd35d00
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 14 deletions.
5 changes: 5 additions & 0 deletions Assets/XCharts/CHANGELOG-EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# 更新日志

[Latest](#Latest)
[v2.1.1](#v2.1.1)
[v2.1.0](#v2.1.0)
[v2.0.1](#v2.0.1)
[v2.0.0](#v2.0.0)
Expand Down Expand Up @@ -33,6 +34,10 @@

## Latest

## v2.1.1

* (2021.04.13) Define the code and clear `Warning`
* (2021.04.13) Fixed compatibility issues with `Unity` version
* (2021.04.12) Fixed problem `missing class attribute 'ExtensionOfNativeClass'` after Theme refactoring #131

## v2.1.0
Expand Down
5 changes: 5 additions & 0 deletions Assets/XCharts/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# 更新日志

[Latest](#Latest)
[v2.1.1](#v2.1.1)
[v2.1.0](#v2.1.0)
[v2.0.1](#v2.0.1)
[v2.0.0](#v2.0.0)
Expand Down Expand Up @@ -33,6 +34,10 @@

## Latest

## v2.1.1

* (2021.04.13) 整理代码,清除`Warning`
* (2021.04.13) 修复`Unity`版本兼容问题
* (2021.04.12) 修复`Theme`重构后引起的`missing class attribute 'ExtensionOfNativeClass'`的问题 #131

## v2.1.0
Expand Down
11 changes: 6 additions & 5 deletions Assets/XCharts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,15 @@ A powerful, easy-to-use, configurable charting and data visualization library fo

## XCharts 2.0

* Framework reconstruction, layered rendering, optimized scalability, support more data.
* Support for TextMeshPro.
* Underlevel reconstruction, layered rendering, optimized scalability, support more data.
* Support for multi-component patterns.
* Support for any combination of most charts.
* Support theme customization, import and export, and more theme configuration parameters.
* Support global adjustment of configuration parameters.
* Better editing interface.
* Other details optimized.
* Added support for `TextMeshPro`.
* Added `CandlestickChart`.
* Added `GanttChart`.
* __ Note:__ `2.0` has undergone a lot of refactoring and adjustments and is not fully compatible with version `1.0`, so `1.0` should not be directly upgraded to `2.0`. Some parameter Settings may be reset to default values after upgrading.

## Features

Expand Down Expand Up @@ -166,7 +167,7 @@ The following is the relationship structure of LineChart:
* 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`:
``` json
"com.monitor1394.xcharts": "https://github.com/monitor1394/unity-ugui-XCharts.git#upm",
"com.monitor1394.xcharts": "https://github.com/monitor1394/unity-ugui-XCharts.git#2.0-upm",
```
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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ protected void DrawCandlestickSerie(VertexHelper vh, int colorIndex, Serie serie
var xAxis = m_XAxes[serie.xAxisIndex];
var grid = GetSerieGridOrDefault(serie);
float categoryWidth = AxisHelper.GetDataWidth(xAxis, grid.runtimeWidth, showData.Count, dataZoom);
float barGap = GetBarGap();
float barWidth = serie.GetBarWidth(categoryWidth);
float space = (categoryWidth - barWidth) / 2;
int maxCount = serie.maxShow > 0
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 @@ -36,8 +36,8 @@ class XChartsVersion
[ExecuteInEditMode]
public class XChartsMgr : MonoBehaviour
{
internal static string _version = "2.1.0";
internal static int _versionDate = 20210407;
internal static string _version = "2.1.1";
internal static int _versionDate = 20210413;
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.1.0",
"date": "20210407",
"checkdate": "20210407",
"version": "2.1.1",
"date": "20210413",
"checkdate": "20210413",
"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.1.0",
"date": "20210407",
"checkdate": "20210407",
"version": "2.1.1",
"date": "20210413",
"checkdate": "20210413",
"desc": "如果 XCharts 对您有帮助,希望您能在 Github 上点 Star 支持,非常感谢!",
"homepage": "https://github.com/monitor1394/unity-ugui-XCharts"
}

0 comments on commit cd35d00

Please sign in to comment.