Skip to content

Instantly share code, notes, and snippets.

@ychadwick
Last active August 29, 2015 14:06
Show Gist options
  • Save ychadwick/1f36799e030938e61ed8 to your computer and use it in GitHub Desktop.
Save ychadwick/1f36799e030938e61ed8 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 {
left: 180px;
top: 70px;
position: relative;
width: 760px;
height: 440px;
opacity: 0.8;
background-color: rgb(255, 255, 255);
}
</style>
<chart-js kind="bar" datastring="28,48,40,19,09,27,50,30,12" 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