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

Summary: [TF90016575] The null points don't seem to work fine, at least with a Line series....
Product: PHP TeeChart Reporter: yeray alonso <yeray>
Component: ChartAssignee: Steema Issue Manager <issuemanager>
Status: RESOLVED FIXED    
Severity: major CC: pep
Priority: Normal    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

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)]