Révision 1712

tmp/org.txm.progression.core/src/org/txm/progression/core/chartsengine/jfreechart/JFCProgressionCumulativeChartCreator.java (revision 1712)
120 120
		
121 121
		
122 122
		// Fill the data set from the result
123
		if(progression.hasParameterChanged(TXMPreferences.QUERIES))	{
123
		// FIXME: SJ: the tests on queries is not sufficient, it does not work when we switch from R chart to JFC chart because the queries didn't change
124
		//if(progression.hasParameterChanged(TXMPreferences.QUERIES))	{
124 125
			
125 126
			XYSeriesCollection dataset = (XYSeriesCollection) chart.getXYPlot().getDataset();
126 127
			dataset.removeAllSeries();
......
153 154

  
154 155
			// Match the X-axis origin value to the min x corpus (for subcorpus case)
155 156
			chart.getXYPlot().getDomainAxis().setLowerBound(progression.getXminCorpus());
156
		}
157
		//}
157 158
		
158 159
		
159 160
		
tmp/org.txm.chartsengine.core/src/org/txm/chartsengine/core/results/ChartResult.java (revision 1712)
446 446
	 */
447 447
	public void setChartType(String chartType) {
448 448
		this.chartType = chartType;
449
		
450
		// FIXME: SJ: need to validate this
451
		this.getLastParametersFromHistory().put(ChartsEnginePreferences.CHART_TYPE, "__undef___"); //$NON-NLS-1$
452

  
453
		
454
		//this.getLastParametersFromHistory().put(ChartsEnginePreferences.CHART_TYPE, "[Default]");
455
		
456

  
457
		
449 458
		// clear all last parameters to force a full recomputing
450
		//		this.clearLastComputingParameters();
459
		//this.clearLastRenderingParameters();
451 460
		//		this.clearLastRenderingParameters();
452 461
	}
453 462

  

Formats disponibles : Unified diff