增加itemStylecornerRadius支持圆角矩形

This commit is contained in:
monitor1394
2020-03-29 10:57:59 +08:00
parent 7eace387c6
commit 5ce1b539d5
16 changed files with 412 additions and 76 deletions

View File

@@ -233,5 +233,12 @@ namespace XCharts
else if (serie.lineStyle.width != 0) return serie.lineStyle.width;
else return 1;
}
public static float[] GetSymbolCornerRadius(Serie serie, SerieData serieData, bool highlight)
{
var itemStyle = GetItemStyle(serie, serieData, highlight);
if(itemStyle != null) return itemStyle.cornerRadius;
else return null;
}
}
}