Tips and Frequently Asked Questions

Add custom X-axis text programmatically
With the latest version of the TAdvChartView component it is possible to add custom X-Axis text by a new override of the AddSinglePoint method that has a parameter XAxisText.
The sample code snippet here shows how to add a custom numbering as X-axis label text rotated by 40°.
procedure TForm.FormCreate(Sender: TObject);
var
i: integer;
xval: Double;
begin
with AdvChartView1.Panes[0] do
begin
//Set range
Range.RangeFrom := 0;
Range.RangeTo := 100;
Range.MaximumScrollRange := 100;
Range.MinimumScrollRange := 0;
//Set X-Axis size
XAxis.Size := 60;
//Add points with custom X-Axis text
with Series[0] do
begin
ChartType := ctBar;
AutoRange := arEnabledZeroBased;
Color := clBlue;
ColorTo := clSilver;
for I := 0 to 100 do
begin
xval := 144 + (I * 0.2);
AddSinglePoint(RandomRange(20, 100), FloatToStr(xval));
end;
//Rotate text
XAxis.TextBottom.Angle := 40;
//Enabled tickmarks
XAxis.TickMarkColor := clBlack;
end;
end;
Pricing
Single Developer License
Small Team License
Site License
TMS VCL Chart
€ 125
€
70
yearly renewal
license for 1 developer
Includes
check
Full source code
check
Access to the TMS Support Center
check
Free updates and new releases
MOST POPULAR
TMS VCL Subscription
€ 895
€
450
for a 2 year renewal
license for 1 developer
Includes
check
Full source code
check
Access to the TMS Support Center
check
Free updates and new releases
check
TMS VCL Chart
check
All TMS VCL products
more_horiz
Discover more
BEST VALUE
TMS ALL-ACCESS
€ 1,795
€
595
yearly renewal
license for 1 developer
Includes
check
Full source code
check
Access to the TMS Support Center
check
Free updates and new releases
check
TMS VCL Chart
check
All TMS VCL products
check
All TMS products
more_horiz
Discover more
All prices excl. VAT. Renewal price is subject to change and only valid up to 30 days after license has expired. After renewal period a discount price is offered to renew the license.