TAChart - bar width lazarus / 55-TAChart ---------------------------------------------------------------------- faber · 2010-12-12 17:02 Hi, I have problem with setting constant width of bar. As example, that datapoint: Code: [Select]1|1|?|1 2|2|?|2 3|1|?|3 4|2|?|4 7|1|?|7 9|1|?|9 10|1|?|10 11|1|?|11I put to lcsMarks in "Axis DEMO". With that data I will get one bar with different width (attached screenshot). How to get same width on all bars ? that free space over bar 7 is ok. BarWidthPercent probably counts the free space between bars, how to avoid this ? ---------------------------------------------------------------------- faber · 2010-12-12 19:42 Situation is even worse when we have real numbers. It would be great if we have the possibility of setting a fixed width bar that would be the minimum width of bars possible to draw in that case. This is the request for consideration by the ASK ---------------------------------------------------------------------- Ask · 2010-12-13 05:06 I see. Unfortunately, I am very busy right now -- will be able do something about it in a day or two. Meanwhile if you actually have integer X values, but with some missing, you can work around the problem by adding the corresponding points with zero Y value. ---------------------------------------------------------------------- faber · 2010-12-13 12:14 Thanks. I must also take into account the real numbers. For now I patched taseries for themselves but unfortunately my modification is based on a double drawing series. I'll wait for your better patch. ---------------------------------------------------------------------- Ask · 2010-12-15 05:27 Please try r28717, see new BarWidhStyle property ---------------------------------------------------------------------- faber · 2010-12-15 09:07 Works perfectly. BIG THX.