Forum Discussion
Custom Font for Table, Chart heading and table contents
Is it possible in power bi to give Title of Line Chart, Table and KPI with Custom font.
Plus Contents of Table and Line chart with Arial. Refer the below image.
Hi Baarathi88 ,
You may refer to desktop-report-themes#report-theme-json-file-format for details to import custom theme. You would change the "*" in the first codes to the proper parts you'd like to customize.
Common Format: { "name": "Green", "dataColors": ["#568410", "#3A6108", "#70A322", "#915203", "#D79A12", "#bb7711", "#114400", "#aacc66"], "background":"#FFFFFF", "foreground": "#3A6108", "tableAccent": "#568410", "visualStyles":{ "*": { "*": { "*": [{ "fontFamily": "simsong" }] } } } } For example, customize font for the Table and Line chart visual. { "name": "Green", "dataColors": ["#568410", "#3A6108", "#70A322", "#915203", "#D79A12", "#bb7711", "#114400", "#aacc66"], "background":"#FFFFFF", "foreground": "#3A6108", "tableAccent": "#568410", "visualStyles":{ "tableEx": { "*": { "*": [{ "fontFamily": "Arial Black" }] } }, "lineChart": { "*": { "*": [{ "fontFamily": "Arial Black" }] } } } }For reference:
Best Regards,
Amy
Community Support Team _ Amy
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
2 Replies
- amitchandak
Super User
- v-xicai
Community Support
Hi Baarathi88 ,
You may refer to desktop-report-themes#report-theme-json-file-format for details to import custom theme. You would change the "*" in the first codes to the proper parts you'd like to customize.
Common Format: { "name": "Green", "dataColors": ["#568410", "#3A6108", "#70A322", "#915203", "#D79A12", "#bb7711", "#114400", "#aacc66"], "background":"#FFFFFF", "foreground": "#3A6108", "tableAccent": "#568410", "visualStyles":{ "*": { "*": { "*": [{ "fontFamily": "simsong" }] } } } } For example, customize font for the Table and Line chart visual. { "name": "Green", "dataColors": ["#568410", "#3A6108", "#70A322", "#915203", "#D79A12", "#bb7711", "#114400", "#aacc66"], "background":"#FFFFFF", "foreground": "#3A6108", "tableAccent": "#568410", "visualStyles":{ "tableEx": { "*": { "*": [{ "fontFamily": "Arial Black" }] } }, "lineChart": { "*": { "*": [{ "fontFamily": "Arial Black" }] } } } }For reference:
Best Regards,
Amy
Community Support Team _ Amy
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.