Skip to content

Instantly share code, notes, and snippets.

@hiloki
Created June 20, 2014 12:00
Show Gist options
  • Save hiloki/6ef0d09cb1fea6b3748a to your computer and use it in GitHub Desktop.
Save hiloki/6ef0d09cb1fea6b3748a to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../components/polymer/polymer.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: 0px;
top: 0px;
position: absolute;
}
</style>
<chart-js kind="Radar" color="#448899" 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