GitHub user soralee reopened a pull request: https://github.com/apache/zeppelin/pull/2133
[ZEPPELIN-1357,1892,1370][Umbrella] Text overlap in the MultiBarChart ### What is this PR for? If using the `multiChartBar`, it often occurs overlap in text. So, this PR is for preventing to overlap in text. >~~The below is the case what I updated.~~ ~~1. The xLabel generally show all of the text without rotation (less than 30).~~ ~~2. If the xLabel size is over than 30 and less than 80, the xLabel text are rotated as 90 degree and displayed.~~ ~~3. If the xLabel size is over than 80, the xLabel text are disappeared, but the tooltip is displayed.~~ >~~I have made improvements based on my thinking, so I would appreciate to give me your feedback.~~ ~~And if merged this PR, I'll update the feature so that user can use `min` and `max` variables by user on web.~~ **[Update]** To prevent overlap in xLabel text, in one way which is talked the below mentions, user who is using zeppelin could select to visualization type of xLabel such as `rotate 45 degree` or `remove`. ### What type of PR is it? [Bug Fix | Improvement ] ### What is the Jira issue? * [ZEPPELIN-1357; UI - label wrapping not done properly in charts](https://issues.apache.org/jira/browse/ZEPPELIN-1357) * [ZEPPELIN-1892; Display label vertically or horizontally smartly](https://issues.apache.org/jira/browse/ZEPPELIN-1892) * [ZEPPELIN-1370; Label overlaps - in default visualization example barchart](https://issues.apache.org/jira/browse/ZEPPELIN-1370) ### How should this be tested? 1. Run the paragraph for bank data in the `Basic Features (Spark)` notebook. 2. Execute the following query. ``` %sql select * from bank ``` 3. Use the pivot in the `Setting` toggle in the `MultiBarChart` such as the screenshots. ### Screenshots (if appropriate) **[Before]**   **[After]**  ### 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/soralee/zeppelin ZEPPELIN-1357_overlap_text Alternatively you can review and apply these changes as the patch at: https://github.com/apache/zeppelin/pull/2133.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 #2133 ---- commit b25c9289d000c91846f24daf5cf00f840b9a8a24 Author: soralee <sora0...@zepl.com> Date: 2017-03-14T05:07:44Z prevent to overlap in text if using multiBarChart commit ce59800b7892659711da973a9b4c035da2f69010 Author: soralee <sora0...@zepl.com> Date: 2017-03-14T10:28:47Z prevent to overlap in text if using multiBarChart commit fe39dd768090d06e1400c60d56569fe6e9313e25 Author: soralee <sora0...@zepl.com> Date: 2017-03-17T04:35:51Z fix typo commit e1fd2866f00e13d043ad77f897cca5c3573e6b3d Author: soralee <sora0...@zepl.com> Date: 2017-03-17T06:32:52Z move to barchart commit 5974f417381fae64efe9e2596008ce835d453f35 Author: soralee <sora0...@zepl.com> Date: 2017-04-03T03:55:19Z remove initial defind xlabels commit d6dfcd5881cb3e2302065e1fdbb9ccc12c9e766e Author: soralee <sora0...@zepl.com> Date: 2017-04-06T07:30:21Z update select visualization xLabel commit 58d54a0003c2ffb04b60782cf4fa849823ec0dd4 Author: soralee <sora0...@zepl.com> Date: 2017-04-06T07:35:42Z remove xLabel variable ---- --- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---