/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package org.diirt.javafx.graphing;

import javafx.stage.Stage;
import org.diirt.graphene.InterpolationScheme;

/**
 *
 * @author mjchao
 */
public class LineGraphApp extends BaseGraphApp {

    final private LineGraphView lineGraphView = new LineGraphView();

    @Override
    public BaseGraphView getGraphView() {
	return this.lineGraphView;
    }
    
    @Override
    public void start( Stage stage ) throws Exception {
	super.start( stage );
	
	this.addDataFormulae( "sim://table",
                    "sim://gaussianWaveform",
                    "sim://sineWaveform",
                    "sim://triangleWaveform",
                    "=tableOf(column(\"X\", range(-5, 5)), column(\"Y\", 'sim://gaussianWaveform'))" );
	
	
	InterpolationScheme[] interpolations = new InterpolationScheme[]{ InterpolationScheme.NEAREST_NEIGHBOR , InterpolationScheme.LINEAR , InterpolationScheme.CUBIC };
    }
    
    @Override
    public void openConfigurationPanel() {
	this.lineGraphView.getDefaultConfigurationDialog().open();
    }
    
    final public static void main( String[] args ) {
	launch( args );
    }
    
}

@@ -908,176 +908,8 @@
  );%0A
-%09%0A%09%0A%09InterpolationScheme%5B%5D interpolations = new InterpolationScheme%5B%5D%7B InterpolationScheme.NEAREST_NEIGHBOR , InterpolationScheme.LINEAR , InterpolationScheme.CUBIC %7D;%0A
     

Remove unnecessary code from LineGraphApp