All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.invation.code.toval.graphic.diagrams.Test Maven / Gradle / Ivy

Go to download

TOVAL comprises a set of java classes for common programming issues. It includes utils for arrays, lists, sets and collections for convenient handling and modification, but also support for mathematic definitions concerning logic (clauses + resolution) together with some algorithms for permutations, powersets and resolution. Additionally it contains a number of types for multisets, matrices with object keys and much more.

The newest version!
package de.invation.code.toval.graphic.diagrams;

import java.util.Arrays;

import de.invation.code.toval.graphic.diagrams.models.OneDimChartModel;
import de.invation.code.toval.graphic.diagrams.panels.BarChartPanel;


public class Test {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
//		ScatterChartPanel p = new ScatterChartPanel(new ScatterChartModel(Arrays.asList(1,2,3,4), Arrays.asList(0.5,0.7,2.5,4.8), true), true, true);
//		BarChartPanel p = new BarChartPanel(new ScatterChartModel(Arrays.asList(1,2,3,4), Arrays.asList(0.5,0.7,2.5,4.8), true), true, true);
		BarChartPanel p = new BarChartPanel(new OneDimChartModel(Arrays.asList(0.5,0.7,2.5,4.8)), true, true, false);
//		AdjustableDiagramPanel ap = new AdjustableDiagramPanel(p);
		p.asFrame();

	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy