Skip to content

Instantly share code, notes, and snippets.

@reilly3000
Created January 11, 2015 19:23
Show Gist options
  • Save reilly3000/d73ff0be5b460725f1f9 to your computer and use it in GitHub Desktop.
Save reilly3000/d73ff0be5b460725f1f9 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../topeka-elements/topeka-datasource.html">
<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;
}
#topeka_datasource {
left: 850px;
top: 580px;
position: absolute;
}
#topeka_datasource1 {
left: 580px;
top: 370px;
position: absolute;
}
#chart_js {
width: 300px;
height: 200px;
left: 730px;
top: 210px;
position: absolute;
}
</style>
<topeka-datasource url="../topeka-elements/categories.json" id="topeka_datasource" hidden></topeka-datasource>
<topeka-datasource url="../topeka-elements/categories.json" id="topeka_datasource1" hidden></topeka-datasource>
<chart-js kind="{{ bar }}" id="chart_js">test</chart-js>
</template>
<script>
Polymer({
bar: ''
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment