incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cr...@apache.org
Subject [1/4] Replaced Chart.js with flotr
Date Wed, 16 Oct 2013 03:31:21 GMT
Updated Branches:
  refs/heads/blur-console-v2 79df6ba8c -> fe4f054b9


http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/70fced06/contrib/blur-console/src/main/resources/org/apache/blur/console/webapp/partials/dashboard.tpl.html
----------------------------------------------------------------------
diff --git a/contrib/blur-console/src/main/resources/org/apache/blur/console/webapp/partials/dashboard.tpl.html
b/contrib/blur-console/src/main/resources/org/apache/blur/console/webapp/partials/dashboard.tpl.html
index ee033b8..6a2a70c 100644
--- a/contrib/blur-console/src/main/resources/org/apache/blur/console/webapp/partials/dashboard.tpl.html
+++ b/contrib/blur-console/src/main/resources/org/apache/blur/console/webapp/partials/dashboard.tpl.html
@@ -5,11 +5,12 @@
             <div class="row">
                 <div class="col-md-6 center">
                     <h4>Zookeepers</h4>
-                    <canvas doughnutchart data="nodeData.zookeepers.chart" width="100"
height="100" options="chartOptions"></canvas>
+                    <!-- div>{{nodeData.zookeepers.chart}}</div>
+                    <div doughnutchart chartdata="nodeData.zookeepers.chart"></div
-->
                 </div>
                 <div class="col-md-6 center">
                     <h4>Controllers</h4>
-                    <canvas doughnutchart data="nodeData.controllers.chart" width="100"
height="100" options="chartOptions"></canvas>
+                    <div piechart chartdata="nodeData.controllers.chart"></div>
                 </div>
             </div>
             <div class="row">
@@ -27,16 +28,16 @@
             <div class="row">
                 <div class="col-md-12 center">
                     <h4>Shards</h4>
-                    <div ng-repeat="cluster in nodeData.clusters" style="text-align:center">
+                    <!-- div ng-repeat="cluster in nodeData.clusters" style="text-align:center">
                         <h5>{{cluster.name}}</h5>
-                        <canvas doughnutchart data="cluster.chart" width="100" height="100"
options="chartOptions"></canvas>
-                    </div>
+                        <div doughnutchart chartData="cluster.chart"></div>
+                    </div -->
                 </div>
             </div>
             <div class="row">
                 <div class="col-md-12 center">
                     <h4>Tables</h4>
-                    <canvas barchart data="tableData.chart" width="100" height="100" options="chartOptions"></canvas>
+                    <!-- canvas barchart data="tableData.chart" width="100" height="100"
options="chartOptions"></canvas -->
                 </div>
             </div>
         </div>


Mime
View raw message