* UIChartOption: 清理一些无用的属性
This commit is contained in:
parent
db0eb984cb
commit
df57c95686
@ -22,8 +22,8 @@
|
||||
* 2021-01-01: V3.0.9 增加柱子上显示数值
|
||||
* 2022-03-08: V3.1.1 增加X轴文字倾斜
|
||||
* 2022-05-27: V3.1.9 重写Y轴坐标显示
|
||||
* 2022-07-29: V3.2.2 数据显示的小数位数重构调整至数据序列Series.DecimalPlaces
|
||||
* 2022-07-30: V3.2.2 坐标轴的小数位数重构调整至AxisLabel.DecimalPlaces
|
||||
* 2022-07-29: V3.2.2 数据显示的小数位数重构调整至数据序列 Series.DecimalPlaces
|
||||
* 2022-07-30: V3.2.2 坐标轴的小数位数重构调整至坐标轴标签 AxisLabel.DecimalPlaces
|
||||
******************************************************************************/
|
||||
|
||||
using System;
|
||||
|
@ -34,10 +34,10 @@
|
||||
* 2022-04-19: V3.1.5 关闭Smooth绘制,数值差距大或者持续缩放会出错
|
||||
* 2022-07-11: V3.2.1 修改两个点时可以不显示连接线
|
||||
* 2022-07-26: V3.2.2 修复双Y轴数据点提示文字显示
|
||||
* 2022-07-30: V3.2.2 数据显示的小数位数重构调整至数据序列Series.XAxisDecimalPlaces,YAxisDecimalPlaces
|
||||
* 2022-07-30: V3.2.2 数据显示的日期格式重构调整至数据序列Series.XAxisDateTimeFormat
|
||||
* 2022-07-30: V3.2.2 坐标轴的小数位数重构调整至AxisLabel.DecimalPlaces
|
||||
* 2022-07-30: V3.2.2 坐标轴的日期格式重构调整至AxisLabel.DateTimeFormat
|
||||
* 2022-07-30: V3.2.2 数据显示的小数位数重构调整至数据序列 Series.XAxisDecimalPlaces,YAxisDecimalPlaces
|
||||
* 2022-07-30: V3.2.2 数据显示的日期格式重构调整至数据序列 Series.XAxisDateTimeFormat
|
||||
* 2022-07-30: V3.2.2 坐标轴的小数位数重构调整至坐标轴标签 AxisLabel.DecimalPlaces
|
||||
* 2022-07-30: V3.2.2 坐标轴的日期格式重构调整至坐标轴标签 AxisLabel.DateTimeFormat
|
||||
******************************************************************************/
|
||||
|
||||
using System;
|
||||
|
@ -40,11 +40,6 @@ namespace Sunny.UI
|
||||
|
||||
public class UIAxis
|
||||
{
|
||||
public UIAxis()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public UIAxis(UIAxisType axisType)
|
||||
{
|
||||
Type = axisType;
|
||||
@ -54,13 +49,6 @@ namespace Sunny.UI
|
||||
|
||||
public UIAxisType Type { get; }
|
||||
|
||||
/// <summary>
|
||||
/// 坐标轴的分割段数,需要注意的是这个分割段数只是个预估值
|
||||
/// 最后实际显示的段数会在这个基础上根据分割后坐标轴刻度显示的易读程度作调整。
|
||||
/// 在类目轴中无效。
|
||||
/// </summary>
|
||||
public int SplitNumber { get; set; } = 5;
|
||||
|
||||
/// <summary>
|
||||
/// 是否是脱离 0 值比例。设置成 true 后坐标刻度不会强制包含零刻度。在双数值轴的散点图中比较有用。
|
||||
/// </summary>
|
||||
@ -277,11 +265,6 @@ namespace Sunny.UI
|
||||
|
||||
public class UIAxisTick
|
||||
{
|
||||
/// <summary>
|
||||
/// 类目轴中在为 true 的时候有效,可以保证刻度线和标签对齐。
|
||||
/// </summary>
|
||||
public bool AlignWithLabel { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否显示坐标轴刻度。
|
||||
/// </summary>
|
||||
@ -291,16 +274,6 @@ namespace Sunny.UI
|
||||
/// 坐标轴刻度的长度。
|
||||
/// </summary>
|
||||
public int Length { get; set; } = 5;
|
||||
|
||||
/// <summary>
|
||||
/// 坐标轴刻度的显示间隔,在类目轴中有效。默认同 axisLabel.interval 一样。
|
||||
/// 默认会采用标签不重叠的策略间隔显示标签。
|
||||
/// 可以设置成 0 强制显示所有标签。
|
||||
/// 如果设置为 1,表示『隔一个标签显示一个标签』,如果值为 2,表示隔两个标签显示一个标签,以此类推。
|
||||
/// </summary>
|
||||
public int Interval { get; set; } = 0;
|
||||
|
||||
public int Distance { get; set; } = 0;
|
||||
}
|
||||
|
||||
public class UIScaleLine
|
||||
@ -312,8 +285,6 @@ namespace Sunny.UI
|
||||
|
||||
public float Size { get; set; } = 1.0f;
|
||||
|
||||
public object Tag { get; set; }
|
||||
|
||||
public bool DashDot { get; set; }
|
||||
|
||||
public UIScaleLine()
|
||||
|
Loading…
x
Reference in New Issue
Block a user