Changeset 344

Show
Ignore:
Timestamp:
05-04-12 14:53:18 (2 years ago)
Author:
tim.te.beek@…
Message:

Add commented out code to load alternate charts: None seem worth the effort to implement at the moment

Location:
trunk/expression-data-viewer/src
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/expression-data-viewer/src/main/java/nl/nbic/brs/expview/view/PlotDialog.java

    r343 r344  
    6767                String valueAxisLabel = "values"; 
    6868                lineChart = ChartFactory.createLineChart(title, categoryAxisLabel, valueAxisLabel, plottingParams.getDataset(), PlotOrientation.VERTICAL, true, true, true); 
     69                // XXX Any of these chart types, including stacked & 3D, are also possible using the exact same arguments: 
     70//              lineChart = ChartFactory.createAreaChart(title, categoryAxisLabel, valueAxisLabel, plottingParams.getDataset(), PlotOrientation.VERTICAL, true, true, true); 
     71//              lineChart = ChartFactory.createBarChart(title, categoryAxisLabel, valueAxisLabel, plottingParams.getDataset(), PlotOrientation.VERTICAL, true, true, true); 
     72//              lineChart = ChartFactory.createWaterfallChart(title, categoryAxisLabel, valueAxisLabel, plottingParams.getDataset(), PlotOrientation.VERTICAL, true, true, true); 
     73//              lineChart = ChartFactory.createMultiplePieChart(title, plottingParams.getDataset(), TableOrder.BY_ROW, true, true, true); 
    6974                chartPanel = new ChartPanel(lineChart); 
    7075 
  • trunk/expression-data-viewer/src/test/java/nl/nbic/brs/expview/view/LaunchPlotDialog.java

    r342 r344  
    66 
    77import cytoscape.CyMain; 
     8import cytoscape.CyNetwork; 
    89import cytoscape.Cytoscape; 
    910import cytoscape.init.CyInitParams; 
     
    2930 
    3031                // Load network 
    31                 Cytoscape.createNetworkFromFile("src/test/resources/network.xgmml", false); 
     32                CyNetwork network = Cytoscape.createNetworkFromFile("src/test/resources/network.xgmml", false); 
     33                Cytoscape.setCurrentNetwork(network.getIdentifier()); 
    3234 
    3335                // Schedule creation of dialog in EDT