<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Flaoting point placeholders</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/f68eed9472/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Visualization/thread/f68eed9472/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Visualization/thread/f68eed9472/</id><updated>2021-06-11T07:57:20.313000Z</updated><subtitle>Recent posts to Flaoting point placeholders</subtitle><entry><title>Flaoting point placeholders</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/f68eed9472/?limit=25#b600" rel="alternate"/><published>2021-06-11T07:57:20.313000Z</published><updated>2021-06-11T07:57:20.313000Z</updated><author><name>konrad</name><uri>https://forge.codesys.com/u/konrad/</uri></author><id>https://forge.codesys.combe77f745df5542849f58bd67a5819f198137b451</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello there.&lt;/p&gt;
&lt;p&gt;I have a problem with creating proper visualisation of floating point numbers in visualisation. I added a rectangle and followed instructions from documentation:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="c"&gt;%&amp;lt;alignment&amp;gt;&amp;lt;minimum width&amp;gt;.&amp;lt;accuracy&amp;gt;f&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;Let's say I want to display some value (ex. distance) in few rectangles. Rectangles are aligned vertically (one above another) and the text is displayed in the center of each of them. I want to see the text displayed as on the image below.&lt;/p&gt;
&lt;p&gt;&lt;img src="./attachment/img1.png" width="50%"/&gt;&lt;/p&gt;
&lt;p&gt;Below is picture showing what I did to achieve that result. It should make space for three digits of the left of decimal point, but somehow it doesn't work. I don't want to align text to the left of the rectangle, I'd like to have in the middle.&lt;/p&gt;
&lt;p&gt;&lt;img src="./attachment/img2.png" width="50%"/&gt;&lt;/p&gt;
&lt;p&gt;Is there anyone who had the same problem and knows how to deal with this?&lt;/p&gt;
&lt;p&gt;Thanks for help in advance.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>