<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to XY chart display only a portion of a curve</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/72cdca4dbe/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Visualization/thread/72cdca4dbe/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Visualization/thread/72cdca4dbe/</id><updated>2021-03-25T15:31:03.593000Z</updated><subtitle>Recent posts to XY chart display only a portion of a curve</subtitle><entry><title>XY chart display only a portion of a curve</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/72cdca4dbe/?limit=25#0f8e" rel="alternate"/><published>2021-03-25T15:31:03.593000Z</published><updated>2021-03-25T15:31:03.593000Z</updated><author><name>augustaseltva</name><uri>https://forge.codesys.com/u/augustaseltva/</uri></author><id>https://forge.codesys.come9bf83074d03edebfd082c829f1a7aff15a2117a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;As I posted this, I thought of a solution, simply write an IF statement, where you check if the value is equal to zero, if it is, then the x axis max value is determined by the index of the last element before the zeros :)&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>XY chart display only a portion of a curve</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/72cdca4dbe/?limit=25#7ad1" rel="alternate"/><published>2021-03-25T15:11:33.237000Z</published><updated>2021-03-25T15:11:33.237000Z</updated><author><name>augustaseltva</name><uri>https://forge.codesys.com/u/augustaseltva/</uri></author><id>https://forge.codesys.comdcf9be6b6f9c233f671422c1a50248d80130b2fa</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello everyone,&lt;/p&gt;
&lt;p&gt;is there a way when using XY chart, that when a data array elements equal to a specific value, I dont display that section of the curve, or lets say, change the color of it? I have a real datatype array of size 300, and from 0 to 120 element I have normal values, but from 121 to 299 I have zeros, hence I dont want to display that portion. Think of it as a trace :) I've attached a screenshot below.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>