diff --git a/zeppelin-web/src/app/tabledata/advanced-transformation-setting.html b/zeppelin-web/src/app/tabledata/advanced-transformation-setting.html index 3689a99c80..351b78f6ae 100644 --- a/zeppelin-web/src/app/tabledata/advanced-transformation-setting.html +++ b/zeppelin-web/src/app/tabledata/advanced-transformation-setting.html @@ -20,6 +20,10 @@ limitations under the License. Configured Columns
+
+ +
@@ -74,7 +78,7 @@ limitations under the License.
- {{config.axis[axisSpec.name].name}} + {{ getAxisInSingleDimension(axisSpec).name }}
@@ -84,9 +88,9 @@ limitations under the License. class="btn btn-default btn-xs dropdown-toggle" style="background-color: #EFEFEF; " type="button" data-toggle="dropdown"> - {{config.axis[axisSpec.name].name | limitTo: 30}}{{config.axis[axisSpec.name].name > 30 ? '...' : ''}} + {{getAxisInSingleDimension(axisSpec).name | limitTo: 30}}{{getAxisInSingleDimension(axisSpec).name > 30 ? '...' : ''}} - {{config.axis[axisSpec.name].aggr}} + {{getAxisInSingleDimension(axisSpec).aggr}}
@@ -177,8 +181,7 @@ limitations under the License. Dynamic Parameters
-
diff --git a/zeppelin-web/src/app/tabledata/advanced-transformation.js b/zeppelin-web/src/app/tabledata/advanced-transformation.js index 3140b72aea..d5c0f83c5d 100644 --- a/zeppelin-web/src/app/tabledata/advanced-transformation.js +++ b/zeppelin-web/src/app/tabledata/advanced-transformation.js @@ -99,12 +99,20 @@ class AdvancedTransformation extends Transformation { return `${axisSpec.name} (${axisSpec.type})` }, + getAxisInSingleDimension: (axisSpec) => { + return configInstance.axis[axisSpec.name] + }, + toggleColumnPanel: () => { configInstance.panel.columnPanelOpened = !configInstance.panel.columnPanelOpened self.emitConfig(configInstance) }, + clearConfig: () => { + + }, + toggleParameterPanel: () => { configInstance.panel.parameterPanelOpened = !configInstance.panel.parameterPanelOpened