mirror of
https://github.com/seigler/neat-charts
synced 2025-07-27 01:16:09 +00:00
improve readme to show options and defaults
This commit is contained in:
parent
7701635a6c
commit
a582c2f97d
1 changed files with 14 additions and 0 deletions
14
README.md
14
README.md
|
@ -63,6 +63,20 @@ print $chart->render();
|
|||
In your HTML:
|
||||
`<img src="path to the PHP file">`
|
||||
|
||||
## Available Options
|
||||
|
||||
| Option | Default |
|
||||
| --- | --- |
|
||||
| width | 800 |
|
||||
| height | 250 |
|
||||
| lineColor | '#000' |
|
||||
| markerColor | '#000' |
|
||||
| labelColor | '#000' |
|
||||
| smoothed | false |
|
||||
| fontSize | 15 |
|
||||
| yAxisEnabled | true |
|
||||
| xAxisEnabled | false |
|
||||
|
||||
## Credits
|
||||
|
||||
* Chart appearance based on advice found at http://vis4.net/blog/posts/doing-the-line-charts-right/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue