Skip to content

Instantly share code, notes, and snippets.

@samarthsikotara
Last active August 29, 2015 14:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save samarthsikotara/fa68e2e66300406c74c1 to your computer and use it in GitHub Desktop.
Save samarthsikotara/fa68e2e66300406c74c1 to your computer and use it in GitHub Desktop.
designer
<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: 380px;
top: 290px;
position: absolute;
}
#chart_js1 {
width: 300px;
height: 200px;
left: 410px;
top: 180px;
position: absolute;
}
</style>
<chart-js id="chart_js"></chart-js>
<chart-js kind="sample_chart" color="#000" id="chart_js1">now</chart-js>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment