mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-14 20:00:09 +00:00
发布1.0.4版本
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
|
||||
# 更新日志
|
||||
|
||||
* (2019.11.05) 增加`Radar`雷达组件更多样式配置参数支持,如`positionType`,`rotate`,`fontSize`,`fontStyle`,`offset`等
|
||||
* (2019.11.05) 增加`Radar`雷达组件文本样式参数配置支持
|
||||
* (2019.11.04) 修复`Unity2018.3`以下版本代码不兼容的问题
|
||||
* (2019.11.04) 优化`SerieLabel`过多时引起的性能问题
|
||||
* (2019.11.03) 发布`v1.0.3`版本
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
* [DataZoom 区域缩放](#DataZoom)
|
||||
* [Grid 网格](#Grid)
|
||||
* [Legend 图例](#Legend)
|
||||
* [Radar 雷达](#Radar)
|
||||
* [Series 系列](#Series)
|
||||
* [Settings 设置](#Settings)
|
||||
* [Theme 主题](#Theme)
|
||||
@@ -34,6 +35,7 @@
|
||||
* [SerieData 数据项](#SerieData)
|
||||
* [SerieLabel 图形上的文本标签](#SerieLabel)
|
||||
* [SerieSymbol 图形标记](#SerieSymbol)
|
||||
* [TextStyle 文本样式](#TextStyle)
|
||||
|
||||
## `Theme`
|
||||
|
||||
@@ -115,6 +117,43 @@
|
||||
* `GetData(int index)`:获得指定索引的图例。
|
||||
* `GetIndex(string legendName)`:获得指定图例的索引。
|
||||
|
||||
## `Radar`
|
||||
|
||||
---
|
||||
|
||||
* `shape`:雷达图绘制类型。
|
||||
* `Polygon`:多边形。
|
||||
* `Circle`:圆形。
|
||||
* `positionType`:显示位置类型。
|
||||
* `Vertice`:显示在顶点处。
|
||||
* `Between`:显示在顶点之间。
|
||||
* `radius`:雷达图的半径。
|
||||
* `center`:雷达图的中心点。数组的第一项是横坐标,第二项是纵坐标。当值为0-1之间时表示百分比,设置成百分比时第一项是相对于容器宽度,第二项是相对于容器高度。
|
||||
* `lineStyle`:线条样式 [LineStyle](#LineStyle)。
|
||||
* `splitArea`:分割区域 [AxisSplitArea](#AxisSplitArea)。
|
||||
* `indicator`:是否显示指示器。
|
||||
* `indicatorGap`:指示器和雷达的间距。
|
||||
* `indicatorList`指示器列表 [Radar.Indicator](#Radar.Indicator)。
|
||||
|
||||
## `Radar.Indicator`
|
||||
|
||||
---
|
||||
|
||||
* `name`:指示器名称。
|
||||
* `max`:指示器的最大值,默认为 0 无限制。
|
||||
* `min`:指示器的最小值,默认为 0 无限制。
|
||||
* `textStyle`:文本样式 [TextStyle](#TextStyle)。
|
||||
|
||||
## `TextStyle`
|
||||
|
||||
---
|
||||
|
||||
* `rotate`:旋转。
|
||||
* `offset`:偏移。
|
||||
* `color`:颜色。
|
||||
* `fontSize`:字体大小。
|
||||
* `fontStyle`:字体风格。
|
||||
|
||||
## `Tooltip`
|
||||
|
||||
---
|
||||
|
||||
@@ -174,7 +174,7 @@ namespace XCharts
|
||||
/// </summary>
|
||||
public float indicatorGap { get { return m_IndicatorGap; } set { m_IndicatorGap = value; } }
|
||||
/// <summary>
|
||||
/// 指示器显示位置类型。
|
||||
/// 显示位置类型。
|
||||
/// </summary>
|
||||
public PositionType positionType { get { return m_PositionType; } set { m_PositionType = value; } }
|
||||
/// <summary>
|
||||
|
||||
@@ -24,8 +24,8 @@ namespace XCharts
|
||||
|
||||
public class XChartsMgr : MonoBehaviour
|
||||
{
|
||||
public const string version = "1.0.3";
|
||||
public const int date = 20191103;
|
||||
public const string version = "1.0.4";
|
||||
public const int date = 20191105;
|
||||
|
||||
[SerializeField] private string m_NowVersion;
|
||||
[SerializeField] private string m_NewVersion;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "com.monitor1394.xcharts",
|
||||
"displayName": "XCharts",
|
||||
"version": "1.0.3",
|
||||
"version": "1.0.4",
|
||||
"unity": "2018.3",
|
||||
"description": "A charting and data visualization library for Unity.",
|
||||
"keywords": [
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"version": "1.0.3",
|
||||
"date": "20191103",
|
||||
"checkdate": "20191103",
|
||||
"version": "1.0.4",
|
||||
"date": "20191105",
|
||||
"checkdate": "20191105",
|
||||
"desc": "欢迎 Github 上点 Star 支持,非常感谢!",
|
||||
"homepage": "https://github.com/monitor1394/unity-ugui-XCharts"
|
||||
}
|
||||
Reference in New Issue
Block a user