diff --git a/README.md b/README.md index a01f062..ba38c0a 100644 --- a/README.md +++ b/README.md @@ -3,12 +3,12 @@ A Chart.js plugin to have preview chart and zoom/slider use Works both for timescale and serial x-axes. # Preview chart -add a canvas element with id="canvasPreview", encapsuled in a div -add option preview:{id:'yourPreviewCanvaid'} +- add a canvas element with id="canvasPreview", encapsuled in a div +- add option preview:{id:'yourPreviewCanvaid'} # Slider on Preview chart -add div with id="slider encapsuled in another div -add option slider:{id:'idOfSliderDiv'} +- add div with id="slider encapsuled in another div +- add option slider:{id:'idOfSliderDiv'} -> You can now play with slider # Mouse/touch event