Bar chart pen property lazarus / 55-TAChart ---------------------------------------------------------------------- badmintonfan · 2023-01-23 09:24 I make a bar chart,is there a way to set one of the bars's barpen property like style,color different than others? ---------------------------------------------------------------------- wp · 2023-01-23 10:46 When adding data points to the series you can specify a color for each data point. In case of the bar series this is used as brush color of that individual data point. Applying it to the pen in some kind of automatic way, however, is not possible. Of course, you can custom-draw the bars. A BarSeries has the event onCustomDrawBar: 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 type  TCustomDrawBarEvent = procedure (    ASeries: TBarSeries; ADrawer: IChartDrawer; const ARect: TRect;    APointIndex, AStackIndex: Integer) of object; In the following example the bar with index 5 is painted in green with thick darker border: 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 procedure TForm1.Chart1BarSeries1CustomDrawBar(ASeries: TBarSeries;  ADrawer: IChartDrawer; const ARect: TRect; APointIndex, AStackIndex: Integer);begin  if APointIndex = 5 then  begin    ADrawer.SetBrushColor(clLime);    ADrawer.SetPenParams(psSolid, clGreen, 5);  end else  begin    ADrawer.SetBrushColor(ASeries.BarBrush.Color);    ADrawer.SetPen(ASeries.BarPen);  end;  ADrawer.Rectangle(ARect);end; Note, however, that you are completely left alone here. If you want a 3D-like presentation as in your screenshot you must draw the sides yourself, and you also must take care of the shading of the side- walls.