mqlAction.setOutputResultSet( "chartdata" ); //$NON-NLS-1$
mqlAction.setComponentDefinition( "live", Boolean.TRUE.toString() ); //$NON-NLS-1$
mqlAction.setComponentDefinition( "display-names", Boolean.FALSE.toString() ); //$NON-NLS-1$
ActionDefinition pojoAction = (ActionDefinition) actionSequenceDocument.addAction( ActionDefinition.class );
pojoAction.setComponentName( "ChartBeansComponent" ); //$NON-NLS-1$
if ( contentLinkingTemplate != null ) {
pojoAction.setComponentDefinition( "contentLinkingTemplate", contentLinkingTemplate );
}
pojoAction.setActionInputValue( "chart-model-json", chartModelJsonInput ); //$NON-NLS-1$
pojoAction.addInput( "chartdata", RESULTSET_TYPE ); //$NON-NLS-1$
pojoAction.setActionInputValue( "chart-width", chartWidthInput ); //$NON-NLS-1$
pojoAction.setActionInputValue( "chart-height", chartHeightInput ); //$NON-NLS-1$
pojoAction.setActionInputValue( "series-column", seriesColumnInput ); //$NON-NLS-1$
pojoAction.setActionInputValue( "category-column", categoryColumnInput ); //$NON-NLS-1$
pojoAction.setActionInputValue( "value-column", valueColumnInput ); //$NON-NLS-1$
pojoAction.setActionInputValue( "scaling-factor", scalingFactorInput ); //$NON-NLS-1$
pojoAction.addOutput( "outputstream", CONTENT_TYPE ); //$NON-NLS-1$
return actionSequenceDocument;
}