You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by bi...@apache.org on 2019/02/19 19:08:51 UTC

[hadoop] branch branch-3.1 updated: YARN-9309. Improve graph text in SLS to avoid overlapping. Contributed by Bilwa S T.

This is an automated email from the ASF dual-hosted git repository.

bibinchundatt pushed a commit to branch branch-3.1
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/branch-3.1 by this push:
     new 616e138  YARN-9309. Improve graph text in SLS to avoid overlapping. Contributed by Bilwa S T.
616e138 is described below

commit 616e138adb9028bc34dbf758ac1de68f4e30ceaa
Author: bibinchundatt <bi...@apache.org>
AuthorDate: Wed Feb 20 00:36:57 2019 +0530

    YARN-9309. Improve graph text in SLS to avoid overlapping. Contributed by Bilwa S T.
    
    (cherry picked from commit 779dae4de7e518938d58badcef065ea457be911c)
---
 .../hadoop-sls/src/main/html/simulate.html.template      | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/hadoop-tools/hadoop-sls/src/main/html/simulate.html.template b/hadoop-tools/hadoop-sls/src/main/html/simulate.html.template
index c8590b0..b3825cd 100644
--- a/hadoop-tools/hadoop-sls/src/main/html/simulate.html.template
+++ b/hadoop-tools/hadoop-sls/src/main/html/simulate.html.template
@@ -4,18 +4,18 @@
       <link rel="stylesheet" href="css/bootstrap.min.css" media="screen">
       <link rel="stylesheet" href="css/bootstrap-responsive.min.css">
       <style type="text/css">
-        body '{' font: 20px sans-serif; '}'
+        body '{' font: 15px sans-serif; '}'
         .axis path,
         .axis line '{' fill: none; stroke: #000; shape-rendering: crispEdges; '}'
-        .axis text '{' font-family: sans-serif; font-size: 20px; '}'
-        .line '{' fill: none; stroke: steelblue; stroke-width: 3px; '}'
+        .axis text '{' font-family: sans-serif; font-size: 12px; '}'
+        .line '{' fill: none; stroke: steelblue; stroke-width: 2px; '}'
         .legend '{'
-          padding: 5px;
-          font: 18px sans-serif;
+          padding: 3px;
+          font: 10px sans-serif;
           background: yellow;
           box-shadow: 2px 2px 1px #888;
         '}'
-        .title '{' font: 24px sans-serif; '}'
+        .title '{' font: 20px sans-serif; '}'
         .divborder '{'
           border-width: 1px;
           border-style: solid;
@@ -118,8 +118,8 @@
 
       // draw each chart
       function drawEachChart(index) '{'
-        var margin = '{'top: 50, right: 250, bottom: 50, left: 70'}';
-        width = 750 - margin.left - margin.right;
+        var margin = '{'top: 50, right: 225, bottom: 50, left: 85'}';
+        width = 770 - margin.left - margin.right;
         height = 420 - margin.top - margin.bottom;
 
       xs[index] = d3.scale.linear().range([0, width]);


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org