Reputation: 1256
Does TChart lite component included in RAD Studio XE4 environment support GDI+ rendering or not ? Feature matrix doesnt tak about it.
http://www.steema.com/featurematrix/vcl
Searching in installation directory I found file VCLTee.TeeGDIPlus.hpp containing declaration of class TGDIPlusCanvas.
If yes then how to enable it ?
Upvotes: 0
Views: 397
Reputation: 5039
To activate GDIPlus in C++Builder applications, add the header to the .h:
#include <VclTee.TeeGDIPlus.hpp>
And then create the Canvas directly:
Chart1->Canvas = new TGDIPlusCanvas();
or through a variable:
TGDIPlusCanvas *myGDIPlus = new TGDIPlusCanvas();
Chart1->Canvas = myGDIPlus;
Upvotes: 2