mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-28 20:28:46 +00:00
重构Component相关代码,调整API接口
This commit is contained in:
@@ -7,7 +7,7 @@ namespace XCharts.Runtime
|
||||
[SerieConvert(typeof(Bar), typeof(Pie))]
|
||||
[CoordOptions(typeof(GridCoord), typeof(PolarCoord))]
|
||||
[DefaultAnimation(AnimationType.LeftToRight)]
|
||||
[SerieExtraComponent(
|
||||
[SerieComponent(
|
||||
typeof(LabelStyle),
|
||||
typeof(EndLabelStyle),
|
||||
typeof(LineArrow),
|
||||
@@ -15,7 +15,7 @@ namespace XCharts.Runtime
|
||||
typeof(EmphasisStyle),
|
||||
typeof(BlurStyle),
|
||||
typeof(SelectStyle))]
|
||||
[SerieDataExtraComponent(
|
||||
[SerieDataComponent(
|
||||
typeof(ItemStyle),
|
||||
typeof(LabelStyle),
|
||||
typeof(SerieSymbol),
|
||||
|
||||
@@ -8,8 +8,8 @@ namespace XCharts.Runtime
|
||||
[SerieConvert(typeof(SimplifiedBar), typeof(Line))]
|
||||
[CoordOptions(typeof(GridCoord))]
|
||||
[DefaultAnimation(AnimationType.LeftToRight)]
|
||||
[SerieExtraComponent(typeof(AreaStyle))]
|
||||
[SerieDataExtraComponent()]
|
||||
[SerieComponent(typeof(AreaStyle))]
|
||||
[SerieDataComponent()]
|
||||
[SerieDataExtraField()]
|
||||
public class SimplifiedLine : Serie, INeedSerieContainer, ISimplifiedSerie
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user