mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-16 13:30:10 +00:00
19 lines
543 B
C#
19 lines
543 B
C#
|
|
/******************************************/
|
||
|
|
/* */
|
||
|
|
/* Copyright (c) 2018 monitor1394 */
|
||
|
|
/* https://github.com/monitor1394 */
|
||
|
|
/* */
|
||
|
|
/******************************************/
|
||
|
|
using UnityEngine;
|
||
|
|
using UnityEngine.UI;
|
||
|
|
|
||
|
|
namespace XCharts
|
||
|
|
{
|
||
|
|
internal static class AxisHelper
|
||
|
|
{
|
||
|
|
public static float GetTickWidth(Axis axis)
|
||
|
|
{
|
||
|
|
return axis.axisTick.width != 0 ? axis.axisTick.width : axis.axisLine.width;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|