mirror of
https://github.com/seigler/neat-charts
synced 2025-07-27 01:16:09 +00:00
Added BAR CHARTS!
This commit is contained in:
parent
603666e167
commit
c5f6c0476e
5 changed files with 116 additions and 23 deletions
22
README.md
22
README.md
|
@ -3,7 +3,11 @@
|
|||
PHP project to generate clean-looking SVG price charts
|
||||
|
||||

|
||||
7d of Dash price in Bitcoin from Poloniex.com
|
||||
30 days of Dash price in Bitcoin from Poloniex.com
|
||||
|
||||
Ethereum 7-day price in BTC from Poloniex 
|
||||
|
||||
More examples at [cryptohistory.org](http://cryptohistory.org/).
|
||||
|
||||
## Requirements
|
||||
|
||||
|
@ -66,6 +70,7 @@ In your HTML:
|
|||
|
||||
## Available Options
|
||||
|
||||
### LineChart
|
||||
| Option | Default |
|
||||
| --- | --- |
|
||||
| width | 800 |
|
||||
|
@ -77,6 +82,21 @@ In your HTML:
|
|||
| fontSize | 15 |
|
||||
| yAxisEnabled | true |
|
||||
| xAxisEnabled | false |
|
||||
| yAxisZero | false |
|
||||
| filled | false |
|
||||
|
||||
### BarChart
|
||||
| Option | Default |
|
||||
| --- | --- |
|
||||
| width | 600 |
|
||||
| height | 300 |
|
||||
| barColor | '#000' |
|
||||
| markerColor | '#000' |
|
||||
| labelColor | '#000' |
|
||||
| fontSize | 15 |
|
||||
| yAxisEnabled | true |
|
||||
| xAxisEnabled | false |
|
||||
| yAxisZero | true |
|
||||
|
||||
## Credits
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue