Skip to content

Instantly share code, notes, and snippets.

@martinos
Created September 1, 2014 17:00
Show Gist options
  • Select an option

  • Save martinos/ff61eeb558cb59f40d74 to your computer and use it in GitHub Desktop.

Select an option

Save martinos/ff61eeb558cb59f40d74 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../chart-js/chart-js.html">
<link rel="import" href="../google-map/google-map.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#ace_element {
width: 400px;
height: 300px;
left: 1160px;
top: 450px;
}
#chart_js {
width: 300px;
height: 200px;
left: 260px;
top: 240px;
position: absolute;
}
#google_map {
width: 400px;
height: 400px;
display: block;
left: 600px;
top: 150px;
position: absolute;
}
#google_map1 {
width: 400px;
height: 400px;
display: block;
left: 1130px;
top: 480px;
}
</style>
<chart-js kind="Bar" id="chart_js"></chart-js>
<google-map id="google_map"></google-map>
</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