This commit is contained in:
monitor1394
2022-03-24 08:37:06 +08:00
parent 6cb3709655
commit f597a3f116
78 changed files with 791 additions and 741 deletions

View File

@@ -35,7 +35,7 @@ namespace XCharts.Runtime
[Serializable]
/// <summary>
/// Theme.
/// 主题相关配置。
/// |主题相关配置。
/// </summary>
public class ThemeStyle : ChildComponent
{
@@ -52,7 +52,7 @@ namespace XCharts.Runtime
public bool show { get { return m_Show; } }
/// <summary>
/// the theme of chart.
/// 主题类型。
/// |主题类型。
/// </summary>
public ThemeType themeType
{
@@ -71,7 +71,7 @@ namespace XCharts.Runtime
/// <summary>
/// the contrast color of chart.
/// 对比色。
/// |对比色。
/// </summary>
public Color32 contrastColor
{
@@ -79,7 +79,7 @@ namespace XCharts.Runtime
}
/// <summary>
/// the background color of chart.
/// 背景颜色。
/// |背景颜色。
/// </summary>
public Color32 backgroundColor
{
@@ -92,7 +92,7 @@ namespace XCharts.Runtime
}
/// <summary>
/// the custom background color of chart.
/// 自定义的背景颜色。
/// |自定义的背景颜色。
/// </summary>
public Color32 customBackgroundColor
{
@@ -102,7 +102,7 @@ namespace XCharts.Runtime
/// <summary>
/// The color list of palette. If no color is set in series, the colors would be adopted sequentially and circularly from this list as the colors of series.
/// 调色盘颜色列表。如果系列没有设置颜色,则会依次循环从该列表中取颜色作为系列颜色。
/// |调色盘颜色列表。如果系列没有设置颜色,则会依次循环从该列表中取颜色作为系列颜色。
/// </summary>
public List<Color32> colorPalette
{
@@ -120,8 +120,8 @@ namespace XCharts.Runtime
public SerieTheme serie { get { return sharedTheme.serie; } }
/// <summary>
/// Gets the color of the specified index from the palette.
/// 获得调色盘对应系列索引的颜色值。
/// Gets the color of the specified index from the palette.
/// |获得调色盘对应系列索引的颜色值。
/// </summary>
/// <param name="index">编号索引</param>
/// <returns>the color,or Color.clear when failed.颜色值失败时返回Color.clear</returns>
@@ -180,8 +180,8 @@ namespace XCharts.Runtime
Dictionary<int, string> _colorDic = new Dictionary<int, string>();
/// <summary>
/// Gets the hexadecimal color string of the specified index from the palette.
/// 获得指定索引的十六进制颜色值字符串。
/// Gets the hexadecimal color string of the specified index from the palette.
/// |获得指定索引的十六进制颜色值字符串。
/// </summary>
/// <param name="index"></param>
/// <returns></returns>
@@ -201,8 +201,8 @@ namespace XCharts.Runtime
}
/// <summary>
/// Convert the html string to color.
/// 将字符串颜色值转成Color。
/// Convert the html string to color.
/// |将字符串颜色值转成Color。
/// </summary>
/// <param name="hexColorStr"></param>
/// <returns></returns>