@@ -0,0 +1,894 @@
+/*%0A *  Copyright (c) 2012-2013 Malhar, Inc.%0A *  All Rights Reserved.%0A */%0Apackage com.malhartech.demos.chart;%0A%0Aimport com.malhartech.api.DAG;%0Aimport com.malhartech.demos.yahoofinance.StockTickInput;%0Aimport com.malhartech.lib.io.ConsoleOutputOperator;%0Aimport org.apache.hadoop.conf.Configuration;%0A%0A/**%0A *%0A * @author David Yan %3Cdavidyan@malhar-inc.com%3E%0A */%0Apublic class YahooFinanceApplicationNoChart extends YahooFinanceApplication%0A%7B%0A  @Override%0A  public void populateDAG(DAG dag, Configuration conf)%0A  %7B%0A    dag.getAttributes().attr(DAG.STREAMING_WINDOW_SIZE_MILLIS).set(streamingWindowSizeMilliSeconds);%0A%0A    StockTickInput tick = getStockTickInputOperator(%22StockTickInput%22, dag);%0A    tick.setOutputEvenIfZeroVolume(true);%0A    ConsoleOutputOperator consoleOperator = dag.addOperator(%22console%22, new ConsoleOutputOperator());%0A    dag.addStream(%22price%22, tick.price, consoleOperator.input);%0A%0A  %7D%0A%7D%0A

version without chart so that chart can be added through logical plan change