# DojiChart [DojiChart](http://dojichart.com) is a JavaScript library for displaying candlestick charts and technical indicators using the canvas element. ## Install ``` npm install dojichart ``` ## Features - **Multiple chart panels** - A DojiChart instance comprises multiple chart panels, for example, a separate volume panel can be associated with a price chart panel. - **Layers** - A chart panel has layers, for example a candlestick layer and moving average layer. - **Responsive** - Charts are responsive, such that they expand or contract to fit their container's width. - **Size and spacing** - The width of candlesticks and their intervals can be changed on the fly - this is equivalent to zooming. - **Scrolling** - Charts can be scrolled forward and backward, either one bar at a time or by a specific number of time intervals. - **Grid lines and labels** - Each chart panel can optionally have value and time grid lines and labels, which can be set to appear at specified granularity or automatically. - **Crosshair** - A crosshair, implemented as a layer is rendered over each chart panel and reacts to mousemove events. - **Events** - Click events on candlesticks is implemented and can be extended to cover other interaction events, such as touch and drag. ## Usage Include the DojiChart CSS and JavaScript in the head of your HTML document: ```html ``` Provide an HTML container element: ```html