Repository: ambari Updated Branches: refs/heads/trunk d7e8a7969 -> 73f4d8ee0
AMBARI-10980. Gauge widget has a black text appearing inside the color stroked text. (jaimin) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/73f4d8ee Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/73f4d8ee Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/73f4d8ee Branch: refs/heads/trunk Commit: 73f4d8ee0569b48c994c946ad3b4e33b72813e29 Parents: d7e8a79 Author: Jaimin Jetly <[email protected]> Authored: Wed May 6 14:36:31 2015 -0700 Committer: Jaimin Jetly <[email protected]> Committed: Wed May 6 14:36:31 2015 -0700 ---------------------------------------------------------------------- ambari-web/app/views/common/chart/pie.js | 1 + ambari-web/app/views/common/widget/gauge_widget_view.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/73f4d8ee/ambari-web/app/views/common/chart/pie.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/views/common/chart/pie.js b/ambari-web/app/views/common/chart/pie.js index e609cd6..0bc09f3 100644 --- a/ambari-web/app/views/common/chart/pie.js +++ b/ambari-web/app/views/common/chart/pie.js @@ -71,6 +71,7 @@ App.ChartPieView = Em.View.extend({ .append("svg:g") .attr("render-order", 1) .append("svg:text") + .style('fill', thisChart.get('centerTextColor')) .attr("stroke", thisChart.get('centerTextColor')) .attr("font-size", 17) .attr("transform", "translate(" + thisChart.get('w') / 2 + "," + ((thisChart.get('h') / 2) + 3) + ")") http://git-wip-us.apache.org/repos/asf/ambari/blob/73f4d8ee/ambari-web/app/views/common/widget/gauge_widget_view.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/views/common/widget/gauge_widget_view.js b/ambari-web/app/views/common/widget/gauge_widget_view.js index 4ce8ebb..21f6f95 100644 --- a/ambari-web/app/views/common/widget/gauge_widget_view.js +++ b/ambari-web/app/views/common/widget/gauge_widget_view.js @@ -33,7 +33,7 @@ App.GaugeWidgetView = Em.View.extend(App.WidgetMixin, { metrics: [], chartView: App.ChartPieView.extend({ - stroke: '#D6DDDF', + stroke: '#D6DDDF', //light grey innerR: 25, /**
