<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Codesys Trend - setting Y axis minimum and maximum as variables - error </title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/aaacb5f068/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/aaacb5f068/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/aaacb5f068/</id><updated>2026-03-22T00:48:05.777000Z</updated><subtitle>Recent posts to Codesys Trend - setting Y axis minimum and maximum as variables - error </subtitle><entry><title>Codesys Trend - setting Y axis minimum and maximum as variables - error </title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/aaacb5f068/?limit=25#7daf" rel="alternate"/><published>2026-03-22T00:48:05.777000Z</published><updated>2026-03-22T00:48:05.777000Z</updated><author><name>hannibal</name><uri>https://forge.codesys.com/u/hannibal/</uri></author><id>https://forge.codesys.come482225e5b8df8c27560254eb0233352a5539ce6</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I am experiencing an issue when trying to define the Y-axis limits in a Trend Graphic using variables. When I set the Minimum and Maximum values as variables, an error is triggered.&lt;/p&gt;
&lt;p&gt;My goal is to make the Y-axis limits dynamic so they can adjust according to the installation. Both variables are initialized as follows:&lt;/p&gt;
&lt;p&gt;gP_YMin = -100.0&lt;br/&gt;
gP_YMax = 100.0&lt;/p&gt;
&lt;p&gt;However, I still get the following error:&lt;/p&gt;
&lt;p&gt;"The minimum axis value must be less than the maximum axis value"&lt;/p&gt;
&lt;p&gt;Does anyone have an idea why this is happening or how to resolve it?&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>