PHP Flot Charts Library
I have used the Flot graphing library often to create charts and graphs on my websites. The chart data is represented in JSON format. Since most of my work has been in PHP, I needed a way to easily convert PHP arrays of data into the JSON format that Flot can understand.
This repository contains a class that does just that. It supports all of the basic chart types (line, bar) as well as pie charts. It supports representing axis values as categories instead of numbers, horizontal/vertical orientation, and time series data. It also can handle single or multiple series of data. The library is fully unit-tested as well.
This is a class that transforms PHP arrays of series data into a JSON format that Flot can understand. It supports line/bar charts, pie charts, horizontal/vertical orientation, and time series data. It also supports single or multiple series.
More explanation can be found in the code and on the README of the Repository.
You can also find the repository on Packagist.