jpgraph

Missing chars in JpGraph

I have a web site that runs on Windows and uses cp1252 (aka Win-1252) so it can display Spanish characters. The app generates some plots with JpGraph 2.3. These plots use the Tahoma Open Type font family to display text labels. Strings are provided in ANSI (i.e., cp1252) and font files support cp1252 (actually, the *.ttf files were copie...

Generating Graph with 2 Y Values from Text File

Hi all, I have remade my original post as it was terribly formatted. Basically I would like some advice / tips on how to generate a line graph with 2 Y Axis (temperature and humidity) to display some information from my text file. It is contained in a textfile called temperaturedata.txt I have included a link to one of my posts from t...

jpgraph charset problem

I use php jpgraph library, but there i a small problem with charsets. lets assume graph.php generates the image, and i call it from some.php some.php ... <meta http-equiv="content-type" content="text/html; charset=utf-8" /> ... <img src="graph.php" /> ... as you see, i set charsets in some.php, but it doesn't s...

Printing data on the side after generating a graph using JGraph library in PHP

Hello I need to generate a report which would include both data and a graph image which is a pictorial representation of the data printed. Now the problem is, the function "stroke" in jpgraph generates the graph, so I get an error if I try to echo any information before the stroke function, and nothing prints onto the browser after the s...

JPGraph adding series values together...

I'm sure I'm doing something stupid here but can someone explain why jpgraph is adding two series values together? I'm specifically talking about the values $a1[3] and $a2[3] as well as $a1[10] and $a2[10] being added together. You can see the graphs here and the code is pasted below: <?php require_once ('src/jpgraph.php'); require_on...

jpgraph localization

Do any of you know if it's possible to localize jpgraph in another language (ex. Italian)? I mean to translate graph labels like "Hours ago","points",points today",etc...Thank you! ...