<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									SVG control development. - Technical questions				            </title>
            <link>https://www.indi-an.com/en/community/technical-questions/svg-control-development/</link>
            <description>Indi.An Germany Discussion Board</description>
            <language>en-US</language>
            <lastbuilddate>Sun, 18 Oct 2026 04:07:18 +0000</lastbuilddate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: SVG control development.</title>
                        <link>https://www.indi-an.com/en/community/technical-questions/svg-control-development/#post-197</link>
                        <pubdate>Mon, 17 Feb 2025 14:03:15 +0000</pubdate>
                        <description><![CDATA[First of all: I am not an employee at Indi-an, I am “only” a (heavy) user.
 
The condition element is like a case function.(I have just read it too).

An condition element without any at...]]></description>
                        <content:encoded><![CDATA[<p>First of all: I am not an employee at Indi-an, I am “only” a (heavy) user.</p>
<p> </p>
<p>The condition element is like a case function.<br /><br />(I have just read it too).</p>
<blockquote>
<p>An<span> </span><code>condition</code><span> </span>element without any attribute also serves as an<span> </span><em>else case</em>. However, as no<span> </span><code>output<span> </span></code>is defined here, the input value remains unchanged.</p>
<p>It should be noted that all conditions are processed from top to bottom. As soon as a condition is fulfilled, the following conditions are not even checked.</p>
<p>This example would therefore result in<span> </span><code>rgb(170, 170, 170)<span> </span></code>always being written, even if the input value is<span> </span><strong>True</strong>:</p>
</blockquote>
<p><br />The first fulfilled condition is always executed and the rest is ignored.</p>
<p><a href="https://docs.quickhmi.com/en/dokumentation/svg-controls/adding-actions-and-properties/#element-condition" target="_blank" rel="noopener">https://docs.quickhmi.com/en/dokumentation/svg-controls/adding-actions-and-properties/#element-condition</a></p>
<p> </p>
<pre contenteditable="false">&lt;svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" style="height: 100vh;width: 100vw;"&gt;
	&lt;qhmi&gt;
		&lt;property name="Input Value" datatype="Int16" defaultvalue="1" id="1"&gt;
			&lt;target element="Circle" selector="style" type="Attribute"&gt;
        		&lt;condition gt="666" output="fill: red" /&gt;
        		&lt;condition gt="333" output="fill: yellow" /&gt;
        		&lt;condition gt="0" output="fill: orange" /&gt;
        		&lt;condition output="fill: green" /&gt;
      		&lt;/target&gt;
		&lt;/property&gt;
	&lt;/qhmi&gt;
	&lt;circle class="Circle" style="fill: green; " cx="50" cy="50" r="49"&gt;&lt;/circle&gt;
&lt;/svg&gt;</pre>
<p> </p>
<p> </p>
<p>Now the code is also more compact and clearer. <br /><br />I have just found a small bug in the SVG editor.<br /><br />When editing the conditions / defaultvalue, the color in the preview is not always updated. To see changes, you have to click once on another SVG and then back. I'll open a ticket for this right away.</p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>]]></content:encoded>
						                            <category domain="https://www.indi-an.com/en/community/technical-questions/">Technical questions</category>                        <dc:creator>MarAlz-RW</dc:creator>
                        <guid ispermalink="true">https://www.indi-an.com/en/community/technical-questions/svg-control-development/#post-197</guid>
                    </item>
				                    <item>
                        <title>RE: SVG control development.</title>
                        <link>https://www.indi-an.com/en/community/technical-questions/svg-control-development/#post-195</link>
                        <pubdate>Sat, 15 Feb 2025 05:29:55 +0000</pubdate>
                        <description><![CDATA[Thanks, The logic you gave was showing 4 circle and making radius=0 if not required. It worked.
I was looking for code in the Condition statement with AND  or something like CASE statement.]]></description>
                        <content:encoded><![CDATA[<p>Thanks, The logic you gave was showing 4 circle and making radius=0 if not required. It worked.</p>
<p>I was looking for code in the Condition statement with AND  or something like CASE statement.</p>]]></content:encoded>
						                            <category domain="https://www.indi-an.com/en/community/technical-questions/">Technical questions</category>                        <dc:creator>manoj.kalekar</dc:creator>
                        <guid ispermalink="true">https://www.indi-an.com/en/community/technical-questions/svg-control-development/#post-195</guid>
                    </item>
				                    <item>
                        <title>RE: SVG control development.</title>
                        <link>https://www.indi-an.com/en/community/technical-questions/svg-control-development/#post-191</link>
                        <pubdate>Thu, 13 Feb 2025 13:19:55 +0000</pubdate>
                        <description><![CDATA[Hi the coder between the &lt; qhmi &gt; &lt; /qhmi&gt; elements is only needed if you want to manipulate the classes in the lower SVG part.I have solved it pragmatically:
You can imagine it...]]></description>
                        <content:encoded><![CDATA[<p>Hi <br /><br />the coder between the &lt; qhmi &gt; &lt; /qhmi&gt; elements is only needed if you want to manipulate the classes in the lower SVG part.<br /><br />I have solved it pragmatically:</p>
<p><br /><br />You can imagine it like a stack of plates that you look at from above:<br /><br />Level 0: Green plate, which always has a diameter of 50 cm.<br /><br />Level 1: Orange plate, which has a diameter of 0.0 cm at a value of 0 and a diameter of 49 cm at a value of over 0.<br /><br />Level 2: Yellow plate, which has a diameter of 0.0 cm for a value of up to 333 and a diameter of 49 cm for a value of over 333.<br /><br />Level 3: Red plate, which has a diameter of 0.0 cm for a value of up to 666 and a diameter of 49 cm for a value of over 666.<br /><br /><br /></p>]]></content:encoded>
						                            <category domain="https://www.indi-an.com/en/community/technical-questions/">Technical questions</category>                        <dc:creator>MarAlz-RW</dc:creator>
                        <guid ispermalink="true">https://www.indi-an.com/en/community/technical-questions/svg-control-development/#post-191</guid>
                    </item>
				                    <item>
                        <title>RE: SVG control development.</title>
                        <link>https://www.indi-an.com/en/community/technical-questions/svg-control-development/#post-190</link>
                        <pubdate>Thu, 13 Feb 2025 09:59:00 +0000</pubdate>
                        <description><![CDATA[Perfect..it works.
how did the code work when class greenCircle was not defined.]]></description>
                        <content:encoded><![CDATA[<p>Perfect..it works.</p>
<p>how did the code work when class greenCircle was not defined.  </p>]]></content:encoded>
						                            <category domain="https://www.indi-an.com/en/community/technical-questions/">Technical questions</category>                        <dc:creator>manoj.kalekar</dc:creator>
                        <guid ispermalink="true">https://www.indi-an.com/en/community/technical-questions/svg-control-development/#post-190</guid>
                    </item>
				                    <item>
                        <title>RE: SVG control development.</title>
                        <link>https://www.indi-an.com/en/community/technical-questions/svg-control-development/#post-184</link>
                        <pubdate>Mon, 10 Feb 2025 14:25:53 +0000</pubdate>
                        <description><![CDATA[Pragmatisch:
 
&lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; viewBox=&quot;0 0 100 100&quot; style=&quot;height: 100vh;width: 100vw;&quot;&gt;
	&lt;qhmi&gt;
		&lt;property name=&quot;Input Value&quot; datatype=&quot;Int16&quot; d...]]></description>
                        <content:encoded><![CDATA[<p>Pragmatisch:</p>
<p> </p>
<pre contenteditable="false">&lt;svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" style="height: 100vh;width: 100vw;"&gt;
	&lt;qhmi&gt;
		&lt;property name="Input Value" datatype="Int16" defaultvalue="667" id="1"&gt;
			&lt;!-- Orangener Kreis, der bei &gt;0 eingeblendet wird. --&gt;
			&lt;target element="orangeCircle" selector="r" type="Attribute"&gt;
				&lt;condition gt="0" output="49" /&gt;
				&lt;condition output="0" /&gt;
			&lt;/target&gt;
			&lt;!-- Gelber Kreis, der bei &gt;333 eingeblendet wird. --&gt;
			&lt;target element="yellowCircle" selector="r" type="Attribute"&gt;
				&lt;condition gt="333" output="49" /&gt;
				&lt;condition output="0" /&gt;
			&lt;/target&gt;
			&lt;!-- Roter Kreis, der bei &gt;666 eingeblendet wird. --&gt;
			&lt;target element="redCircle" selector="r" type="Attribute"&gt;
				&lt;condition gt="666" output="49" /&gt;
				&lt;condition output="0" /&gt;
			&lt;/target&gt;
		&lt;/property&gt;
	&lt;/qhmi&gt;
  
&lt;circle class="greenCircle" style="fill: green; " cx="50" cy="50" r="49"&gt;&lt;/circle&gt;
&lt;circle class="orangeCircle" style="fill: orange; " cx="50" cy="50" r="49"&gt;&lt;/circle&gt;
&lt;circle class="yellowCircle" style="fill: yellow; " cx="50" cy="50" r="49"&gt;&lt;/circle&gt;
&lt;circle class="redCircle" style="fill: red; " cx="50" cy="50" r="49"&gt;&lt;/circle&gt;
&lt;/svg&gt;</pre>]]></content:encoded>
						                            <category domain="https://www.indi-an.com/en/community/technical-questions/">Technical questions</category>                        <dc:creator>MarAlz-RW</dc:creator>
                        <guid ispermalink="true">https://www.indi-an.com/en/community/technical-questions/svg-control-development/#post-184</guid>
                    </item>
				                    <item>
                        <title>SVG control development.</title>
                        <link>https://www.indi-an.com/en/community/technical-questions/svg-control-development/#post-181</link>
                        <pubdate>Thu, 06 Feb 2025 05:05:26 +0000</pubdate>
                        <description><![CDATA[To avoid rewriting multiple conditions for same type of control,  I would like to have SVG control which has a Circle and the fill color will depend on the value provided.
Based on the valu...]]></description>
                        <content:encoded><![CDATA[<p>To avoid rewriting multiple conditions for same type of control,  I would like to have SVG control which has a Circle and the fill color will depend on the value provided.</p>
<p>Based on the value within a range,  color to be set.  E.g.  </p>
<p>0 &gt; Green Color</p>
<p>1-333 &gt; Orange color</p>
<p>334-666 &gt; Yellow color</p>
<p>667-1000 &gt; RED color</p>
<p>In the SVG code, I did not see option of checking the range of value in CONDITION. Require help in this area.</p>]]></content:encoded>
						                            <category domain="https://www.indi-an.com/en/community/technical-questions/">Technical questions</category>                        <dc:creator>manoj.kalekar</dc:creator>
                        <guid ispermalink="true">https://www.indi-an.com/en/community/technical-questions/svg-control-development/#post-181</guid>
                    </item>
							        </channel>
        </rss>