mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-28 03:58:49 +00:00
调整中英文注释的分隔符为||
This commit is contained in:
@@ -5,7 +5,7 @@ namespace XCharts.Runtime
|
||||
{
|
||||
/// <summary>
|
||||
/// Angle axis of Polar Coordinate.
|
||||
/// |极坐标系的角度轴。
|
||||
/// ||极坐标系的角度轴。
|
||||
/// </summary>
|
||||
[System.Serializable]
|
||||
[RequireChartComponent(typeof(PolarCoord))]
|
||||
@@ -16,7 +16,7 @@ namespace XCharts.Runtime
|
||||
|
||||
/// <summary>
|
||||
/// Starting angle of axis. 0 degrees by default, standing for right position of center.
|
||||
/// |起始刻度的角度,默认为 0 度,即圆心的正右方。
|
||||
/// ||起始刻度的角度,默认为 0 度,即圆心的正右方。
|
||||
/// </summary>
|
||||
public float startAngle
|
||||
{
|
||||
|
||||
@@ -6,69 +6,69 @@ namespace XCharts.Runtime
|
||||
{
|
||||
/// <summary>
|
||||
/// The axis in rectangular coordinate.
|
||||
/// |直角坐标系的坐标轴组件。
|
||||
/// ||直角坐标系的坐标轴组件。
|
||||
/// </summary>
|
||||
[System.Serializable]
|
||||
public class Axis : MainComponent
|
||||
{
|
||||
/// <summary>
|
||||
/// the type of axis.
|
||||
/// |坐标轴类型。
|
||||
/// ||坐标轴类型。
|
||||
/// </summary>
|
||||
public enum AxisType
|
||||
{
|
||||
/// <summary>
|
||||
/// Numerical axis, suitable for continuous data.
|
||||
/// |数值轴。适用于连续数据。
|
||||
/// ||数值轴。适用于连续数据。
|
||||
/// </summary>
|
||||
Value,
|
||||
/// <summary>
|
||||
/// Category axis, suitable for discrete category data. Data should only be set via data for this type.
|
||||
/// |类目轴。适用于离散的类目数据,为该类型时必须通过 data 设置类目数据。serie的数据第0维数据对应坐标轴data的index。
|
||||
/// ||类目轴。适用于离散的类目数据,为该类型时必须通过 data 设置类目数据。serie的数据第0维数据对应坐标轴data的index。
|
||||
/// </summary>
|
||||
Category,
|
||||
/// <summary>
|
||||
/// Log axis, suitable for log data.
|
||||
/// |对数轴。适用于对数数据。
|
||||
/// ||对数轴。适用于对数数据。
|
||||
/// </summary>
|
||||
Log,
|
||||
/// <summary>
|
||||
/// Time axis, suitable for continuous time series data.
|
||||
/// |时间轴。适用于连续的时序数据。
|
||||
/// ||时间轴。适用于连续的时序数据。
|
||||
/// </summary>
|
||||
Time
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// the type of axis min and max value.
|
||||
/// |坐标轴最大最小刻度显示类型。
|
||||
/// ||坐标轴最大最小刻度显示类型。
|
||||
/// </summary>
|
||||
public enum AxisMinMaxType
|
||||
{
|
||||
/// <summary>
|
||||
/// 0 - maximum.
|
||||
/// |0-最大值。
|
||||
/// ||0-最大值。
|
||||
/// </summary>
|
||||
Default,
|
||||
/// <summary>
|
||||
/// minimum - maximum.
|
||||
/// |最小值-最大值。
|
||||
/// ||最小值-最大值。
|
||||
/// </summary>
|
||||
MinMax,
|
||||
/// <summary>
|
||||
/// Customize the minimum and maximum.
|
||||
/// |自定义最小值最大值。
|
||||
/// ||自定义最小值最大值。
|
||||
/// </summary>
|
||||
Custom,
|
||||
/// <summary>
|
||||
/// [since("v3.7.0")]minimum - maximum, automatically calculate the appropriate values.
|
||||
/// |[since("v3.7.0")]最小值-最大值。自动计算合适的值。
|
||||
/// ||[since("v3.7.0")]最小值-最大值。自动计算合适的值。
|
||||
/// </summary>
|
||||
MinMaxAuto,
|
||||
}
|
||||
/// <summary>
|
||||
/// the position of axis in grid.
|
||||
/// |坐标轴在Grid中的位置
|
||||
/// ||坐标轴在Grid中的位置
|
||||
/// </summary>
|
||||
public enum AxisPosition
|
||||
{
|
||||
@@ -114,7 +114,7 @@ namespace XCharts.Runtime
|
||||
|
||||
/// <summary>
|
||||
/// Whether to show axis.
|
||||
/// |是否显示坐标轴。
|
||||
/// ||是否显示坐标轴。
|
||||
/// </summary>
|
||||
public bool show
|
||||
{
|
||||
@@ -123,7 +123,7 @@ namespace XCharts.Runtime
|
||||
}
|
||||
/// <summary>
|
||||
/// the type of axis.
|
||||
/// |坐标轴类型。
|
||||
/// ||坐标轴类型。
|
||||
/// </summary>
|
||||
public AxisType type
|
||||
{
|
||||
@@ -132,7 +132,7 @@ namespace XCharts.Runtime
|
||||
}
|
||||
/// <summary>
|
||||
/// the type of axis minmax.
|
||||
/// |坐标轴刻度最大最小值显示类型。
|
||||
/// ||坐标轴刻度最大最小值显示类型。
|
||||
/// </summary>
|
||||
public AxisMinMaxType minMaxType
|
||||
{
|
||||
@@ -141,7 +141,7 @@ namespace XCharts.Runtime
|
||||
}
|
||||
/// <summary>
|
||||
/// The index of the grid on which the axis are located, by default, is in the first grid.
|
||||
/// |坐标轴所在的 grid 的索引,默认位于第一个 grid。
|
||||
/// ||坐标轴所在的 grid 的索引,默认位于第一个 grid。
|
||||
/// </summary>
|
||||
public int gridIndex
|
||||
{
|
||||
@@ -150,7 +150,7 @@ namespace XCharts.Runtime
|
||||
}
|
||||
/// <summary>
|
||||
/// The index of the polar on which the axis are located, by default, is in the first polar.
|
||||
/// |坐标轴所在的 ploar 的索引,默认位于第一个 polar。
|
||||
/// ||坐标轴所在的 ploar 的索引,默认位于第一个 polar。
|
||||
/// </summary>
|
||||
public int polarIndex
|
||||
{
|
||||
@@ -159,7 +159,7 @@ namespace XCharts.Runtime
|
||||
}
|
||||
/// <summary>
|
||||
/// The index of the parallel on which the axis are located, by default, is in the first parallel.
|
||||
/// |坐标轴所在的 parallel 的索引,默认位于第一个 parallel。
|
||||
/// ||坐标轴所在的 parallel 的索引,默认位于第一个 parallel。
|
||||
/// </summary>
|
||||
public int parallelIndex
|
||||
{
|
||||
@@ -168,7 +168,7 @@ namespace XCharts.Runtime
|
||||
}
|
||||
/// <summary>
|
||||
/// the position of axis in grid.
|
||||
/// |坐标轴在Grid中的位置。
|
||||
/// ||坐标轴在Grid中的位置。
|
||||
/// </summary>
|
||||
public AxisPosition position
|
||||
{
|
||||
@@ -177,7 +177,7 @@ namespace XCharts.Runtime
|
||||
}
|
||||
/// <summary>
|
||||
/// the offset of axis from the default position. Useful when the same position has multiple axes.
|
||||
/// |坐标轴相对默认位置的偏移。在相同position有多个坐标轴时有用。
|
||||
/// ||坐标轴相对默认位置的偏移。在相同position有多个坐标轴时有用。
|
||||
/// </summary>
|
||||
public float offset
|
||||
{
|
||||
@@ -186,7 +186,7 @@ namespace XCharts.Runtime
|
||||
}
|
||||
/// <summary>
|
||||
/// The minimun value of axis.Valid when `minMaxType` is `Custom`
|
||||
/// |设定的坐标轴刻度最小值,当minMaxType为Custom时有效。
|
||||
/// ||设定的坐标轴刻度最小值,当minMaxType为Custom时有效。
|
||||
/// </summary>
|
||||
public double min
|
||||
{
|
||||
@@ -195,7 +195,7 @@ namespace XCharts.Runtime
|
||||
}
|
||||
/// <summary>
|
||||
/// The maximum value of axis.Valid when `minMaxType` is `Custom`
|
||||
/// |设定的坐标轴刻度最大值,当minMaxType为Custom时有效。
|
||||
/// ||设定的坐标轴刻度最大值,当minMaxType为Custom时有效。
|
||||
/// </summary>
|
||||
public double max
|
||||
{
|
||||
@@ -204,7 +204,7 @@ namespace XCharts.Runtime
|
||||
}
|
||||
/// <summary>
|
||||
/// Number of segments that the axis is split into.
|
||||
/// |坐标轴的期望的分割段数。默认为0表示自动分割。
|
||||
/// ||坐标轴的期望的分割段数。默认为0表示自动分割。
|
||||
/// </summary>
|
||||
public int splitNumber
|
||||
{
|
||||
@@ -213,7 +213,7 @@ namespace XCharts.Runtime
|
||||
}
|
||||
/// <summary>
|
||||
/// Compulsively set segmentation interval for axis.This is unavailable for category axis.
|
||||
/// |强制设置坐标轴分割间隔。无法在类目轴中使用。
|
||||
/// ||强制设置坐标轴分割间隔。无法在类目轴中使用。
|
||||
/// </summary>
|
||||
public double interval
|
||||
{
|
||||
@@ -222,7 +222,7 @@ namespace XCharts.Runtime
|
||||
}
|
||||
/// <summary>
|
||||
/// The boundary gap on both sides of a coordinate axis, which is valid only for category axis with type: 'Category'.
|
||||
/// |坐标轴两边是否留白。只对类目轴有效。
|
||||
/// ||坐标轴两边是否留白。只对类目轴有效。
|
||||
/// </summary>
|
||||
public bool boundaryGap
|
||||
{
|
||||
@@ -231,7 +231,7 @@ namespace XCharts.Runtime
|
||||
}
|
||||
/// <summary>
|
||||
/// Base of logarithm, which is valid only for numeric axes with type: 'Log'.
|
||||
/// |对数轴的底数,只在对数轴(type:'Log')中有效。
|
||||
/// ||对数轴的底数,只在对数轴(type:'Log')中有效。
|
||||
/// </summary>
|
||||
public float logBase
|
||||
{
|
||||
@@ -244,7 +244,7 @@ namespace XCharts.Runtime
|
||||
}
|
||||
/// <summary>
|
||||
/// On the log axis, if base e is the natural number, and is true, logBase fails.
|
||||
/// |对数轴是否以自然数 e 为底数,为 true 时 logBase 失效。
|
||||
/// ||对数轴是否以自然数 e 为底数,为 true 时 logBase 失效。
|
||||
/// </summary>
|
||||
public bool logBaseE
|
||||
{
|
||||
@@ -253,8 +253,8 @@ namespace XCharts.Runtime
|
||||
}
|
||||
/// <summary>
|
||||
/// The max number of axis data cache.
|
||||
/// |The first data will be remove when the size of axis data is larger then maxCache.
|
||||
/// |可缓存的最大数据量。默认为0没有限制,大于0时超过指定值会移除旧数据再插入新数据。
|
||||
/// ||The first data will be remove when the size of axis data is larger then maxCache.
|
||||
/// ||可缓存的最大数据量。默认为0没有限制,大于0时超过指定值会移除旧数据再插入新数据。
|
||||
/// </summary>
|
||||
public int maxCache
|
||||
{
|
||||
@@ -263,7 +263,7 @@ namespace XCharts.Runtime
|
||||
}
|
||||
/// <summary>
|
||||
/// The ratio of maximum and minimum values rounded upward. The default is 0, which is automatically calculated.
|
||||
/// |最大最小值向上取整的倍率。默认为0时自动计算。
|
||||
/// ||最大最小值向上取整的倍率。默认为0时自动计算。
|
||||
/// </summary>
|
||||
public double ceilRate
|
||||
{
|
||||
@@ -272,7 +272,7 @@ namespace XCharts.Runtime
|
||||
}
|
||||
/// <summary>
|
||||
/// Whether the axis are reversed or not. Invalid in `Category` axis.
|
||||
/// |是否反向坐标轴。在类目轴中无效。
|
||||
/// ||是否反向坐标轴。在类目轴中无效。
|
||||
/// </summary>
|
||||
public bool inverse
|
||||
{
|
||||
@@ -281,7 +281,7 @@ namespace XCharts.Runtime
|
||||
}
|
||||
/// <summary>
|
||||
/// Whether the positive position of axis is in clockwise. True for clockwise by default.
|
||||
/// |刻度增长是否按顺时针,默认顺时针。
|
||||
/// ||刻度增长是否按顺时针,默认顺时针。
|
||||
/// </summary>
|
||||
public bool clockwise
|
||||
{
|
||||
@@ -290,7 +290,7 @@ namespace XCharts.Runtime
|
||||
}
|
||||
/// <summary>
|
||||
/// Category data, available in type: 'Category' axis.
|
||||
/// |类目数据,在类目轴(type: 'category')中有效。
|
||||
/// ||类目数据,在类目轴(type: 'category')中有效。
|
||||
/// </summary>
|
||||
public List<string> data
|
||||
{
|
||||
@@ -307,7 +307,7 @@ namespace XCharts.Runtime
|
||||
}
|
||||
/// <summary>
|
||||
/// axis Line.
|
||||
/// |坐标轴轴线。
|
||||
/// ||坐标轴轴线。
|
||||
/// </summary>
|
||||
public AxisLine axisLine
|
||||
{
|
||||
@@ -316,7 +316,7 @@ namespace XCharts.Runtime
|
||||
}
|
||||
/// <summary>
|
||||
/// axis name.
|
||||
/// |坐标轴名称。
|
||||
/// ||坐标轴名称。
|
||||
/// </summary>
|
||||
public AxisName axisName
|
||||
{
|
||||
@@ -325,7 +325,7 @@ namespace XCharts.Runtime
|
||||
}
|
||||
/// <summary>
|
||||
/// axis tick.
|
||||
/// |坐标轴刻度。
|
||||
/// ||坐标轴刻度。
|
||||
/// </summary>
|
||||
public AxisTick axisTick
|
||||
{
|
||||
@@ -334,7 +334,7 @@ namespace XCharts.Runtime
|
||||
}
|
||||
/// <summary>
|
||||
/// axis label.
|
||||
/// |坐标轴刻度标签。
|
||||
/// ||坐标轴刻度标签。
|
||||
/// </summary>
|
||||
public AxisLabel axisLabel
|
||||
{
|
||||
@@ -343,7 +343,7 @@ namespace XCharts.Runtime
|
||||
}
|
||||
/// <summary>
|
||||
/// axis split line.
|
||||
/// |坐标轴分割线。
|
||||
/// ||坐标轴分割线。
|
||||
/// </summary>
|
||||
public AxisSplitLine splitLine
|
||||
{
|
||||
@@ -352,7 +352,7 @@ namespace XCharts.Runtime
|
||||
}
|
||||
/// <summary>
|
||||
/// axis split area.
|
||||
/// |坐标轴分割区域。
|
||||
/// ||坐标轴分割区域。
|
||||
/// </summary>
|
||||
public AxisSplitArea splitArea
|
||||
{
|
||||
@@ -361,7 +361,7 @@ namespace XCharts.Runtime
|
||||
}
|
||||
/// <summary>
|
||||
/// axis minor tick.
|
||||
/// |坐标轴次刻度。
|
||||
/// ||坐标轴次刻度。
|
||||
/// </summary>
|
||||
public AxisMinorTick minorTick
|
||||
{
|
||||
@@ -370,7 +370,7 @@ namespace XCharts.Runtime
|
||||
}
|
||||
/// <summary>
|
||||
/// axis minor split line.
|
||||
/// |坐标轴次分割线。
|
||||
/// ||坐标轴次分割线。
|
||||
/// </summary>
|
||||
public AxisMinorSplitLine minorSplitLine
|
||||
{
|
||||
@@ -379,7 +379,7 @@ namespace XCharts.Runtime
|
||||
}
|
||||
/// <summary>
|
||||
/// Style of axis tooltip indicator label.
|
||||
/// |指示器文本的样式。Tooltip为Cross时使用。
|
||||
/// ||指示器文本的样式。Tooltip为Cross时使用。
|
||||
/// </summary>
|
||||
public LabelStyle indicatorLabel
|
||||
{
|
||||
@@ -388,7 +388,7 @@ namespace XCharts.Runtime
|
||||
}
|
||||
/// <summary>
|
||||
/// Whether to add new data at the head or at the end of the list.
|
||||
/// |添加新数据时是在列表的头部还是尾部加入。
|
||||
/// ||添加新数据时是在列表的头部还是尾部加入。
|
||||
/// </summary>
|
||||
public bool insertDataToHead
|
||||
{
|
||||
|
||||
@@ -32,23 +32,23 @@ namespace XCharts.Runtime
|
||||
public float top;
|
||||
/// <summary>
|
||||
/// the current minimun value.
|
||||
/// |当前最小值。
|
||||
/// ||当前最小值。
|
||||
/// </summary>
|
||||
public double minValue;
|
||||
/// <summary>
|
||||
/// the current maximum value.
|
||||
/// |当前最大值。
|
||||
/// ||当前最大值。
|
||||
/// </summary>
|
||||
public double maxValue;
|
||||
/// <summary>
|
||||
/// the offset of zero position.
|
||||
/// |坐标轴原点在坐标轴的偏移。
|
||||
/// ||坐标轴原点在坐标轴的偏移。
|
||||
/// </summary>
|
||||
public float offset;
|
||||
public double minMaxRange;
|
||||
/// <summary>
|
||||
/// the tick value of value axis.
|
||||
/// |数值轴时每个tick的数值。
|
||||
/// ||数值轴时每个tick的数值。
|
||||
/// </summary>
|
||||
public double tickValue;
|
||||
public float scaleWidth;
|
||||
|
||||
@@ -6,7 +6,7 @@ namespace XCharts.Runtime
|
||||
{
|
||||
/// <summary>
|
||||
/// Settings related to axis label.
|
||||
/// |坐标轴刻度标签的相关设置。
|
||||
/// ||坐标轴刻度标签的相关设置。
|
||||
/// </summary>
|
||||
[Serializable]
|
||||
public class AxisLabel : LabelStyle
|
||||
@@ -21,7 +21,7 @@ namespace XCharts.Runtime
|
||||
|
||||
/// <summary>
|
||||
/// The display interval of the axis label.
|
||||
/// |坐标轴刻度标签的显示间隔,在类目轴中有效。0表示显示所有标签,1表示隔一个隔显示一个标签,以此类推。
|
||||
/// ||坐标轴刻度标签的显示间隔,在类目轴中有效。0表示显示所有标签,1表示隔一个隔显示一个标签,以此类推。
|
||||
/// </summary>
|
||||
public int interval
|
||||
{
|
||||
@@ -30,7 +30,7 @@ namespace XCharts.Runtime
|
||||
}
|
||||
/// <summary>
|
||||
/// Set this to true so the axis labels face the inside direction.
|
||||
/// |刻度标签是否朝内,默认朝外。
|
||||
/// ||刻度标签是否朝内,默认朝外。
|
||||
/// </summary>
|
||||
public bool inside
|
||||
{
|
||||
@@ -39,7 +39,7 @@ namespace XCharts.Runtime
|
||||
}
|
||||
/// <summary>
|
||||
/// Show negative number as positive number.
|
||||
/// |将负数数值显示为正数。一般和`Serie`的`showAsPositiveNumber`配合使用。
|
||||
/// ||将负数数值显示为正数。一般和`Serie`的`showAsPositiveNumber`配合使用。
|
||||
/// </summary>
|
||||
public bool showAsPositiveNumber
|
||||
{
|
||||
@@ -57,7 +57,7 @@ namespace XCharts.Runtime
|
||||
}
|
||||
/// <summary>
|
||||
/// Whether to display the first label.
|
||||
/// |是否显示第一个文本。
|
||||
/// ||是否显示第一个文本。
|
||||
/// </summary>
|
||||
public bool showStartLabel
|
||||
{
|
||||
@@ -66,7 +66,7 @@ namespace XCharts.Runtime
|
||||
}
|
||||
/// <summary>
|
||||
/// Whether to display the last label.
|
||||
/// |是否显示最后一个文本。
|
||||
/// ||是否显示最后一个文本。
|
||||
/// </summary>
|
||||
public bool showEndLabel
|
||||
{
|
||||
|
||||
@@ -4,7 +4,7 @@ namespace XCharts.Runtime
|
||||
{
|
||||
/// <summary>
|
||||
/// Settings related to axis line.
|
||||
/// |坐标轴轴线。
|
||||
/// ||坐标轴轴线。
|
||||
/// </summary>
|
||||
[System.Serializable]
|
||||
public class AxisLine : BaseLine
|
||||
@@ -15,7 +15,7 @@ namespace XCharts.Runtime
|
||||
|
||||
/// <summary>
|
||||
/// When mutiple axes exists, this option can be used to specify which axis can be "onZero" to.
|
||||
/// |X 轴或者 Y 轴的轴线是否在另一个轴的 0 刻度上,只有在另一个轴为数值轴且包含 0 刻度时有效。
|
||||
/// ||X 轴或者 Y 轴的轴线是否在另一个轴的 0 刻度上,只有在另一个轴为数值轴且包含 0 刻度时有效。
|
||||
/// </summary>
|
||||
public bool onZero
|
||||
{
|
||||
@@ -24,7 +24,7 @@ namespace XCharts.Runtime
|
||||
}
|
||||
/// <summary>
|
||||
/// Whether to show the arrow symbol of axis.
|
||||
/// |是否显示箭头。
|
||||
/// ||是否显示箭头。
|
||||
/// </summary>
|
||||
public bool showArrow
|
||||
{
|
||||
@@ -33,7 +33,7 @@ namespace XCharts.Runtime
|
||||
}
|
||||
/// <summary>
|
||||
/// the arrow of line.
|
||||
/// |轴线箭头。
|
||||
/// ||轴线箭头。
|
||||
/// </summary>
|
||||
public ArrowStyle arrow
|
||||
{
|
||||
|
||||
@@ -5,7 +5,7 @@ namespace XCharts.Runtime
|
||||
{
|
||||
/// <summary>
|
||||
/// Minor split line of axis in grid area.
|
||||
/// |坐标轴在 grid 区域中的次分隔线。次分割线会对齐次刻度线 minorTick。
|
||||
/// ||坐标轴在 grid 区域中的次分隔线。次分割线会对齐次刻度线 minorTick。
|
||||
/// </summary>
|
||||
[Serializable]
|
||||
[Since("v3.2.0")]
|
||||
@@ -16,12 +16,12 @@ namespace XCharts.Runtime
|
||||
|
||||
/// <summary>
|
||||
/// The distance between the split line and axis line.
|
||||
/// |刻度线与轴线的距离。
|
||||
/// ||刻度线与轴线的距离。
|
||||
/// </summary>
|
||||
public float distance { get { return m_Distance; } set { m_Distance = value; } }
|
||||
/// <summary>
|
||||
/// auto color.
|
||||
/// |自动设置颜色。
|
||||
/// ||自动设置颜色。
|
||||
/// </summary>
|
||||
public bool autoColor { get { return m_AutoColor; } set { m_AutoColor = value; } }
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ namespace XCharts.Runtime
|
||||
{
|
||||
/// <summary>
|
||||
/// Settings related to axis minor tick.
|
||||
/// |坐标轴次刻度相关设置。注意:次刻度无法在类目轴中使用。
|
||||
/// ||坐标轴次刻度相关设置。注意:次刻度无法在类目轴中使用。
|
||||
/// </summary>
|
||||
[System.Serializable]
|
||||
[Since("v3.2.0")]
|
||||
@@ -15,7 +15,7 @@ namespace XCharts.Runtime
|
||||
|
||||
/// <summary>
|
||||
/// Number of segments that the axis is split into.
|
||||
/// |分隔线之间分割的刻度数。
|
||||
/// ||分隔线之间分割的刻度数。
|
||||
/// </summary>
|
||||
public int splitNumber
|
||||
{
|
||||
|
||||
@@ -5,7 +5,7 @@ namespace XCharts.Runtime
|
||||
{
|
||||
/// <summary>
|
||||
/// the name of axis.
|
||||
/// |坐标轴名称。
|
||||
/// ||坐标轴名称。
|
||||
/// </summary>
|
||||
[Serializable]
|
||||
public class AxisName : ChildComponent
|
||||
@@ -17,7 +17,7 @@ namespace XCharts.Runtime
|
||||
|
||||
/// <summary>
|
||||
/// Whether to show axis name.
|
||||
/// |是否显示坐标轴名称。
|
||||
/// ||是否显示坐标轴名称。
|
||||
/// </summary>
|
||||
public bool show
|
||||
{
|
||||
@@ -26,7 +26,7 @@ namespace XCharts.Runtime
|
||||
}
|
||||
/// <summary>
|
||||
/// the name of axis.
|
||||
/// |坐标轴名称。
|
||||
/// ||坐标轴名称。
|
||||
/// </summary>
|
||||
public string name
|
||||
{
|
||||
@@ -35,7 +35,7 @@ namespace XCharts.Runtime
|
||||
}
|
||||
/// <summary>
|
||||
/// Whether the axis name position are the same with 0 position of YAxis.
|
||||
/// |坐标轴名称的位置是否保持和Y轴0刻度一致。
|
||||
/// ||坐标轴名称的位置是否保持和Y轴0刻度一致。
|
||||
/// </summary>
|
||||
public bool onZero
|
||||
{
|
||||
@@ -44,7 +44,7 @@ namespace XCharts.Runtime
|
||||
}
|
||||
/// <summary>
|
||||
/// The text style of axis name.
|
||||
/// |文本样式。
|
||||
/// ||文本样式。
|
||||
/// </summary>
|
||||
public LabelStyle labelStyle
|
||||
{
|
||||
|
||||
@@ -6,7 +6,7 @@ namespace XCharts.Runtime
|
||||
{
|
||||
/// <summary>
|
||||
/// Split area of axis in grid area, not shown by default.
|
||||
/// |坐标轴在 grid 区域中的分隔区域,默认不显示。
|
||||
/// ||坐标轴在 grid 区域中的分隔区域,默认不显示。
|
||||
/// </summary>
|
||||
[Serializable]
|
||||
public class AxisSplitArea : ChildComponent
|
||||
@@ -16,7 +16,7 @@ namespace XCharts.Runtime
|
||||
|
||||
/// <summary>
|
||||
/// Set this to true to show the splitArea.
|
||||
/// |是否显示分隔区域。
|
||||
/// ||是否显示分隔区域。
|
||||
/// </summary>
|
||||
public bool show
|
||||
{
|
||||
@@ -27,7 +27,7 @@ namespace XCharts.Runtime
|
||||
/// Color of split area. SplitArea color could also be set in color array,
|
||||
/// which the split lines would take as their colors in turns.
|
||||
/// Dark and light colors in turns are used by default.
|
||||
/// |分隔区域颜色。分隔区域会按数组中颜色的顺序依次循环设置颜色。默认是一个深浅的间隔色。
|
||||
/// ||分隔区域颜色。分隔区域会按数组中颜色的顺序依次循环设置颜色。默认是一个深浅的间隔色。
|
||||
/// </summary>
|
||||
public List<Color32> color
|
||||
{
|
||||
|
||||
@@ -5,7 +5,7 @@ namespace XCharts.Runtime
|
||||
{
|
||||
/// <summary>
|
||||
/// Split line of axis in grid area.
|
||||
/// |坐标轴在 grid 区域中的分隔线。
|
||||
/// ||坐标轴在 grid 区域中的分隔线。
|
||||
/// </summary>
|
||||
[Serializable]
|
||||
public class AxisSplitLine : BaseLine
|
||||
@@ -18,17 +18,17 @@ namespace XCharts.Runtime
|
||||
|
||||
/// <summary>
|
||||
/// The distance between the split line and axis line.
|
||||
/// |刻度线与轴线的距离。
|
||||
/// ||刻度线与轴线的距离。
|
||||
/// </summary>
|
||||
public float distance { get { return m_Distance; } set { m_Distance = value; } }
|
||||
/// <summary>
|
||||
/// auto color.
|
||||
/// |自动设置颜色。
|
||||
/// ||自动设置颜色。
|
||||
/// </summary>
|
||||
public bool autoColor { get { return m_AutoColor; } set { m_AutoColor = value; } }
|
||||
/// <summary>
|
||||
/// Interval of Axis splitLine.
|
||||
/// |坐标轴分隔线的显示间隔。
|
||||
/// ||坐标轴分隔线的显示间隔。
|
||||
/// </summary>
|
||||
public int interval
|
||||
{
|
||||
@@ -37,7 +37,7 @@ namespace XCharts.Runtime
|
||||
}
|
||||
/// <summary>
|
||||
/// Whether to show the first split line.
|
||||
/// |是否显示第一条分割线。
|
||||
/// ||是否显示第一条分割线。
|
||||
/// </summary>
|
||||
public bool showStartLine
|
||||
{
|
||||
@@ -46,7 +46,7 @@ namespace XCharts.Runtime
|
||||
}
|
||||
/// <summary>
|
||||
/// Whether to show the last split line.
|
||||
/// |是否显示最后一条分割线。
|
||||
/// ||是否显示最后一条分割线。
|
||||
/// </summary>
|
||||
public bool showEndLine
|
||||
{
|
||||
|
||||
@@ -4,7 +4,7 @@ namespace XCharts.Runtime
|
||||
{
|
||||
/// <summary>
|
||||
/// Settings related to axis tick.
|
||||
/// |坐标轴刻度相关设置。
|
||||
/// ||坐标轴刻度相关设置。
|
||||
/// </summary>
|
||||
[System.Serializable]
|
||||
public class AxisTick : BaseLine
|
||||
@@ -19,13 +19,13 @@ namespace XCharts.Runtime
|
||||
|
||||
/// <summary>
|
||||
/// The distance between the tick line and axis line.
|
||||
/// |刻度线与轴线的距离。
|
||||
/// ||刻度线与轴线的距离。
|
||||
/// </summary>
|
||||
public float distance { get { return m_Distance; } set { m_Distance = value; } }
|
||||
|
||||
/// <summary>
|
||||
/// Align axis tick with label, which is available only when boundaryGap is set to be true in category axis.
|
||||
/// |类目轴中在 boundaryGap 为 true 的时候有效,可以保证刻度线和标签对齐。
|
||||
/// ||类目轴中在 boundaryGap 为 true 的时候有效,可以保证刻度线和标签对齐。
|
||||
/// </summary>
|
||||
public bool alignWithLabel
|
||||
{
|
||||
@@ -34,7 +34,7 @@ namespace XCharts.Runtime
|
||||
}
|
||||
/// <summary>
|
||||
/// Set this to true so the axis labels face the inside direction.
|
||||
/// |坐标轴刻度是否朝内,默认朝外。
|
||||
/// ||坐标轴刻度是否朝内,默认朝外。
|
||||
/// </summary>
|
||||
public bool inside
|
||||
{
|
||||
@@ -43,7 +43,7 @@ namespace XCharts.Runtime
|
||||
}
|
||||
/// <summary>
|
||||
/// Whether to display the first tick.
|
||||
/// |是否显示第一个刻度。
|
||||
/// ||是否显示第一个刻度。
|
||||
/// </summary>
|
||||
public bool showStartTick
|
||||
{
|
||||
@@ -52,7 +52,7 @@ namespace XCharts.Runtime
|
||||
}
|
||||
/// <summary>
|
||||
/// Whether to display the last tick.
|
||||
/// |是否显示最后一个刻度。
|
||||
/// ||是否显示最后一个刻度。
|
||||
/// </summary>
|
||||
public bool showEndTick
|
||||
{
|
||||
@@ -61,7 +61,7 @@ namespace XCharts.Runtime
|
||||
}
|
||||
/// <summary>
|
||||
/// Number of segments that the axis is split into.
|
||||
/// |分隔线之间分割的刻度数。
|
||||
/// ||分隔线之间分割的刻度数。
|
||||
/// </summary>
|
||||
public int splitNumber
|
||||
{
|
||||
|
||||
@@ -4,7 +4,7 @@ namespace XCharts.Runtime
|
||||
{
|
||||
/// <summary>
|
||||
/// Radial axis of polar coordinate.
|
||||
/// |极坐标系的径向轴。
|
||||
/// ||极坐标系的径向轴。
|
||||
/// </summary>
|
||||
[System.Serializable]
|
||||
[RequireChartComponent(typeof(PolarCoord))]
|
||||
|
||||
@@ -5,7 +5,7 @@ namespace XCharts.Runtime
|
||||
{
|
||||
/// <summary>
|
||||
/// Single axis.
|
||||
/// |单轴。
|
||||
/// ||单轴。
|
||||
/// </summary>
|
||||
[System.Serializable]
|
||||
[ComponentHandler(typeof(SingleAxisHander), true)]
|
||||
@@ -21,7 +21,7 @@ namespace XCharts.Runtime
|
||||
|
||||
/// <summary>
|
||||
/// Orientation of the axis. By default, it's 'Horizontal'. You can set it to be 'Vertical' to make a vertical axis.
|
||||
/// |坐标轴朝向。默认为水平朝向。
|
||||
/// ||坐标轴朝向。默认为水平朝向。
|
||||
/// </summary>
|
||||
public Orient orient
|
||||
{
|
||||
@@ -30,7 +30,7 @@ namespace XCharts.Runtime
|
||||
}
|
||||
/// <summary>
|
||||
/// Distance between component and the left side of the container.
|
||||
/// |组件离容器左侧的距离。
|
||||
/// ||组件离容器左侧的距离。
|
||||
/// </summary>
|
||||
public float left
|
||||
{
|
||||
@@ -39,7 +39,7 @@ namespace XCharts.Runtime
|
||||
}
|
||||
/// <summary>
|
||||
/// Distance between component and the right side of the container.
|
||||
/// |组件离容器右侧的距离。
|
||||
/// ||组件离容器右侧的距离。
|
||||
/// </summary>
|
||||
public float right
|
||||
{
|
||||
@@ -48,7 +48,7 @@ namespace XCharts.Runtime
|
||||
}
|
||||
/// <summary>
|
||||
/// Distance between component and the top side of the container.
|
||||
/// |组件离容器上侧的距离。
|
||||
/// ||组件离容器上侧的距离。
|
||||
/// </summary>
|
||||
public float top
|
||||
{
|
||||
@@ -57,7 +57,7 @@ namespace XCharts.Runtime
|
||||
}
|
||||
/// <summary>
|
||||
/// Distance between component and the bottom side of the container.
|
||||
/// |组件离容器下侧的距离。
|
||||
/// ||组件离容器下侧的距离。
|
||||
/// </summary>
|
||||
public float bottom
|
||||
{
|
||||
@@ -66,7 +66,7 @@ namespace XCharts.Runtime
|
||||
}
|
||||
/// <summary>
|
||||
/// width of axis.
|
||||
/// |坐标轴宽。
|
||||
/// ||坐标轴宽。
|
||||
/// </summary>
|
||||
public float width
|
||||
{
|
||||
@@ -75,7 +75,7 @@ namespace XCharts.Runtime
|
||||
}
|
||||
/// <summary>
|
||||
/// height of axis.
|
||||
/// |坐标轴高。
|
||||
/// ||坐标轴高。
|
||||
/// </summary>
|
||||
public float height
|
||||
{
|
||||
|
||||
@@ -6,7 +6,7 @@ namespace XCharts.Runtime
|
||||
{
|
||||
/// <summary>
|
||||
/// The x axis in cartesian(rectangular) coordinate.
|
||||
/// |直角坐标系 grid 中的 x 轴。
|
||||
/// ||直角坐标系 grid 中的 x 轴。
|
||||
/// </summary>
|
||||
[System.Serializable]
|
||||
[RequireChartComponent(typeof(GridCoord))]
|
||||
|
||||
@@ -4,7 +4,7 @@ namespace XCharts.Runtime
|
||||
{
|
||||
/// <summary>
|
||||
/// The x axis in cartesian(rectangular) coordinate.
|
||||
/// |直角坐标系 grid 中的 y 轴。
|
||||
/// ||直角坐标系 grid 中的 y 轴。
|
||||
/// </summary>
|
||||
[System.Serializable]
|
||||
[RequireChartComponent(typeof(GridCoord), typeof(XAxis))]
|
||||
|
||||
Reference in New Issue
Block a user