重构代码,增加BaseGraph基类

This commit is contained in:
monitor1394
2020-06-05 08:52:36 +08:00
parent 01f8856106
commit 62e53c20c8
9 changed files with 467 additions and 240 deletions

View File

@@ -15,6 +15,13 @@ namespace XCharts
{
return !ChartHelper.IsClearColor(color) && color.a == 0;
}
public static string CheckChart(BaseGraph chart)
{
if (chart is BaseChart) return CheckChart((BaseChart)chart);
else return string.Empty;
}
public static string CheckChart(BaseChart chart)
{
var sb = ChartHelper.sb;