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 - [TF90014953] If you have two or more area series with stairs, all the areas in the...
Summary: [TF90014953] If you have two or more area series with stairs, all the areas i...
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: 2010-06-09 12:57 EDT by yeray alonso
Modified: 2015-09-15 05:24 EDT (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: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.