* UIChartOption: 清理一些无用的属性

This commit is contained in:
Sunny 2022-07-30 11:38:54 +08:00
parent db0eb984cb
commit df57c95686
3 changed files with 6 additions and 35 deletions

View File

@ -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;

View File

@ -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.XAxisDecimalPlacesYAxisDecimalPlaces
* 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.XAxisDecimalPlacesYAxisDecimalPlaces
* 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;

View File

@ -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()