I am trying to use the pchart package (over php) to build (and directly display) graphs/charts.
At this time, I am just trying to run their provided example (Example1.php
), where I just have replaced the final:
$Test->Render("example1.png");
tarafından
$Test->Stroke();
But When I do this, I get:" The image cannot be displayed because it contains errors" on the browser.
If I leave the original $Test->Render(...)
the generated image is OK. (but not sent)
I have read that there is (was?) an issue with mozilla/Firefox browsers regarding images being required twice and the REFER URL, but when I browse at the pchart home page, I can use their "sanboxes" and get the result of my tests directly displayed on my browser (http://pchart.sourceforge.net/demo.php). ... So their must be a way (or a nice work around) to send the generated graphs directely to the browser successfuly.
Cevabınız görüntü oluşturmak için ise (yani Render kullanın) ve daha sonra daha sonra gönderin, lütfen ama bunu nasıl doğru (nasıl izinleri, otomatik olarak oluşturulan dosyaları yok yok ...)
Ben bu yeni duyuyorum, üzgünüm avans bariz eğer ... ;-)