<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to change fontSize capability limits. in Custom Visuals Development Discussion</title>
    <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/How-to-change-fontSize-capability-limits/m-p/498171#M1330</link>
    <description>&lt;P&gt;Ok, but now I have just regular input field:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="fontsize1.JPG" style="width: 170px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/115266i00283CE3B6A41D84/image-size/medium?v=v2&amp;amp;px=400" role="button" title="fontsize1.JPG" alt="fontsize1.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And the key goal is to get that fancy field with up/down arrows .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Michal&lt;/P&gt;</description>
    <pubDate>Fri, 24 Aug 2018 07:55:55 GMT</pubDate>
    <dc:creator>michal089</dc:creator>
    <dc:date>2018-08-24T07:55:55Z</dc:date>
    <item>
      <title>How to change fontSize capability limits.</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/How-to-change-fontSize-capability-limits/m-p/495920#M1318</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have following problem: i can't define limits of the&amp;nbsp;fontSize&amp;nbsp; (apparently the upper one is 40 and the lower is 8). Additionaly I have not got a slider beside the input number:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://ip1.i.lithium.com/1801c42eb8dbecae987b5bdc1358247509e7f135/68747470733a2f2f696d6167652e6962622e636f2f6e48786a667a2f706f77657262692e706e67" border="0" alt="Capabilities" width="299" height="236" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My capabilities.json :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt; "objects": {
        "customProperties": {
            "displayName": "Custom Properties",
            "properties": {
                "title": {
                    "displayName": "Title",
                    "type": { "text": true }
                },
                "rotation": {
                    "displayName": "Rotation",
                    "type": { "numeric": true }
                },
                "textSize": {
                    "displayName": "Text Size",
                    "type": {
                        "formatting": {
                            "fontSize": true
                        }
                    }
                }
                
                }
            }
    }&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My settings.ts:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;import DataViewObjectsParser = powerbi.extensibility.utils.dataview.DataViewObjectsParser;

export class VisualSettings extends DataViewObjectsParser {
  public customProperties: customPropertiesData = new customPropertiesData();
}
export class customPropertiesData {
  public title: string = "Title";
  public rotation: number = 0;
  public textSize: number = 100;
}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone knows a solution? I would be grateful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Michal&lt;/P&gt;</description>
      <pubDate>Wed, 22 Aug 2018 08:41:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/How-to-change-fontSize-capability-limits/m-p/495920#M1318</guid>
      <dc:creator>michal089</dc:creator>
      <dc:date>2018-08-22T08:41:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to change fontSize capability limits.</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/How-to-change-fontSize-capability-limits/m-p/497302#M1321</link>
      <description>&lt;P&gt;Please rename textSize inti something else. For example: "fontSizeValue".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Ignat Vilesov,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Software Engineer&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Microsoft Power BI Custom Visuals&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;A href="mailto:pbicvsupport@microsoft.com" target="_blank"&gt;pbicvsupport@microsoft.com&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Aug 2018 10:55:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/How-to-change-fontSize-capability-limits/m-p/497302#M1321</guid>
      <dc:creator>v-viig</dc:creator>
      <dc:date>2018-08-23T10:55:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to change fontSize capability limits.</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/How-to-change-fontSize-capability-limits/m-p/497348#M1322</link>
      <description>&lt;P&gt;Ok, now I have sth like this:&lt;/P&gt;&lt;PRE&gt;"fontSizeValue": {
    "displayName": "Text Size",
    "type": {
        "formatting": {
            "fontSize": true
        }
    }
},&lt;/PRE&gt;&lt;P&gt;And the output is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://ip1.i.lithium.com/a2b1078cb9bb24a3aa8adb3b028b626f436e2c13/68747470733a2f2f696d6167652e6962622e636f2f6d587144517a2f7a646a312e6a7067" border="0" alt="" width="188" height="399" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Secondly, i&lt;SPAN&gt;s there any option to leave data fields empty and eventually remove&amp;nbsp;dataRoles from capabilities.json ? I am working on a totally static visual that&amp;nbsp;doesn't need any data&amp;nbsp;besides that entered with&amp;nbsp;objects&amp;nbsp;(Format tab). And my Visual is not updating unless I feed it with some data.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks for the reply!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Michal&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Aug 2018 11:54:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/How-to-change-fontSize-capability-limits/m-p/497348#M1322</guid>
      <dc:creator>michal089</dc:creator>
      <dc:date>2018-08-23T11:54:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to change fontSize capability limits.</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/How-to-change-fontSize-capability-limits/m-p/498063#M1327</link>
      <description>&lt;P&gt;You should use&amp;nbsp;&lt;STRONG&gt;numeric&lt;/STRONG&gt; type instead of fontSize as well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As far as I know, Power BI does not allot to use Custom Visuals w/o filled data fields.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Ignat Vilesov,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Software Engineer&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Microsoft Power BI Custom Visuals&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;A href="mailto:pbicvsupport@microsoft.com" target="_blank"&gt;pbicvsupport@microsoft.com&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Aug 2018 07:01:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/How-to-change-fontSize-capability-limits/m-p/498063#M1327</guid>
      <dc:creator>v-viig</dc:creator>
      <dc:date>2018-08-24T07:01:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to change fontSize capability limits.</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/How-to-change-fontSize-capability-limits/m-p/498171#M1330</link>
      <description>&lt;P&gt;Ok, but now I have just regular input field:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="fontsize1.JPG" style="width: 170px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/115266i00283CE3B6A41D84/image-size/medium?v=v2&amp;amp;px=400" role="button" title="fontsize1.JPG" alt="fontsize1.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And the key goal is to get that fancy field with up/down arrows .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Michal&lt;/P&gt;</description>
      <pubDate>Fri, 24 Aug 2018 07:55:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/How-to-change-fontSize-capability-limits/m-p/498171#M1330</guid>
      <dc:creator>michal089</dc:creator>
      <dc:date>2018-08-24T07:55:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to change fontSize capability limits.</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/How-to-change-fontSize-capability-limits/m-p/517498#M1356</link>
      <description>&lt;P&gt;There's no way to override limits and keep arrows to increase/decrease values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Ignat Vilesov,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Software Engineer&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Microsoft Power BI Custom Visuals&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;A href="mailto:pbicvsupport@microsoft.com" target="_blank"&gt;pbicvsupport@microsoft.com&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Sep 2018 12:10:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/How-to-change-fontSize-capability-limits/m-p/517498#M1356</guid>
      <dc:creator>v-viig</dc:creator>
      <dc:date>2018-09-17T12:10:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to change fontSize capability limits.</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/How-to-change-fontSize-capability-limits/m-p/664481#M1992</link>
      <description>&lt;P&gt;Hi, would you be able to publish the code required to achieve this result please.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to produce a visual for a 55" TV in the office and the max font size of 40 on the card visual just isn't enough.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated!&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2019 14:28:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/How-to-change-fontSize-capability-limits/m-p/664481#M1992</guid>
      <dc:creator>samuelr2019</dc:creator>
      <dc:date>2019-04-08T14:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to change fontSize capability limits.</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/How-to-change-fontSize-capability-limits/m-p/665281#M2002</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please check an April release of PowerBi Desktop that will be delivered soon.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Evgenii Elkin,&lt;BR /&gt;Software Engineer&lt;BR /&gt;Microsoft Power BI Custom Visuals&lt;BR /&gt;pbicvsupport@microsoft.com&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2019 10:44:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/How-to-change-fontSize-capability-limits/m-p/665281#M2002</guid>
      <dc:creator>v-evelk</dc:creator>
      <dc:date>2019-04-09T10:44:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to change fontSize capability limits.</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/How-to-change-fontSize-capability-limits/m-p/670217#M2053</link>
      <description>&lt;P&gt;Thanks Evgenii, I look forward to it!&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2019 15:20:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/How-to-change-fontSize-capability-limits/m-p/670217#M2053</guid>
      <dc:creator>samuelr2019</dc:creator>
      <dc:date>2019-04-15T15:20:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to change fontSize capability limits.</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/How-to-change-fontSize-capability-limits/m-p/670271#M2054</link>
      <description>&lt;P&gt;Btw, you can try&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;type:{ integer: true} in capabilities&lt;/DIV&gt;&lt;DIV&gt;and something like the following:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;PRE&gt;validValues: {
&amp;nbsp; yourFieldName: {
&amp;nbsp; &amp;nbsp; numberRange: {
&amp;nbsp; &amp;nbsp; &amp;nbsp; min: 10,
&amp;nbsp; &amp;nbsp; &amp;nbsp; max: 100
&amp;nbsp; &amp;nbsp;} 
&amp;nbsp; }
}&lt;/PRE&gt;&lt;/DIV&gt;&lt;DIV&gt;Kind Regards,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Evgenii Elkin,&lt;BR /&gt;Software Engineer&lt;BR /&gt;Microsoft Power BI Custom Visuals&lt;BR /&gt;pbicvsupport@microsoft.com&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Mon, 15 Apr 2019 16:24:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/How-to-change-fontSize-capability-limits/m-p/670271#M2054</guid>
      <dc:creator>v-evelk</dc:creator>
      <dc:date>2019-04-15T16:24:44Z</dc:date>
    </item>
  </channel>
</rss>

