Printing TAChart Question lazarus / 55-TAChart ---------------------------------------------------------------------- ProgEd · 2013-03-25 21:56 Okay, I'm back again with yet another question. My application generates the TAChart fine, even with the rotated axis and gets all the labels associated with the data correct. However, when I print the chart, the body of the chart is fine, all the bars are where they should be and the correct length. The axis labels (both X- and Y-Axis) appear to be there, but the font is so small that I cannot read it. I've tried using the .Font.Size function to make it larger, but it appears to have no effect. Any ideas on how I can make the text legible? Thanks, Ed ---------------------------------------------------------------------- wp · 2013-03-25 22:27 Did you try the demo in (lazarusdir)\components\tachart\demo\print? This works fine with me. ---------------------------------------------------------------------- ProgEd · 2013-03-26 01:00 Yes, I did and it worked fine for me as well. My code is based upon that code. That's why I'm somewhat confused. Here's the code I'm using: Code: [Select]   pRect := Rect(iLMargin, iYPos, iRMargin, iPageH- iYPos);    Chart1.Font.Size:=20;    Chart1.Draw(TPrinterDrawer.Create(Printer), pRect);  The "Chart1.Font.Size" is my own attempt to get the font to be readable, but it has no effect at all. Ed ---------------------------------------------------------------------- wp · 2013-03-26 13:22 No idea of what you are doing wrong... Is your chart still at its default settings, i.e. did you change the font sizes of the axes' Marks? I still think there is not need to change the font size because the component should work "out of the box". But changing Chart1.Font is certainly the wrong place to look at - it will not even compile because there is no property TChart.Font. Every text used in the chart has its own font. So, to change the font of the axis labels modify Chart.BottomAxis.Marks.LabelFont or Chart.BottomAxis.Title.Font for the axis title (for the LeftAxis accordingly). ---------------------------------------------------------------------- ProgEd · 2013-03-26 13:37 Okay, by setting the individual axis font sizes the chart printed fine. I suspect the issue has to do with not having the sizes specified and rotating the axis. Thanks for the tip! Ed