Skip to content

Instantly share code, notes, and snippets.

@chrisle
Created September 8, 2014 15:46
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 chrisle/89771acac3575eed1fdd to your computer and use it in GitHub Desktop.
Save chrisle/89771acac3575eed1fdd 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: 490px;
top: 300px;
position: absolute;
}
</style>
<chart-js kind="Line" id="chart_js"></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