![]() | 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: | Some marks aren't drawn for TPieSeries | ||
|---|---|---|---|
| Product: | VCL TeeChart | Reporter: | yeray alonso <yeray> |
| Component: | Series | Assignee: | Steema Issue Manager <issuemanager> |
| Status: | CONFIRMED --- | ||
| Severity: | enhancement | ||
| Priority: | --- | ||
| Version: | 20.170306 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| URL: | http://www.teechart.net/support/viewtopic.php?f=3&t=16396 | ||
| Chart Series: | Pie | Delphi / C++ Builder RAD IDE Version: | |
Under some circumstances, some marks may not be drawn. In the following example, the "Lamps" mark isn't drawn if you draw the chart before setting the OtherSlice.Value (it is drawn if you set it before drawing the chart). Broken since v2015.14. uses Chart, Series; var Chart1: TChart; procedure TForm1.FormCreate(Sender: TObject); begin Chart1:=TChart.Create(Self); Chart1.Parent:=Self; Chart1.Align:=alClient; Chart1.View3D:=False; with Chart1.AddSeries(TPieSeries) as TPieSeries do begin AddPie(100, 'Cars'); AddPie(150, 'Phones'); AddPie(200, 'Tables'); AddPie(250, 'Monitors'); AddPie(300, 'Lamps'); AddPie(350, 'Keyboards'); AddPie(400, 'Bikes'); AddPie(450, 'Chairs'); OtherSlice.Style:=poBelowPercent; Chart1.Draw; OtherSlice.Value:=10; end; end;