Download the PHP package catchamonkey/phighcharts without Composer
On this page you can find all versions of the php package catchamonkey/phighcharts. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download catchamonkey/phighcharts
More information about catchamonkey/phighcharts
Files in catchamonkey/phighcharts
Package phighcharts
Short Description A PHP library for the Highcharts JavaScript charting library
License MIT
Homepage http://github.com/catchamonkey/phighcharts
Informations about the package phighcharts
Phighcharts
A PHP (Requires PHP 5.3) library for the Highcharts JavaScript charting library
Installation
What does it do?
Along with providing a nice OO interface to create your charts, it also extends the functionality by adding such useful tools as "Sticky Keys"
Sticky Keys
A sticky key, is a configuration option that allows you to always use the same colour for certain keys. For example, you may want to always use green for apples when charting apples vs oranges.
Example Pie Chart
for rendering the labels as datetime format, provide an instance of the format class. Note: Phighchart uses the Linear format by default
The Datetime formatter will now attempt to parse the chart data keys as DateTime objects. The Datetime format class can parse the standard PHP date time string formats out-of-the-box.
See
- http://no2.php.net/manual/en/datetime.formats.compound.php
- http://no2.php.net/manual/en/datetime.formats.date.php
For parsing custom date time string formats, provide the datetime string pattern to the Phighchart Datetime format class as follows:
Unit Tests
You can run the Unit Test suite with;
phpunit -c . tests/