9. Using the JpGraph cache system · . K. Why it is not possible to add a SVG backend to JpGraph · K External JpGraph tutorial; Draw graph in PHP with JpGraph. -Software requirement in this tutorial 1) XAMPP. See this post if you don’t know how to install XAMPP. The first step would be to download the JPGraph include files. If you don’t have one, refer to my previous tutorial “GD library” which will help you in setting up.

Author: Zurisar Bakazahn
Country: Turkmenistan
Language: English (Spanish)
Genre: Love
Published (Last): 22 November 2015
Pages: 176
PDF File Size: 19.18 Mb
ePub File Size: 18.6 Mb
ISBN: 557-3-26432-896-1
Downloads: 7017
Price: Free* [*Free Regsitration Required]
Uploader: Meztizil

Any help is appriciated. Here is my conde.

OK, so you’re just getting a single value from the DB. You don’t need a while loop for this.

JpGraph – Most powerful PHP-driven charts

Are you sure that you’re getting data from the db? Well, thanks for the info.


I changed it a lil bit now and I am a getting: So it looks more organized and presentable. With that much space it’s hard to figure out rather it’s a white space issue that causing the problem.

Plotting data from a MySQL database using jpgraph

Regarding about the close bracket: Well, my teacher was a little bit weird alyways leaving tons of spaces between each line so I kinda picked it up, I know sometimes is annoying.

Yeah, thanks for pointing the bracket out. I closed it and I get an error “Image cannot be displayed because it contains errors”. The solution is to disable output-buffering tuorial You are convinced that Your code is without any problem. On a develpment server it jpgfaph recommended to always have output buffering disabled.

Hello, thank tuyorial for your response. Well, I am just getting an error “The image cannot be dispalyed, because it contains errors. SQLpower Well, I am just getting an error “The image cannot be dispalyed, because it contains errors.


Creating JPGraph with PHP + MySQL

SQLpower Well, thanks for the info. Edited 6 Years Ago by LastMitch: Still doesn’t work, grr. Same error – contains errors.

SQLpower Still doesn’t work, grr. May I ask you a question? Why is your code that spacey? You can read more about it here: So I am still stuck with that thingy: Did you read this carefully: First of all this is an error message from the browser and not the library.

You still didn’t post your header code Here is what I’m talking about: Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and adhere to our posting rules.