Forum Discussion
How to change fontSize capability limits.
Please rename textSize inti something else. For example: "fontSizeValue".
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
Ok, now I have sth like this:
"fontSizeValue": {
"displayName": "Text Size",
"type": {
"formatting": {
"fontSize": true
}
}
},And the output is:
-Secondly, is there any option to leave data fields empty and eventually remove dataRoles from capabilities.json ? I am working on a totally static visual that doesn't need any data besides that entered with objects (Format tab). And my Visual is not updating unless I feed it with some data.
Thanks for the reply!
Michal
- v-viig8 years agoCommunity Champion
You should use numeric type instead of fontSize as well.
As far as I know, Power BI does not allot to use Custom Visuals w/o filled data fields.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
- michal0898 years agoFrequent Visitor
Ok, but now I have just regular input field:
And the key goal is to get that fancy field with up/down arrows .
Michal
- v-viig7 years agoCommunity Champion
There's no way to override limits and keep arrows to increase/decrease values.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals