Trending and Graphing

Latest FreeMED project has been trying to get graphing and trending working. Unfortunately I haven’t seen any GPL licensed graphing libraries that really fit the bill for doing this sort of work, so I started working on my own; pretty much all hand-rolled, with some tricks pulled from the PHP function guide.