Open leylii opened 2 years ago
Any update?
From official project template
RadarConfig config1 = new RadarConfig()
{
Title = new Charts.Title()
{
Visible = true,
Text = "基础雷达图",
},
XField = "item",
YField = "score",
RadiusAxis = new ValueAxis()
{
Grid = new BaseAxisGrid()
{
AlternateColor = new string[] { "rgba(0, 0, 0, 0.04)", null },
},
},
Area = new RadarViewConfigArea()
{
Visible = false,
},
Point = new RadarViewConfigPoint()
{
Visible = true,
},
};
Hi @superjerry88 I also tried using the radar component, but it doesn't work. If I download the Ant chart from the repository and run the project in Visual Studio, everything works. I suspect that an update is needed here. Is anything being prepared?
Thanks pc
Sorry for the lack of update on the documentation. Here is a working example of Radar Chart based on the demo project https://github.com/ant-design-blazor/ant-design-charts-blazor/blob/master/src/AntDesign.Charts.Docs/Demos/Radar/Radar_Chart.razor
Hope it helps !
@superjerry88
Thanks Jerry for the example reproduction !
pc
It seems that these fields are not included in RadarConfig any longer. I used XField and YField instead of them but still, the radar chart does not work and it is not drawn. I used exactly the example here: https://antblazor.com/en-US/charts/radar and I only replaced the above fields with XField and YFiled. Please give me some help.