mirror of
https://github.com/seigler/neat-charts
synced 2025-07-26 00:56:08 +00:00
added default candlestick options to README, moved candle demo to end
This commit is contained in:
parent
acd456611e
commit
b243b5739b
2 changed files with 30 additions and 13 deletions
17
README.md
17
README.md
|
@ -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/
|
||||
|
|
26
demo.php
26
demo.php
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue