diff --git a/bower.json b/bower.json index 377b722..5e85d8c 100644 --- a/bower.json +++ b/bower.json @@ -5,10 +5,10 @@ "author": "Joe Allan Muharsky ", "dependencies": {}, "devDependencies": { - "angular": "~1.4.8", + "angular": "~1.4.9", "angular-bootstrap": "~0.14.3", - "angular-material": "~0.10.1", - "angular-mocks": "~1.4.8", + "angular-material": "~1.0.5", + "angular-mocks": "~1.4.9", "angular-ui-router": "~0.2.15", "angular-ui-grid": "~3.0.7", "bootstrap-css-only": "~3.3.5", diff --git a/client/components/dashboard/dashboard-config-directive.css b/client/components/dashboard/dashboard-config-directive.css index 97ae799..f524a40 100644 --- a/client/components/dashboard/dashboard-config-directive.css +++ b/client/components/dashboard/dashboard-config-directive.css @@ -114,7 +114,7 @@ } .checkbox-row-checkbox { - padding-top: 4px; + padding-top: 7px; padding-right: 2px; } diff --git a/client/components/dashboard/dashboard-directive.html b/client/components/dashboard/dashboard-directive.html index 7a4a5d9..2bfe871 100644 --- a/client/components/dashboard/dashboard-directive.html +++ b/client/components/dashboard/dashboard-directive.html @@ -3,8 +3,8 @@
+ class="pk-container pk-background" + ng-class="['pk-container-' + container.model.id, getSelectedClass(container)]"> + layout="column">
-
- -
diff --git a/client/components/widget/data_viz/gviz/gviz-directive.html b/client/components/widget/data_viz/gviz/gviz-directive.html index 4ee0fac..dde7cd2 100644 --- a/client/components/widget/data_viz/gviz/gviz-directive.html +++ b/client/components/widget/data_viz/gviz/gviz-directive.html @@ -1,5 +1,5 @@ -
-
+
+
No data available.
@@ -11,7 +11,7 @@
-
+
{{ widgetConfig.state().chart.error }} diff --git a/client/components/widget/data_viz/gviz/gviz-directive.js b/client/components/widget/data_viz/gviz/gviz-directive.js index 315311a..30ca946 100644 --- a/client/components/widget/data_viz/gviz/gviz-directive.js +++ b/client/components/widget/data_viz/gviz/gviz-directive.js @@ -188,6 +188,9 @@ explorer.components.widget.data_viz.gviz.gvizChart = function( chartWrapper.setDataTable(data); + adjustHeight(); + adjustWidth(); + // Force height and width options value with state value options.height = scope.widgetConfig.state().chart.height; options.width = scope.widgetConfig.state().chart.width; @@ -227,12 +230,8 @@ explorer.components.widget.data_viz.gviz.gvizChart = function( let adjustWidth = function() { if (scope.widgetConfig.model.chart) { - if (isWidthEnforced()) { - scope.widgetConfig.state().chart.width = - element.parent().prop('offsetWidth') - 1; - } else { - scope.widgetConfig.state().chart.width = null; - } + scope.widgetConfig.state().chart.width = + element.parent().prop('offsetWidth') - 1; } }; adjustWidth(); diff --git a/client/components/widget/widget-directive.css b/client/components/widget/widget-directive.css index 948337c..b482220 100644 --- a/client/components/widget/widget-directive.css +++ b/client/components/widget/widget-directive.css @@ -70,6 +70,7 @@ .pk-widget-content { background: #ffffff; overflow-y: auto; + overflow-x: auto; } .pk-container { diff --git a/client/components/widget/widget-directive.html b/client/components/widget/widget-directive.html index 17d6462..1392c36 100644 --- a/client/components/widget/widget-directive.html +++ b/client/components/widget/widget-directive.html @@ -1,6 +1,5 @@ -
-
+
diff --git a/lib/closure-library b/lib/closure-library index 8ae5ad8..58382cd 160000 --- a/lib/closure-library +++ b/lib/closure-library @@ -1 +1 @@ -Subproject commit 8ae5ad82e6698575bc0e7efc88fd0b1b8be56e35 +Subproject commit 58382cdfd9ec941e7084a55cc0cc8a4a62d91222