How to avoid drawing zero? lazarus / 55-TAChart ---------------------------------------------------------------------- Nicole · 2022-10-17 17:15 attached is a chart. It would be nice, IF.... only_the_spikes_of_it were the chart. In other words: How can I make the chart leave alone all zero values? Yes, I can filter them by code. In Steema-Chart there was a setting anywhere to avoid curves like the attach. Does TAChart know such a magic click as well? ANOTHER perspective of putting / solving it: It is a "weekly" chart. Although, the values need not necessarily coming in the same weekday each week. Is there an option as "take one value of this very time interval"? Thank you for hints. ---------------------------------------------------------------------- wp · 2022-10-17 18:30 Quote from: Nicole on October 17, 2022, 07:15:58 pmIt would be nice, IF.... only_the_spikes_of_it were the chart. In other words: How can I make the chart leave alone all zero values? Yes, I can filter them by code. In Steema-Chart there was a setting anywhere to avoid curves like the attach. Does TAChart know such a magic click as well? Does this mean that there are zero-values between the "spike values"? Simply skip those data points with y=0 and do not add them to the chart - the x values need not be equidistant - and you'll have a smooth curve containing only the "spike values". There is no built-in filter to suppress "unwanted" values. What is "unwanted"? I could imagine that there are applications which would just be the opposite, namely that the interest is in the zero values (are they really zero?), and the "spikes" are unwanted. Quote from: Nicole on October 17, 2022, 07:15:58 pmIt is a "weekly" chart. Although, the values need not necessarily coming in the same weekday each week. Is there an option as "take one value of this very time interval"? This must be in your code. You get the data from some outside source. Before you add them to the chart you must clean them and prepare them in the way you need them. There are so many options, and TAChart cannot consider all of them by built-in features.