GitHub user 1ambda opened a pull request: https://github.com/apache/zeppelin/pull/2098
[ZEPPELIN-2217] AdvancedTransformation for Visualization ### What is this PR for? Even if we already have 2 useful transformation, they have limitations. - we can't configure axises in `PivotTransformation` - we can't use aggregator functions in `ColumnselectorTransformation` `AdvancedTransformation` provides both functionality. Additionally, it supports - dynamic parameter panel for configuring charts - multiple, configurable, detailed axises - maximizing / minimizing each panel #### Implementation Details: Configuring Chart See also: [an example visualization using AdvancedTransformation](https://github.com/1ambda/zeppelin-advanced-transformation/blob/master/examples/local-test-highcharts-columnrange/index.js) ```javascript this.spec = { /** axis spec */ axis: { 'xAxis': { type: 'number', dimension: 'single', group: false, aggregator: false, }, 'yAxis': { type: 'string', dimension: 'multiple', group: true, aggregator: false, }, }, /** parameter spec */ parameter: { 'xAxisName': { type: 'string', defaultValue: '', description: 'Name of xAxis', }, 'yAxisName': { type: 'string', defaultValue: '', description: 'Name of yAxis', }, 'yAxisUnit': { type: 'string', defaultValue: '', description: 'Unit of yAxis', }, } } this.transformation = new AdvancedTransformation(config, this.spec) ``` #### Implementation Details: return value of `transform` ```javascript return { raw: tableData.rows, grouped: grouped, /** [{ group, groupedRows, aggregated }] */ column: { allColumns: tableData.columns, groupColumns: groupColumns, aggregatedColumns, normalColumns: normalColumns, } } ``` ### What type of PR is it? [Feature] ### Todos NONE ### What is the Jira issue? [ZEPPELIN-2217](https://issues.apache.org/jira/browse/ZEPPELIN-2217) ### How should this be tested? 1. Clone https://github.com/1ambda/zeppelin-advanced-transformation 2. Copy `examples/local-test-highcharts-columnrange/local-test-highcharts-columnrange.json` into `$ZEPPELIN_HOME/helium` 3. Install the above visualization in `localhost:9000/#helium` 4. Test it ### Screenshots (if appropriate)   ### 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/1ambda/zeppelin ZEPPELIN-2217/advanced-transformation Alternatively you can review and apply these changes as the patch at: https://github.com/apache/zeppelin/pull/2098.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 #2098 ---- commit 0cf49fb17182d879ab7cc4972d2b17025ba6e278 Author: 1ambda <1am...@gmail.com> Date: 2017-03-06T05:39:48Z feat: AdvancedTransformation ---- --- 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. ---