![]() | 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: | AddNull(); or AddNullXY() series method for TPolarSeries does not work properly | ||
|---|---|---|---|
| Product: | VCL TeeChart | Reporter: | dmo <dmo9999> |
| Component: | Series | Assignee: | Steema Issue Manager <issuemanager> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | david, narcis |
| Priority: | --- | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| Chart Series: | --- | Delphi / C++ Builder RAD IDE Version: | |
| Attachments: |
code snippet
Polar AddNullXY example |
||
*** Bug 908 has been marked as a duplicate of this bug. *** Created attachment 287 [details]
Polar AddNullXY example
Code below adds a point at 0, 40 where the null value should be at 40,40.
procedure TForm1.FormCreate(Sender: TObject);
begin
Series1.AddPolar(20, 20);
Series1.AddPolar(30, 30);
Series1.AddNullXY(40, 40);
Series1.AddPolar(50, 50);
Series1.AddPolar(60, 60);
end;
Two notes: 1) For Polar, AddNull and AddNullXY aren't working correctly because the AngleValue[] array is not filled, and its always 0 (angle zero). Polar has X,Y and Angle values, and currently AddNull or AddNullXY only set X and Y, but not the Angle. This is now fixed. 2) Currently, the default value for TreatNulls property in Polar series is: "tnIgnore". (ie: By default Polar does not consider null points). This is going to be fixed too, and TreatNulls will be tnSkip by default like in Line and other series. Note: The item 2 above (default TreatNulls will no longer be "tnIgnore") will also be changed for Smith series due to class inheritance from TCustomCircledSeries. Fixed. |
Created attachment 281 [details] code snippet The delivered help file states the AddNull()/AddNullXY() methods should work like a 'pen up' function (my words). It works fine for the TLineSeries. It does NOT work for the TPolarSeries. I apologize for not including a small demonstration project, but I work in a secure environment on a closed network (no internet access). It is very difficult to transfer any digital data from this network. Attached is a simple demonstration code snippet I believe you will find sufficient to demonstrate the problem.