TAChart x-axis lazarus / 55-TAChart ---------------------------------------------------------------------- HappyLarry · 2013-02-05 11:39 I have a simple bar chart of programming language popularity with   With Chart1BarSeries1 do   begin        AddXY(0,3,'VB',clLime);        AddXY(1,14,'Lazarus',clBlue);        AddXY(2,3,'C',clGreen);        AddXY(3,2,'Java',clYellow);        AddXY(4,7,'Delphi',clPurple);        AddXY(5,4,'BASIC',clRed);   end; This means VB has 3 votes, Lazarus has 14 votes etc. How can I make the words 'VB','Lazarus'... etc appear along the x-axis instead of 0, 1, 2, 3, 4, 5, 6 ? ---------------------------------------------------------------------- wp · 2013-02-05 12:12 I don't know if there is an easier way, but that's how it works for me: The x axis is labelled by strings from an external chart source. Unfortunately you cannot use the internal source of the series also on the x axis. But it you can use a separate ListChartSource instead. - Add a TListChartSource to the form. - Add your data to the ListChartSource by calling     with ListChartSource1 do begin       Add(0, 0, 'VB', clLime);       Add(1, 14, 'Lazarus, clBlue);       ...     end; - Set the BarSeries's Source to ListChartSource1 - now the data are available for the series. - To the show the texts as axis labels set the BottomAxis.Marks.Source to ListChartSource1 as well, and set its Style to smsLabel. ---------------------------------------------------------------------- Ask · 2013-02-05 12:53 Quoteyou cannot use the internal source of the series also on the x axisTechnically, you can, but only at run-time. ---------------------------------------------------------------------- HappyLarry · 2013-02-06 07:50 Thanks wp - it works perfectly. Just a small clarification - set the Chart1.BottomAxis.Marks.Source to ListChartSource1 as well. ---------------------------------------------------------------------- itru · 2015-10-05 19:42 what is  the   corresponding   AdY(Teechart Delphi)   in TA chart ? Just  X-Axis Labeling ---------------------------------------------------------------------- wp · 2015-10-05 20:15 You mean this? Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i   function TChartSeries.AddY(AY: Double; ALabel: String = ''; AColor: TColor = clTAColor): Integer;