Skip to content

Commit

Permalink
Improved Sinatra and Padrino docs - fixes #549
Browse files Browse the repository at this point in the history
  • Loading branch information
ankane committed Oct 13, 2020
1 parent 2ed027c commit 3c23d6c
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -505,6 +505,26 @@ Download [chartkick.js](https://raw.githubusercontent.com/ankane/chartkick/maste
<script src="chartkick.js"></script>
```

Then include the charting library.

Chart.js - download [Chart.bundle.js](https://unpkg.com/chart.js@2/dist/Chart.bundle.js)

```html
<script src="Chart.bundle.js"></script>
```

Highcharts - download [highcharts.js](https://code.highcharts.com/highcharts.js)

```html
<script src="highcharts.js"></script>
```

Google Charts

```html
<script src="https://www.gstatic.com/charts/loader.js"></script>
```

### Multiple Libraries

If more than one charting library is loaded, choose between them with:
Expand Down

0 comments on commit 3c23d6c

Please sign in to comment.