Skip to content
Snippets Groups Projects
Commit 0b63d00a authored by Tim Molter's avatar Tim Molter
Browse files

added another demo chart

parent 4b06bc8d
No related branches found
No related tags found
No related merge requests found
......@@ -62,6 +62,7 @@ import com.xeiam.xchart.demo.charts.scatter.ScatterChart01;
import com.xeiam.xchart.demo.charts.scatter.ScatterChart02;
import com.xeiam.xchart.demo.charts.scatter.ScatterChart03;
import com.xeiam.xchart.demo.charts.scatter.ScatterChart04;
import com.xeiam.xchart.demo.charts.scatter.ScatterChart05;
import com.xeiam.xchart.demo.charts.theme.ThemeChart01;
import com.xeiam.xchart.demo.charts.theme.ThemeChart02;
import com.xeiam.xchart.demo.charts.theme.ThemeChart03;
......@@ -232,12 +233,15 @@ public class XChartDemo extends JPanel implements TreeSelectionListener {
defaultMutableTreeNode = new DefaultMutableTreeNode(new ChartInfo("ScatterChart02 - Logarithmic Data", new ScatterChart02().getChart()));
category.add(defaultMutableTreeNode);
defaultMutableTreeNode = new DefaultMutableTreeNode(new ChartInfo("ScatterChart03 - Single point", new ScatterChart03().getChart()));
defaultMutableTreeNode = new DefaultMutableTreeNode(new ChartInfo("ScatterChart03 - Single Point", new ScatterChart03().getChart()));
category.add(defaultMutableTreeNode);
defaultMutableTreeNode = new DefaultMutableTreeNode(new ChartInfo("ScatterChart04 - Error Bars", new ScatterChart04().getChart()));
category.add(defaultMutableTreeNode);
defaultMutableTreeNode = new DefaultMutableTreeNode(new ChartInfo("ScatterChart05 - Logarithmic Data with Short Span", new ScatterChart05().getChart()));
category.add(defaultMutableTreeNode);
// Bar category
category = new DefaultMutableTreeNode("Bar Charts");
top.add(category);
......
......@@ -77,10 +77,9 @@ public class DateFormatter {
/**
* Format a date value
*
*
* @param value
* @param min
* @param max
* @param timeUnit
* @return
*/
public String formatDate(double value, long timeUnit) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment