HTML Boilerplate

Create a HTML boilerplate as a first step. Save it in `index.html`

<!DOCTYPE html>
    <title>Exported Gramex Chart</title>
    <!-- insert exported code here -->

Paste exported code

... too big to show ...

Run server

Start the server on terminal. Alternatively, you could double click the `index.html` file from your folder. This will open the file in your default browser.

python -m http.server

Visit URL

Visit the endpoint in browser.


Of course, this is a basic situation and most applications have predefined routes for data endpoints. You probably would like to use a custom API endpoint.


Update data endpoint

Visit the endpoint in browser.

$.getJSON('data').done(function(data) {
  // do something with data
  draw(data, el, options)

Questions? Write to us.