Files
XCharts/Runtime/Component/Axis/RadiusAxis/RadiusAxis.cs

28 lines
786 B
C#
Raw Normal View History

2021-11-23 13:20:07 +08:00
using System.Collections.Generic;
2022-02-19 22:37:57 +08:00
namespace XCharts.Runtime
2021-11-23 13:20:07 +08:00
{
/// <summary>
/// Radial axis of polar coordinate.
2023-11-11 23:32:24 +08:00
/// ||极坐标系的径向轴。
2021-11-23 13:20:07 +08:00
/// </summary>
[System.Serializable]
2022-03-31 21:54:34 +08:00
[RequireChartComponent(typeof(PolarCoord))]
2021-11-23 13:20:07 +08:00
[ComponentHandler(typeof(RadiusAxisHandler), true)]
public class RadiusAxis : Axis
{
public override void SetDefaultValue()
{
m_Show = true;
m_Type = AxisType.Value;
m_Min = 0;
m_Max = 0;
m_SplitNumber = 5;
m_BoundaryGap = false;
m_Data = new List<string>(5);
splitLine.show = true;
splitLine.lineStyle.type = LineStyle.Type.Solid;
axisLabel.textLimit.enable = false;
}
}
}