| | |
JPGraph+Help
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Thread Solved |
Am gettin an error msg like this-->
The image “http://localhost/linegrph.php” cannot be displayed, because it contains errors.
while tryin 2 run my code on localhost..
Wen I comment d statemnt, $graph->Stroke(), nthng at all displys..
Plseeee do tell me a solution..
Thnks in advance
The image “http://localhost/linegrph.php” cannot be displayed, because it contains errors.
while tryin 2 run my code on localhost..
Wen I comment d statemnt, $graph->Stroke(), nthng at all displys..
Plseeee do tell me a solution..
Thnks in advance
What error messages are you getting? Can you post them on here.
If my post is useful please add to my reputation.
Thanks.
Ajtrichards Web Solutions | http://www.ajtrichards.co.uk
Retenovate | http://www.retenovate.com
Thanks.
Ajtrichards Web Solutions | http://www.ajtrichards.co.uk
Retenovate | http://www.retenovate.com
As I postd earlier, this is d error msg am getting..
The image “http://localhost/filename.php” cannot be displayed, because it contains errors.
The image “http://localhost/filename.php” cannot be displayed, because it contains errors.
This is d sample pgm I hav taken frm d tutorials..
<?php
include ("jpgraph.php" );
include ("jpgraph_line.php");
// Some data
$ydata=array(11,3, 8,12,5 ,1,9, 13,5,7 );
// Create the graph. These two calls are always required
$graph=new Graph(350, 250,"auto");
$graph->SetScale("textlin");
// Create the linear plot
$lineplot=new LinePlot($ydata);
$lineplot->SetColor("blue");
// Add the plot to the graph
$graph->Add($lineplot);
// Display the graph
$graph->Stroke();
?>
<?php
include ("jpgraph.php" );
include ("jpgraph_line.php");
// Some data
$ydata=array(11,3, 8,12,5 ,1,9, 13,5,7 );
// Create the graph. These two calls are always required
$graph=new Graph(350, 250,"auto");
$graph->SetScale("textlin");
// Create the linear plot
$lineplot=new LinePlot($ydata);
$lineplot->SetColor("blue");
// Add the plot to the graph
$graph->Add($lineplot);
// Display the graph
$graph->Stroke();
?>
![]() |
Other Threads in the PHP Forum
- Previous Thread: Continue to url after form submit
- Next Thread: Problem with PHP Search Code....
| Thread Tools | Search this Thread |
# 5.2.10 action address apache api array auto autoincrement beginner binary broken cakephp checkbox class classes cms code cron curl database date dehasher destroy display dissertation domain dynamic echo echo$_get[x]changingitintovariable... email error errorlog fatalerror file files folder form forms function functions google href htaccess html if-else image images include insert ip javascript joomla legislation limit link load login mail masterthesis menu mlm multiple mysql mysqlquery oop open paypal pdf persist php popup problem query radio random record recursion remote script search server sessions sms sockets source space sql syntax system table tutorial update upload url validator variable video web youtube





