[SOLVED] Delete smsLabel value from series point lazarus / 55-TAChart ---------------------------------------------------------------------- tudi_x · 2016-05-24 15:54 Hi! I am trying to have an smsLabel value only when there is an axis generation. From the chart attached I would not like to have the labels where arrows plotted. The ox axis is populated using a TListChartSource. Would it be possible that the series points are edited and the smsLabel value is not displayed? 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  for i := 0 to line_series.Count - 1 do  begin    val_in_ox_list := False;    for j := 0 to Length(_points_info) - 1 do  //_points_info holds the ox axis points    begin      if line_series.GetXValue(i) = _points_info[j] then      begin        val_in_ox_list := True;        break;      end;    end;     if not val_in_ox_list then    begin       //Delete Label    end;  end;       Thank you. ---------------------------------------------------------------------- wp · 2016-05-24 16:30 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 uses  Math;const  EPS = 1e-8;... for i := 0 to line_series.Count - 1 do  begin    line_series.SetText(i, '');  // Erase label    for j := 0 to Length(_points_info) - 1 do  //_points_info holds the ox axis points  begin//      if line_series.GetXValue(i) = _points_info[j] then  // floating point comparison may go wrong due to round-off errors      if SameValue(line_series.GetXValue(i), _points_info[j], EPS) then      begin        line_series.SetText(i, Format('%.0f', [line_series.GetYValue(i)]));  // set y value as label        break;    end;    end;  end; ---------------------------------------------------------------------- tudi_x · 2016-05-24 17:02 Thank you very much wp!