GitHub user sravan-s reopened a pull request:
https://github.com/apache/zeppelin/pull/2128
[WIP] [Discuss] Make use of all grouped data to draw pie chart
### What is this PR for?
Now, grouped pie charts only uses the data from the first group
With this fix-
* Add data from all groups to variable d3g, so all groups could be rendered
* Rewrite for loop with map and concat
* Refactor some variables to const and let
### What type of PR is it?
[Bug Fix]
### What is the Jira issue?
* [ZEPPELIN-2237](https://issues.apache.org/jira/browse/ZEPPELIN-2237)
### How should this be tested?
* Create a built in pie chart visualization
* Select a column to group the data
* Should display the visualization based on all the available grouped data
### Questions:
* Does the licenses files need update? No
* Is there breaking changes for older versions? No
* Does this needs documentation? No
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/sravan-s/zeppelin
ZEPPELIN-2237-grouped-piechart
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/zeppelin/pull/2128.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2128
----
commit 652c943c86373ba1c2f7efd0ed950b8ba56db18e
Author: ess_ess <[email protected]>
Date: 2017-03-10T03:49:55Z
Make use of all grouped data to draw pie chart
* Add data from all groups to variable d3g
* Rewrite for loop with map and concat
* Refactor some variables to const and let
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---