Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
tgdwyer committed Apr 13, 2020
1 parent 51bdbd8 commit 3ac7316
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ npm build
then open ```index.html``` in your browser for examples.

## Using in a web page:
Just consume the script, and create a div with a unique id somewhere in your page:
Make a chart that wraps around in D3, Excel, Powerpoint, Illustrator. Optionally, you can also make images for the top/bottom horizontal axes and the left/right vertical axes, for example, by screen-shotting the chart. Their dimensions (in pixels) should precisely match the dimensions of the chart image.

To use in a web page, just create a div with a unique id somewhere in your page and source the script:
```
<script src="wrapchart.js"></script>
<div id="ChartDiv"></div>
Expand Down

0 comments on commit 3ac7316

Please sign in to comment.