Skip to content

Chartwerk namespace #12

@jonyrock

Description

@jonyrock

from /demo.html:

<head>
    <meta content="text/html;charset=utf-8" http-equiv="Content-Type">
    <meta content="utf-8" http-equiv="encoding">

    <script src="./dist/index.js" type="text/javascript"></script>
  </head>
  <body>
    <div id="chart" style="width: 500px; height: 500px;"></div>

    <script type="text/javascript">
      new ChartwerkLineChart(document.getElementById('chart'), [{ datapoints: [[100, 1590590148], [200, 1590591148]] }])
    </script>
  </body>

I think it would be to do following: new Chartwerk.LineChart()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions