调整中英文注释的分隔符为||

This commit is contained in:
monitor1394
2023-11-11 23:32:24 +08:00
parent 509bd97741
commit 65684f2952
100 changed files with 911 additions and 911 deletions

View File

@@ -7,7 +7,7 @@ namespace XCharts.Runtime
/// DataZoom component is used for zooming a specific area,
/// which enables user to investigate data in detail,
/// or get an overview of the data, or get rid of outlier points.
/// |DataZoom 组件 用于区域缩放,从而能自由关注细节的数据信息,或者概览数据整体,或者去除离群点的影响。
/// ||DataZoom 组件 用于区域缩放,从而能自由关注细节的数据信息,或者概览数据整体,或者去除离群点的影响。
/// </summary>
[System.Serializable]
[ComponentHandler(typeof(DataZoomHandler), true)]
@@ -17,30 +17,30 @@ namespace XCharts.Runtime
/// Generally dataZoom component zoom or roam coordinate system through data filtering
/// and set the windows of axes internally.
/// Its behaviours vary according to filtering mode settings.
/// |dataZoom 的运行原理是通过 数据过滤 来达到 数据窗口缩放 的效果。数据过滤模式的设置不同,效果也不同。
/// ||dataZoom 的运行原理是通过 数据过滤 来达到 数据窗口缩放 的效果。数据过滤模式的设置不同,效果也不同。
/// </summary>
public enum FilterMode
{
/// <summary>
/// data that outside the window will be filtered, which may lead to some changes of windows of other axes.
/// For each data item, it will be filtered if one of the relevant dimensions is out of the window.
/// |当前数据窗口外的数据,被 过滤掉。即 会 影响其他轴的数据范围。每个数据项,只要有一个维度在数据窗口外,整个数据项就会被过滤掉。
/// ||当前数据窗口外的数据,被 过滤掉。即 会 影响其他轴的数据范围。每个数据项,只要有一个维度在数据窗口外,整个数据项就会被过滤掉。
/// </summary>
Filter,
/// <summary>
/// data that outside the window will be filtered, which may lead to some changes of windows of other axes.
/// For each data item, it will be filtered only if all of the relevant dimensions are out of the same side of the window.
/// |当前数据窗口外的数据,被 过滤掉。即 会 影响其他轴的数据范围。每个数据项,只有当全部维度都在数据窗口同侧外部,整个数据项才会被过滤掉。
/// ||当前数据窗口外的数据,被 过滤掉。即 会 影响其他轴的数据范围。每个数据项,只有当全部维度都在数据窗口同侧外部,整个数据项才会被过滤掉。
/// </summary>
WeakFilter,
/// <summary>
/// data that outside the window will be set to NaN, which will not lead to changes of windows of other axes.
/// |当前数据窗口外的数据,被 设置为空。即 不会 影响其他轴的数据范围。
/// ||当前数据窗口外的数据,被 设置为空。即 不会 影响其他轴的数据范围。
/// </summary>
Empty,
/// <summary>
/// Do not filter data.
/// |不过滤数据,只改变数轴范围。
/// ||不过滤数据,只改变数轴范围。
/// </summary>
None
}
@@ -52,7 +52,7 @@ namespace XCharts.Runtime
//Value,
/// <summary>
/// percent value.
/// |百分比。
/// ||百分比。
/// </summary>
Percent
}
@@ -97,7 +97,7 @@ namespace XCharts.Runtime
/// <summary>
/// Whether to show dataZoom.
/// |是否显示缩放区域。
/// ||是否显示缩放区域。
/// </summary>
public bool enable
{
@@ -106,7 +106,7 @@ namespace XCharts.Runtime
}
/// <summary>
/// The mode of data filter.
/// |数据过滤类型。
/// ||数据过滤类型。
/// </summary>
public FilterMode filterMode
{
@@ -115,7 +115,7 @@ namespace XCharts.Runtime
}
/// <summary>
/// Specify which xAxis is controlled by the dataZoom.
/// |控制的 x 轴索引列表。
/// ||控制的 x 轴索引列表。
/// </summary>
public List<int> xAxisIndexs
{
@@ -124,7 +124,7 @@ namespace XCharts.Runtime
}
/// <summary>
/// Specify which yAxis is controlled by the dataZoom.
/// |控制的 y 轴索引列表。
/// ||控制的 y 轴索引列表。
/// </summary>
public List<int> yAxisIndexs
{
@@ -135,7 +135,7 @@ namespace XCharts.Runtime
/// Whether built-in support is supported.
/// Built into the coordinate system to allow the user to zoom in and out of the coordinate system by mouse dragging,
/// mouse wheel, finger swiping (on the touch screen).
/// |是否支持内置。内置于坐标系中,使用户可以在坐标系上通过鼠标拖拽、鼠标滚轮、手指滑动(触屏上)来缩放或漫游坐标系。
/// ||是否支持内置。内置于坐标系中,使用户可以在坐标系上通过鼠标拖拽、鼠标滚轮、手指滑动(触屏上)来缩放或漫游坐标系。
/// </summary>
public bool supportInside
{
@@ -144,7 +144,7 @@ namespace XCharts.Runtime
}
/// <summary>
/// Whether inside scrolling is supported.
/// |是否支持坐标系内滚动
/// ||是否支持坐标系内滚动
/// </summary>
public bool supportInsideScroll
{
@@ -153,7 +153,7 @@ namespace XCharts.Runtime
}
/// <summary>
/// Whether insde drag is supported.
/// |是否支持坐标系内拖拽
/// ||是否支持坐标系内拖拽
/// </summary>
public bool supportInsideDrag
{
@@ -162,7 +162,7 @@ namespace XCharts.Runtime
}
/// <summary>
/// Whether a slider is supported. There are separate sliders on which the user zooms or roams.
/// |是否支持滑动条。有单独的滑动条,用户在滑动条上进行缩放或漫游。
/// ||是否支持滑动条。有单独的滑动条,用户在滑动条上进行缩放或漫游。
/// </summary>
public bool supportSlider
{
@@ -171,7 +171,7 @@ namespace XCharts.Runtime
}
/// <summary>
/// Supported Box Selected. Provides a marquee for scaling the data area.
/// |是否支持框选。提供一个选框进行数据区域缩放。
/// ||是否支持框选。提供一个选框进行数据区域缩放。
/// </summary>
public bool supportMarquee
{
@@ -180,7 +180,7 @@ namespace XCharts.Runtime
}
/// <summary>
/// Whether to show data shadow, to indicate the data tendency in brief.
/// |是否显示数据阴影。数据阴影可以简单地反应数据走势。
/// ||是否显示数据阴影。数据阴影可以简单地反应数据走势。
/// </summary>
public bool showDataShadow
{
@@ -189,7 +189,7 @@ namespace XCharts.Runtime
}
/// <summary>
/// Whether to show detail, that is, show the detailed data information when dragging.
/// |是否显示detail即拖拽时候显示详细数值信息。
/// ||是否显示detail即拖拽时候显示详细数值信息。
/// </summary>
public bool showDetail
{
@@ -198,7 +198,7 @@ namespace XCharts.Runtime
}
/// <summary>
/// Specify whether to lock the size of window (selected area).
/// |是否锁定选择区域(或叫做数据窗口)的大小。
/// ||是否锁定选择区域(或叫做数据窗口)的大小。
/// 如果设置为 true 则锁定选择区域的大小,也就是说,只能平移,不能缩放。
/// </summary>
public bool zoomLock
@@ -208,12 +208,12 @@ namespace XCharts.Runtime
}
/// <summary>
/// Whether to show data shadow in dataZoom-silder component, to indicate the data tendency in brief.
/// |拖动时,是否实时更新系列的视图。如果设置为 false则只在拖拽结束的时候更新。默认为true暂不支持修改。
/// ||拖动时,是否实时更新系列的视图。如果设置为 false则只在拖拽结束的时候更新。默认为true暂不支持修改。
/// </summary>
public bool realtime { get { return true; } }
/// <summary>
/// The background color of the component.
/// |组件的背景颜色。
/// ||组件的背景颜色。
/// </summary>
public Color backgroundColor
{
@@ -222,7 +222,7 @@ namespace XCharts.Runtime
}
/// <summary>
/// the color of dataZoom data area.
/// |数据区域颜色。
/// ||数据区域颜色。
/// </summary>
public Color32 fillerColor
{
@@ -232,7 +232,7 @@ namespace XCharts.Runtime
/// <summary>
/// the color of dataZoom border.
/// |边框颜色。
/// ||边框颜色。
/// </summary>
public Color32 borderColor
{
@@ -250,7 +250,7 @@ namespace XCharts.Runtime
/// <summary>
/// Distance between dataZoom component and the bottom side of the container.
/// bottom value is a instant pixel value like 10 or float value [0-1].
/// |组件离容器下侧的距离。
/// ||组件离容器下侧的距离。
/// </summary>
public float bottom
{
@@ -260,7 +260,7 @@ namespace XCharts.Runtime
/// <summary>
/// Distance between dataZoom component and the top side of the container.
/// top value is a instant pixel value like 10 or float value [0-1].
/// |组件离容器上侧的距离。
/// ||组件离容器上侧的距离。
/// </summary>
public float top
{
@@ -270,7 +270,7 @@ namespace XCharts.Runtime
/// <summary>
/// Distance between dataZoom component and the left side of the container.
/// left value is a instant pixel value like 10 or float value [0-1].
/// |组件离容器左侧的距离。
/// ||组件离容器左侧的距离。
/// </summary>
public float left
{
@@ -280,7 +280,7 @@ namespace XCharts.Runtime
/// <summary>
/// Distance between dataZoom component and the right side of the container.
/// right value is a instant pixel value like 10 or float value [0-1].
/// |组件离容器右侧的距离。
/// ||组件离容器右侧的距离。
/// </summary>
public float right
{
@@ -289,7 +289,7 @@ namespace XCharts.Runtime
}
/// <summary>
/// Use absolute value or percent value in DataZoom.start and DataZoom.end.
/// |取绝对值还是百分比。
/// ||取绝对值还是百分比。
/// </summary>
public RangeMode rangeMode
{
@@ -298,7 +298,7 @@ namespace XCharts.Runtime
}
/// <summary>
/// The start percentage of the window out of the data extent, in the range of 0 ~ 100.
/// |数据窗口范围的起始百分比。范围是0 ~ 100。
/// ||数据窗口范围的起始百分比。范围是0 ~ 100。
/// </summary>
public float start
{
@@ -307,7 +307,7 @@ namespace XCharts.Runtime
}
/// <summary>
/// Lock start value.
/// |固定起始值,不让改变。
/// ||固定起始值,不让改变。
/// </summary>
public bool startLock
{
@@ -316,7 +316,7 @@ namespace XCharts.Runtime
}
/// <summary>
/// Lock end value.
/// |固定结束值,不让改变。
/// ||固定结束值,不让改变。
/// </summary>
public bool endLock
{
@@ -325,7 +325,7 @@ namespace XCharts.Runtime
}
/// <summary>
/// The end percentage of the window out of the data extent, in the range of 0 ~ 100.
/// |数据窗口范围的结束百分比。范围是0 ~ 100。
/// ||数据窗口范围的结束百分比。范围是0 ~ 100。
/// </summary>
public float end
{
@@ -334,7 +334,7 @@ namespace XCharts.Runtime
}
/// <summary>
/// Minimum number of display data. Minimum number of data displayed when DataZoom is enlarged to maximum.
/// |最小显示数据个数。当DataZoom放大到最大时最小显示的数据个数。
/// ||最小显示数据个数。当DataZoom放大到最大时最小显示的数据个数。
/// </summary>
public int minShowNum
{
@@ -344,7 +344,7 @@ namespace XCharts.Runtime
/// <summary>
/// The sensitivity of dataZoom scroll.
/// The larger the number, the more sensitive it is.
/// |缩放区域组件的敏感度。值越高每次缩放所代表的数据越多。
/// ||缩放区域组件的敏感度。值越高每次缩放所代表的数据越多。
/// </summary>
public float scrollSensitivity
{
@@ -354,7 +354,7 @@ namespace XCharts.Runtime
/// <summary>
/// Specify whether the layout of dataZoom component is horizontal or vertical. What's more,
/// it indicates whether the horizontal axis or vertical axis is controlled by default in catesian coordinate system.
/// |布局方式是横还是竖。不仅是布局方式,对于直角坐标系而言,也决定了,缺省情况控制横向数轴还是纵向数轴。
/// ||布局方式是横还是竖。不仅是布局方式,对于直角坐标系而言,也决定了,缺省情况控制横向数轴还是纵向数轴。
/// </summary>
public Orient orient
{
@@ -363,7 +363,7 @@ namespace XCharts.Runtime
}
/// <summary>
/// label style.
/// |文本标签格式。
/// ||文本标签格式。
/// </summary>
public LabelStyle labelStyle
{
@@ -411,12 +411,12 @@ namespace XCharts.Runtime
/// <summary>
/// The start label.
/// |组件的开始信息文本。
/// ||组件的开始信息文本。
/// </summary>
private ChartLabel m_StartLabel { get; set; }
/// <summary>
/// The end label.
/// |组件的结束信息文本。
/// ||组件的结束信息文本。
/// </summary>
private ChartLabel m_EndLabel { get; set; }