<?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 Variable Format Options for Custom Visual in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Variable-Format-Options-for-Custom-Visual/m-p/642157#M18773</link>
    <description>&lt;P&gt;I am trying to develop a custom visual with a variable number of format options.&lt;/P&gt;&lt;P&gt;The visual is a gauge with a user-defined number of colored bands.&amp;nbsp; The user should be prompted to enter an integer to define the number of colored bands/ranges in the guage, followed by that number of color-picker fields.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;e.g.&lt;/P&gt;&lt;P&gt;Number of Ranges: 3&lt;/P&gt;&lt;P&gt;Color 1: ???&lt;/P&gt;&lt;P&gt;Color 2: ???&lt;/P&gt;&lt;P&gt;Color 3: ???&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;Number of Ranges: 2&lt;/P&gt;&lt;P&gt;Color 1: ???&lt;/P&gt;&lt;P&gt;Color 2: ???&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How does the object/dataPoint/properties get defined to specify the variable number of Color properties?&lt;/P&gt;&lt;P&gt;(See blue code below)&lt;/P&gt;&lt;PRE&gt;    "objects": {
        "dataPoint": {
            "displayName": "Data colors",
            "properties": {
                "ranges": {
                    "displayName": "Number of Ranges",
                    "type": {
                        "numeric": true
                    }
                },
&lt;FONT color="#0000FF"&gt;                "colors": {
                    "displayName": "Color &amp;lt;x&amp;gt;",
                    "type": {
                        "fill": {
                            "solid": {
                                "color": true
                            }
                        }
                    }
                }&lt;BR /&gt;&lt;/FONT&gt;            }
        }
    },&lt;/PRE&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
    <pubDate>Tue, 12 Mar 2019 17:50:54 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-03-12T17:50:54Z</dc:date>
    <item>
      <title>Variable Format Options for Custom Visual</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Variable-Format-Options-for-Custom-Visual/m-p/642157#M18773</link>
      <description>&lt;P&gt;I am trying to develop a custom visual with a variable number of format options.&lt;/P&gt;&lt;P&gt;The visual is a gauge with a user-defined number of colored bands.&amp;nbsp; The user should be prompted to enter an integer to define the number of colored bands/ranges in the guage, followed by that number of color-picker fields.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;e.g.&lt;/P&gt;&lt;P&gt;Number of Ranges: 3&lt;/P&gt;&lt;P&gt;Color 1: ???&lt;/P&gt;&lt;P&gt;Color 2: ???&lt;/P&gt;&lt;P&gt;Color 3: ???&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;Number of Ranges: 2&lt;/P&gt;&lt;P&gt;Color 1: ???&lt;/P&gt;&lt;P&gt;Color 2: ???&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How does the object/dataPoint/properties get defined to specify the variable number of Color properties?&lt;/P&gt;&lt;P&gt;(See blue code below)&lt;/P&gt;&lt;PRE&gt;    "objects": {
        "dataPoint": {
            "displayName": "Data colors",
            "properties": {
                "ranges": {
                    "displayName": "Number of Ranges",
                    "type": {
                        "numeric": true
                    }
                },
&lt;FONT color="#0000FF"&gt;                "colors": {
                    "displayName": "Color &amp;lt;x&amp;gt;",
                    "type": {
                        "fill": {
                            "solid": {
                                "color": true
                            }
                        }
                    }
                }&lt;BR /&gt;&lt;/FONT&gt;            }
        }
    },&lt;/PRE&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 17:50:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Variable-Format-Options-for-Custom-Visual/m-p/642157#M18773</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-12T17:50:54Z</dc:date>
    </item>
  </channel>
</rss>

