Skip to content

Instantly share code, notes, and snippets.

@vikasprogrammer
Created July 4, 2014 11:07

Revisions

  1. vikasprogrammer revised this gist Jul 4, 2014. No changes.
  2. vikasprogrammer revised this gist Jul 4, 2014. 1 changed file with 8 additions and 0 deletions.
    8 changes: 8 additions & 0 deletions designer.html
    Original file line number Diff line number Diff line change
    @@ -17,8 +17,16 @@
    top: 210px;
    position: absolute;
    }
    #chart_js1 {
    width: 300px;
    height: 200px;
    left: 430px;
    top: 170px;
    position: absolute;
    }
    </style>
    <chart-js kind="Line" id="chart_js"></chart-js>
    <chart-js kind="Radar" id="chart_js1"></chart-js>
    </template>

    <script>
  3. vikasprogrammer created this gist Jul 4, 2014.
    32 changes: 32 additions & 0 deletions designer.html
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,32 @@
    <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: 480px;
    top: 210px;
    position: absolute;
    }
    </style>
    <chart-js kind="Line" id="chart_js"></chart-js>
    </template>

    <script>

    Polymer('my-element', {

    });

    </script>

    </polymer-element>