Advertisement
Guest User

Untitled

a guest
Jan 25th, 2015
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. <link rel="import" href="../chart-js/chart-js.html">
  2.  
  3. <polymer-element name="my-element">
  4.  
  5. <template>
  6. <style>
  7. :host {
  8. position: absolute;
  9. width: 100%;
  10. height: 100%;
  11. box-sizing: border-box;
  12. }
  13. #chart_js {
  14. width: 100%;
  15. height: 100%;
  16. left: 0px;
  17. top: 0px;
  18. position: absolute;
  19. }
  20. </style>
  21. <chart-js id="chart_js"></chart-js>
  22. </template>
  23.  
  24. <script>
  25.  
  26. Polymer({
  27.  
  28. });
  29.  
  30. </script>
  31.  
  32. </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement