Multiple series visual bug

TeeChart for PHP
Post Reply
tgrubb
Newbie
Newbie
Posts: 6
Joined: Tue Mar 16, 2010 12:00 am

Multiple series visual bug

Post by tgrubb » Fri Apr 16, 2010 8:30 pm

Hi,
I am attempting to add 2+ area series to a chart. It works, but unfortunately, there is a visual bug. First, the chart is displaying in 3D. The series that is in the back has its front face drawn at the same depth as the series in the front (like someone has separated the front from rest of the area chart). (Unfortunately, my web site is still on the internal network so I cannot show you the visual bug). Has this bug been reported? Is there a work-around? I have the source if that helps.

Regards,
Tom

Yeray
Site Admin
Site Admin
Posts: 9509
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Multiple series visual bug

Post by Yeray » Wed Apr 21, 2010 9:45 am

Hi Tom,

I've tried with the following simple code and I can't see the visual problem you mention.

Code: Select all

<?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<4;$i++)
{
    $area1 = new Area($chart->getChart());
    $area1->fillSampleValues(20);
}
$chart->getChart()->getExport()->getImage()->getPNG()->save($imagefilename); 
$chart->render("chart1.png");
$rand=rand();
print 'Testing Chart<p>';
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>
Here is what I'm getting. Isn't it the same result for you?
chart1.png
chart1.png (57.37 KiB) Viewed 31244 times
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

tgrubb
Newbie
Newbie
Posts: 6
Joined: Tue Mar 16, 2010 12:00 am

Re: Multiple series visual bug

Post by tgrubb » Mon Jun 07, 2010 9:26 pm

Hi Yeray Alonso,
First, sorry for taking so long to reply... got called off on another project.

I think I found the problem. It looks like the error may only occur with Stairs = true. If setStairs is false, I see no problem. Could you try your code with
$area_chart->setStairs(true);

Thanks,
Tom

Yeray
Site Admin
Site Admin
Posts: 9509
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Multiple series visual bug

Post by Yeray » Wed Jun 09, 2010 10:04 am

Hi Tom,

Yes, you are right. I could reproduce it so I've added it to the defect list to be fixed in future releases (TF90014953).
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

tgrubb
Newbie
Newbie
Posts: 6
Joined: Tue Mar 16, 2010 12:00 am

Re: Multiple series visual bug

Post by tgrubb » Wed Jun 09, 2010 1:09 pm

Hi Yeray,
Thanks for confirming it. I am glad to see it should be fixed whenever the next release occurs.
Regards,
Tom

Yeray
Site Admin
Site Admin
Posts: 9509
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Multiple series visual bug

Post by Yeray » Wed Jun 09, 2010 1:54 pm

Hi Tom,

I can't ensure that this will be fixed in the next release. The bugs, enhancements and feature requests are identified and classified, but their final implementation depends on other factors such as the complexity of the problem, the study of the possible collateral damages,...

I recommend you to be aware at this forum or subscribe to our RSS news feed for new release announcements and what's implemented on them.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply