Hello, I am trying to apply a theme to a new chart (non-deprecated version). According to this documentation: https://docs.mendix.com/refguide/charts-configuration/#4-chart-theming, I should add a com.mendix.charts.json to my theme folder. However, I’ve tried this and it doesn’t seem to be getting picked up by Mendix: My contents of the json file look like this: { "layout": { "font": { "family": "Work Sans, sans-serif" } } } I can get this font to apply to a chart in developer mode. Any tips on using the .json theming for charts?
asked
Andrew Zagorski
1 answers
1
I believe the issue is with you JSON code; if I were you I would copy the ENTIRE example from the documentation page and fill in your font formatting lines under the specific Chart type layout object. formatting it in a general way like you did might not be okay.