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 409 - [TF90016575] The null points don't seem to work fine, at least with a Line series....
Summary: [TF90016575] The null points don't seem to work fine, at least with a Line se...
Status: RESOLVED FIXED
Alias: None
Product: PHP TeeChart
Classification: Unclassified
Component: Chart (show other bugs)
Version: unspecified
Hardware: All All
: Normal major
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-17 12:41 EDT by yeray alonso
Modified: 2013-11-27 04:43 EST (History)
1 user (show)

See Also:
Chart Series: ---
Delphi / C++ Builder RAD IDE Version:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description yeray alonso 2013-11-20 12:03:10 EST
The null points don't seem to work fine, at least with a Line series.
With the code below, the null point (valueIndex=5) is still drawn, both the predecessor, the successor line segments and the pointer. Only the predecessor line segment is drawn in black instead of using the series color.
    $chart = new TChart(700,500);    
    $chart->getAspect()->setView3D(false);
    $line = new Line($chart->getChart());
    $line->getPointer()->setVisible(true);
    $line->fillSampleValues(10);
    $line->setNull(5);
    $chart->render();  
If I set a bigger pen width (min 2), the predeccessor black line segment isn't drawn, but still the pointer and the successor.
    $line->getLinePen()->setWidth(2);
********
Null points don't work for Points series either:
    $chart = new TChart(700,500);    
    $chart->getAspect()->setView3D(false);
    $points = new Points($chart->getChart());
    $points->fillSampleValues(10);
    $points->setNull(5);
    $chart->render();  [created:2013-05-17T11:41:26.000+01:00 reported by:yeray@steema.com reported in version:TeeChart for PHP 2012.02 (TeeChart PHP)]