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

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

Open wuxj74 opened this issue 4 years ago • 1 comments

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.

wuxj74 avatar Apr 24 '21 09:04 wuxj74

This cost me HOURS.

DScheurenbrand avatar Feb 02 '24 19:02 DScheurenbrand