mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-23 17:30:10 +00:00
3.0
This commit is contained in:
@@ -6,7 +6,7 @@ namespace XCharts.Runtime
|
||||
{
|
||||
/// <summary>
|
||||
/// Title component, including main title and subtitle.
|
||||
/// 标题组件,包含主标题和副标题。
|
||||
/// |标题组件,包含主标题和副标题。
|
||||
/// </summary>
|
||||
[Serializable]
|
||||
[ComponentHandler(typeof(TitleHander), true)]
|
||||
@@ -23,17 +23,17 @@ namespace XCharts.Runtime
|
||||
/// <summary>
|
||||
/// [default:true]
|
||||
/// Set this to false to prevent the title from showing.
|
||||
/// 是否显示标题组件。
|
||||
/// |是否显示标题组件。
|
||||
/// </summary>
|
||||
public bool show { get { return m_Show; } set { if (PropertyUtil.SetStruct(ref m_Show, value)) SetComponentDirty(); } }
|
||||
/// <summary>
|
||||
/// The main title text, supporting \n for newlines.
|
||||
/// 主标题文本,支持使用 \n 换行。
|
||||
/// |主标题文本,支持使用 \n 换行。
|
||||
/// </summary>
|
||||
public string text { get { return m_Text; } set { if (PropertyUtil.SetClass(ref m_Text, value)) SetComponentDirty(); } }
|
||||
/// <summary>
|
||||
/// The text style of main title.
|
||||
/// 主标题文本样式。
|
||||
/// |主标题文本样式。
|
||||
/// </summary>
|
||||
public TextStyle textStyle
|
||||
{
|
||||
@@ -42,7 +42,7 @@ namespace XCharts.Runtime
|
||||
}
|
||||
/// <summary>
|
||||
/// Subtitle text, supporting for \n for newlines.
|
||||
/// 副标题文本,支持使用 \n 换行。
|
||||
/// |副标题文本,支持使用 \n 换行。
|
||||
/// </summary>
|
||||
public string subText
|
||||
{
|
||||
@@ -51,7 +51,7 @@ namespace XCharts.Runtime
|
||||
}
|
||||
/// <summary>
|
||||
/// The text style of sub title.
|
||||
/// 副标题文本样式。
|
||||
/// |副标题文本样式。
|
||||
/// </summary>
|
||||
public TextStyle subTextStyle
|
||||
{
|
||||
@@ -61,7 +61,7 @@ namespace XCharts.Runtime
|
||||
/// <summary>
|
||||
/// [default:8]
|
||||
/// The gap between the main title and subtitle.
|
||||
/// 主副标题之间的间距。
|
||||
/// |主副标题之间的间距。
|
||||
/// </summary>
|
||||
public float itemGap
|
||||
{
|
||||
@@ -70,7 +70,7 @@ namespace XCharts.Runtime
|
||||
}
|
||||
/// <summary>
|
||||
/// The location of title component.
|
||||
/// 标题显示位置。
|
||||
/// |标题显示位置。
|
||||
/// </summary>
|
||||
public Location location
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user