GitHub user cloverhearts opened a pull request:

    https://github.com/apache/zeppelin/pull/1342

    [ZEPPELIN-1335] bug fixed y axis label for scatterChart and 
stackedAreaChart 

    ### What is this PR for?
    When Y Axis be large value, the format that is displayed is incorrect.
    (case by scatterChart and stackedAreaChart )
    
    
    ### What type of PR is it?
    Bug Fix
    
    ### Todos
    - [x] - fixed scatterChart  y Axis
    - [x] - fixed stackedAreaChart y Axis format function.
    
    ### What is the Jira issue?
    https://issues.apache.org/jira/browse/ZEPPELIN-1335
    
    ### How should this be tested?
    test paragraph context.
    ```
    %spark 
    
    case class DumyDataStruct(XAxis:Long, YAxis:Long)
    var dumyDataRange = 1 to 1000
    
    val dumyDataTable = dumyDataRange.map(data => {
                DumyDataStruct(data, data * 1000000000L)
            }
        )
    dumyDataTable.toDF().registerTempTable("dumyGraph")
    ```
    
    ```
    %sql
    select * from dumyGraph
    ```
    After running the Paragraphs, plase look at the Y-axis of the chart.
    
    ### Screenshots (if appropriate)
    #### before
    
![incorrect](https://cloud.githubusercontent.com/assets/10525473/17779342/4ff192f0-65a2-11e6-9008-f89f28dd208c.gif)
    
    #### after
    
![correct](https://cloud.githubusercontent.com/assets/10525473/17779339/4df4e3b2-65a2-11e6-90c8-6fee574aae12.gif)
    
    
    ### 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/cloverhearts/zeppelin ZEPPELIN-1335

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/zeppelin/pull/1342.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 #1342
    
----
commit 550cb5d3ff05a09be2fccf91b9c697e1ed4642c3
Author: CloverHearts <cloverhearts...@gmail.com>
Date:   2016-08-18T15:08:47Z

    pargarph result - scatterChart and stackedAreaChart label bug fixed

----


---
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.
---

Reply via email to