john mazurka
2007-03-09
Hi All
I am having a few probs getting the top tick and data label to display on the y axis.
See: http://www.dlharbour.co.uk/includes/wind_graph/
you will see that both graphs draw very neatly but are missing a vital piece of info - ie the top value on the y axis'
anyone any idea how to define phplot to always draw this info in there. I notice that in the examples the top values are there, but just can't get them to draw on mine.
any help much appreciated.
ps. am using phplot version 5.0rc3
php version 4.3.10
thanks.
john
john mazurka
2007-03-16
Hi Brahim
see reply to topic: Two type of plot in the same graph
https://sourceforge.net/forum/forum.php?thread_id=746437&forum_id=46382
john
john mazurka
2007-03-09
Have managed a work around by going back to:
phplot version: / $Id: phplot.php,v 1.79.2.3 2004/01/28 18:12:54 migueldb Exp $ /
and changing a few calls for the background image, but it would be nice to use the most upto date version
ie: / $Id: phplot.php,v 1.116 2006/11/13 23:17:26 lbayuk Exp $ /
john
Nobody/Anonymous
2007-03-14
Hello,
i want to create the same chart, could you help me to implement it.
Thanks in advanca
Brahim
john mazurka
2007-03-15
Hi Brahim
gonna need some more infor than that. How far have you got? What code used...? etc etc
let me know and I will see what I can do.
john
Nobody/Anonymous
2007-03-16
Hallo john,
sorry for my bad english
my attention is to create a chart,with different chart type. like yours "..... with direction (bearing)".
see http://www.dlharbour.co.uk/includes/wind_graph/
the first is drow a charts from type area with different color, and the second is drow the new chart from type line.
the data for line looks like
$Line_data = array(
array('', 1800, 5), array('', 1810, 7), array('', 1820, 10),
array('', 1830, 13), array('', 1840, 17), array('', 1850, 23),
array('', 1860, 31), array('', 1870, 39), array('', 1880, 50),
array('', 1890, 63), array('', 1900, 76), array('', 1910, 92),
array('', 1920, 106), array('', 1930, 123), array('', 1940, 132),
array('', 1950, 151), array('', 1960, 179), array('', 1970, 203),
array('', 1980, 227), array('', 1990, 249), array('', 2000, 281),
);
$Area_data = array(
array('1960', 100, 70, 60, 54, 16, 2),
array('1970', 100, 80, 63, 54, 22, 20),
array('1980', 100, 80, 66, 54, 27, 25),
array('1990', 100, 95, 69, 54, 28, 10),
array('2000', 100, 72, 72, 54, 38, 5),
);
could you send me a code or an example.
Thanks,
in Advance
Brahim