Repository: zeppelin
Updated Branches:
  refs/heads/branch-0.7 2600c1e3f -> e8b7897cb


ZEPPELIN-2148: On creation of Bar graph zeppelin UI shows it as minigraph

### What is this PR for?
This is an extension https://github.com/apache/zeppelin/pull/2063. Since that 
had a merge conflict.

### What type of PR is it?
[Bug Fix]

### What is the Jira issue?
* [ZEPPELIN-2148](https://issues.apache.org/jira/browse/ZEPPELIN-2148)

### How should this be tested?
Check screen shot.

### Screenshots (if appropriate)
Before:
![zeppelin-2148-before](https://cloud.githubusercontent.com/assets/674497/23291765/b1469780-fa80-11e6-9a13-3ecb6ca275ba.gif)

After:
![zeppelin-2148-after](https://cloud.githubusercontent.com/assets/674497/23291751/9aa39122-fa80-11e6-962e-482e12c4bca5.gif)

### Questions:
* Does the licenses files need update?
* Is there breaking changes for older versions?
* Does this needs documentation?

Author: Prabhjyot Singh <prabhjyotsi...@gmail.com>

Closes #2074 from prabhjyotsingh/ZEPPELIN-2148_branch-0.7 and squashes the 
following commits:

dbd5b34 [Prabhjyot Singh] try 2
ca1ea2e [Prabhjyot Singh] ZEPPELIN-2148: On creation of Bar graph zeppelin UI 
shows it as minigraph


Project: http://git-wip-us.apache.org/repos/asf/zeppelin/repo
Commit: http://git-wip-us.apache.org/repos/asf/zeppelin/commit/e8b7897c
Tree: http://git-wip-us.apache.org/repos/asf/zeppelin/tree/e8b7897c
Diff: http://git-wip-us.apache.org/repos/asf/zeppelin/diff/e8b7897c

Branch: refs/heads/branch-0.7
Commit: e8b7897cb9ac0c86e240bcad2f883b6fe94e049a
Parents: 2600c1e
Author: Prabhjyot Singh <prabhjyotsi...@gmail.com>
Authored: Tue Feb 28 09:56:48 2017 +0530
Committer: Prabhjyot Singh <prabhjyotsi...@gmail.com>
Committed: Sat Mar 4 09:32:43 2017 +0530

----------------------------------------------------------------------
 zeppelin-web/src/app/notebook/paragraph/result/result.html | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/zeppelin/blob/e8b7897c/zeppelin-web/src/app/notebook/paragraph/result/result.html
----------------------------------------------------------------------
diff --git a/zeppelin-web/src/app/notebook/paragraph/result/result.html 
b/zeppelin-web/src/app/notebook/paragraph/result/result.html
index df09c4d..d76b8a4 100644
--- a/zeppelin-web/src/app/notebook/paragraph/result/result.html
+++ b/zeppelin-web/src/app/notebook/paragraph/result/result.html
@@ -28,10 +28,10 @@ limitations under the License.
                     && config.graph.optionOpen && !asIframe && !viewOnly">
         <div ng-repeat="viz in builtInTableDataVisualizationList track by 
$index"
              id="trsetting{{id}}_{{viz.id}}"
-             ng-show="graphMode == viz.id"></div>
+             ng-if="graphMode == viz.id"></div>
         <div ng-repeat="viz in builtInTableDataVisualizationList track by 
$index"
              id="vizsetting{{id}}_{{viz.id}}"
-             ng-show="graphMode == viz.id"></div>
+             ng-if="graphMode == viz.id"></div>
       </div>
 
       <!-- graph -->
@@ -41,7 +41,7 @@ limitations under the License.
            >
         <div ng-repeat="viz in builtInTableDataVisualizationList track by 
$index"
              id="p{{id}}_{{viz.id}}"
-             ng-show="graphMode == viz.id">
+             ng-if="graphMode == viz.id">
         </div>
       </div>
 

Reply via email to