Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi,
I've couple of general questions on objects and properties for which I could not find any real explanation/documentation.
"fontSize" : { "displayName": "Font Size", "type": { "formatting": { "fontSize": true } } }
module powerbi.extensibility.visual { "use strict"; import DataViewObjectsParser = powerbi.extensibility.utils.dataview.DataViewObjectsParser; export class TableVisualSettings extends DataViewObjectsParser { public tableFormatting: tableFormatting = new tableFormatting(); } export class tableFormatting { public show: boolean = true; public border: boolean = true; public backgroundColor: string = "#FFFFFF"; public fontSize: number = 14; } }
Solved! Go to Solution.
As mentioned here, the DataViewObjectsParser provides the simplest way in order to parse properties of the formatting panel. You may do validation in update method.
As mentioned here, the DataViewObjectsParser provides the simplest way in order to parse properties of the formatting panel. You may do validation in update method.