ant-design-blazor / ant-design-blazor/ant-design-charts-blazor
The Example has errors
- Lingua principale
- C#
- Stelle
- 186
- Fork
- 44
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
The Example from https://antblazor.com/en-US/charts/introduce
has lowercase properties:
e.g. replace title => Title ...
```
@code {
object[] data = new object[] {
new { year= "1991", value= 3 },
new { year= "1992", value= 4 },
new { year= "1993", value= 3.5 },
new { year= "1994", value= 5 },
new { year= "1995", value= 4.9 },
new { year= "1996", value= 6 },
new { year= "1997", value= 7 },
new { year= "1998", value= 9 },
new { year= "1999", value= 13 },
};
LineConfig config = new LineConfig() {
Title = new AntDesign.Charts.Title() {
Visible = true,
Text = "曲线折线图",
},
Description = new Description() {
Visible = true,
Text = "用平滑的曲线代替折线。",
},
Padding = "auto",
ForceFit = true,
XField = "year",
YField = "value",
Smooth = true,
};
}
```
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.