In fact, I work with a TDBChart and in the table,
I have a field MOIS (integer) and
I would put this label in clear at runtime :
Here is the code :
Code: Select all
--
--
const
LibelMois: array[1..12] of string = ('janvier', 'février', 'mars', 'avril',
'mai', 'juin', 'juillet', 'août', 'septembre', 'octobre', 'novembre', 'décembre');
--
Chart1[0].XLabelsSource := LibelMois[StrToInt('MOIS')];
--
--
Is there any solution to solve this concern avoiding the calculated field ?
Thank you very much for your help
Didou