I'm attempting to add text to a chart to show the coefficient of determination, i.e., R^2 = 0.95. Obviously, I need a superscript for this. I'm adding this using the following code:
Code: Select all
Chart.Canvas.TextOut(125, 140, '<b>R<sup>2</sup> = 0.95</b>', TRUE);
I'm using the newest source code version of TeeChart Pro VCL FMX 2017.22 with Delphi 10 Seattle and Firemonkey.
Can you please advise how I can fix this problem?
Best regards,
James