ant-design-blazor / ant-design-charts-blazor

A Blazor chart library, based on G2Plot
https://ant-design-blazor.github.io/ant-design-charts-blazor/
Apache License 2.0
178 stars 40 forks source link

<GroupedColumn> not exist in v0.3.0 #111

Closed xccu closed 1 year ago

xccu commented 1 year ago
and GroupedColumnConfig not exist in v0.3.0 dll package and source code: https://github.com/ant-design-blazor/ant-design-charts-blazor
MaggiGorengAyam commented 1 year ago

Hi @xccu , as per the upgrade guide , you should use a Column, with the IsGroup = true in the config. Here is the demo code.

xccu commented 1 year ago

Hi @MaggiGorengAyam when I use the demo code, the chart looks like this: issue the demo in https://antblazor.com/en-US/charts/column shown like this: demo

MaggiGorengAyam commented 1 year ago

@xccu The current live demo is not up to date, as the main contributor is working on a new refined documentation. So the data and config there is outdated. Please try with this demo code by copying the config and the data. You should be able to see the chart generated as per below. image Alternatively, you can run the Docs.Server project and navigate to /Grouped_Column_Chart.

xccu commented 1 year ago

@MaggiGorengAyam Hi,I've solved the problem by modified

to:

in _Host.cshtml thanks a lot :)