You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for the issue. We should definitely add that.
I'll take a look at your PR when I get time. Since I'm in the final phase of releasing 2.0, this might be released in 2.1 or so.
For now the workaround should be fine but if you want a C#-only solution, you can subclass your PieOptions and add a property named Layout. You can make it of type object and then assign an annonymous object or go the typed way (which results in more code obviously). Both will be serialized and should yield the correct result (untested).
Adding Layout Configuration to BaseConfigOptions.
Which charts does this feature request apply to?
all charts
Describe the solution you'd like
JavaScript equivalent
Describe alternatives you've considered
Setting global chart layout with JavaScript in
Chart.defaults.global.layout
Additional context
The text was updated successfully, but these errors were encountered: