From d59b7cceed7de5bbe9d84e416b53b8aba9ec7180 Mon Sep 17 00:00:00 2001 From: Paul C Pederson Date: Wed, 17 Sep 2014 14:41:16 -0700 Subject: [PATCH] fix banner graphic, example of ng-repeat --- documentation/partials/line-graph.md | 20 ++++++++++++++++++++ site/css/home.css | 2 +- site/documentation/partials/line-graph.html | 17 +++++++++++++++++ site/index.html | 13 ++++++++----- site/js/controllers.js | 1 + site/scss/home.scss | 2 +- 6 files changed, 48 insertions(+), 7 deletions(-) diff --git a/documentation/partials/line-graph.md b/documentation/partials/line-graph.md index 3189c05..ec3e847 100644 --- a/documentation/partials/line-graph.md +++ b/documentation/partials/line-graph.md @@ -46,4 +46,24 @@ +``` + +## Inside ng-repeat +
+ + + + + + +
+ +```html + + + + + + + ``` \ No newline at end of file diff --git a/site/css/home.css b/site/css/home.css index 03a54c1..0935b24 100644 --- a/site/css/home.css +++ b/site/css/home.css @@ -42,7 +42,7 @@ code { font-weight: 200; } /* line 39, ../scss/home.scss */ -.banner .dimple-graph { +.banner .banner-graphic { position: absolute; top: -260px; bottom: 0; diff --git a/site/documentation/partials/line-graph.html b/site/documentation/partials/line-graph.html index 3c5d521..c8f190d 100644 --- a/site/documentation/partials/line-graph.html +++ b/site/documentation/partials/line-graph.html @@ -41,3 +41,20 @@

<line field="Owner" value="Black Mesa"></line> <line field="Owner" value="Tyrell Corp"></line> </graph> +

Inside ng-repeat

+
+ + + + + + +
+ +
<!-- Default -->
+<graph data="graphData" width="100%" height="600px">
+  <x field="Month" order-by="Date"></x>
+  <y field="Unit Sales"></y>
+  <legend></legend>
+  <line field="Owner"></line>
+</graph>
diff --git a/site/index.html b/site/index.html index f3d602b..d43b30d 100644 --- a/site/index.html +++ b/site/index.html @@ -70,11 +70,14 @@ - - - - - + +