I get multiplied curve on negative limits lazarus / 55-TAChart ---------------------------------------------------------------------- dnota · 2015-12-03 09:57 Hi all, I´m again with my multiple y-axex application, and now, I find another problem, I think that is TAChart problem, but, maybe you can help me. I have an application who load from database several chartlists with different max and min limits, but, when I get a negative limit value, I get a plot for this curve I get the curve painted in triplicate, but if I change the limit to 0 or I deactivate scaling, I get a correct plot. Any idea? Thank you. ---------------------------------------------------------------------- wp · 2015-12-03 11:23 Issues like this are difficult to come by without any more details or code. It would be best if you would create a simple (compilable!) demo which shows the issue and which you upload here (only .lfm, .pas, .lpi and .lpr files packed into a single zip). And please remove unnecessary components from the from, it will just be confusing me. And give instructions what to do to reproduce the error. ---------------------------------------------------------------------- dnota · 2015-12-10 10:25 Sorry, but I have other stuff at work and I could not write until today. Here Is an example with the same problem, if you push the button, the min limit from one of the curves changes between -10 and 0, when is 0, everything is ok, but when -10 comes up, I get my multiplied curve, in this example only duplicate, but In the original application I get it tripled most of the time. Thx ---------------------------------------------------------------------- wp · 2015-12-11 15:47 OK, found something: Why do you change the YCount of the ListSource assigned to each series? In a normal line/bar/area series there is no need to change this value (except for some special cases like multiple bar charts). The YCount indicates how many y data values are assigned to each data point. That's the reason why you add a data point to the series by simply calling AddXY(x, y) - with a single y value. In a TOpenHighLowCloseSeries, on the other hand, each data point would requires four y values, each of them with a particular meaning. Please read the documentation: Multi-valued-source and multi-value series. The problem is that if you set YCount to anything > 1 you MUST provide additional y values by calling AddXYList in case of the source ("ListSource.AddXYList(x, [y1, y2, y3, ...])") or an overloaded AddXY with an additional array parameter in case of the series ("LineSeries.AddXY(x, y1, [y2, y3, ...])" which you don't. With no data, the result is unpredictable - I did not investigate why series duplication occurs only after changing the axis range. If I reset the YCount in list2, list3, list4 to 1 everything works fine.