added default candlestick options to README, moved candle demo to end

This commit is contained in:
Joshua Seigler 2016-07-07 01:41:43 -04:00
parent acd456611e
commit b243b5739b
2 changed files with 30 additions and 13 deletions

View file

@ -62,6 +62,8 @@ print $chart->render();
In your HTML:
`<img src="path to the PHP file">`
There are more demos available in `demo.php` and `demo-as-image.php`.
## Available Options
### LineChart
@ -92,6 +94,21 @@ In your HTML:
| xAxisEnabled | false |
| yAxisZero | true |
### CandlestickChart
| Option | Default |
| --- | --- |
| width | 1200 |
| height | 300 |
| barColor | '#000' |
| risingFillColor | '#0D0' |
| fallingFillColor | '#D00' |
| markerColor | '#000' |
| labelColor | '#000' |
| fontSize | 15 |
| yAxisEnabled | true |
| xAxisEnabled | false |
| yAxisZero | false |
## Credits
* Chart appearance based on advice found at http://vis4.net/blog/posts/doing-the-line-charts-right/

File diff suppressed because one or more lines are too long