mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-28 20:28:46 +00:00
调整中英文注释的分隔符为||
This commit is contained in:
@@ -7,8 +7,8 @@ namespace XCharts.Runtime
|
||||
{
|
||||
/// <summary>
|
||||
/// Grid component.
|
||||
/// |Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.
|
||||
/// |网格组件。
|
||||
/// ||Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.
|
||||
/// ||网格组件。
|
||||
/// 直角坐标系内绘图网格。可以在网格上绘制折线图,柱状图,散点图。
|
||||
/// </summary>
|
||||
[Serializable]
|
||||
@@ -30,7 +30,7 @@ namespace XCharts.Runtime
|
||||
|
||||
/// <summary>
|
||||
/// Whether to show the grid in rectangular coordinate.
|
||||
/// |是否显示直角坐标系网格。
|
||||
/// ||是否显示直角坐标系网格。
|
||||
/// </summary>
|
||||
public bool show
|
||||
{
|
||||
@@ -41,7 +41,7 @@ namespace XCharts.Runtime
|
||||
/// The index of the grid layout component to which the grid belongs.
|
||||
/// The default is -1, which means that it does not belong to any grid layout component.
|
||||
/// When this value is set, the left, right, top, and bottom properties will be invalid.
|
||||
/// |网格所属的网格布局组件的索引。默认为-1,表示不属于任何网格布局组件。当设置了该值时,left、right、top、bottom属性将失效。
|
||||
/// ||网格所属的网格布局组件的索引。默认为-1,表示不属于任何网格布局组件。当设置了该值时,left、right、top、bottom属性将失效。
|
||||
/// </summary>
|
||||
/// <value></value>
|
||||
public int layoutIndex
|
||||
@@ -51,7 +51,7 @@ namespace XCharts.Runtime
|
||||
}
|
||||
/// <summary>
|
||||
/// Distance between grid component and the left side of the container.
|
||||
/// |grid 组件离容器左侧的距离。
|
||||
/// ||grid 组件离容器左侧的距离。
|
||||
/// </summary>
|
||||
public float left
|
||||
{
|
||||
@@ -60,7 +60,7 @@ namespace XCharts.Runtime
|
||||
}
|
||||
/// <summary>
|
||||
/// Distance between grid component and the right side of the container.
|
||||
/// |grid 组件离容器右侧的距离。
|
||||
/// ||grid 组件离容器右侧的距离。
|
||||
/// </summary>
|
||||
public float right
|
||||
{
|
||||
@@ -69,7 +69,7 @@ namespace XCharts.Runtime
|
||||
}
|
||||
/// <summary>
|
||||
/// Distance between grid component and the top side of the container.
|
||||
/// |grid 组件离容器上侧的距离。
|
||||
/// ||grid 组件离容器上侧的距离。
|
||||
/// </summary>
|
||||
public float top
|
||||
{
|
||||
@@ -78,7 +78,7 @@ namespace XCharts.Runtime
|
||||
}
|
||||
/// <summary>
|
||||
/// Distance between grid component and the bottom side of the container.
|
||||
/// |grid 组件离容器下侧的距离。
|
||||
/// ||grid 组件离容器下侧的距离。
|
||||
/// </summary>
|
||||
public float bottom
|
||||
{
|
||||
@@ -87,7 +87,7 @@ namespace XCharts.Runtime
|
||||
}
|
||||
/// <summary>
|
||||
/// Background color of grid, which is transparent by default.
|
||||
/// |网格背景色,默认透明。
|
||||
/// ||网格背景色,默认透明。
|
||||
/// </summary>
|
||||
public Color32 backgroundColor
|
||||
{
|
||||
@@ -96,7 +96,7 @@ namespace XCharts.Runtime
|
||||
}
|
||||
/// <summary>
|
||||
/// Whether to show the grid border.
|
||||
/// |是否显示网格边框。
|
||||
/// ||是否显示网格边框。
|
||||
/// </summary>
|
||||
public bool showBorder
|
||||
{
|
||||
@@ -105,7 +105,7 @@ namespace XCharts.Runtime
|
||||
}
|
||||
/// <summary>
|
||||
/// Border width of grid.
|
||||
/// |网格边框宽。
|
||||
/// ||网格边框宽。
|
||||
/// </summary>
|
||||
public float borderWidth
|
||||
{
|
||||
@@ -114,7 +114,7 @@ namespace XCharts.Runtime
|
||||
}
|
||||
/// <summary>
|
||||
/// The color of grid border.
|
||||
/// |网格边框颜色。
|
||||
/// ||网格边框颜色。
|
||||
/// </summary>
|
||||
public Color32 borderColor
|
||||
{
|
||||
@@ -151,7 +151,7 @@ namespace XCharts.Runtime
|
||||
|
||||
/// <summary>
|
||||
/// Whether the pointer is in the grid.
|
||||
/// |指针是否在网格内。
|
||||
/// ||指针是否在网格内。
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public bool IsPointerEnter()
|
||||
@@ -161,7 +161,7 @@ namespace XCharts.Runtime
|
||||
|
||||
/// <summary>
|
||||
/// Whether the given position is in the grid.
|
||||
/// |给定的位置是否在网格内。
|
||||
/// ||给定的位置是否在网格内。
|
||||
/// </summary>
|
||||
/// <param name="pos"></param>
|
||||
/// <returns></returns>
|
||||
@@ -172,7 +172,7 @@ namespace XCharts.Runtime
|
||||
|
||||
/// <summary>
|
||||
/// Whether the given position is in the grid.
|
||||
/// |给定的位置是否在网格内。
|
||||
/// ||给定的位置是否在网格内。
|
||||
/// </summary>
|
||||
/// <param name="pos"></param>
|
||||
/// <param name="isYAxis"></param>
|
||||
@@ -185,7 +185,7 @@ namespace XCharts.Runtime
|
||||
|
||||
/// <summary>
|
||||
/// Whether the given position is in the grid.
|
||||
/// |给定的位置是否在网格内。
|
||||
/// ||给定的位置是否在网格内。
|
||||
/// </summary>
|
||||
/// <param name="x"></param>
|
||||
/// <param name="y"></param>
|
||||
@@ -197,7 +197,7 @@ namespace XCharts.Runtime
|
||||
|
||||
/// <summary>
|
||||
/// Whether the given x is in the grid.
|
||||
/// |给定的x是否在网格内。
|
||||
/// ||给定的x是否在网格内。
|
||||
/// </summary>
|
||||
/// <param name="x"></param>
|
||||
/// <returns></returns>
|
||||
@@ -209,7 +209,7 @@ namespace XCharts.Runtime
|
||||
|
||||
/// <summary>
|
||||
/// Whether the given y is in the grid.
|
||||
/// |给定的y是否在网格内。
|
||||
/// ||给定的y是否在网格内。
|
||||
/// </summary>
|
||||
/// <param name="y"></param>
|
||||
/// <returns></returns>
|
||||
@@ -221,7 +221,7 @@ namespace XCharts.Runtime
|
||||
|
||||
/// <summary>
|
||||
/// Clamp the position of pos to the grid.
|
||||
/// |将位置限制在网格内。
|
||||
/// ||将位置限制在网格内。
|
||||
/// </summary>
|
||||
/// <param name="pos"></param>
|
||||
[Since("v3.7.0")]
|
||||
@@ -233,7 +233,7 @@ namespace XCharts.Runtime
|
||||
|
||||
/// <summary>
|
||||
/// Clamp the x position of pos to the grid.
|
||||
/// |将位置的X限制在网格内。
|
||||
/// ||将位置的X限制在网格内。
|
||||
/// </summary>
|
||||
/// <param name="pos"></param>
|
||||
[Since("v3.7.0")]
|
||||
@@ -245,7 +245,7 @@ namespace XCharts.Runtime
|
||||
|
||||
/// <summary>
|
||||
/// Clamp the y position of pos to the grid.
|
||||
/// |将位置的Y限制在网格内。
|
||||
/// ||将位置的Y限制在网格内。
|
||||
/// </summary>
|
||||
/// <param name="pos"></param>
|
||||
[Since("v3.7.0")]
|
||||
|
||||
@@ -5,7 +5,7 @@ namespace XCharts.Runtime
|
||||
{
|
||||
/// <summary>
|
||||
/// Grid layout component. Used to manage the layout of multiple `GridCoord`, and the number of rows and columns of the grid can be controlled by `row` and `column`.
|
||||
/// |网格布局组件。用于管理多个`GridCoord`的布局,可以通过`row`和`column`来控制网格的行列数。
|
||||
/// ||网格布局组件。用于管理多个`GridCoord`的布局,可以通过`row`和`column`来控制网格的行列数。
|
||||
/// </summary>
|
||||
[Since("v3.8.0")]
|
||||
[Serializable]
|
||||
@@ -26,7 +26,7 @@ namespace XCharts.Runtime
|
||||
|
||||
/// <summary>
|
||||
/// Whether to show the grid in rectangular coordinate.
|
||||
/// |是否显示直角坐标系网格。
|
||||
/// ||是否显示直角坐标系网格。
|
||||
/// </summary>
|
||||
public bool show
|
||||
{
|
||||
@@ -35,7 +35,7 @@ namespace XCharts.Runtime
|
||||
}
|
||||
/// <summary>
|
||||
/// Distance between grid component and the left side of the container.
|
||||
/// |grid 组件离容器左侧的距离。
|
||||
/// ||grid 组件离容器左侧的距离。
|
||||
/// </summary>
|
||||
public float left
|
||||
{
|
||||
@@ -44,7 +44,7 @@ namespace XCharts.Runtime
|
||||
}
|
||||
/// <summary>
|
||||
/// Distance between grid component and the right side of the container.
|
||||
/// |grid 组件离容器右侧的距离。
|
||||
/// ||grid 组件离容器右侧的距离。
|
||||
/// </summary>
|
||||
public float right
|
||||
{
|
||||
@@ -53,7 +53,7 @@ namespace XCharts.Runtime
|
||||
}
|
||||
/// <summary>
|
||||
/// Distance between grid component and the top side of the container.
|
||||
/// |grid 组件离容器上侧的距离。
|
||||
/// ||grid 组件离容器上侧的距离。
|
||||
/// </summary>
|
||||
public float top
|
||||
{
|
||||
@@ -62,7 +62,7 @@ namespace XCharts.Runtime
|
||||
}
|
||||
/// <summary>
|
||||
/// Distance between grid component and the bottom side of the container.
|
||||
/// |grid 组件离容器下侧的距离。
|
||||
/// ||grid 组件离容器下侧的距离。
|
||||
/// </summary>
|
||||
public float bottom
|
||||
{
|
||||
@@ -71,7 +71,7 @@ namespace XCharts.Runtime
|
||||
}
|
||||
/// <summary>
|
||||
/// the row count of grid layout.
|
||||
/// |网格布局的行数。
|
||||
/// ||网格布局的行数。
|
||||
/// </summary>
|
||||
public int row
|
||||
{
|
||||
@@ -80,7 +80,7 @@ namespace XCharts.Runtime
|
||||
}
|
||||
/// <summary>
|
||||
/// the column count of grid layout.
|
||||
/// |网格布局的列数。
|
||||
/// ||网格布局的列数。
|
||||
/// </summary>
|
||||
public int column
|
||||
{
|
||||
@@ -89,7 +89,7 @@ namespace XCharts.Runtime
|
||||
}
|
||||
/// <summary>
|
||||
/// the spacing of grid layout.
|
||||
/// |网格布局的间距。
|
||||
/// ||网格布局的间距。
|
||||
/// </summary>
|
||||
public Vector2 spacing
|
||||
{
|
||||
@@ -98,7 +98,7 @@ namespace XCharts.Runtime
|
||||
}
|
||||
/// <summary>
|
||||
/// Whether to inverse the grid layout.
|
||||
/// |是否反转网格布局。
|
||||
/// ||是否反转网格布局。
|
||||
/// </summary>
|
||||
public bool inverse
|
||||
{
|
||||
|
||||
@@ -5,8 +5,8 @@ namespace XCharts.Runtime
|
||||
{
|
||||
/// <summary>
|
||||
/// Grid component.
|
||||
/// |Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.
|
||||
/// |网格组件。
|
||||
/// ||Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.
|
||||
/// ||网格组件。
|
||||
/// 直角坐标系内绘图网格。可以在网格上绘制折线图,柱状图,散点图。
|
||||
/// </summary>
|
||||
[Serializable]
|
||||
@@ -25,7 +25,7 @@ namespace XCharts.Runtime
|
||||
|
||||
/// <summary>
|
||||
/// Whether to show the grid in rectangular coordinate.
|
||||
/// |是否显示直角坐标系网格。
|
||||
/// ||是否显示直角坐标系网格。
|
||||
/// </summary>
|
||||
public bool show
|
||||
{
|
||||
@@ -34,7 +34,7 @@ namespace XCharts.Runtime
|
||||
}
|
||||
/// <summary>
|
||||
/// Orientation of the axis. By default, it's 'Vertical'. You can set it to be 'Horizonal' to make a vertical axis.
|
||||
/// |坐标轴朝向。默认为垂直朝向。
|
||||
/// ||坐标轴朝向。默认为垂直朝向。
|
||||
/// </summary>
|
||||
public Orient orient
|
||||
{
|
||||
@@ -43,7 +43,7 @@ namespace XCharts.Runtime
|
||||
}
|
||||
/// <summary>
|
||||
/// Distance between grid component and the left side of the container.
|
||||
/// |grid 组件离容器左侧的距离。
|
||||
/// ||grid 组件离容器左侧的距离。
|
||||
/// </summary>
|
||||
public float left
|
||||
{
|
||||
@@ -52,7 +52,7 @@ namespace XCharts.Runtime
|
||||
}
|
||||
/// <summary>
|
||||
/// Distance between grid component and the right side of the container.
|
||||
/// |grid 组件离容器右侧的距离。
|
||||
/// ||grid 组件离容器右侧的距离。
|
||||
/// </summary>
|
||||
public float right
|
||||
{
|
||||
@@ -61,7 +61,7 @@ namespace XCharts.Runtime
|
||||
}
|
||||
/// <summary>
|
||||
/// Distance between grid component and the top side of the container.
|
||||
/// |grid 组件离容器上侧的距离。
|
||||
/// ||grid 组件离容器上侧的距离。
|
||||
/// </summary>
|
||||
public float top
|
||||
{
|
||||
@@ -70,7 +70,7 @@ namespace XCharts.Runtime
|
||||
}
|
||||
/// <summary>
|
||||
/// Distance between grid component and the bottom side of the container.
|
||||
/// |grid 组件离容器下侧的距离。
|
||||
/// ||grid 组件离容器下侧的距离。
|
||||
/// </summary>
|
||||
public float bottom
|
||||
{
|
||||
@@ -79,7 +79,7 @@ namespace XCharts.Runtime
|
||||
}
|
||||
/// <summary>
|
||||
/// Background color of grid, which is transparent by default.
|
||||
/// |网格背景色,默认透明。
|
||||
/// ||网格背景色,默认透明。
|
||||
/// </summary>
|
||||
public Color backgroundColor
|
||||
{
|
||||
|
||||
@@ -5,7 +5,7 @@ namespace XCharts.Runtime
|
||||
{
|
||||
/// <summary>
|
||||
/// Polar coordinate can be used in scatter and line chart. Every polar coordinate has an angleAxis and a radiusAxis.
|
||||
/// |极坐标系组件。
|
||||
/// ||极坐标系组件。
|
||||
/// 极坐标系,可以用于散点图和折线图。每个极坐标系拥有一个角度轴和一个半径轴。
|
||||
/// </summary>
|
||||
[Serializable]
|
||||
@@ -22,7 +22,7 @@ namespace XCharts.Runtime
|
||||
|
||||
/// <summary>
|
||||
/// Whether to show the polor component.
|
||||
/// |是否显示极坐标。
|
||||
/// ||是否显示极坐标。
|
||||
/// </summary>
|
||||
public bool show
|
||||
{
|
||||
@@ -32,7 +32,7 @@ namespace XCharts.Runtime
|
||||
/// <summary>
|
||||
/// The center of ploar. The center[0] is the x-coordinate, and the center[1] is the y-coordinate.
|
||||
/// When value between 0 and 1 represents a percentage relative to the chart.
|
||||
/// |极坐标的中心点。数组的第一项是横坐标,第二项是纵坐标。
|
||||
/// ||极坐标的中心点。数组的第一项是横坐标,第二项是纵坐标。
|
||||
/// 当值为0-1之间时表示百分比,设置成百分比时第一项是相对于容器宽度,第二项是相对于容器高度。
|
||||
/// </summary>
|
||||
public float[] center
|
||||
@@ -42,7 +42,7 @@ namespace XCharts.Runtime
|
||||
}
|
||||
/// <summary>
|
||||
/// the radius of polar.
|
||||
/// |半径。radius[0]表示内径,radius[1]表示外径。
|
||||
/// ||半径。radius[0]表示内径,radius[1]表示外径。
|
||||
/// </summary>
|
||||
public float[] radius
|
||||
{
|
||||
@@ -51,7 +51,7 @@ namespace XCharts.Runtime
|
||||
}
|
||||
/// <summary>
|
||||
/// Background color of polar, which is transparent by default.
|
||||
/// |极坐标的背景色,默认透明。
|
||||
/// ||极坐标的背景色,默认透明。
|
||||
/// </summary>
|
||||
public Color backgroundColor
|
||||
{
|
||||
@@ -61,7 +61,7 @@ namespace XCharts.Runtime
|
||||
|
||||
/// <summary>
|
||||
/// The offset of indicator label.
|
||||
/// |指示器标签的偏移量。
|
||||
/// ||指示器标签的偏移量。
|
||||
/// </summary>
|
||||
public float indicatorLabelOffset
|
||||
{
|
||||
|
||||
@@ -7,18 +7,18 @@ namespace XCharts.Runtime
|
||||
{
|
||||
/// <summary>
|
||||
/// the center position of polar in container.
|
||||
/// |极坐标在容器中的具体中心点。
|
||||
/// ||极坐标在容器中的具体中心点。
|
||||
/// </summary>
|
||||
public Vector3 center;
|
||||
public float radius;
|
||||
/// <summary>
|
||||
/// the true radius of polar.
|
||||
/// |极坐标的运行时实际内半径。
|
||||
/// ||极坐标的运行时实际内半径。
|
||||
/// </summary>
|
||||
public float insideRadius;
|
||||
/// <summary>
|
||||
/// the true radius of polar.
|
||||
/// |极坐标的运行时实际外半径。
|
||||
/// ||极坐标的运行时实际外半径。
|
||||
/// </summary>
|
||||
public float outsideRadius;
|
||||
public bool isPointerEnter;
|
||||
|
||||
Reference in New Issue
Block a user