Has anyone had any luck with creating a Polar Series in TeeChart PHP?
I've done it many times in the VCL version, but struggling a bit with the PHP version - will display the data, but no axes or labels.
Alternatively, is there a way of implementing an OnAfterDraw event, and I can put the graphics on myself!
Both Polar Series, and OnAfterDraw events seem a little under-documented in the examples/tutorials!
Kind regards
Mark
Polar Series in PHP
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Polar Series in PHP
Hi Mark,
Thanks in advance.
Can you please add the issue to Steema's bugzilla bug tracking system?amjonas wrote:Has anyone had any luck with creating a Polar Series in TeeChart PHP?
I've done it many times in the VCL version, but struggling a bit with the PHP version - will display the data, but no axes or labels.
The custom drawing should be done directly over the picture generated, after calling the render function. Ie:amjonas wrote: Alternatively, is there a way of implementing an OnAfterDraw event, and I can put the graphics on myself!
Code: Select all
$chart1->render("chart1.png");
$chart1->getChart()->getGraphics3D()->TextOut(10,10,0,"hellooooooooo");
$chart1->getChart()->getGraphics3D()->getBrush()->SetColor(Color::BLUE());
$chart1->getChart()->getGraphics3D()->Rectangle(new Rectangle(10,10,100,100));
$chart1->getChart()->getGraphics3D()->getBrush()->SetColor(Color::RED());
$chart1->getChart()->getGraphics3D()->ellipse(200,200,300,250);
imagepng($chart1->getChart()->getGraphics3d()->img, "chart1.png");
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: Polar Series in PHP
Will do - I'll try and put together an example and some data for you to play with.
Re: Polar Series in PHP
I've still not managed to put anything together to play with - but now have a requirement to do it properly.
Works fine in TeeChart.Javascript/HTML5, but not in TeeChart.php 2015!!
Would someone be able to post up the code (or email me) that created this chart from the All New Steema Website:
or Windrose74 if the link above fails!
That is close to what I want
Kind regards
Mark
Works fine in TeeChart.Javascript/HTML5, but not in TeeChart.php 2015!!
Would someone be able to post up the code (or email me) that created this chart from the All New Steema Website:
or Windrose74 if the link above fails!
That is close to what I want
Kind regards
Mark
Re: Polar Series in PHP
Hello Mark,
The windrose in that image was made with TeeChart .NET, not with TeeChart PHP, and some of Microsoft .NET Framework drawing techniques are not available in the other frameworks.
We'll try to prepare a similar example in TeeChart PHP.
The windrose in that image was made with TeeChart .NET, not with TeeChart PHP, and some of Microsoft .NET Framework drawing techniques are not available in the other frameworks.
We'll try to prepare a similar example in TeeChart PHP.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Polar Series in PHP
Hello again,
New Polar Series style added to the TeeChart for PHP (source code) version: I'll send you the modified TeeChart PHP sources that include that new style and a demo using it.Yeray wrote:We'll try to prepare a similar example in TeeChart PHP.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |