The changes we have made in the chartjs options text legend cannot be updated on the chartjs application.
font colors do not change. Legend radius cannot be given.
Hi Onur,
Thank you for reporting this issue.
This will be logged as an enhancement and will be added to ChartJS3 and other compatible ChartJS versions.
The correct syntax for this kind of implementation is the following:
chartJS1.Options.Plugins.Legend.Labels = new CustomLegendLabels()
{
UsePointStyle = true,
BoxWidth = 100,
};
CustomLegendLabels in this case is a class that extends the OptionsLegendLabels base class.
I have attached a sample.
HTH,
Alaa
//