暫無描述
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

RadiusAxis.cs 785B

12345678910111213141516171819202122232425262728
  1. using System.Collections.Generic;
  2. namespace XCharts.Runtime
  3. {
  4. /// <summary>
  5. /// Radial axis of polar coordinate.
  6. /// |极坐标系的径向轴。
  7. /// </summary>
  8. [System.Serializable]
  9. [RequireChartComponent(typeof(PolarCoord))]
  10. [ComponentHandler(typeof(RadiusAxisHandler), true)]
  11. public class RadiusAxis : Axis
  12. {
  13. public override void SetDefaultValue()
  14. {
  15. m_Show = true;
  16. m_Type = AxisType.Value;
  17. m_Min = 0;
  18. m_Max = 0;
  19. m_SplitNumber = 5;
  20. m_BoundaryGap = false;
  21. m_Data = new List<string>(5);
  22. splitLine.show = true;
  23. splitLine.lineStyle.type = LineStyle.Type.Solid;
  24. axisLabel.textLimit.enable = false;
  25. }
  26. }
  27. }