ant-design-charts-blazor icon indicating copy to clipboard operation
ant-design-charts-blazor copied to clipboard

Radar Chart

Open leylii opened this issue 3 years ago • 5 comments

    AngleField = "item",
    RadiusField = "score",

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.

leylii avatar Jun 09 '22 10:06 leylii

Any update?

Kesade avatar Oct 21 '22 22:10 Kesade

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,
        },
    };

dkosinskyi avatar Nov 07 '22 23:11 dkosinskyi

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

true-perfect-code avatar Sep 08 '23 18:09 true-perfect-code

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 !

image

superjerry88 avatar Sep 11 '23 12:09 superjerry88

@superjerry88

Thanks Jerry for the example reproduction !

pc

true-perfect-code avatar Sep 11 '23 15:09 true-perfect-code