This commit is contained in:
monitor1394
2022-05-22 22:17:38 +08:00
parent 003f4da9de
commit bafe032bb9
391 changed files with 3718 additions and 2774 deletions

View File

@@ -12,7 +12,7 @@ namespace XCharts.Runtime
public static string CheckChart(BaseGraph chart)
{
if (chart is BaseChart) return CheckChart((BaseChart)chart);
if (chart is BaseChart) return CheckChart((BaseChart) chart);
else return string.Empty;
}
@@ -68,12 +68,10 @@ namespace XCharts.Runtime
}
private static void CheckLegend(BaseChart chart, StringBuilder sb)
{
}
{ }
private static void CheckGrid(BaseChart chart, StringBuilder sb)
{
}
{ }
private static void CheckSerie(BaseChart chart, StringBuilder sb)
{
@@ -121,11 +119,6 @@ namespace XCharts.Runtime
if (IsColorAlphaZero(serie.lineStyle.color))
sb.AppendFormat("warning:serie {0} lineStyle->color alpha is 0\n", serie.index);
}
else if (serie is Bar)
{
if (serie.barWidth == 0)
sb.AppendFormat("warning:serie {0} barWidth is 0\n", serie.index);
}
else if (serie is Pie)
{
if (serie.radius.Length >= 2 && serie.radius[1] == 0)