Extent of date x-axis lazarus / 55-TAChart ---------------------------------------------------------------------- Adrie · 2012-09-25 10:02 I have a chart with dates as x-axis. The chart is on a form and it looks perfect when shown the first time (see first attachment). When I paint the chart on a print preview form using the PaintOnCanvas procedure, the minimum and maximum on the x-axis are shifted, see second attatchment. When the chart is drawn on the form again, the same happens. I use the extent property of the chart to set the minimum and maximum values, but that has no effect. I tried the same with the ExtentSizeLimit property and the Range property of the axis. No effect. Is this a bug, or have I forgotten something? ---------------------------------------------------------------------- Ask · 2012-09-25 10:10 Which Lazarus version are you using? ---------------------------------------------------------------------- Adrie · 2012-09-25 10:12 1.0, SVN revision 38415. This happens on Windows 32 bits as well as on Kubuntu 12.04 64 bits. ---------------------------------------------------------------------- Ask · 2012-09-25 10:23 Maybe r38571 will help? ---------------------------------------------------------------------- Ask · 2012-09-27 13:27 Adrie, does the fix work for you?