Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 2211

Summary: BaseLine overlapping Bubble3D when using logarithmic vertical axis
Product: VCL TeeChart Reporter: yeray alonso <yeray>
Component: SeriesAssignee: Steema Issue Manager <issuemanager>
Status: CONFIRMED ---    
Severity: enhancement    
Priority: ---    
Version: 26.181203   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description yeray alonso 2019-07-16 04:48:38 EDT
Having a TBubble3DSeries with BaseLine visible, if you set the vertical axis as logarithmic, the base lines are drawn on top of the bubbles.

procedure TForm1.FormCreate(Sender: TObject);
var i: Integer;
begin
  Chart1.Chart3DPercent:=100;
  Chart1.Aspect.Zoom:=70;
  Chart1.Aspect.Orthogonal:=False;
  Chart1.Hover.Visible:=False;
  Chart1.Axes.Left.Logarithmic:=True;

  Chart1.Legend.Hide;

  with TBubble3DSeries(Chart1.AddSeries(TBubble3DSeries)) do
  begin
    FillSampleValues(10);

    for i:=0 to Count-1 do
      if YValues[i]-RadiusValues[i] < 0 then
         YValue[i]:=YValues[i]+RadiusValues[i];

    LinePen.Hide;
    BaseLine.Show;
  end;

  Chart1.Draw;
end;