Skip to content

ZEPPELIN-2148: On creation of Bar graph zeppelin UI shows it as mini graph#2063

Closed
prabhjyotsingh wants to merge 2 commits intoapache:masterfrom
prabhjyotsingh:ZEPPELIN-2148
Closed

ZEPPELIN-2148: On creation of Bar graph zeppelin UI shows it as mini graph#2063
prabhjyotsingh wants to merge 2 commits intoapache:masterfrom
prabhjyotsingh:ZEPPELIN-2148

Conversation

@prabhjyotsingh
Copy link
Copy Markdown
Contributor

What is this PR for?

On creation of Bar graph zeppelin UI shows it as mini graph, and is easily reproducible on safari.

What type of PR is it?

[Bug Fix]

What is the Jira issue?

How should this be tested?

Check screen shot.

Screenshots (if appropriate)

Before:
zeppelin-2148-before

After:
zeppelin-2148-after

Questions:

  • Does the licenses files need update? N/A
  • Is there breaking changes for older versions? N/A
  • Does this needs documentation? N/A

@prabhjyotsingh
Copy link
Copy Markdown
Contributor Author

@1ambda @Leemoonsoo Help review this. This fixes the problem, but with a dirty hack.

$scope.renderDefaultDisplay = function(targetElemId, type, data, refresh) {
if (type === DefaultDisplayType.TABLE) {
$scope.renderGraph(targetElemId, $scope.graphMode, refresh);
setTimeout(function() {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use Angular $timeout

@prabhjyotsingh
Copy link
Copy Markdown
Contributor Author

Thank you for reviewing @r-kamath. I've handled it.

Copy link
Copy Markdown
Member

@felixcheung felixcheung left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@prabhjyotsingh
Copy link
Copy Markdown
Contributor Author

Merging this to master and branch-0.7 if no more discussion.

@prabhjyotsingh
Copy link
Copy Markdown
Contributor Author

@prabhjyotsingh
Copy link
Copy Markdown
Contributor Author

There were conflicts, will create a new PR for branch-0.7.

prabhjyotsingh added a commit to prabhjyotsingh/zeppelin that referenced this pull request Mar 3, 2017
…graph

### What is this PR for?
On creation of Bar graph zeppelin UI shows it as mini graph, and is easily reproducible on safari.

### 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? N/A
* Is there breaking changes for older versions? N/A
* Does this needs documentation? N/A

Author: Prabhjyot Singh <[email protected]>

Closes apache#2063 from prabhjyotsingh/ZEPPELIN-2148 and squashes the following commits:

bb66897 [Prabhjyot Singh] replace setTimeOut with $timeout
38a1198 [Prabhjyot Singh] ZEPPELIN-2148: On creation of Bar graph zeppelin UI shows it as mini graph (reverted from commit 47a106a)
Remilito pushed a commit to Remilito/zeppelin that referenced this pull request Mar 3, 2017
…graph

### What is this PR for?
On creation of Bar graph zeppelin UI shows it as mini graph, and is easily reproducible on safari.

### 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? N/A
* Is there breaking changes for older versions? N/A
* Does this needs documentation? N/A

Author: Prabhjyot Singh <[email protected]>

Closes apache#2063 from prabhjyotsingh/ZEPPELIN-2148 and squashes the following commits:

bb66897 [Prabhjyot Singh] replace setTimeOut with $timeout
38a1198 [Prabhjyot Singh] ZEPPELIN-2148: On creation of Bar graph zeppelin UI shows it as mini graph
asfgit pushed a commit that referenced this pull request Mar 4, 2017
…raph

### What is this PR for?
This is an extension #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 <[email protected]>

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
prabhjyotsingh added a commit to prabhjyotsingh/zeppelin that referenced this pull request Mar 7, 2017
…raph

### What is this PR for?
This is an extension apache#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 <[email protected]>

Closes apache#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
@prabhjyotsingh prabhjyotsingh deleted the ZEPPELIN-2148 branch February 25, 2018 03:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants