i have php 4.0.6, and gdlib 1.6+ installed on a solaris e450.
i want a SIMPLE function that will take in an array of key value pairs, and graph type, and make a SIMPLE graph...
function make_graph($array, $type) {
}
$array might be something like this
value 1 -> 1
value 2 -> 7
value 3 -> 10
$type is [pie | bar | line]
i've seen extremely complicated graphing utilities, and i don't want to go that route. has anyone made something i could hack to fit my needs? make just simple code to make a bar graph or pie chart? thanks.