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 415

Summary: [TF90014953] If you have two or more area series with stairs, all the areas in the...
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:28 EST
If you have two or more area series with stairs, all the areas in the rear (Z=1, Z=1,...) draw their face in Z=0, not in the correct place.
See the example:
<?php
include "J:/root/TeeChart PHP/Version 1/sources/TChart.php";
$chart = new TChart(500,500);
$imagefilename = "C:/tmp/test.png";
for ($i=0;$i<3;$i++)
{
    $area1 = new Area($chart->getChart());
    $area1->setStairs(true);
    $area1->fillSampleValues(20);
}
$chart->getChart()->getExport()->getImage()->getPNG()->save($imagefilename); 
$chart->render("chart1.png");
$rand=rand();
print 'Testing Chart
';
print '<img src="chart1.png?rand='.$rand.'">';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <title>Testing Chart</title>
  <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-15" />
</head>
<body>
</body>
</html>
Forum topic:
http://www.teechart.net/support/viewtopic.php?f=11&t=10986&view=unread#unread [created:2010-06-09T11:57:48.000+01:00 reported by:yeray@steema.com reported in version:TeeChart for PHP 1.0 (TeeChart PHP)]
Comment 1 pep jorge 2015-09-15 05:24:14 EDT
Fixed.