Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <link rel="import" href="../chart-js/chart-js.html">
- <polymer-element name="my-element">
- <template>
- <style>
- :host {
- position: absolute;
- width: 100%;
- height: 100%;
- box-sizing: border-box;
- }
- #chart_js {
- width: 100%;
- height: 100%;
- left: 0px;
- top: 0px;
- position: absolute;
- }
- </style>
- <chart-js id="chart_js"></chart-js>
- </template>
- <script>
- Polymer({
- });
- </script>
- </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement