mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-23 01:10:08 +00:00
[code] add comment
This commit is contained in:
@@ -97,7 +97,6 @@ namespace XCharts.Runtime
|
||||
/// <summary>
|
||||
/// Type of legend.
|
||||
/// |图例类型。
|
||||
/// [default:Type.Auto]
|
||||
/// </summary>
|
||||
public Type iconType
|
||||
{
|
||||
@@ -107,7 +106,6 @@ namespace XCharts.Runtime
|
||||
/// <summary>
|
||||
/// Selected mode of legend, which controls whether series can be toggled displaying by clicking legends.
|
||||
/// |选择模式。控制是否可以通过点击图例改变系列的显示状态。默认开启图例选择,可以设成 None 关闭。
|
||||
/// [default:SelectedMode.Multiple]
|
||||
/// </summary>
|
||||
public SelectedMode selectedMode
|
||||
{
|
||||
@@ -117,7 +115,6 @@ namespace XCharts.Runtime
|
||||
/// <summary>
|
||||
/// Specify whether the layout of legend component is horizontal or vertical.
|
||||
/// |布局方式是横还是竖。
|
||||
/// [default:Orient.Horizonal]
|
||||
/// </summary>
|
||||
public Orient orient
|
||||
{
|
||||
@@ -127,7 +124,6 @@ namespace XCharts.Runtime
|
||||
/// <summary>
|
||||
/// The location of legend.
|
||||
/// |图例显示的位置。
|
||||
/// [default:Location.defaultTop]
|
||||
/// </summary>
|
||||
public Location location
|
||||
{
|
||||
@@ -137,7 +133,6 @@ namespace XCharts.Runtime
|
||||
/// <summary>
|
||||
/// Image width of legend symbol.
|
||||
/// |图例标记的图形宽度。
|
||||
/// [default:24f]
|
||||
/// </summary>
|
||||
public float itemWidth
|
||||
{
|
||||
@@ -147,7 +142,6 @@ namespace XCharts.Runtime
|
||||
/// <summary>
|
||||
/// Image height of legend symbol.
|
||||
/// |图例标记的图形高度。
|
||||
/// [default:12f]
|
||||
/// </summary>
|
||||
public float itemHeight
|
||||
{
|
||||
@@ -157,7 +151,6 @@ namespace XCharts.Runtime
|
||||
/// <summary>
|
||||
/// The distance between each legend, horizontal distance in horizontal layout, and vertical distance in vertical layout.
|
||||
/// |图例每项之间的间隔。横向布局时为水平间隔,纵向布局时为纵向间隔。
|
||||
/// [default:10f]
|
||||
/// </summary>
|
||||
public float itemGap
|
||||
{
|
||||
@@ -167,7 +160,6 @@ namespace XCharts.Runtime
|
||||
/// <summary>
|
||||
/// Whether the legend symbol matches the color automatically.
|
||||
/// |图例标记的图形是否自动匹配颜色。
|
||||
/// [default:true]
|
||||
/// </summary>
|
||||
public bool itemAutoColor
|
||||
{
|
||||
@@ -189,7 +181,6 @@ namespace XCharts.Runtime
|
||||
/// 使用Axx的形式:A是格式说明符的单字符,支持C货币、D十进制、E指数、F定点数、G常规、N数字、P百分比、R往返、X十六进制的。xx是精度说明,从0-99。
|
||||
/// 参考:https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings
|
||||
/// </summary>
|
||||
/// <value></value>
|
||||
public string numericFormatter
|
||||
{
|
||||
get { return m_NumericFormatter; }
|
||||
@@ -235,7 +226,7 @@ namespace XCharts.Runtime
|
||||
/// <summary>
|
||||
/// Data array of legend. An array item is usually a name representing string. (If it is a pie chart,
|
||||
/// it could also be the name of a single data in the pie chart) of a series.
|
||||
/// |If data is not specified, it will be auto collected from series.
|
||||
/// If data is not specified, it will be auto collected from series.
|
||||
/// |图例的数据数组。数组项通常为一个字符串,每一项代表一个系列的 name(如果是饼图,也可以是饼图单个数据的 name)。
|
||||
/// 如果 data 没有被指定,会自动从当前系列中获取。指定data时里面的数据项和serie匹配时才会生效。
|
||||
/// </summary>
|
||||
@@ -254,7 +245,7 @@ namespace XCharts.Runtime
|
||||
}
|
||||
/// <summary>
|
||||
/// the colors of legend item.
|
||||
/// 图例标记的颜色列表。
|
||||
/// |图例标记的颜色列表。
|
||||
/// </summary>
|
||||
public List<Color> colors
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user