Closed tbasallo closed 2 years ago
I was going through the code to fork and maybe fix/figure out and I noticed your usings: Newton. My attribute was referencing System.Text.
A quick change to this, got it work:
[Newtonsoft.Json.JsonConverter(typeof(PlainJsonStringConverter))]
public string footer { get; set; } = "function(){ console.log('please be kind to me')}";
I think I understand how this is supposed to work reading through previous issues. However, I always get a string for the function. Is there something missing? Or a verion bug?
v3 with chartJS v3.7.1
I am trying to get a custom tooltip using the sample code from chartjs:
https://www.chartjs.org/docs/latest/samples/tooltip/html.html
I've tried both, since I am not sure which one it is:
And I end up with: