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
177 stars 40 forks source link

Line only draw a X axis when property/field name of data object is capitalize #46

Open wuxj74 opened 3 years ago

wuxj74 commented 3 years ago

Hi,

Follows samples in https://antblazor.com/en-US/charts/line#components-line-demo-multiple-line

If I create the config as below private LineConfig countingChartConfig = new LineConfig { .................... XField = "Date", YField = "Value", SeriesField = "Name", ........................................... }; and my data object is: { public string Date; public string Value; public string Name; } When the program runs, it only draws a X axis

It works well when lowercase the first letter of filed names.

DScheurenbrand commented 9 months ago

This cost me HOURS.