![]() | Steema Issues DatabaseNote: 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. |
| Summary: | Stacked Bars with mixed negative and positive values give wrong Clicked results | ||
|---|---|---|---|
| Product: | VCL TeeChart | Reporter: | yeray alonso <yeray> |
| Component: | Series | Assignee: | yeray alonso <yeray> |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | CC: | yeray |
| Priority: | --- | ||
| Version: | 33.210915 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| Chart Series: | --- | Delphi / C++ Builder RAD IDE Version: | |
Example: procedure TForm1.ClickStackedBars; var i: Integer; begin Chart1.View3D:=True; Chart1.Legend.Show; for i:=0 to 2 do begin with TBarSeries(Chart1.AddSeries(TBarSeries)) do begin MultiBar:=mbStacked; Marks.Hide; if i=0 then AddArray([20,-10,30]) else if i=1 then AddArray([-10,20,-50]) else AddArray([20,10,10]); end; end; Chart1[0].Title:='Blue'; Chart1[1].Title:='Orange'; Chart1[2].Title:='Red'; TMarksTipTool(Chart1.Tools.Add(TMarksTipTool)).Style:=smsSeriesTitle; end;