Closed jfcontart closed 2 years ago
Hi, thanks for spotting that.
Looks like title can either be a string or an array of strings so I've updated Text
to be an IList<string>
.
You can use it like so.
chart.Options.Plugins = new Plugins { Title = new Title() { Display = true, Text = new List<string>() { "Burndown Chart" } } };
Hi, tested! it fixed the issue! thank you! :-)
hello, I found a bug with title and I solved it
I just tried
chart.Options.Plugins = new Plugins { Title = new Title() { Display = true, Text = "Burndown Chart", } };
result => exec bad ... app crashI resolved it with this trick
in Title.cs line 47 ... remove [JsonConverter(typeof(SingleOrArrayConverter))]
string must be linearize as string
Can you confirm?
thank you