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

G2Plot 2.0 Upgrade Milestone

Open superjerry88 opened this issue 2 years ago • 5 comments

G2Plot 2.0 Upgrade Milestone

Source: https://g2plot.antv.antgroup.com/en/manual/upgrade PR: (https://github.com/ant-design-blazor/ant-design-charts-blazor/pull/102)

Abandoned charts

  • [x] Bubble
  • [x] StackedColumn
  • [x] GroupedColumn
  • [x] PercentStackedColumn (missing isStack , isPercent)
  • [x] RangeColumn (missing isRange)
  • [x] StackedBar (missing isStack)
  • [x] PercentStackedBar (missing isStack, isPercent)
  • [x] RangeBar (missing isRange)
  • [x] Donut
  • [x] DualLine
  • [x] ColumnLine (missing demo)
  • [x] StackedColumnLine (missing demo)
  • [x] GroupedColumnLine (missing demo)
  • [x] StackedArea
  • [x] PercentStackedArea
  • [x] StepLine

Configuration change

  • [x] title (obsolete)
  • [x] description (obsolete)
  • [x] forceFit (obsolete, replaced with autoFit) (https://github.com/ant-design-blazor/ant-design-charts-blazor/pull/99)
  • [x] responsive (obsolete)
  • [x] guideLine (obsolete, replaced with annotation)
  • [x] label
  • [x] slider
  • [x] scrollbar
  • [ ] events
  • [ ] visible
  • [x] animation

Private configuration

  • [x] Scatter
  • [x] Rose
  • [x] Bullet
  • [ ] WordCloud
  • [ ] TinyArea、TinyColumn、 TinyLine
  • [x] Gauge
  • [x] Radar
  • [x] Liquid

superjerry88 avatar Jan 03 '23 10:01 superjerry88

@ElderJames for this milestone, we are planning to include updates for the docs in AntDesign.Charts.Docs/Demos/ following V2 structure (https://charts.ant.design/en/examples/line/basic#line) for showcasing the new V2 example and charts.

Will this break the main AntBlazor demo and how should we approach the localization issue ? The current menu.json is only in chinese.

superjerry88 avatar Jan 04 '23 13:01 superjerry88

I know the problem. We need to rebuild a documentation site and localize it to support both English and Chinese.

BTW, I want to strip the documentation project from the AntDesign project so that it can be reused in different projects.

ElderJames avatar Jan 04 '23 16:01 ElderJames

i see, that's good to know. I will temporary just update the current code usage demo following V2 as i go about it, hopefully this can lessen the migration effort once the new documentation project is ready.

superjerry88 avatar Jan 04 '23 20:01 superjerry88

Could anyone explain why the donut chart is planned to be deprecated? Would there be alternatives?

h4n0 avatar Jan 11 '23 11:01 h4n0

@h4n0 , this is in accordance to the upgrade guide from G2Plot. You can use the Pie component to render your donut chart. You may check the demo.

MaggiGorengAyam avatar Jan 11 '23 12:01 MaggiGorengAyam