更新文档

This commit is contained in:
monitor1394
2020-06-05 09:27:51 +08:00
parent 62e53c20c8
commit 2353b24aa6
2 changed files with 34 additions and 20 deletions

View File

@@ -19,27 +19,27 @@ namespace XCharts
{
/// <summary>
/// The x of graph.
/// 图的X
/// 图的X
/// </summary>
public float graphX { get { return m_GraphX; } }
/// <summary>
/// The y of graph.
/// 图的Y
/// 图的Y
/// </summary>
public float graphY { get { return m_GraphY; } }
/// <summary>
/// The width of graph.
/// 图的宽
/// 图的宽
/// </summary>
public float graphWidth { get { return m_GraphWidth; } }
/// <summary>
/// The height of graph.
/// 图的高
/// 图的高
/// </summary>
public float graphHeight { get { return m_GraphHeight; } }
/// <summary>
/// The position of graph.
/// 图的左下角起始坐标。
/// 图的左下角起始坐标。
/// </summary>
public Vector3 graphPosition { get { return m_GraphPosition; } }
public Rect graphRect { get { return m_GraphRect; } }
@@ -95,7 +95,7 @@ namespace XCharts
public Action<BaseGraph, PointerEventData> onScroll { set { m_OnScroll = value; m_ForceOpenRaycastTarget = true; } }
/// <summary>
/// 设置图的宽高在非stretch pivot下才有效其他情况需要自己调整RectTransform
/// 设置图的宽高在非stretch pivot下才有效其他情况需要自己调整RectTransform
/// </summary>
/// <param name="width"></param>
/// <param name="height"></param>
@@ -113,7 +113,7 @@ namespace XCharts
/// <summary>
/// Redraw graph in next frame.
/// 在下一帧刷新图
/// 在下一帧刷新图
/// </summary>
public void RefreshGraph()
{