Created
July 23, 2014 16:38
-
-
Save enovajuan/0fb34efa1edf6f726515 to your computer and use it in GitHub Desktop.
designer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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: 300px; | |
height: 200px; | |
left: 210px; | |
top: 120px; | |
position: absolute; | |
} | |
</style> | |
<chart-js kind="Line" id="chart_js" horizontal layout center></chart-js> | |
</template> | |
<script> | |
Polymer('my-element', { | |
}); | |
</script> | |
</polymer-element> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment