I connect chart grid width a tchart. Add some series on the chart.
For each of the series, i give a different title name.
How to set the column width of chart grid, in order to make all the title text can be visible? What if i change the windows text dpi, how to recalculate the column width for different text dpi, text name, etc?
Thank you
TChartGrid column width
Hi Herman,
you can do :
you can do :
Code: Select all
Series1.Title := 'My Title';
chartgrid1.ColWidths[2]:=25+Chart1.Canvas.TextWidth(Series1.Title); // default 25 - for symbol,..
Pep Jorge
http://support.steema.com
http://support.steema.com