X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=docs%2Findex.html;h=aae433fb3f890cf6230c58b80d61ca9911ec640c;hb=0a31d41e94fae75808da6caa36e96fcdd40fd23f;hp=b6b5aa137f9af524ac2f809506caa590812bca72;hpb=144034416d8119387dbdc3ce689d7b9fa4b2a0ee;p=dygraphs.git diff --git a/docs/index.html b/docs/index.html index b6b5aa1..aae433f 100644 --- a/docs/index.html +++ b/docs/index.html @@ -26,7 +26,7 @@ pre.prettyprint {
- + @@ -53,7 +53,7 @@ pre.prettyprint {
  • Interactive out of the box: zoom, pan and mouseover are on by default.
  • Strong support for error bars / confidence intervals.
  • Highly customizable: using options and custom callbacks, you can make dygraphs do almost anything. -
  • dygraphs is highly compatible: it works in all major browsers (including IE8). You can even pinch to zoom on mobile/tablet devices! +
  • dygraphs is works in all recent browsers. You can even pinch to zoom on mobile/tablet devices!
  • There's an active community developing and supporting dygraphs.
  • @@ -61,6 +61,18 @@ pre.prettyprint {

    Start by downloading dygraphs. Then read the Tutorial to learn how to use it, or just play with dygraphs on jsFiddle.

    Once you've got your feet wet, look for inspiration in the demo gallery or check out our list of users.

    + +

    If you're using npm and a bundler like webpack, browserify or rollup, you can install dygraphs via:

    + +
    npm install --save dygraphs
    + + and use it via: + +
    import Dygraph from 'dygraphs';
    +// or: const Dygraph = require('dygraphs');
    +const g = new Dygraph(div, data, {});
    + +

    Check out the dygraphs ES6 sample project for more details on this approach.

    @@ -79,5 +91,5 @@ pre.prettyprint {
    - +