When ShowLabel state of chart grid is on, I want to change the "Text" to different name. How?
And how to write the text column area?i want to copy the content of xvalues of a series into that area.
Thank you
Herman
TChartGrid when ShowLabel is on
Hi, Herman.
The "Text" string is taken from the TeeConst.pas, the TEEMSG_TEXT variable (default value for English = "Text"). To change this, all you have to do is use the following:I want to change the "Text" to different name
Code: Select all
Uses ..., TeeConst;
TeeConst.TEEMSG_TEXT := 'Blah-blah';
You'll have to use several tChartGrid events to draw text directly on it's Canvas. Please check the TeeChartGrid.pas unit to learn more about how this is coded.And how to write the text column area?
Marjan Slatinek,
http://www.steema.com
http://www.steema.com