-
+
+
Wicked Charts
-
-
version @projectVersion@ :: Wicket @wicketVersion@
+
version @projectVersion@ :: Wicket
+
+
+
+
@@ -248,7 +258,7 @@
diff --git a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/HomepageHighcharts.java b/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/HomepageHighcharts.java
index 2985ef89..9ed10a48 100644
--- a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/HomepageHighcharts.java
+++ b/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/HomepageHighcharts.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2012-2018 Wicked Charts (http://github.com/adessoAG/wicked-charts)
+ * Copyright 2012-2019 Wicked Charts (http://github.com/adessoAG/wicked-charts)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -20,6 +20,7 @@
import de.adesso.wickedcharts.showcase.links.UpdateHighchartLink;
import de.adesso.wickedcharts.showcase.links.UpdateThemeLink;
import de.adesso.wickedcharts.showcase.options.*;
+import de.adesso.wickedcharts.showcase.options.highcharts.base.*;
import de.adesso.wickedcharts.wicket6.highcharts.Chart;
import org.apache.wicket.markup.head.IHeaderResponse;
import org.apache.wicket.markup.head.OnDomReadyHeaderItem;
@@ -28,7 +29,6 @@
import org.apache.wicket.request.mapper.parameter.INamedParameters;
import org.apache.wicket.request.mapper.parameter.PageParameters;
-import java.util.ArrayList;
import java.util.List;
/**
diff --git a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/ShowcaseApplication.java b/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/ShowcaseApplication.java
index 1efe7748..32059061 100644
--- a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/ShowcaseApplication.java
+++ b/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/ShowcaseApplication.java
@@ -1,5 +1,5 @@
/**
- * Copyright 2012-2018 Wicked Charts (http://github.com/adessoAG/wicked-charts)
+ * Copyright 2012-2019 Wicked Charts (http://github.com/adessoAG/wicked-charts)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/ShowcaseSession.java b/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/ShowcaseSession.java
index f88719c2..878cc1a9 100644
--- a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/ShowcaseSession.java
+++ b/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/ShowcaseSession.java
@@ -1,5 +1,5 @@
/**
- * Copyright 2012-2018 Wicked Charts (http://github.com/adessoAG/wicked-charts)
+ * Copyright 2012-2019 Wicked Charts (http://github.com/adessoAG/wicked-charts)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/StringFromResourceModel.java b/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/StringFromResourceModel.java
index 6fb81f90..1c7d2ef2 100644
--- a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/StringFromResourceModel.java
+++ b/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/StringFromResourceModel.java
@@ -1,5 +1,5 @@
/**
- * Copyright 2012-2018 Wicked Charts (http://github.com/adessoAG/wicked-charts)
+ * Copyright 2012-2019 Wicked Charts (http://github.com/adessoAG/wicked-charts)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/boot/WarInitializer.java b/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/boot/WarInitializer.java
index 88afcbe8..e52ee9f6 100644
--- a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/boot/WarInitializer.java
+++ b/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/boot/WarInitializer.java
@@ -1,7 +1,7 @@
package de.adesso.wickedcharts.showcase.boot;
import org.springframework.boot.builder.SpringApplicationBuilder;
-import org.springframework.boot.web.support.SpringBootServletInitializer;
+import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
/**
* This class is needed for deployment on an application server.
diff --git a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/AreaLineBoundariesChartEndConfiguration.java b/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/AreaLineBoundariesChartEndConfiguration.java
deleted file mode 100644
index bfcd00db..00000000
--- a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/AreaLineBoundariesChartEndConfiguration.java
+++ /dev/null
@@ -1,65 +0,0 @@
-package de.adesso.wickedcharts.showcase.configurations;
-
-import de.adesso.wickedcharts.chartjs.chartoptions.*;
-import de.adesso.wickedcharts.chartjs.chartoptions.colors.SimpleColor;
-import de.adesso.wickedcharts.chartjs.chartoptions.fillingmodes.BoundaryFillingMode;
-import de.adesso.wickedcharts.chartjs.chartoptions.label.TextLabel;
-import de.adesso.wickedcharts.chartjs.chartoptions.valueType.IntegerValue;
-import de.adesso.wickedcharts.showcase.configurations.base.ShowcaseConfiguration;
-
-import java.util.Arrays;
-
-/**
- *
- * A sample that shows how the 'end' fill option works
- *
- * @see
http://www.chartjs.org/samples/latest/charts/area/line-boundaries.html
- *
- * @author anedomansky
- * @author maximAtanasov
- */
-@SuppressWarnings("serial")
-public class AreaLineBoundariesChartEndConfiguration extends ShowcaseConfiguration {
- public AreaLineBoundariesChartEndConfiguration() {
- super();
- setType(ChartType.LINE);
-
- Data data = new Data()
- .setLabels(TextLabel.of("January", "February", "March", "April", "May", "June", "July"));
- setData(data);
-
- Dataset dataset1 = new Dataset()
- .setLabel("Dataset")
- .setBackgroundColor(SimpleColor.RED_TRANSPARENT)
- .setBorderColor(SimpleColor.RED)
- .setData(IntegerValue.of(-40, 20, 30, -70, 12, 60, -30))
- .setFill(BoundaryFillingMode.END);
-
- data.setDatasets(Arrays.asList(dataset1));
-
- Options options = new Options()
- .setMaintainAspectRatio(true)
- .setSpanGaps(false)
- .setElements(new Element()
- .setLine(new Line()
- .setTension(0.000001)))
- .setPlugins(new Plugins().
- setFiller(new Filler().
- setPropagate(false)))
- .setResponsive(true)
- .setTitle(new Title()
- .setDisplay(true)
- .setText("Chart.js Boundaries Chart - End"))
- .setScales(new Scales()
- .setXAxes(new AxesScale()
- .setDisplay(true)
- .setScaleLabel(new ScaleLabel()
- .setDisplay(true)
- .setLabelString("Month"))
- .setTicks(new Ticks()
- .setAutoSkip(false)
- .setMaxRotation(0))))
- ;
- setOptions(options);
- }
-}
diff --git a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/AreaLineBoundariesChartFalseConfiguration.java b/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/AreaLineBoundariesChartFalseConfiguration.java
deleted file mode 100644
index 0ac5393a..00000000
--- a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/AreaLineBoundariesChartFalseConfiguration.java
+++ /dev/null
@@ -1,63 +0,0 @@
-package de.adesso.wickedcharts.showcase.configurations;
-
-import de.adesso.wickedcharts.chartjs.chartoptions.*;
-import de.adesso.wickedcharts.chartjs.chartoptions.colors.SimpleColor;
-import de.adesso.wickedcharts.chartjs.chartoptions.label.TextLabel;
-import de.adesso.wickedcharts.chartjs.chartoptions.valueType.IntegerValue;
-import de.adesso.wickedcharts.showcase.configurations.base.ShowcaseConfiguration;
-
-import java.util.Arrays;
-
-/**
- *
- * A sample that shows how the 'false' fill option works
- *
- * @see
http://www.chartjs.org/samples/latest/charts/area/line-boundaries.html
- * @author anedomansky
- * @author maximAtanasov
- */
-@SuppressWarnings("serial")
-public class AreaLineBoundariesChartFalseConfiguration extends ShowcaseConfiguration {
- public AreaLineBoundariesChartFalseConfiguration() {
- super();
- setType(ChartType.LINE);
-
- Data data = new Data()
- .setLabels(TextLabel.of("January", "February", "March", "April", "May", "June", "July"));
- setData(data);
-
- Dataset dataset1 = new Dataset()
- .setLabel("Dataset")
- .setBackgroundColor(SimpleColor.RED_TRANSPARENT)
- .setBorderColor(SimpleColor.RED)
- .setData(IntegerValue.of(-40, 20, 30, -70, 12, 60, -30))
- .setFill(false);
-
- data.setDatasets(Arrays.asList(dataset1));
-
- Options options = new Options()
- .setMaintainAspectRatio(true)
- .setSpanGaps(false)
- .setElements(new Element()
- .setLine(new Line()
- .setTension(0.000001)))
- .setPlugins(new Plugins().
- setFiller(new Filler().
- setPropagate(false)))
- .setResponsive(true)
- .setTitle(new Title()
- .setDisplay(true)
- .setText("Chart.js Boundaries Chart - False"))
- .setScales(new Scales()
- .setXAxes(new AxesScale()
- .setDisplay(true)
- .setScaleLabel(new ScaleLabel()
- .setDisplay(true)
- .setLabelString("Month"))
- .setTicks(new Ticks()
- .setAutoSkip(false)
- .setMaxRotation(0))))
- ;
- setOptions(options);
- }
-}
diff --git a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/AreaLineBoundariesChartOriginConfiguration.java b/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/AreaLineBoundariesChartOriginConfiguration.java
deleted file mode 100644
index 7bca9aeb..00000000
--- a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/AreaLineBoundariesChartOriginConfiguration.java
+++ /dev/null
@@ -1,65 +0,0 @@
-package de.adesso.wickedcharts.showcase.configurations;
-
-import de.adesso.wickedcharts.chartjs.chartoptions.*;
-import de.adesso.wickedcharts.chartjs.chartoptions.colors.SimpleColor;
-import de.adesso.wickedcharts.chartjs.chartoptions.fillingmodes.BoundaryFillingMode;
-import de.adesso.wickedcharts.chartjs.chartoptions.label.TextLabel;
-import de.adesso.wickedcharts.chartjs.chartoptions.valueType.IntegerValue;
-import de.adesso.wickedcharts.showcase.configurations.base.ShowcaseConfiguration;
-
-import java.util.Arrays;
-
-/**
- *
- * A sample that shows how the 'origin' fill option works
- *
- * @see
http://www.chartjs.org/samples/latest/charts/area/line-boundaries.html
- *
- * @author anedomansky
- * @author maximAtanasov
- */
-@SuppressWarnings("serial")
-public class AreaLineBoundariesChartOriginConfiguration extends ShowcaseConfiguration {
- public AreaLineBoundariesChartOriginConfiguration() {
- super();
- setType(ChartType.LINE);
-
- Data data = new Data()
- .setLabels(TextLabel.of("January", "February", "March", "April", "May", "June", "July"));
- setData(data);
-
- Dataset dataset1 = new Dataset()
- .setLabel("Dataset")
- .setBackgroundColor(SimpleColor.RED_TRANSPARENT)
- .setBorderColor(SimpleColor.RED)
- .setData(IntegerValue.of(-40, 20, 30, -70, 12, 60, -30))
- .setFill(BoundaryFillingMode.ORIGIN);
-
- data.setDatasets(Arrays.asList(dataset1));
-
- Options options = new Options()
- .setMaintainAspectRatio(true)
- .setSpanGaps(false)
- .setElements(new Element()
- .setLine(new Line()
- .setTension(0.000001)))
- .setPlugins(new Plugins().
- setFiller(new Filler().
- setPropagate(false)))
- .setResponsive(true)
- .setTitle(new Title()
- .setDisplay(true)
- .setText("Chart.js Boundaries Chart - Origin"))
- .setScales(new Scales()
- .setXAxes(new AxesScale()
- .setDisplay(true)
- .setScaleLabel(new ScaleLabel()
- .setDisplay(true)
- .setLabelString("Month"))
- .setTicks(new Ticks()
- .setAutoSkip(false)
- .setMaxRotation(0))))
- ;
- setOptions(options);
- }
-}
diff --git a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/BarChartHorizontalConfiguration.java b/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/BarChartHorizontalConfiguration.java
deleted file mode 100644
index 7178325e..00000000
--- a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/BarChartHorizontalConfiguration.java
+++ /dev/null
@@ -1,65 +0,0 @@
-package de.adesso.wickedcharts.showcase.configurations;
-
-import de.adesso.wickedcharts.chartjs.chartoptions.*;
-import de.adesso.wickedcharts.chartjs.chartoptions.colors.SimpleColor;
-import de.adesso.wickedcharts.chartjs.chartoptions.label.TextLabel;
-import de.adesso.wickedcharts.chartjs.chartoptions.valueType.IntegerValue;
-import de.adesso.wickedcharts.showcase.configurations.base.ShowcaseConfiguration;
-
-import java.util.Arrays;
-
-/**
- * A sample that shows how a horizontal bar chart configuration looks.
- */
-
-/**
- *
- * A sample that shows how a horizontal bar chart configuration looks.
- *
- * @see
http://www.chartjs.org/samples/latest/charts/bar/horizontal.html
- *
- * @author SvenWirz
- */
-@SuppressWarnings("serial")
-public class BarChartHorizontalConfiguration extends ShowcaseConfiguration {
- public BarChartHorizontalConfiguration() {
- super();
- setType(ChartType.HORIZONTAL_BAR);
-
- Data data = new Data()
- .setLabels(TextLabel.of("January", "February", "March", "April", "May", "June", "July"));
- setData(data);
-
- Dataset dataset1 = new Dataset()
- .setLabel("Dataset 1")
- .setBackgroundColor(SimpleColor.RED_TRANSPARENT)
- .setBorderColor(SimpleColor.RED)
- .setBorderWidth(1)
- .setData(IntegerValue.of(randomIntegerList(7)))
- .setFill(false);
-
-
-
-
- Dataset dataset2 = new Dataset()
- .setLabel("Dataset 2")
- .setBackgroundColor(SimpleColor.BLUE_TRANSPARENT)
- .setBorderColor(SimpleColor.BLUE)
- .setBorderWidth(1)
- .setData(IntegerValue.of(randomIntegerList(7)))
- .setFill(false);
-
- data.setDatasets(Arrays.asList(dataset1,dataset2));
-
- Options options = new Options()
- .setResponsive(true)
- .setElements(new Rectangle())
- .setLegend(new Legend()
- .setPosition(Position.RIGHT))
- .setTitle(new Title()
- .setDisplay(true)
- .setText("Chart.js Horizontal Bar Chart"))
- ;
- setOptions(options);
- }
-}
diff --git a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/BarChartMultiAxisConfiguration.java b/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/BarChartMultiAxisConfiguration.java
deleted file mode 100644
index 1573712e..00000000
--- a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/BarChartMultiAxisConfiguration.java
+++ /dev/null
@@ -1,80 +0,0 @@
-package de.adesso.wickedcharts.showcase.configurations;
-
-import de.adesso.wickedcharts.chartjs.chartoptions.*;
-import de.adesso.wickedcharts.chartjs.chartoptions.colors.SimpleColor;
-import de.adesso.wickedcharts.chartjs.chartoptions.label.TextLabel;
-import de.adesso.wickedcharts.chartjs.chartoptions.valueType.IntegerValue;
-import de.adesso.wickedcharts.showcase.configurations.base.ShowcaseConfiguration;
-
-import java.util.Arrays;
-
-/**
- * A sample that shows how a multi-axis bar chart configuration looks.
- */
-
-/**
- *
- * A sample that shows how a multi-axis bar chart configuration looks.
- *
- * @see
http://www.chartjs.org/samples/latest/charts/bar/multi-axis.html
- *
- * @author anedomansky
- * @author maximAtanasov
- */
-@SuppressWarnings("serial")
-public class BarChartMultiAxisConfiguration extends ShowcaseConfiguration{
- public BarChartMultiAxisConfiguration() {
- setType(ChartType.BAR);
- Data data = new Data()
- .setLabels(TextLabel.of("January", "February", "March", "April", "May", "June", "July"));
- setData(data);
-
- Dataset dataset1 = new Dataset()
- .setLabel("Dataset 1")
- .setBackgroundColor(SimpleColor.RED)
- .setBorderColor(SimpleColor.RED)
- .setData(IntegerValue.of(randomIntegerList(7)))
- .setFill(false)
- .setYAxisID("y-axis-1");
-
-
- Dataset dataset2 = new Dataset()
- .setLabel("Dataset 2")
- .setBackgroundColor(SimpleColor.BLUE)
- .setBorderColor(SimpleColor.BLUE)
- .setData(IntegerValue.of(randomIntegerList(7)))
- .setFill(false)
- .setYAxisID("y-axis-2");
-
- data.setDatasets(Arrays.asList(dataset1,dataset2));
-
- Options options = new Options()
- .setResponsive(true)
- .setTitle(new Title()
- .setDisplay(true)
- .setText("Chart.js Bar Chart - Multi Axis"))
- .setTooltips(new Tooltips()
- .setMode(TooltipMode.INDEX)
- .setIntersect(false))
- .setLegend(new Legend()
- .setPosition(Position.TOP))
- .setScales(new Scales()
- .setYAxes(Arrays.asList(new AxesScale()
- .setType("linear")
- .setDisplay(true)
- .setPosition(Position.LEFT)
- .setId("y-axis-1"),
- new AxesScale()
- .setType("linear")
- .setDisplay(true)
- .setPosition(Position.RIGHT)
- .setId("y-axis-2")
- .setGridLines(new GridLines()
- .setDrawOnChartArea(false)))))
-
- ;
- setOptions(options);
-
- }
-
-}
diff --git a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/BarChartStackedConfiguration.java b/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/BarChartStackedConfiguration.java
deleted file mode 100644
index 20a05db5..00000000
--- a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/BarChartStackedConfiguration.java
+++ /dev/null
@@ -1,88 +0,0 @@
-package de.adesso.wickedcharts.showcase.configurations;
-
-import de.adesso.wickedcharts.chartjs.chartoptions.*;
-import de.adesso.wickedcharts.chartjs.chartoptions.colors.SimpleColor;
-import de.adesso.wickedcharts.chartjs.chartoptions.label.TextLabel;
-import de.adesso.wickedcharts.chartjs.chartoptions.valueType.IntegerValue;
-import de.adesso.wickedcharts.showcase.configurations.base.ShowcaseConfiguration;
-
-import java.util.Arrays;
-
-/**
- * A sample that shows how a stacked bar chart configuration looks.
- */
-
-/**
- *
- * A sample that shows how a stack bar chart configuration looks.
- *
- * @see
http://www.chartjs.org/samples/latest/charts/bar/stacked.html
- *
- * @author anedomansky
- * @author maximAtanasov
- */
-@SuppressWarnings("serial")
-public class BarChartStackedConfiguration extends ShowcaseConfiguration {
- public BarChartStackedConfiguration() {
- setType(ChartType.STACKED_BAR);
-
- Data data = new Data()
- .setLabels(TextLabel.of("January", "February", "March", "April", "May", "June", "July"));
- setData(data);
-
- Dataset dataset1 = new Dataset()
- .setLabel("Dataset 1")
- .setBackgroundColor(SimpleColor.RED_TRANSPARENT)
- .setBorderColor(SimpleColor.RED)
- .setBorderWidth(1)
- .setData(IntegerValue.of(randomIntegerList(7)))
- .setFill(false)
- .setStack("1");
-
-
-
- Dataset dataset2 = new Dataset()
- .setLabel("Dataset 2")
- .setBackgroundColor(SimpleColor.BLUE_TRANSPARENT)
- .setBorderColor(SimpleColor.BLUE)
- .setBorderWidth(1)
- .setData(IntegerValue.of(randomIntegerList(7)))
- .setFill(false)
- .setStack("1");
-
- Dataset dataset3 = new Dataset()
- .setLabel("Dataset 3")
- .setBackgroundColor(SimpleColor.GREEN_TRANSPARENT)
- .setBorderColor(SimpleColor.GREEN)
- .setBorderWidth(1)
- .setData(IntegerValue.of(randomIntegerList(7)))
- .setFill(false)
- .setStack("1");
-
- data.setDatasets(Arrays.asList(dataset1,dataset2, dataset3));
-
- Options options = new Options()
- .setResponsive(true)
- .setLegend(new Legend()
- .setPosition(Position.TOP))
- .setTitle(new Title()
- .setDisplay(true)
- .setText("Chart.js Bar Chart - Stacked"))
- .setScales(new Scales()
- .setXAxes(new AxesScale()
- .setDisplay(true)
- .setStacked(true)
- .setScaleLabel(new ScaleLabel()
- .setDisplay(true)
- .setLabelString("Month")))
- .setYAxes(new AxesScale()
- .setDisplay(true)
- .setStacked(true)
- .setScaleLabel(new ScaleLabel()
- .setDisplay(true)
- .setLabelString("Value"))))
- ;
- setOptions(options);
- }
-
-}
diff --git a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/BarChartStackedGroupConfiguration.java b/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/BarChartStackedGroupConfiguration.java
deleted file mode 100644
index cd1cea4f..00000000
--- a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/BarChartStackedGroupConfiguration.java
+++ /dev/null
@@ -1,86 +0,0 @@
-package de.adesso.wickedcharts.showcase.configurations;
-
-import de.adesso.wickedcharts.chartjs.chartoptions.*;
-import de.adesso.wickedcharts.chartjs.chartoptions.colors.SimpleColor;
-import de.adesso.wickedcharts.chartjs.chartoptions.label.TextLabel;
-import de.adesso.wickedcharts.chartjs.chartoptions.valueType.IntegerValue;
-import de.adesso.wickedcharts.showcase.configurations.base.ShowcaseConfiguration;
-
-import java.util.Arrays;
-
-/**
- * A sample that shows how a stacked group bar chart configuration looks.
- */
-
-/**
- *
- * A sample that shows how a stacked bar chart group configuration looks.
- *
- * @see
http://www.chartjs.org/samples/latest/charts/bar/stacked-group.html
- *
- * @author maximAtanasov
- * @author anedomansky
- */
-@SuppressWarnings("serial")
-public class BarChartStackedGroupConfiguration extends ShowcaseConfiguration {
- public BarChartStackedGroupConfiguration() {
- setType(ChartType.STACKED_BAR);
-
- Data data = new Data()
- .setLabels(TextLabel.of("January", "February", "March", "April", "May", "June", "July"));
- setData(data);
-
- Dataset dataset1 = new Dataset()
- .setLabel("Dataset 1")
- .setBackgroundColor(SimpleColor.RED_TRANSPARENT)
- .setBorderColor(SimpleColor.RED)
- .setBorderWidth(1)
- .setData(IntegerValue.of(randomIntegerList(7)))
- .setFill(false)
- .setStack("0");
-
- Dataset dataset2 = new Dataset()
- .setLabel("Dataset 2")
- .setBackgroundColor(SimpleColor.BLUE_TRANSPARENT)
- .setBorderColor(SimpleColor.BLUE)
- .setBorderWidth(1)
- .setData(IntegerValue.of(randomIntegerList(7)))
- .setFill(false)
- .setStack("0");
-
- Dataset dataset3 = new Dataset()
- .setLabel("Dataset 3")
- .setBackgroundColor(SimpleColor.GREEN_TRANSPARENT)
- .setBorderColor(SimpleColor.GREEN)
- .setBorderWidth(1)
- .setData(IntegerValue.of(randomIntegerList(7)))
- .setFill(false)
- .setStack("1");
-
- data.setDatasets(Arrays.asList(dataset1,dataset2, dataset3));
-
- Options options = new Options()
- .setResponsive(true)
- .setLegend(new Legend()
- .setPosition(Position.TOP))
- .setTitle(new Title()
- .setDisplay(true)
- .setText("Chart.js Bar Chart - Stacked Groups"))
- .setScales(new Scales()
- .setXAxes(new AxesScale()
- .setDisplay(true)
- .setStacked(true)
- .setScaleLabel(new ScaleLabel()
- .setDisplay(true)
- .setLabelString("Month")))
- .setYAxes(new AxesScale()
- .setDisplay(true)
- .setStacked(true)
- .setScaleLabel(new ScaleLabel()
- .setDisplay(true)
- .setLabelString("Value"))))
- ;
- setOptions(options);
- }
-
-}
diff --git a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/BubbleChartConfiguration.java b/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/BubbleChartConfiguration.java
deleted file mode 100644
index ba8c44d3..00000000
--- a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/BubbleChartConfiguration.java
+++ /dev/null
@@ -1,103 +0,0 @@
-package de.adesso.wickedcharts.showcase.configurations;
-
-import de.adesso.wickedcharts.chartjs.chartoptions.*;
-import de.adesso.wickedcharts.chartjs.chartoptions.colors.SimpleColor;
-import de.adesso.wickedcharts.chartjs.chartoptions.label.TextLabel;
-import de.adesso.wickedcharts.chartjs.chartoptions.valueType.BubbleValue;
-import de.adesso.wickedcharts.showcase.configurations.base.ShowcaseConfiguration;
-
-import java.util.Arrays;
-import java.util.Random;
-
-/**
- *
- * A sample that shows how a bubble chart configuration looks.
- *
- * @see
http://www.chartjs.org/samples/latest/scriptable/bubble.html
- *
- * @author maximAtanasov
- * @author anedomansky
- */
-@SuppressWarnings("serial")
-public class BubbleChartConfiguration extends ShowcaseConfiguration {
- public BubbleChartConfiguration() {
- super();
- setType(ChartType.BUBBLE);
-
- Data data = new Data()
- .setLabels(TextLabel.of("January", "February", "March", "April", "May", "June", "July"));
- setData(data);
-
- Dataset dataset1 = new Dataset()
- .setLabel("My First dataset")
- .setBackgroundColor(SimpleColor.GREEN_TRANSPARENT)
- .setBorderColor(SimpleColor.YELLOW)
- .setHoverBackgroundColor(SimpleColor.WHITE)
- .setHoverBorderColor(SimpleColor.RED)
- .setHoverBorderWidth(10.0)
- .setData(Arrays.asList(
- new BubbleValue(randomDouble(100),randomDouble(100),randomDouble(100)),
- new BubbleValue(randomDouble(100),randomDouble(100),randomDouble(100)),
- new BubbleValue(randomDouble(100),randomDouble(100),randomDouble(100)),
- new BubbleValue(randomDouble(100),randomDouble(100),randomDouble(100)),
- new BubbleValue(randomDouble(100),randomDouble(100),randomDouble(100)),
- new BubbleValue(randomDouble(100),randomDouble(100),randomDouble(100)),
- new BubbleValue(randomDouble(100),randomDouble(100),randomDouble(100))
- ))
- .setFill(false);
-
- Dataset dataset2 = new Dataset()
- .setLabel("My Second dataset")
- .setBackgroundColor(SimpleColor.BLUE_TRANSPARENT)
- .setBorderColor(SimpleColor.RED)
- .setHoverBackgroundColor(SimpleColor.WHITE)
- .setHoverBorderColor(SimpleColor.RED)
- .setHoverBorderWidth(10.0)
- .setData(Arrays.asList(
- new BubbleValue(randomDouble(100),randomDouble(100),randomDouble(100)),
- new BubbleValue(randomDouble(100),randomDouble(100),randomDouble(100)),
- new BubbleValue(randomDouble(100),randomDouble(100),randomDouble(100)),
- new BubbleValue(randomDouble(100),randomDouble(100),randomDouble(100)),
- new BubbleValue(randomDouble(100),randomDouble(100),randomDouble(100)),
- new BubbleValue(randomDouble(100),randomDouble(100),randomDouble(100)),
- new BubbleValue(randomDouble(100),randomDouble(100),randomDouble(100))
- ))
- .setFill(false);
-
- Dataset dataset3 = new Dataset()
- .setLabel("My Third dataset")
- .setBackgroundColor(SimpleColor.RED_TRANSPARENT)
- .setBorderColor(SimpleColor.YELLOW)
- .setHoverBackgroundColor(SimpleColor.WHITE)
- .setHoverBorderColor(SimpleColor.RED)
- .setHoverBorderWidth(10.0)
- .setData(Arrays.asList(
- new BubbleValue(randomDouble(100),randomDouble(100),randomDouble(100)),
- new BubbleValue(randomDouble(100),randomDouble(100),randomDouble(100)),
- new BubbleValue(randomDouble(100),randomDouble(100),randomDouble(100)),
- new BubbleValue(randomDouble(100),randomDouble(100),randomDouble(100)),
- new BubbleValue(randomDouble(100),randomDouble(100),randomDouble(100)),
- new BubbleValue(randomDouble(100),randomDouble(100),randomDouble(100)),
- new BubbleValue(randomDouble(100),randomDouble(100),randomDouble(100))
- ))
- .setFill(false);
-
- data.setDatasets(Arrays.asList(dataset1,dataset2,dataset3));
-
- Options options = new Options()
- .setResponsive(true)
- .setAspectRatio((double)1)
- .setTitle(new Title()
- .setDisplay(true)
- .setText("Chart.js Bubble Chart"))
- ;
- setOptions(options);
-
-
- }
-
- private Double randomDouble(int bound) {
- Random random = new Random();
- return (double)random.nextInt(bound)+1;
- }
-}
diff --git a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/ComboBarLineChartConfiguration.java b/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/ComboBarLineChartConfiguration.java
deleted file mode 100644
index 02987aff..00000000
--- a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/ComboBarLineChartConfiguration.java
+++ /dev/null
@@ -1,64 +0,0 @@
-package de.adesso.wickedcharts.showcase.configurations;
-
-import de.adesso.wickedcharts.chartjs.chartoptions.*;
-import de.adesso.wickedcharts.chartjs.chartoptions.colors.SimpleColor;
-import de.adesso.wickedcharts.chartjs.chartoptions.label.TextLabel;
-import de.adesso.wickedcharts.chartjs.chartoptions.valueType.IntegerValue;
-import de.adesso.wickedcharts.showcase.configurations.base.ShowcaseConfiguration;
-
-import java.util.Arrays;
-
-
-/**
- *
- * A sample that shows how a combo bar-line chart configuration looks.
- *
- * @see
http://www.chartjs.org/samples/latest/charts/combo-bar-line.html
- *
- * @author SvenWirz
- */
-@SuppressWarnings("serial")
-public class ComboBarLineChartConfiguration extends ShowcaseConfiguration {
- public ComboBarLineChartConfiguration() {
- super();
- setType(ChartType.BAR);
- Data data = new Data();
- Dataset dataset1 = new Dataset();
- dataset1.setType(ChartType.LINE)
- .setBorderColor(SimpleColor.BLUE)
- .setBorderWidth(2)
- .setFill(false)
- .setData(IntegerValue.of(randomIntegerList(7)))
- .setLabel("Dataset 1");
-
- Dataset dataset2 = new Dataset()
- .setType(ChartType.BAR)
- .setBackgroundColor(SimpleColor.RED)
- .setBorderColor(SimpleColor.WHITE)
- .setBorderWidth(2)
- .setData(IntegerValue.of(randomIntegerList(7)))
- .setLabel("Dataset 2");
-
- Dataset dataset3 = new Dataset()
- .setType(ChartType.BAR)
- .setBackgroundColor(SimpleColor.GREEN)
- .setData(IntegerValue.of(randomIntegerList(7)))
- .setLabel("Dataset 3");
-
- data.setDatasets(Arrays.asList(dataset1,dataset2,dataset3))
- .setLabels(TextLabel.of("January", "February", "March", "April", "May", "June", "July"));
-
- setData(data);
-
- Options options = new Options()
- .setResponsive(true)
- .setTitle(new Title()
- .setDisplay(true)
- .setText("Chart.js Combo Bar Line Chart"))
- .setTooltips(new Tooltips()
- .setIntersect(true)
- .setMode(TooltipMode.INDEX));
- setOptions(options);
-
- }
-}
diff --git a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/DoughnutChartConfiguration.java b/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/DoughnutChartConfiguration.java
deleted file mode 100644
index 71103554..00000000
--- a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/DoughnutChartConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-package de.adesso.wickedcharts.showcase.configurations;
-
-import de.adesso.wickedcharts.chartjs.chartoptions.*;
-import de.adesso.wickedcharts.chartjs.chartoptions.colors.SimpleColor;
-import de.adesso.wickedcharts.chartjs.chartoptions.label.TextLabel;
-import de.adesso.wickedcharts.chartjs.chartoptions.valueType.IntegerValue;
-import de.adesso.wickedcharts.showcase.configurations.base.ShowcaseConfiguration;
-
-import java.util.Arrays;
-
-/**
- *
- * A sample that shows how a doughnut configuration looks.
- *
- * @see
http://www.chartjs.org/samples/latest/charts/doughnut.html
- *
- * @author maximAtanasov
- * @author anedomansky
- */
-@SuppressWarnings("serial")
-public class DoughnutChartConfiguration extends ShowcaseConfiguration {
- public DoughnutChartConfiguration() {
- super();
- setType(ChartType.DOUGHNUT);
-
- Data data = new Data();
-
- Dataset dataset = new Dataset()
- .setData(IntegerValue.of(randomIntegerList(5)))
- .setBackgroundColor(
- Arrays.asList(SimpleColor.RED,SimpleColor.ORANGE, SimpleColor.YELLOW, SimpleColor.GREEN, SimpleColor.BLUE))
- .setLabel("Dataset 1");
-
- data.setDatasets(Arrays.asList(dataset)).setLabels(TextLabel.of("Red", "Orange", "Yellow", "Green", "Blue"));
-
- setData(data);
- Options options = new Options()
- .setResponsive(true)
- .setTitle(new Title()
- .setDisplay(true)
- .setText("ChartJs Doughnut Chart"))
- .setLegend(new Legend()
- .setPosition(Position.TOP))
- .setAnimation(new Animation()
- .setAnimateScale(true)
- .setAnimateRotate(true));
- setOptions(options);
-
- }
-}
diff --git a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/LegendPointStyleConfiguration.java b/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/LegendPointStyleConfiguration.java
deleted file mode 100644
index 14938151..00000000
--- a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/LegendPointStyleConfiguration.java
+++ /dev/null
@@ -1,71 +0,0 @@
-package de.adesso.wickedcharts.showcase.configurations;
-
-import de.adesso.wickedcharts.chartjs.chartoptions.*;
-import de.adesso.wickedcharts.chartjs.chartoptions.colors.SimpleColor;
-import de.adesso.wickedcharts.chartjs.chartoptions.fillingmodes.BoundaryFillingMode;
-import de.adesso.wickedcharts.chartjs.chartoptions.label.TextLabel;
-import de.adesso.wickedcharts.chartjs.chartoptions.valueType.IntegerValue;
-import de.adesso.wickedcharts.showcase.configurations.base.ShowcaseConfiguration;
-
-import java.util.Arrays;
-
-/**
- *
- * A sample that shows how different point style configurations look.
- *
- * @see
http://www.chartjs.org/samples/latest/legend/point-style.html
- *
- * @author maximAtanasov
- * @author anedomansky
- */
-@SuppressWarnings("serial")
-public class LegendPointStyleConfiguration extends ShowcaseConfiguration {
- public LegendPointStyleConfiguration() {
- super();
- setType(ChartType.LINE);
-
- Data data = new Data()
- .setLabels(TextLabel.of("January", "February", "March", "April", "May", "June", "July"));
- setData(data);
-
- Dataset dataset1 = new Dataset()
- .setLabel("My First dataset")
- .setBackgroundColor(SimpleColor.RED_TRANSPARENT)
- .setBorderColor(SimpleColor.RED)
- .setPointStyle(PointStyle.RECT_ROT)
- .setPointRadius(10)
- .setData(IntegerValue.of(-40, 20, 30, -70, 12, 60, -30))
- .setFill(BoundaryFillingMode.ORIGIN);
-
-
- data.setDatasets(Arrays.asList(dataset1));
-
- Options options = new Options()
- .setResponsive(true)
- .setTitle(new Title()
- .setDisplay(true)
- .setText("Chart.js Point Style Legend"))
- .setTooltips(new Tooltips()
- .setMode(TooltipMode.INDEX)
- .setIntersect(false))
- .setLegend(new Legend()
- .setLabels(new LegendLabel()
- .setUsePointStyle(true)))
- .setHover(new Hover()
- .setMode(HoverMode.NEAREST)
- .setIntersect(true))
- .setScales(new Scales()
- .setXAxes(new AxesScale()
- .setDisplay(true)
- .setScaleLabel(new ScaleLabel()
- .setDisplay(true)
- .setLabelString("Month")))
- .setYAxes(new AxesScale()
- .setDisplay(true)
- .setScaleLabel(new ScaleLabel()
- .setDisplay(true)
- .setLabelString("Value"))))
- ;
- setOptions(options);
- }
-}
diff --git a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/LineChartAreaDatasetConfiguration.java b/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/LineChartAreaDatasetConfiguration.java
deleted file mode 100644
index af88eb23..00000000
--- a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/LineChartAreaDatasetConfiguration.java
+++ /dev/null
@@ -1,143 +0,0 @@
-package de.adesso.wickedcharts.showcase.configurations;
-
-import de.adesso.wickedcharts.chartjs.chartoptions.*;
-import de.adesso.wickedcharts.chartjs.chartoptions.colors.SimpleColor;
-import de.adesso.wickedcharts.chartjs.chartoptions.fillingmodes.AbsoluteIndex;
-import de.adesso.wickedcharts.chartjs.chartoptions.fillingmodes.BoundaryFillingMode;
-import de.adesso.wickedcharts.chartjs.chartoptions.fillingmodes.RelativeIndex;
-import de.adesso.wickedcharts.chartjs.chartoptions.label.TextLabel;
-import de.adesso.wickedcharts.chartjs.chartoptions.valueType.IntegerValue;
-import de.adesso.wickedcharts.showcase.configurations.base.ShowcaseConfiguration;
-
-import java.util.Arrays;
-
-/**
- *
- * A sample that shows how a chart with different datasets can be configured.
- *
- * @see
http://www.chartjs.org/samples/latest/charts/area/line-datasets.html
- *
- * @author maximAtanasov
- * @author anedomansky
- */
-@SuppressWarnings("serial")
-public class LineChartAreaDatasetConfiguration extends ShowcaseConfiguration {
- public LineChartAreaDatasetConfiguration() {
- super();
- setType(ChartType.LINE);
-
- Data data = new Data()
- .setLabels(TextLabel.of("January", "February", "March", "April", "May", "June", "July"));
- setData(data);
-
- Dataset dataset0 = new Dataset()
- .setLabel("D0 (hidden), Fill: undefined")
- .setBackgroundColor(SimpleColor.RED_TRANSPARENT)
- .setBorderColor(SimpleColor.RED)
- .setData(IntegerValue.of(randomIntegerList(7)))
- .setFill(BoundaryFillingMode.UNDEFINED)
- .setHidden(true);
-
-
- Dataset dataset1 = new Dataset()
- .setLabel("D1 Fill: -1")
- .setBackgroundColor(SimpleColor.RED_TRANSPARENT)
- .setBorderColor(SimpleColor.RED)
- .setData(IntegerValue.of(randomIntegerList(7)))
- .setFill(new RelativeIndex("-1"));
-
-
- Dataset dataset2 = new Dataset()
- .setLabel("D2 (hidden) Fill: 1")
- .setBackgroundColor(SimpleColor.ORANGE_TRANSPARENT)
- .setBorderColor(SimpleColor.ORANGE)
- .setData(IntegerValue.of(randomIntegerList(7)))
- .setHidden(true)
- .setFill(new AbsoluteIndex(1));
-
- Dataset dataset3 = new Dataset()
- .setLabel("D3 Fill: -1")
- .setBackgroundColor(SimpleColor.YELLOW_TRANSPARENT)
- .setBorderColor(SimpleColor.YELLOW)
- .setData(IntegerValue.of(randomIntegerList(7)))
- .setFill(false);
-
-
- Dataset dataset4 = new Dataset()
- .setLabel("D4 Fill: -1")
- .setBackgroundColor(SimpleColor.GREEN_TRANSPARENT)
- .setBorderColor(SimpleColor.GREEN)
- .setData(IntegerValue.of(randomIntegerList(7)))
- .setFill(new RelativeIndex("-1"));
-
- Dataset dataset5 = new Dataset()
- .setLabel("D5 Fill: +2")
- .setBackgroundColor(SimpleColor.BLUE_TRANSPARENT)
- .setBorderColor(SimpleColor.BLUE)
- .setData(IntegerValue.of(randomIntegerList(7)))
- .setFill(new RelativeIndex("+2"));
-
-
- Dataset dataset6 = new Dataset()
- .setLabel("D6 Fill: false")
- .setBackgroundColor(SimpleColor.GREY_TRANSPARENT)
- .setBorderColor(SimpleColor.GREY)
- .setData(IntegerValue.of(randomIntegerList(7)))
- .setFill(false);
-
- Dataset dataset7 = new Dataset()
- .setLabel("D7 Fill: 8")
- .setBackgroundColor(SimpleColor.PURPLE_TRANSPARENT)
- .setBorderColor(SimpleColor.PURPLE)
- .setData(IntegerValue.of(randomIntegerList(7)))
- .setFill(new AbsoluteIndex(8));
-
-
- Dataset dataset8 = new Dataset()
- .setLabel("D8 (hidden) Fill: end")
- .setBackgroundColor(SimpleColor.RED_TRANSPARENT)
- .setBorderColor(SimpleColor.RED)
- .setData(IntegerValue.of(randomIntegerList(7)))
- .setHidden(true)
- .setFill(BoundaryFillingMode.END);
-
- data.setDatasets(Arrays.asList(dataset0, dataset1, dataset2, dataset3, dataset4,
- dataset5, dataset6, dataset7, dataset8));
-
- Options options = new Options()
- .setMaintainAspectRatio(true)
- .setSpanGaps(false)
- .setElements(new Element()
- .setLine(new Line()
- .setTension(0.000001)))
- .setResponsive(true)
- .setTitle(new Title()
- .setDisplay(true)
- .setText("Chart.js Line Dataset Chart"))
- .setTooltips(new Tooltips()
- .setMode(TooltipMode.INDEX)
- .setIntersect(false))
- .setHover(new Hover()
- .setMode(HoverMode.NEAREST)
- .setIntersect(true))
- .setPlugins(new Plugins()
- .setFiller(new Filler()
- .setPropagate(false))
- .setSamples_filler_analyzer(new SamplesFillerAnalyzer()
- .setTarget("chart-analyzer")))
- .setScales(new Scales()
- .setXAxes(new AxesScale()
- .setDisplay(true)
- .setScaleLabel(new ScaleLabel()
- .setDisplay(true)
- .setLabelString("Month")))
- .setYAxes(new AxesScale()
- .setDisplay(true)
- .setStacked(true)
- .setScaleLabel(new ScaleLabel()
- .setDisplay(true)
- .setLabelString("Value"))))
- ;
- setOptions(options);
- }
-}
diff --git a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/LineChartInterpolatedConfiguration.java b/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/LineChartInterpolatedConfiguration.java
deleted file mode 100644
index 5b51dafd..00000000
--- a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/LineChartInterpolatedConfiguration.java
+++ /dev/null
@@ -1,84 +0,0 @@
-package de.adesso.wickedcharts.showcase.configurations;
-
-import de.adesso.wickedcharts.chartjs.chartoptions.*;
-import de.adesso.wickedcharts.chartjs.chartoptions.colors.SimpleColor;
-import de.adesso.wickedcharts.chartjs.chartoptions.label.TextLabel;
-import de.adesso.wickedcharts.chartjs.chartoptions.valueType.IntegerValue;
-import de.adesso.wickedcharts.showcase.configurations.base.ShowcaseConfiguration;
-
-import java.util.Arrays;
-import java.util.List;
-
-/**
- *
- * A sample that shows how configuring interpolation of lines in a line chart is configured.
- *
- * @see
http://www.chartjs.org/samples/latest/charts/line/interpolation-modes.html
- *
- * @author maximAtanasov
- * @author anedomansky
- */
-@SuppressWarnings("serial")
-public class LineChartInterpolatedConfiguration extends ShowcaseConfiguration {
- public LineChartInterpolatedConfiguration() {
- super();
- setType(ChartType.LINE);
-
- Data data = new Data()
- .setLabels(TextLabel.of("January", "February", "March", "April", "May", "June", "July"));
- setData(data);
-
- List
datasetsData = IntegerValue.of(randomIntegerList(7));
-
- Dataset dataset1 = new Dataset()
- .setLabel("Cubic interpolation (monotone)")
- .setBackgroundColor(SimpleColor.RED)
- .setBorderColor(SimpleColor.RED)
- .setData(datasetsData)
- .setFill(false)
- .setCubicInterpolationMode(CubicInterpolationMode.MONOTONE);
-
- Dataset dataset2 = new Dataset()
- .setLabel("Cubic interpolation (default)")
- .setBackgroundColor(SimpleColor.BLUE)
- .setBorderColor(SimpleColor.BLUE)
- .setData(datasetsData)
- .setFill(false);
-
- Dataset dataset3 = new Dataset()
- .setLabel("Linear interpolation")
- .setBackgroundColor(SimpleColor.GREEN)
- .setBorderColor(SimpleColor.GREEN)
- .setData(datasetsData)
- .setFill(false)
- .setLineTension(0);
-
-
- data.setDatasets(Arrays.asList(dataset1,dataset2, dataset3));
-
- Options options = new Options()
- .setResponsive(true)
- .setTitle(new Title()
- .setDisplay(true)
- .setText("Chart.js Line Chart Interpolation"))
- .setTooltips(new Tooltips()
- .setMode(TooltipMode.INDEX)
- .setIntersect(false))
- .setHover(new Hover()
- .setMode(HoverMode.NEAREST)
- .setIntersect(true))
- .setScales(new Scales()
- .setXAxes(new AxesScale()
- .setDisplay(true)
- .setScaleLabel(new ScaleLabel()
- .setDisplay(true)
- .setLabelString("Month")))
- .setYAxes(new AxesScale()
- .setDisplay(true)
- .setScaleLabel(new ScaleLabel()
- .setDisplay(true)
- .setLabelString("Value"))))
- ;
- setOptions(options);
- }
-}
diff --git a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/LineChartMultiAxisConfiguration.java b/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/LineChartMultiAxisConfiguration.java
deleted file mode 100644
index fe82651a..00000000
--- a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/LineChartMultiAxisConfiguration.java
+++ /dev/null
@@ -1,76 +0,0 @@
-package de.adesso.wickedcharts.showcase.configurations;
-
-import de.adesso.wickedcharts.chartjs.chartoptions.*;
-import de.adesso.wickedcharts.chartjs.chartoptions.colors.SimpleColor;
-import de.adesso.wickedcharts.chartjs.chartoptions.label.TextLabel;
-import de.adesso.wickedcharts.chartjs.chartoptions.valueType.IntegerValue;
-import de.adesso.wickedcharts.showcase.configurations.base.ShowcaseConfiguration;
-
-import java.util.Arrays;
-
-/**
- *
- * A sample that shows how multiple axes in a line chart are configured.
- *
- * @see http://www.chartjs.org/samples/latest/charts/line/multi-axis.html
- *
- * @author maximAtanasov
- * @author anedomansky
- */
-@SuppressWarnings("serial")
-public class LineChartMultiAxisConfiguration extends ShowcaseConfiguration{
- public LineChartMultiAxisConfiguration() {
- setType(ChartType.LINE);
- Data data = new Data()
- .setLabels(TextLabel.of("January", "February", "March", "April", "May", "June", "July"));
- setData(data);
-
- Dataset dataset1 = new Dataset()
- .setLabel("Dataset 1")
- .setBackgroundColor(SimpleColor.RED)
- .setBorderColor(SimpleColor.RED)
- .setData(IntegerValue.of(randomIntegerList(7)))
- .setFill(false)
- .setYAxisID("y-axis-1");
-
-
- Dataset dataset2 = new Dataset()
- .setLabel("Dataset 2")
- .setBackgroundColor(SimpleColor.BLUE)
- .setBorderColor(SimpleColor.BLUE)
- .setData(IntegerValue.of(randomIntegerList(7)))
- .setFill(false)
- .setYAxisID("y-axis-2");
-
- data.setDatasets(Arrays.asList(dataset1,dataset2));
-
- Options options = new Options()
- .setResponsive(true)
- .setTitle(new Title()
- .setDisplay(true)
- .setText("Chart.js Line Chart - Multi Axis"))
- .setTooltips(new Tooltips()
- .setMode(TooltipMode.INDEX)
- .setIntersect(false))
- .setLegend(new Legend()
- .setPosition(Position.TOP))
- .setScales(new Scales()
- .setYAxes(Arrays.asList(new AxesScale()
- .setType("linear")
- .setDisplay(true)
- .setPosition(Position.LEFT)
- .setId("y-axis-1"),
- new AxesScale()
- .setType("linear")
- .setDisplay(true)
- .setPosition(Position.RIGHT)
- .setId("y-axis-2")
- .setGridLines(new GridLines()
- .setDrawOnChartArea(false)))))
-
- ;
- setOptions(options);
-
- }
-
-}
diff --git a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/LineChartProgressBarConfiguration.java b/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/LineChartProgressBarConfiguration.java
deleted file mode 100644
index cf6f940d..00000000
--- a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/LineChartProgressBarConfiguration.java
+++ /dev/null
@@ -1,95 +0,0 @@
-package de.adesso.wickedcharts.showcase.configurations;
-
-import de.adesso.wickedcharts.chartjs.chartoptions.*;
-import de.adesso.wickedcharts.chartjs.chartoptions.colors.SimpleColor;
-import de.adesso.wickedcharts.chartjs.chartoptions.label.TextLabel;
-import de.adesso.wickedcharts.chartjs.chartoptions.valueType.IntegerValue;
-import de.adesso.wickedcharts.showcase.configurations.base.ShowcaseConfiguration;
-import org.apache.wicket.markup.html.panel.Fragment;
-
-import java.util.ArrayList;
-import java.util.Arrays;
-
-/**
- *
- * A sample that shows how a line chart with a progress bar is configured.
- *
- * @see http://www.chartjs.org/samples/latest/advanced/progress-bar.html
- *
- * @author maximAtanasov
- * @author anedomansky
- */
-@SuppressWarnings("serial")
-public class LineChartProgressBarConfiguration extends ShowcaseConfiguration {
- public LineChartProgressBarConfiguration() {
- super();
- setType(ChartType.LINE);
-
- String optionalJavascript= readFile("de/adesso/wickedcharts/showcase/progressBar.js");
-
- setOptionalJavascript(new ArrayList());
- addOptionalJavascript(optionalJavascript);
-
- Data data = new Data()
- .setLabels(TextLabel.of("January", "February", "March", "April", "May", "June", "July"));
- setData(data);
-
- Dataset dataset1 = new Dataset()
- .setLabel("My First dataset")
- .setBackgroundColor(SimpleColor.RED)
- .setBorderColor(SimpleColor.RED)
- .setData(IntegerValue.of(randomIntegerList(7)))
- .setFill(false);
-
-
- Dataset dataset2 = new Dataset()
- .setLabel("My Second dataset")
- .setBackgroundColor(SimpleColor.BLUE)
- .setBorderColor(SimpleColor.BLUE)
- .setData(IntegerValue.of(randomIntegerList(7)))
- .setFill(false);
-
- data.setDatasets(Arrays.asList(dataset1,dataset2));
-
- Options options = new Options()
- .setResponsive(true)
- .setTitle(new Title()
- .setDisplay(true)
- .setText("Chart.js Line Chart Progress Bar"))
- .setTooltips(new Tooltips()
- .setMode(TooltipMode.INDEX)
- .setIntersect(false))
- .setAnimation(new Animation()
- .setDuration(2000)
- .setOnProgress(new CallbackFunction("function(animation) {\r\n" +
- " progress.value = animation.currentStep / animation.numSteps;\r\n" +
- " }"))
- .setOnComplete(new CallbackFunction("function(animation) {\r\n" +
- " window.setTimeout(function() {\r\n" +
- " progress.value = 0;\r\n" +
- " }, 2000);\r\n" +
- " }")))
- .setHover(new Hover()
- .setMode(HoverMode.NEAREST)
- .setIntersect(true))
- .setScales(new Scales()
- .setXAxes(new AxesScale()
- .setDisplay(true)
- .setScaleLabel(new ScaleLabel()
- .setDisplay(true)
- .setLabelString("Month")))
- .setYAxes(new AxesScale()
- .setDisplay(true)
- .setScaleLabel(new ScaleLabel()
- .setDisplay(true)
- .setLabelString("Value"))))
- ;
- setOptions(options);
- }
-
- @Override
- public void modfiyIndividualMarkup(Fragment optionalMarkup) {
- Fragment frag = new Fragment("optionalMarkup","progressBar",optionalMarkup.getParent());
- optionalMarkup.replaceWith(frag);
- }
-}
diff --git a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/LineChartStackedConfiguration.java b/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/LineChartStackedConfiguration.java
deleted file mode 100644
index 383c7a06..00000000
--- a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/LineChartStackedConfiguration.java
+++ /dev/null
@@ -1,77 +0,0 @@
-package de.adesso.wickedcharts.showcase.configurations;
-
-import de.adesso.wickedcharts.chartjs.chartoptions.*;
-import de.adesso.wickedcharts.chartjs.chartoptions.colors.SimpleColor;
-import de.adesso.wickedcharts.chartjs.chartoptions.label.TextLabel;
-import de.adesso.wickedcharts.chartjs.chartoptions.valueType.IntegerValue;
-import de.adesso.wickedcharts.showcase.configurations.base.ShowcaseConfiguration;
-
-import java.util.Arrays;
-
-/**
- *
- * A sample that shows how a stacked line chart is configured.
- *
- * @see http://www.chartjs.org/samples/latest/charts/area/line-stacked.html
- *
- * @author maximAtanasov
- * @author anedomansky
- */
-@SuppressWarnings("serial")
-public class LineChartStackedConfiguration extends ShowcaseConfiguration{
- public LineChartStackedConfiguration() {
- super();
- setType(ChartType.LINE);
-
- Data data = new Data()
- .setLabels(TextLabel.of("January", "February", "March", "April", "May", "June", "July"));
- setData(data);
-
- Dataset dataset1 = new Dataset()
- .setLabel("My First dataset")
- .setBackgroundColor(SimpleColor.RED)
- .setBorderColor(SimpleColor.RED)
- .setData(IntegerValue.of(randomIntegerList(7)));
-
-
- Dataset dataset2 = new Dataset()
- .setLabel("My Second dataset")
- .setBackgroundColor(SimpleColor.BLUE)
- .setBorderColor(SimpleColor.BLUE)
- .setData(IntegerValue.of(randomIntegerList(7)));
-
- Dataset dataset3 = new Dataset()
- .setLabel("My Third dataset")
- .setBackgroundColor(SimpleColor.GREEN)
- .setBorderColor(SimpleColor.GREEN)
- .setData(IntegerValue.of(randomIntegerList(7)));
-
- data.setDatasets(Arrays.asList(dataset1,dataset2, dataset3));
-
- Options options = new Options()
- .setResponsive(true)
- .setTitle(new Title()
- .setDisplay(true)
- .setText("Chart.js Stacked Line Chart"))
- .setTooltips(new Tooltips()
- .setMode(TooltipMode.INDEX)
- .setIntersect(false))
- .setHover(new Hover()
- .setMode(HoverMode.NEAREST)
- .setIntersect(true))
- .setScales(new Scales()
- .setXAxes(new AxesScale()
- .setDisplay(true)
- .setScaleLabel(new ScaleLabel()
- .setDisplay(true)
- .setLabelString("Month")))
- .setYAxes(new AxesScale()
- .setDisplay(true)
- .setStacked(true)
- .setScaleLabel(new ScaleLabel()
- .setDisplay(true)
- .setLabelString("Value"))))
- ;
- setOptions(options);
- }
-}
\ No newline at end of file
diff --git a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/LineChartSteppedAfterConfiguration.java b/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/LineChartSteppedAfterConfiguration.java
deleted file mode 100644
index cc3da325..00000000
--- a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/LineChartSteppedAfterConfiguration.java
+++ /dev/null
@@ -1,66 +0,0 @@
-package de.adesso.wickedcharts.showcase.configurations;
-
-import de.adesso.wickedcharts.chartjs.chartoptions.*;
-import de.adesso.wickedcharts.chartjs.chartoptions.colors.SimpleColor;
-import de.adesso.wickedcharts.chartjs.chartoptions.label.TextLabel;
-import de.adesso.wickedcharts.chartjs.chartoptions.valueType.IntegerValue;
-import de.adesso.wickedcharts.showcase.configurations.base.ShowcaseConfiguration;
-
-import java.util.Arrays;
-
-/**
- *
- * A sample that shows how a stepped line chart configuration looks with stepped = after.
- *
- * @see http://www.chartjs.org/samples/latest/charts/line/stepped.html
- *
- * @author maximAtanasov
- * @author anedomansky
- */
-@SuppressWarnings("serial")
-public class LineChartSteppedAfterConfiguration extends ShowcaseConfiguration {
- public LineChartSteppedAfterConfiguration() {
- super();
- setType(ChartType.LINE);
- Data data = new Data()
- .setLabels(TextLabel.of("January", "February", "March", "April", "May", "June", "July"));
- setData(data);
-
-
-
- Dataset dataset1 = new Dataset()
- .setLabel("Stepped After")
- .setBackgroundColor(SimpleColor.GREEN)
- .setBorderColor(SimpleColor.GREEN)
- .setData(IntegerValue.of(randomIntegerList(7)))
- .setFill(false)
- .setSteppedLine(SteppedLineValue.AFTER);
-
- data.setDatasets(Arrays.asList(dataset1));
-
- Options options = new Options()
- .setResponsive(true)
- .setTitle(new Title()
- .setDisplay(true)
- .setText("Chart.js Line Chart Stepped - After"))
- .setTooltips(new Tooltips()
- .setMode(TooltipMode.INDEX)
- .setIntersect(false))
- .setHover(new Hover()
- .setMode(HoverMode.NEAREST)
- .setIntersect(true))
- .setScales(new Scales()
- .setXAxes(new AxesScale()
- .setDisplay(true)
- .setScaleLabel(new ScaleLabel()
- .setDisplay(true)
- .setLabelString("Month")))
- .setYAxes(new AxesScale()
- .setDisplay(true)
- .setScaleLabel(new ScaleLabel()
- .setDisplay(true)
- .setLabelString("Value"))))
- ;
- setOptions(options);
- }
-}
diff --git a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/LineChartSteppedBeforeConfiguration.java b/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/LineChartSteppedBeforeConfiguration.java
deleted file mode 100644
index 4cfde004..00000000
--- a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/LineChartSteppedBeforeConfiguration.java
+++ /dev/null
@@ -1,65 +0,0 @@
-package de.adesso.wickedcharts.showcase.configurations;
-
-import de.adesso.wickedcharts.chartjs.chartoptions.*;
-import de.adesso.wickedcharts.chartjs.chartoptions.colors.SimpleColor;
-import de.adesso.wickedcharts.chartjs.chartoptions.label.TextLabel;
-import de.adesso.wickedcharts.chartjs.chartoptions.valueType.IntegerValue;
-import de.adesso.wickedcharts.showcase.configurations.base.ShowcaseConfiguration;
-
-import java.util.Arrays;
-
-/**
- *
- * A sample that shows how a stepped line chart configuration looks with stepped = before.
- *
- * @see http://www.chartjs.org/samples/latest/charts/line/stepped.html
- *
- * @author maximAtanasov
- * @author anedomansky
- */
-@SuppressWarnings("serial")
-public class LineChartSteppedBeforeConfiguration extends ShowcaseConfiguration {
- public LineChartSteppedBeforeConfiguration() {
- super();
- setType(ChartType.LINE);
-
- Data data = new Data()
- .setLabels(TextLabel.of("January", "February", "March", "April", "May", "June", "July"));
- setData(data);
-
- Dataset dataset1 = new Dataset()
- .setLabel("Stepped Before")
- .setBackgroundColor(SimpleColor.BLUE)
- .setBorderColor(SimpleColor.BLUE)
- .setData(IntegerValue.of(randomIntegerList(7)))
- .setFill(false)
- .setSteppedLine(SteppedLineValue.BEFORE);
-
- data.setDatasets(Arrays.asList(dataset1));
-
- Options options = new Options()
- .setResponsive(true)
- .setTitle(new Title()
- .setDisplay(true)
- .setText("Chart.js Line Chart Stepped - Before"))
- .setTooltips(new Tooltips()
- .setMode(TooltipMode.INDEX)
- .setIntersect(false))
- .setHover(new Hover()
- .setMode(HoverMode.NEAREST)
- .setIntersect(true))
- .setScales(new Scales()
- .setXAxes(new AxesScale()
- .setDisplay(true)
- .setScaleLabel(new ScaleLabel()
- .setDisplay(true)
- .setLabelString("Month")))
- .setYAxes(new AxesScale()
- .setDisplay(true)
- .setScaleLabel(new ScaleLabel()
- .setDisplay(true)
- .setLabelString("Value"))))
- ;
- setOptions(options);
- }
-}
diff --git a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/LinearStepSizeConfiguration.java b/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/LinearStepSizeConfiguration.java
deleted file mode 100644
index 84f1afb3..00000000
--- a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/LinearStepSizeConfiguration.java
+++ /dev/null
@@ -1,75 +0,0 @@
-package de.adesso.wickedcharts.showcase.configurations;
-
-import de.adesso.wickedcharts.chartjs.chartoptions.*;
-import de.adesso.wickedcharts.chartjs.chartoptions.colors.SimpleColor;
-import de.adesso.wickedcharts.chartjs.chartoptions.label.TextLabel;
-import de.adesso.wickedcharts.chartjs.chartoptions.valueType.IntegerValue;
-import de.adesso.wickedcharts.showcase.configurations.base.ShowcaseConfiguration;
-
-import java.util.Arrays;
-
-/**
- *
- * A sample that shows how a line chart with linear step size is configured.
- *
- * @see http://www.chartjs.org/samples/latest/scales/linear/step-size.html
- *
- * @author SvenWirz
- */
-@SuppressWarnings("serial")
-public class LinearStepSizeConfiguration extends ShowcaseConfiguration {
- public LinearStepSizeConfiguration() {
- super();
- setType(ChartType.LINE);
-
- Data data = new Data()
- .setLabels(TextLabel.of("January", "February", "March", "April", "May", "June", "July"));
- setData(data);
-
- Dataset dataset1 = new Dataset()
- .setLabel("My First dataset")
- .setBackgroundColor(SimpleColor.RED)
- .setBorderColor(SimpleColor.RED)
- .setData(IntegerValue.of(randomIntegerList(7)))
- .setFill(false);
-
-
- Dataset dataset2 = new Dataset()
- .setLabel("My Second dataset")
- .setBackgroundColor(SimpleColor.BLUE)
- .setBorderColor(SimpleColor.BLUE)
- .setData(IntegerValue.of(randomIntegerList(7)))
- .setFill(false);
-
- data.setDatasets(Arrays.asList(dataset1,dataset2));
-
- Options options = new Options()
- .setResponsive(true)
- .setTitle(new Title()
- .setDisplay(true)
- .setText("Chart.js Line Chart"))
- .setTooltips(new Tooltips()
- .setMode(TooltipMode.INDEX)
- .setIntersect(false))
- .setHover(new Hover()
- .setMode(HoverMode.NEAREST)
- .setIntersect(true))
- .setScales(new Scales()
- .setXAxes(new AxesScale()
- .setDisplay(true)
- .setScaleLabel(new ScaleLabel()
- .setDisplay(true)
- .setLabelString("Month")))
- .setYAxes(new AxesScale()
- .setDisplay(true)
- .setScaleLabel(new ScaleLabel()
- .setDisplay(true)
- .setLabelString("Value"))
- .setTicks(new Ticks()
- .setMin(0)
- .setMax(100)
- .setStepSize(5))))
- ;
- setOptions(options);
- }
-}
diff --git a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/LogarithmicLineChartConfiguration.java b/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/LogarithmicLineChartConfiguration.java
deleted file mode 100644
index 0924670d..00000000
--- a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/LogarithmicLineChartConfiguration.java
+++ /dev/null
@@ -1,72 +0,0 @@
-package de.adesso.wickedcharts.showcase.configurations;
-
-import de.adesso.wickedcharts.chartjs.chartoptions.*;
-import de.adesso.wickedcharts.chartjs.chartoptions.colors.SimpleColor;
-import de.adesso.wickedcharts.chartjs.chartoptions.label.TextLabel;
-import de.adesso.wickedcharts.chartjs.chartoptions.valueType.IntegerValue;
-import de.adesso.wickedcharts.showcase.configurations.base.ShowcaseConfiguration;
-
-import java.util.Arrays;
-
-/**
- *
- * A sample that shows how a logarithmic line chart configuration looks.
- *
- * @see http://www.chartjs.org/samples/latest/scales/logarithmic/line.html
- *
- * @author SvenWirz
- */
-@SuppressWarnings("serial")
-public class LogarithmicLineChartConfiguration extends ShowcaseConfiguration {
- public LogarithmicLineChartConfiguration() {
- super();
- setType(ChartType.LINE);
-
- Data data = new Data()
- .setLabels(TextLabel.of("January", "February", "March", "April", "May", "June", "July"));
- setData(data);
-
- Dataset dataset1 = new Dataset()
- .setLabel("My First dataset")
- .setBackgroundColor(SimpleColor.RED)
- .setBorderColor(SimpleColor.RED)
- .setData(IntegerValue.of(randomIntegerList(7)))
- .setFill(false);
-
- Dataset dataset2 = new Dataset()
- .setLabel("My Second dataset")
- .setBackgroundColor(SimpleColor.BLUE)
- .setBorderColor(SimpleColor.BLUE)
- .setData(IntegerValue.of(randomIntegerList(7)))
- .setFill(false);
-
- data.setDatasets(Arrays.asList(dataset1,dataset2));
-
- Options options = new Options()
- .setResponsive(true)
- .setTitle(new Title()
- .setDisplay(true)
- .setText("Chart.js Logarithmic Line Chart"))
- .setTooltips(new Tooltips()
- .setMode(TooltipMode.INDEX)
- .setIntersect(false))
- .setHover(new Hover()
- .setMode(HoverMode.NEAREST)
- .setIntersect(true))
- .setScales(new Scales()
- .setXAxes(new AxesScale()
- .setDisplay(true)
- .setScaleLabel(new ScaleLabel()
- .setDisplay(true)
- .setLabelString("Month")))
- .setYAxes(new AxesScale()
- .setDisplay(true)
- .setType("logarithmic")
- .setScaleLabel(new ScaleLabel()
- .setDisplay(true)
- .setLabelString("Value"))))
-
- ;
- setOptions(options);
- }
-}
diff --git a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/MinMaxConfiguration.java b/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/MinMaxConfiguration.java
deleted file mode 100644
index 2d826156..00000000
--- a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/MinMaxConfiguration.java
+++ /dev/null
@@ -1,60 +0,0 @@
-package de.adesso.wickedcharts.showcase.configurations;
-
-import de.adesso.wickedcharts.chartjs.chartoptions.*;
-import de.adesso.wickedcharts.chartjs.chartoptions.colors.SimpleColor;
-import de.adesso.wickedcharts.chartjs.chartoptions.label.TextLabel;
-import de.adesso.wickedcharts.chartjs.chartoptions.valueType.IntegerValue;
-import de.adesso.wickedcharts.showcase.configurations.base.ShowcaseConfiguration;
-
-import java.util.Arrays;
-
-
-/**
- *
- * A sample that shows how to configure min and max Ticks in the chart options.
- *
- * @see http://www.chartjs.org/samples/latest/scales/linear/min-max.html
- *
- * @author SvenWirz
- */
-@SuppressWarnings("serial")
-public class MinMaxConfiguration extends ShowcaseConfiguration {
- public MinMaxConfiguration() {
- super();
- setType(ChartType.LINE);
-
- Data data = new Data()
- .setLabels(TextLabel.of("January", "February", "March", "April", "May", "June", "July"));
- setData(data);
-
- Dataset dataset1 = new Dataset()
- .setLabel("My First dataset")
- .setBackgroundColor(SimpleColor.RED)
- .setBorderColor(SimpleColor.RED)
- .setData(IntegerValue.of(Arrays.asList(10, 30, 39, 20, 25, 34, -10)))
- .setFill(false);
-
-
- Dataset dataset2 = new Dataset()
- .setLabel("My Second dataset")
- .setBackgroundColor(SimpleColor.BLUE)
- .setBorderColor(SimpleColor.BLUE)
- .setData(IntegerValue.of(Arrays.asList(100, 33, 22, 19, 11, 49, 30)))
- .setFill(false);
-
- data.setDatasets(Arrays.asList(dataset1,dataset2));
-
- Options options = new Options()
- .setResponsive(true)
- .setTitle(new Title()
- .setDisplay(true)
- .setText("Min and Max"))
- .setScales(new Scales()
- .setYAxes(new AxesScale()
- .setTicks(new Ticks()
- .setMin(10)
- .setMax(50))))
- ;
- setOptions(options);
- }
-}
diff --git a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/NonNumericConfiguration.java b/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/NonNumericConfiguration.java
deleted file mode 100644
index a6f3c0e7..00000000
--- a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/NonNumericConfiguration.java
+++ /dev/null
@@ -1,67 +0,0 @@
-package de.adesso.wickedcharts.showcase.configurations;
-
-import de.adesso.wickedcharts.chartjs.chartoptions.*;
-import de.adesso.wickedcharts.chartjs.chartoptions.colors.SimpleColor;
-import de.adesso.wickedcharts.chartjs.chartoptions.label.ConstLabel;
-import de.adesso.wickedcharts.chartjs.chartoptions.label.TextLabel;
-import de.adesso.wickedcharts.chartjs.chartoptions.valueType.ConstValue;
-import de.adesso.wickedcharts.showcase.configurations.base.ShowcaseConfiguration;
-
-import java.util.Arrays;
-
-
-/**
- *
- * A sample that shows how to configure non-numeric values in a chart.
- *
- * @see http://www.chartjs.org/samples/latest/scales/non-numeric-y.html
- *
- * @author SvenWirz
- */
-@SuppressWarnings("serial")
-public class NonNumericConfiguration extends ShowcaseConfiguration {
-
- public NonNumericConfiguration() {
- setType(ChartType.LINE);
-
- Data data = new Data()
- .setXLabels(TextLabel.of("January", "February", "March", "April", "May", "June", "July"))
- .setYLabels(ConstLabel.of("", "Request Added", "Request Viewed", "Request Accepted", "Request Solved", "Solving Confirmed"))
- ;
-
- Dataset dataset1 = new Dataset()
- .setLabel("My First Dataset")
- .setFill(false)
- .setBorderColor(SimpleColor.RED)
- .setBackgroundColor(SimpleColor.RED)
- .setData(ConstValue.of("", "Request Added", "Request Added", "Request Added", "Request Viewed", "Request Viewed", "Request Viewed"))
- ;
- data.setDatasets(Arrays.asList(dataset1));
- setData(data);
-
- Options options = new Options()
- .setResponsive(true)
- .setTitle(new Title()
- .setDisplay(true)
- .setText("Chart with Non Numeric Y Axis"))
- .setScales(new Scales()
- .setXAxes(new AxesScale()
- .setDisplay(true)
- .setScaleLabel(new ScaleLabel()
- .setDisplay(true)
- .setLabelString("Month")))
- .setYAxes(new AxesScale()
- .setDisplay(true)
- .setType("category")
- .setPosition(Position.LEFT)
- .setScaleLabel(new ScaleLabel()
- .setDisplay(true)
- .setLabelString("Request State"))
- .setTicks(new Ticks()
- .setReverse(true))))
- ;
- setOptions(options);
-
-
- }
-}
diff --git a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/OtherRadarChartConfiguration.java b/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/OtherRadarChartConfiguration.java
deleted file mode 100644
index 19e7d5ec..00000000
--- a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/OtherRadarChartConfiguration.java
+++ /dev/null
@@ -1,65 +0,0 @@
-package de.adesso.wickedcharts.showcase.configurations;
-
-import de.adesso.wickedcharts.chartjs.chartoptions.*;
-import de.adesso.wickedcharts.chartjs.chartoptions.colors.SimpleColor;
-import de.adesso.wickedcharts.chartjs.chartoptions.label.TextLabel;
-import de.adesso.wickedcharts.chartjs.chartoptions.label.TextListLabel;
-import de.adesso.wickedcharts.chartjs.chartoptions.valueType.IntegerValue;
-import de.adesso.wickedcharts.showcase.configurations.base.ShowcaseConfiguration;
-
-import java.util.Arrays;
-
-/**
- * Sample that displays different datasets on a radar.
- *
- * @see http://www.chartjs.org/samples/latest/charts/radar.html
- *
- * @author SvenWirz
- */
-@SuppressWarnings("serial")
-public class OtherRadarChartConfiguration extends ShowcaseConfiguration {
- public OtherRadarChartConfiguration() {
- super();
- setType(ChartType.RADAR);
-
- Data data = new Data()
- .setLabels(Arrays.asList(
- new TextListLabel("Eating", "Dinner"),
- new TextListLabel("Drining", "Water"),
- new TextLabel("Sleeping"),
- new TextListLabel("Designing","Graphics"),
- new TextLabel("Coding"),
- new TextLabel("Cycling"),
- new TextLabel("Running")
- ));
- setData(data);
-
- Dataset dataset0 = new Dataset()
- .setLabel("My First dataset")
- .setBackgroundColor(SimpleColor.RED_TRANSPARENT)
- .setBorderColor(SimpleColor.RED)
- .setPointBackgroundColor(SimpleColor.RED)
- .setData(IntegerValue.of(randomIntegerList(7)));
-
-
- Dataset dataset1 = new Dataset()
- .setLabel("My second dataset")
- .setBackgroundColor(SimpleColor.BLUE_TRANSPARENT)
- .setBorderColor(SimpleColor.BLUE)
- .setPointBackgroundColor(SimpleColor.BLUE)
- .setData(IntegerValue.of(randomIntegerList(7)));
-
- data.setDatasets(Arrays.asList(dataset0, dataset1));
-
- Options options = new Options()
- .setTitle(new Title()
- .setDisplay(true)
- .setText("Chart.js Radar Chart"))
- .setLegend(new Legend()
- .setPosition(Position.TOP))
- .setScale(new Scale()
- .setTicks(new Ticks()
- .setBeginAtZero(true)));
- setOptions(options);
- }
-}
diff --git a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/PointStylesConfiguration.java b/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/PointStylesConfiguration.java
deleted file mode 100644
index 47e62fc4..00000000
--- a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/PointStylesConfiguration.java
+++ /dev/null
@@ -1,182 +0,0 @@
-package de.adesso.wickedcharts.showcase.configurations;
-
-import de.adesso.wickedcharts.chartjs.chartoptions.*;
-import de.adesso.wickedcharts.chartjs.chartoptions.colors.SimpleColor;
-import de.adesso.wickedcharts.chartjs.chartoptions.label.TextLabel;
-import de.adesso.wickedcharts.chartjs.chartoptions.valueType.IntegerValue;
-import de.adesso.wickedcharts.showcase.configurations.base.ShowcaseConfiguration;
-
-import java.util.Arrays;
-
-/**
- * Sample that supports different point styles:
- * 'circle',
- * 'triangle',
- * 'rect',
- * 'rectRounded',
- * 'rectRot',
- * 'cross',
- * 'crossRot',
- * 'star',
- * 'line',
- * 'dash'
- *
- * @see http://www.chartjs.org/samples/latest/charts/line/point-styles.html
- *
- * @author maximAtanasov
- * @author anedomansky
- */
-@SuppressWarnings("serial")
-public class PointStylesConfiguration extends ShowcaseConfiguration {
- public PointStylesConfiguration() {
- super();
- setType(ChartType.LINE);
-
- Data data = new Data()
- .setLabels(TextLabel.of("January", "February", "March", "April", "May", "June", "July"));
- setData(data);
-
- Dataset dataset1 = new Dataset()
- .setLabel("Dash")
- .setBackgroundColor(SimpleColor.GREY)
- .setBorderColor(SimpleColor.GREY)
- .setData(IntegerValue.of(Arrays.asList(1,1,1,1,1,1,1)))
- .setShowLine(false)
- .setPointRadius(10)
- .setPointHoverRadius(15)
- .setPointStyle(PointStyle.DASH)
- .setFill(false);
-
- Dataset dataset2 = new Dataset()
- .setLabel("Star")
- .setBackgroundColor(SimpleColor.PURPLE)
- .setBorderColor(SimpleColor.PURPLE)
- .setData(IntegerValue.of(Arrays.asList(2,2,2,2,2,2,2)))
- .setShowLine(false)
- .setPointRadius(20)
- .setPointHoverRadius(15)
- .setPointStyle(PointStyle.STAR)
- .setFill(false);
-
- Dataset dataset3 = new Dataset()
- .setLabel("Rectangle")
- .setBackgroundColor(SimpleColor.YELLOW)
- .setBorderColor(SimpleColor.YELLOW)
- .setData(IntegerValue.of(Arrays.asList(3,3,3,3,3,3,3)))
- .setShowLine(false)
- .setPointRadius(10)
- .setPointHoverRadius(15)
- .setPointStyle(PointStyle.RECT)
- .setFill(false);
-
- Dataset dataset4 = new Dataset()
- .setLabel("Triangle")
- .setBackgroundColor(SimpleColor.GREEN)
- .setBorderColor(SimpleColor.GREEN)
- .setData(IntegerValue.of(Arrays.asList(4,4,4,4,4,4,4)))
- .setShowLine(false)
- .setPointRadius(10)
- .setPointHoverRadius(15)
- .setPointStyle(PointStyle.TRIANGLE)
- .setFill(false);
-
- Dataset dataset5 = new Dataset()
- .setLabel("Circle")
- .setBackgroundColor(SimpleColor.BLUE)
- .setBorderColor(SimpleColor.BLUE)
- .setData(IntegerValue.of(Arrays.asList(5,5,5,5,5,5,5)))
- .setShowLine(false)
- .setPointRadius(10)
- .setPointHoverRadius(15)
- .setPointStyle(PointStyle.CIRCLE)
- .setFill(false);
-
- Dataset dataset6 = new Dataset()
- .setLabel("CrossRot")
- .setBackgroundColor(SimpleColor.RED)
- .setBorderColor(SimpleColor.RED)
- .setData(IntegerValue.of(Arrays.asList(6,6,6,6,6,6,6)))
- .setShowLine(false)
- .setPointRadius(10)
- .setPointHoverRadius(15)
- .setPointStyle(PointStyle.CROSS_ROT)
- .setFill(false);
-
- Dataset dataset7 = new Dataset()
- .setLabel("Line")
- .setBackgroundColor(SimpleColor.RED_TRANSPARENT)
- .setBorderColor(SimpleColor.RED_TRANSPARENT)
- .setData(IntegerValue.of(Arrays.asList(7,7,7,7,7,7,7)))
- .setShowLine(false)
- .setPointRadius(10)
- .setPointHoverRadius(15)
- .setPointStyle(PointStyle.LINE)
- .setFill(false);
-
- Dataset dataset8 = new Dataset()
- .setLabel("Cross")
- .setBackgroundColor(SimpleColor.BLUE_TRANSPARENT)
- .setBorderColor(SimpleColor.BLUE_TRANSPARENT)
- .setData(IntegerValue.of(Arrays.asList(8,8,8,8,8,8,8)))
- .setShowLine(false)
- .setPointRadius(10)
- .setPointHoverRadius(15)
- .setPointStyle(PointStyle.CROSS)
- .setFill(false);
-
- Dataset dataset9 = new Dataset()
- .setLabel("Rectangle Rounded")
- .setBackgroundColor(SimpleColor.RED)
- .setBorderColor(SimpleColor.RED)
- .setData(IntegerValue.of(Arrays.asList(9,9,9,9,9,9,9)))
- .setShowLine(false)
- .setPointRadius(10)
- .setPointHoverRadius(15)
- .setPointStyle(PointStyle.RECT_ROUNDED)
- .setFill(false);
-
- Dataset dataset10 = new Dataset()
- .setLabel("Rectangle Rotated")
- .setBackgroundColor(SimpleColor.GREEN_TRANSPARENT)
- .setBorderColor(SimpleColor.GREEN_TRANSPARENT)
- .setData(IntegerValue.of(Arrays.asList(11,11,11,11,11,11,11)))
- .setShowLine(false)
- .setPointRadius(10)
- .setPointHoverRadius(15)
- .setPointStyle(PointStyle.RECT_ROT)
- .setFill(false);
-
- data.setDatasets(Arrays.asList(dataset1, dataset2, dataset3, dataset4, dataset5, dataset6,
- dataset7, dataset8, dataset9, dataset10));
-
- //Point Style Can also be set in the options using the Elements option
- //But you can only have one point style for all datasets
-
- //Some Point Styles are drawn incorrectly
- //See this issue: https://github.com/chartjs/Chart.js/issues/2607
-
- Options options = new Options()
- .setResponsive(true)
- .setTitle(new Title()
- .setDisplay(true)
- .setText("Chart.js Point Styles"))
- .setLegend(new Legend()
- .setPosition(Position.RIGHT))
- .setScales(new Scales()
- .setXAxes(new AxesScale()
- .setDisplay(true)
- .setScaleLabel(new ScaleLabel()
- .setDisplay(true)
- .setLabelString("Month")))
- .setYAxes(new AxesScale()
- .setDisplay(true)
- .setScaleLabel(new ScaleLabel()
- .setDisplay(true)
- .setLabelString("Value"))
- .setTicks(new Ticks()
- .setMax(13)
- .setMin(0))))
- ;
- setOptions(options);
- }
-}
diff --git a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/RadarChartConfiguration.java b/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/RadarChartConfiguration.java
deleted file mode 100644
index be74b50d..00000000
--- a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/RadarChartConfiguration.java
+++ /dev/null
@@ -1,98 +0,0 @@
-package de.adesso.wickedcharts.showcase.configurations;
-
-import de.adesso.wickedcharts.chartjs.chartoptions.*;
-import de.adesso.wickedcharts.chartjs.chartoptions.colors.SimpleColor;
-import de.adesso.wickedcharts.chartjs.chartoptions.fillingmodes.AbsoluteIndex;
-import de.adesso.wickedcharts.chartjs.chartoptions.fillingmodes.BoundaryFillingMode;
-import de.adesso.wickedcharts.chartjs.chartoptions.fillingmodes.RelativeIndex;
-import de.adesso.wickedcharts.chartjs.chartoptions.label.TextLabel;
-import de.adesso.wickedcharts.chartjs.chartoptions.valueType.IntegerValue;
-import de.adesso.wickedcharts.showcase.configurations.base.ShowcaseConfiguration;
-
-import java.util.Arrays;
-
-/**
- * Sample that displays different datasets on a radar.
- *
- * @see http://www.chartjs.org/samples/latest/charts/area/radar.html
- *
- * @author maximAtanasov
- * @author anedomansky
- */
-@SuppressWarnings("serial")
-public class RadarChartConfiguration extends ShowcaseConfiguration {
- public RadarChartConfiguration() {
- super();
- setType(ChartType.RADAR);
-
- Data data = new Data()
- .setLabels(TextLabel.of("January", "February", "March", "April", "May", "June", "July"));
- setData(data);
-
- Dataset dataset0 = new Dataset()
- .setLabel("D0")
- .setBackgroundColor(SimpleColor.RED_TRANSPARENT)
- .setBorderColor(SimpleColor.RED)
- .setData(IntegerValue.of(Arrays.asList(1, 2, 3, 1, 2, 1, 2)))
- .setFill(BoundaryFillingMode.UNDEFINED);
-
-
- Dataset dataset1 = new Dataset()
- .setLabel("D1 (hidden) Fill: -1")
- .setBackgroundColor(SimpleColor.ORANGE_TRANSPARENT)
- .setBorderColor(SimpleColor.ORANGE)
- .setData(IntegerValue.of(Arrays.asList(5, 4, 3, 5, 4, 3, 5)))
- .setHidden(true)
- .setFill(new RelativeIndex("-1"));
-
- Dataset dataset2 = new Dataset()
- .setLabel("D2 Fill: 1")
- .setBackgroundColor(SimpleColor.YELLOW)
- .setBorderColor(SimpleColor.YELLOW_TRANSPARENT)
- .setData(IntegerValue.of(Arrays.asList(10, 8, 12, 6, 13, 10, 9)))
- .setFill(new AbsoluteIndex(1));
-
-
- Dataset dataset3 = new Dataset()
- .setLabel("D3 Fill: False")
- .setBackgroundColor(SimpleColor.GREEN_TRANSPARENT)
- .setBorderColor(SimpleColor.GREEN)
- .setData(IntegerValue.of(Arrays.asList(20, 18, 22, 16, 23, 20, 19)))
- .setFill(false);
-
- Dataset dataset4 = new Dataset()
- .setLabel("D4 Fill: -1")
- .setBackgroundColor(SimpleColor.BLUE_TRANSPARENT)
- .setBorderColor(SimpleColor.BLUE)
- .setData(IntegerValue.of(Arrays.asList(30, 28, 32, 26, 33, 30, 29)))
- .setFill(new RelativeIndex("-1"));
-
-
- Dataset dataset5 = new Dataset()
- .setLabel("D5 Fill: -1")
- .setBackgroundColor(SimpleColor.PURPLE_TRANSPARENT)
- .setBorderColor(SimpleColor.PURPLE)
- .setData(IntegerValue.of(Arrays.asList(40, 38, 42, 36, 43, 40, 39)))
- .setFill(new RelativeIndex("-1"));
-
- data.setDatasets(Arrays.asList(dataset0, dataset1, dataset2, dataset3, dataset4, dataset5));
-
- Options options = new Options()
- .setResponsive(true)
- .setTitle(new Title()
- .setDisplay(true)
- .setText("Chart.js Radar Chart"))
- .setMaintainAspectRatio(true)
- .setSpanGaps(false)
- .setElements(new Element()
- .setLine(new Line()
- .setTension(0.000001)))
- .setPlugins(new Plugins()
- .setFiller(new Filler()
- .setPropagate(false))
- .setSamples_filler_analyzer(new SamplesFillerAnalyzer()
- .setTarget("chart-analyzer")))
- ;
- setOptions(options);
- }
-}
diff --git a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/ScatterChartMultiAxisConfiguration.java b/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/ScatterChartMultiAxisConfiguration.java
deleted file mode 100644
index 0dc680a2..00000000
--- a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/ScatterChartMultiAxisConfiguration.java
+++ /dev/null
@@ -1,91 +0,0 @@
-package de.adesso.wickedcharts.showcase.configurations;
-
-import de.adesso.wickedcharts.chartjs.chartoptions.*;
-import de.adesso.wickedcharts.chartjs.chartoptions.colors.RgbaColor;
-import de.adesso.wickedcharts.chartjs.chartoptions.colors.SimpleColor;
-import de.adesso.wickedcharts.chartjs.chartoptions.label.TextLabel;
-import de.adesso.wickedcharts.chartjs.chartoptions.valueType.PointValue;
-import de.adesso.wickedcharts.showcase.configurations.base.ShowcaseConfiguration;
-
-import java.util.Arrays;
-
-/**
- * Sample that displays a scatter chart with two y-axes.
- *
- * @see http://www.chartjs.org/samples/latest/charts/scatter/multi-axis.html
- *
- * @author anedomansky
- * @author maximAtanasov
- */
-@SuppressWarnings("serial")
-public class ScatterChartMultiAxisConfiguration extends ShowcaseConfiguration {
- public ScatterChartMultiAxisConfiguration() {
- super();
- setType(ChartType.SCATTER);
-
- Data data = new Data()
- .setLabels(TextLabel.of("January", "February", "March", "April", "May", "June", "July"));
- setData(data);
-
- Dataset dataset1 = new Dataset()
- .setLabel("My First dataset")
- .setYAxisID("y-axis-1")
- .setBackgroundColor(SimpleColor.RED_TRANSPARENT)
- .setBorderColor(SimpleColor.RED)
- .setData(Arrays.asList(
- new PointValue(4,14),
- new PointValue(40,42),
- new PointValue(23,42),
- new PointValue(40,22),
- new PointValue(80,12),
- new PointValue(30,32)))
- .setFill(false);
-
- Dataset dataset2 = new Dataset()
- .setLabel("My Second dataset")
- .setYAxisID("y-axis-2")
- .setBackgroundColor(SimpleColor.BLUE_TRANSPARENT)
- .setBorderColor(SimpleColor.BLUE)
- .setData(Arrays.asList(
- new PointValue(7,56),
- new PointValue(15,54),
- new PointValue(46,34),
- new PointValue(36,42),
- new PointValue(78,64),
- new PointValue(12,48)))
- .setFill(false);
-
- data.setDatasets(Arrays.asList(dataset1,dataset2));
-
- Options options = new Options()
- .setResponsive(true)
- .setTitle(new Title()
- .setDisplay(true)
- .setText("Chart.js Scatter Chart Multi Axis"))
- .setScales(new Scales()
- .setXAxes(new AxesScale()
- .setDisplay(true)
- .setType("linear")
- .setPosition(Position.BOTTOM)
- .setGridLines(new GridLines()
- .setZeroLineColor(new RgbaColor(0, 0, 0, 1)))
- .setScaleLabel(new ScaleLabel()
- .setDisplay(true)
- .setLabelString("Month")))
- .setYAxes(Arrays.asList(new AxesScale()
- .setType("linear")
- .setDisplay(true)
- .setPosition(Position.LEFT)
- .setId("y-axis-1"),
- new AxesScale()
- .setType("linear")
- .setDisplay(true)
- .setPosition(Position.RIGHT)
- .setReverse(true)
- .setId("y-axis-2")
- .setGridLines(new GridLines()
- .setDrawOnChartArea(false)))))
- ;
- setOptions(options);
- }
-}
diff --git a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/TimeLineConfiguration.java b/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/TimeLineConfiguration.java
deleted file mode 100644
index 1771cd0d..00000000
--- a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/TimeLineConfiguration.java
+++ /dev/null
@@ -1,126 +0,0 @@
-package de.adesso.wickedcharts.showcase.configurations;
-
-import de.adesso.wickedcharts.chartjs.chartoptions.*;
-import de.adesso.wickedcharts.chartjs.chartoptions.colors.SimpleColor;
-import de.adesso.wickedcharts.chartjs.chartoptions.label.DateTimeLabel;
-import de.adesso.wickedcharts.chartjs.chartoptions.valueType.IntegerValue;
-import de.adesso.wickedcharts.chartjs.chartoptions.valueType.PointValue;
-import de.adesso.wickedcharts.chartjs.chartoptions.valueType.StringValue;
-import de.adesso.wickedcharts.chartjs.chartoptions.valueType.ValueType;
-import de.adesso.wickedcharts.showcase.configurations.base.ShowcaseConfiguration;
-
-import java.time.LocalDateTime;
-import java.time.format.DateTimeFormatter;
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.List;
-import java.util.Random;
-
-/**
- * Sample which displays a time progression line for datasets.
- *
- * @see http://www.chartjs.org/samples/latest/scales/time/line.html
- *
- * @author SvenWirz
- */
-@SuppressWarnings("serial")
-public class TimeLineConfiguration extends ShowcaseConfiguration {
-
- public TimeLineConfiguration() {
- setType(ChartType.LINE);
-
- Data data = new Data();
-
- String timeFormat = "MM/DD/YYYY HH:mm";
- DateTimeFormatter formatter = DateTimeFormatter.ofPattern(timeFormat);
-
- List dateList = new ArrayList();
- for(int i = 0; i < 7; i++) {
- dateList.add(new DateTimeLabel(LocalDateTime.of(2018, 1,1, 8+i, 00)));
- }
- data.setLabels(dateList);
-
- Dataset dataset1 = new Dataset()
- .setLabel("My First Dataset")
- .setBackgroundColor(SimpleColor.RED_TRANSPARENT)
- .setBorderColor(SimpleColor.RED)
- .setFill(false)
- .setData(IntegerValue.of(randomIntegerList(7)))
- ;
-
- Dataset dataset2 = new Dataset()
- .setLabel("My Second Dataset")
- .setBackgroundColor(SimpleColor.BLUE_TRANSPARENT)
- .setBorderColor(SimpleColor.BLUE)
- .setFill(false)
- .setData(IntegerValue.of(randomIntegerList(7)))
- ;
-
- Dataset dataset3 = new Dataset()
- .setLabel("Dataset with point data")
- .setBackgroundColor(SimpleColor.GREEN_TRANSPARENT)
- .setBorderColor(SimpleColor.GREEN)
- .setFill(false)
- .setData(Arrays.asList(
- new PointValue()
- .setX(new StringValue(formatter.format(dateList.get(0).getDate())))
- .setY(randomInteger()),
- new PointValue()
- .setX(new StringValue(formatter.format(dateList.get(1).getDate())))
- .setY(randomInteger()),
- new PointValue()
- .setX(new StringValue(formatter.format(dateList.get(2).getDate())))
- .setY(randomInteger()),
- new PointValue()
- .setX(new StringValue(formatter.format(dateList.get(3).getDate())))
- .setY(randomInteger()),
- new PointValue()
- .setX(new StringValue(formatter.format(dateList.get(4).getDate())))
- .setY(randomInteger()),
- new PointValue()
- .setX(new StringValue(formatter.format(dateList.get(5).getDate())))
- .setY(randomInteger()),
- new PointValue()
- .setX(new StringValue(formatter.format(dateList.get(6).getDate())))
- .setY(randomInteger()),
- new PointValue()
- .setX(new StringValue(formatter.format(LocalDateTime.of(2018, 1, 1, 15, 0))))
- .setY(randomInteger()),
- new PointValue()
- .setX(new StringValue(formatter.format(LocalDateTime.of(2018, 1, 1, 16, 0))))
- .setY(randomInteger()),
- new PointValue()
- .setX(new StringValue(formatter.format(LocalDateTime.of(2018, 1, 1, 17, 0))))
- .setY(randomInteger())
- ))
- ;
-
- data.setDatasets(Arrays.asList(dataset1,dataset2,dataset3));
- setData(data);
-
- Options options = new Options()
- .setTitle(new Title()
- .setDisplay(true)
- .setText("Chart.js Time Scale"))
- .setScales(new Scales()
- .setXAxes(new AxesScale()
- .setType("time")
- .setTime(new TimeFormat()
- .setTimeFormat(timeFormat )
- .setTooltipFormat("ll HH:mm")))
- .setYAxes(new AxesScale()
- .setScaleLabel(new ScaleLabel()
- .setDisplay(true)
- .setLabelString("value"))));
- setOptions(options);
-
-
- }
-
- private ValueType randomInteger() {
- Random rng = new Random();
- return new IntegerValue(rng.nextInt(60)+1);
- }
-
-
-}
diff --git a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/TimePointConfiguration.java b/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/TimePointConfiguration.java
deleted file mode 100644
index 9913c110..00000000
--- a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/TimePointConfiguration.java
+++ /dev/null
@@ -1,138 +0,0 @@
-package de.adesso.wickedcharts.showcase.configurations;
-
-import de.adesso.wickedcharts.chartjs.chartoptions.*;
-import de.adesso.wickedcharts.chartjs.chartoptions.colors.SimpleColor;
-import de.adesso.wickedcharts.chartjs.chartoptions.colors.StringValueColor;
-import de.adesso.wickedcharts.chartjs.chartoptions.label.DateTimeLabel;
-import de.adesso.wickedcharts.chartjs.chartoptions.valueType.*;
-import de.adesso.wickedcharts.showcase.configurations.base.ShowcaseConfiguration;
-
-import java.time.LocalDateTime;
-import java.time.format.DateTimeFormatter;
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.List;
-import java.util.Random;
-
-/**
- * Sample which highlights the important points of the x-axis.
- *
- * @see http://www.chartjs.org/samples/latest/scales/time/line-point-data.html
- *
- * @author SvenWirz
- */
-@SuppressWarnings("serial")
-public class TimePointConfiguration extends ShowcaseConfiguration {
-
-
- public TimePointConfiguration() {
- setType(ChartType.LINE);
-
- String timeFormat = "MM/DD/YYYY HH:mm";
- DateTimeFormatter formatter = DateTimeFormatter.ofPattern(timeFormat);
-
- Data data = new Data();
-
- List dateList = new ArrayList();
- for(int i = 0; i < 7; i++) {
- dateList.add(new DateTimeLabel(LocalDateTime.of(2018, 1,1, 8+i, 00)));
- }
- data.setLabels(dateList);
-
- Dataset dataset1 = new Dataset()
- .setLabel("Dataset with date object point data")
- .setBackgroundColor(SimpleColor.RED_TRANSPARENT)
- .setBorderColor(SimpleColor.RED)
- .setFill(false)
- .setData(Arrays.asList(
- new PointValue()
- .setX(new DateTimeValue(dateList.get(0).getDate()))
- .setY(randomInteger()),
- new PointValue()
- .setX(new DateTimeValue(dateList.get(1).getDate()))
- .setY(randomInteger()),
- new PointValue()
- .setX(new DateTimeValue(dateList.get(2).getDate()))
- .setY(randomInteger()),
- new PointValue()
- .setX(new DateTimeValue(dateList.get(3).getDate()))
- .setY(randomInteger()),
- new PointValue()
- .setX(new DateTimeValue(dateList.get(4).getDate()))
- .setY(randomInteger()),
- new PointValue()
- .setX(new DateTimeValue(dateList.get(5).getDate()))
- .setY(randomInteger()),
- new PointValue()
- .setX(new DateTimeValue(dateList.get(6).getDate()))
- .setY(randomInteger())
- ));
-
-
-
-
- Dataset dataset2 = new Dataset()
- .setLabel("Dataset with string point data")
- .setBackgroundColor(SimpleColor.BLUE_TRANSPARENT)
- .setBorderColor(SimpleColor.BLUE)
- .setFill(false)
- .setData(Arrays.asList(
- new PointValue()
- .setX(new StringValue(formatter.format(dateList.get(0).getDate())))
- .setY(randomInteger()),
- new PointValue()
- .setX(new StringValue(formatter.format(dateList.get(1).getDate())))
- .setY(randomInteger()),
- new PointValue()
- .setX(new StringValue(formatter.format(dateList.get(2).getDate())))
- .setY(randomInteger()),
- new PointValue()
- .setX(new StringValue(formatter.format(dateList.get(3).getDate())))
- .setY(randomInteger()),
- new PointValue()
- .setX(new StringValue(formatter.format(dateList.get(4).getDate())))
- .setY(randomInteger()),
- new PointValue()
- .setX(new StringValue(formatter.format(dateList.get(5).getDate())))
- .setY(randomInteger()),
- new PointValue()
- .setX(new StringValue(formatter.format(dateList.get(6).getDate())))
- .setY(randomInteger())
- ))
- ;
-
- data.setDatasets(Arrays.asList(dataset1,dataset2));
- setData(data);
-
- Options options = new Options()
- .setTitle(new Title()
- .setDisplay(true)
- .setText("Chart.js Time Scale"))
- .setScales(new Scales()
- .setXAxes(new AxesScale()
- .setType("time")
- .setDisplay(true)
- .setScaleLabel(new ScaleLabel()
- .setDisplay(true)
- .setLabelString("Date"))
- .setTicks(new Ticks()
- .setMajor(new TickStyle()
- .setFontColor(new StringValueColor("red"))
- .setFontStyle(FontStyle.BOLD))))
- .setYAxes(new AxesScale()
- .setDisplay(true)
- .setScaleLabel(new ScaleLabel()
- .setDisplay(true)
- .setLabelString("value"))));
- setOptions(options);
-
-
- }
-
- private ValueType randomInteger() {
- Random rng = new Random();
- return new IntegerValue(rng.nextInt(60)+1);
- }
-
-
-}
diff --git a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/TimeSeriesConfiguration.java b/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/TimeSeriesConfiguration.java
deleted file mode 100644
index b634b84d..00000000
--- a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/TimeSeriesConfiguration.java
+++ /dev/null
@@ -1,94 +0,0 @@
-package de.adesso.wickedcharts.showcase.configurations;
-
-import de.adesso.wickedcharts.chartjs.chartoptions.*;
-import de.adesso.wickedcharts.chartjs.chartoptions.label.DateTimeLabel;
-import de.adesso.wickedcharts.chartjs.chartoptions.valueType.DoubleValue;
-import de.adesso.wickedcharts.showcase.configurations.base.ShowcaseConfiguration;
-
-import java.time.LocalDateTime;
-import java.time.temporal.ChronoUnit;
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.List;
-
-/**
- * Sample that displays a progression of a dataset.
- *
- * @see http://www.chartjs.org/samples/latest/scales/time/financial.html
- *
- * @author SvenWirz
- */
-@SuppressWarnings("serial")
-public class TimeSeriesConfiguration extends ShowcaseConfiguration {
-
- public TimeSeriesConfiguration() {
-
-
- Options options = new Options()
- .setTitle(new Title()
- .setDisplay(true)
- .setText("ChartJs Time Series"))
- .setScales(new Scales()
- .setXAxes(new AxesScale()
- .setType("time")
- .setDistribution(DistributionType.SERIES)
- .setTicks(new Ticks()
- .setSource(TickSource.LABELS)
- )
- )
- .setYAxes(new AxesScale()
- .setScaleLabel(new ScaleLabel()
- .setDisplay(true)
- .setLabelString("Closing price ($)"))
- ));
-
- setOptions(options);
-
- setType(ChartType.LINE);
-
- LocalDateTime now = LocalDateTime.now();
-
-
- List labels = new ArrayList(60);
- List randomData = new ArrayList(60);
-
- labels.add(new DateTimeLabel(now));
- randomData.add(randomBar(30));
-
-
- for(int i = 1; i < 60; i++) {
- int dayOfTheWeek = now.plus(i, ChronoUnit.DAYS).getDayOfWeek().getValue();
- if( 1 <= dayOfTheWeek && dayOfTheWeek <= 5) {
- labels.add(new DateTimeLabel(now.plus(i, ChronoUnit.DAYS)));
- }
- randomData.add(randomBar(randomData.get(i-1).getValue()));
- }
-
-
-
- Data data = new Data()
- .setLabels(labels)
- .setDatasets(Arrays.asList(new Dataset()
- .setLabel("My Dataset")
- .setData(randomData)
- .setType(ChartType.LINE)
- .setPointRadius(0)
- .setFill(false)
- .setLineTension(0)
- .setBorderWidth(2)
- ));
- setData(data);
- }
-
- private DoubleValue randomBar(double lastClose) {
- double open = randomNumber(lastClose * .95, lastClose *1.05);
- double close = randomNumber(open * .95, open *1.05);
-// double high = randomNumber(Math.max(open, close), Math.max(open, close) * 1.1);
-// double low = randomNumber(Math.min(open, close) * .9, Math.min(open, close));
- return new DoubleValue(close);
- }
-
- private double randomNumber(double min, double max) {
- return Math.random() * (max - min) + min;
- }
-}
diff --git a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/TooltipAverageConfiguration.java b/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/TooltipAverageConfiguration.java
deleted file mode 100644
index 25664e15..00000000
--- a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/TooltipAverageConfiguration.java
+++ /dev/null
@@ -1,68 +0,0 @@
-package de.adesso.wickedcharts.showcase.configurations;
-
-import de.adesso.wickedcharts.chartjs.chartoptions.*;
-import de.adesso.wickedcharts.chartjs.chartoptions.colors.SimpleColor;
-import de.adesso.wickedcharts.chartjs.chartoptions.label.TextLabel;
-import de.adesso.wickedcharts.chartjs.chartoptions.valueType.IntegerValue;
-import de.adesso.wickedcharts.showcase.configurations.base.ShowcaseConfiguration;
-
-import java.util.Arrays;
-
-/**
- * Sample that enables tooltips to be at a average position to the data points.
- *
- * @see http://www.chartjs.org/samples/latest/tooltips/positioning.html
- *
- * @author SvenWirz
- */
-@SuppressWarnings("serial")
-public class TooltipAverageConfiguration extends ShowcaseConfiguration {
- public TooltipAverageConfiguration() {
- super();
- setType(ChartType.LINE);
-
- Data data = new Data()
- .setLabels(TextLabel.of("January", "February", "March", "April", "May", "June", "July"));
- setData(data);
-
- Dataset dataset1 = new Dataset()
- .setLabel("My First dataset")
- .setBackgroundColor(SimpleColor.RED)
- .setBorderColor(SimpleColor.RED)
- .setData(IntegerValue.of(randomIntegerList(7)))
- .setFill(false);
-
-
- Dataset dataset2 = new Dataset()
- .setLabel("My Second dataset")
- .setBackgroundColor(SimpleColor.BLUE)
- .setBorderColor(SimpleColor.BLUE)
- .setData(IntegerValue.of(randomIntegerList(7)))
- .setFill(false);
-
- data.setDatasets(Arrays.asList(dataset1,dataset2));
-
- Options options = new Options()
- .setResponsive(true)
- .setTitle(new Title()
- .setDisplay(true)
- .setText("Tooltip Average Position"))
- .setTooltips(new Tooltips()
- .setMode(TooltipMode.INDEX)
- .setPosition(TooltipPosition.AVERAGE)
- .setIntersect(false))
- .setScales(new Scales()
- .setXAxes(new AxesScale()
- .setDisplay(true)
- .setScaleLabel(new ScaleLabel()
- .setDisplay(true)
- .setLabelString("Month")))
- .setYAxes(new AxesScale()
- .setDisplay(true)
- .setScaleLabel(new ScaleLabel()
- .setDisplay(true)
- .setLabelString("Value"))))
- ;
- setOptions(options);
- }
-}
diff --git a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/TooltipHtmlPointsConfiguration.java b/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/TooltipHtmlPointsConfiguration.java
deleted file mode 100644
index 247c5dbd..00000000
--- a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/TooltipHtmlPointsConfiguration.java
+++ /dev/null
@@ -1,69 +0,0 @@
-package de.adesso.wickedcharts.showcase.configurations;
-
-import de.adesso.wickedcharts.chartjs.chartoptions.*;
-import de.adesso.wickedcharts.chartjs.chartoptions.colors.SimpleColor;
-import de.adesso.wickedcharts.chartjs.chartoptions.label.TextLabel;
-import de.adesso.wickedcharts.chartjs.chartoptions.valueType.IntegerValue;
-import de.adesso.wickedcharts.showcase.configurations.base.ShowcaseConfiguration;
-import org.apache.wicket.markup.html.panel.Fragment;
-
-import java.util.ArrayList;
-import java.util.Arrays;
-
-/**
- * Sample that enables the use of custom html markup for tooltip points.
- *
- * @see http://www.chartjs.org/samples/latest/tooltips/custom-points.html
- *
- * @author SvenWirz
- */
-@SuppressWarnings("serial")
-public class TooltipHtmlPointsConfiguration extends ShowcaseConfiguration {
- public TooltipHtmlPointsConfiguration() {
- setType(ChartType.LINE);
-
- String optionalJavascript=readFile("de/adesso/wickedcharts/showcase/customTooltip-Point.js");
-
- setOptionalJavascript(new ArrayList());
- addOptionalJavascript(optionalJavascript);
-
- Data data = new Data()
- .setLabels(TextLabel.of("January", "February", "March", "April", "May", "June", "July"));
- setData(data);
-
- Dataset dataset1 = new Dataset()
- .setLabel("My First dataset")
- .setBackgroundColor(SimpleColor.RED_TRANSPARENT)
- .setPointBackgroundColor(SimpleColor.RED)
- .setBorderColor(SimpleColor.RED)
- .setData(IntegerValue.of(randomIntegerList(7)));
-
- Dataset dataset2 = new Dataset()
- .setLabel("My Second dataset")
- .setBackgroundColor(SimpleColor.BLUE_TRANSPARENT)
- .setPointBackgroundColor(SimpleColor.BLUE)
- .setBorderColor(SimpleColor.BLUE)
- .setData(IntegerValue.of(randomIntegerList(7)));
-
- data.setDatasets(Arrays.asList(dataset1,dataset2));
-
- Options options = new Options()
- .setResponsive(true)
- .setTitle(new Title()
- .setDisplay(true)
- .setText("HTML Tooltip - Points"))
- .setTooltips(new Tooltips()
- .setEnabled(false)
- .setIntersect(false)
- .setMode(TooltipMode.INDEX)
- .setCustom(new JavaScriptReference("customTooltips"))
- );
- setOptions(options);
- }
-
- @Override
- public void modfiyIndividualMarkup(Fragment optionalMarkup) {
- Fragment frag = new Fragment("optionalMarkup","pointTooltip",optionalMarkup.getParent());
- optionalMarkup.replaceWith(frag);
- }
-}
diff --git a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/TooltipNearestConfiguration.java b/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/TooltipNearestConfiguration.java
deleted file mode 100644
index 81ef4a14..00000000
--- a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/TooltipNearestConfiguration.java
+++ /dev/null
@@ -1,69 +0,0 @@
-package de.adesso.wickedcharts.showcase.configurations;
-
-import de.adesso.wickedcharts.chartjs.chartoptions.*;
-import de.adesso.wickedcharts.chartjs.chartoptions.colors.SimpleColor;
-import de.adesso.wickedcharts.chartjs.chartoptions.label.TextLabel;
-import de.adesso.wickedcharts.chartjs.chartoptions.valueType.IntegerValue;
-import de.adesso.wickedcharts.showcase.configurations.base.ShowcaseConfiguration;
-
-import java.util.Arrays;
-
-
-/**
- * Sample that enables tooltips to be at the nearest possible position to the data points.
- *
- * @see http://www.chartjs.org/samples/latest/tooltips/positioning.html
- *
- * @author SvenWirz
- */
-@SuppressWarnings("serial")
-public class TooltipNearestConfiguration extends ShowcaseConfiguration {
- public TooltipNearestConfiguration() {
- super();
- setType(ChartType.LINE);
-
- Data data = new Data()
- .setLabels(TextLabel.of("January", "February", "March", "April", "May", "June", "July"));
- setData(data);
-
- Dataset dataset1 = new Dataset()
- .setLabel("My First dataset")
- .setBackgroundColor(SimpleColor.RED)
- .setBorderColor(SimpleColor.RED)
- .setData(IntegerValue.of(randomIntegerList(7)))
- .setFill(false);
-
-
- Dataset dataset2 = new Dataset()
- .setLabel("My Second dataset")
- .setBackgroundColor(SimpleColor.BLUE)
- .setBorderColor(SimpleColor.BLUE)
- .setData(IntegerValue.of(randomIntegerList(7)))
- .setFill(false);
-
- data.setDatasets(Arrays.asList(dataset1,dataset2));
-
- Options options = new Options()
- .setResponsive(true)
- .setTitle(new Title()
- .setDisplay(true)
- .setText("Tooltip Nearest Position"))
- .setTooltips(new Tooltips()
- .setMode(TooltipMode.INDEX)
- .setPosition(TooltipPosition.NEAREST)
- .setIntersect(false))
- .setScales(new Scales()
- .setXAxes(new AxesScale()
- .setDisplay(true)
- .setScaleLabel(new ScaleLabel()
- .setDisplay(true)
- .setLabelString("Month")))
- .setYAxes(new AxesScale()
- .setDisplay(true)
- .setScaleLabel(new ScaleLabel()
- .setDisplay(true)
- .setLabelString("Value"))))
- ;
- setOptions(options);
- }
-}
diff --git a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/gridlines/GridLinesChartAreaConfiguration.java b/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/gridlines/GridLinesChartAreaConfiguration.java
deleted file mode 100644
index b45bc4c9..00000000
--- a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/gridlines/GridLinesChartAreaConfiguration.java
+++ /dev/null
@@ -1,27 +0,0 @@
-package de.adesso.wickedcharts.showcase.configurations.gridlines;
-
-
-import de.adesso.wickedcharts.chartjs.chartoptions.Title;
-
-/**
- *
- * Chart configuration for the area chart grid line layout.
- *
- * @see http://www.chartjs.org/samples/latest/scales/gridlines-display.html
- *
- * @author SvenWirz
- */
-@SuppressWarnings("serial")
-public class GridLinesChartAreaConfiguration extends GridLinesBasicConfiguration {
-
- public GridLinesChartAreaConfiguration() {
- super();
-
- gridLines.setDisplay(true)
- .setDrawBorder(true)
- .setDrawOnChartArea(false);
- getOptions().setTitle(new Title()
- .setDisplay(true)
- .setText("Gridlines - Chart Area"));
- }
-}
diff --git a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/gridlines/GridLinesDisplayFalseNoBorderConfiguration.java b/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/gridlines/GridLinesDisplayFalseNoBorderConfiguration.java
deleted file mode 100644
index 2893b59a..00000000
--- a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/gridlines/GridLinesDisplayFalseNoBorderConfiguration.java
+++ /dev/null
@@ -1,25 +0,0 @@
-package de.adesso.wickedcharts.showcase.configurations.gridlines;
-
-import de.adesso.wickedcharts.chartjs.chartoptions.Title;
-
-/**
- *
- * Chart configuration in order to not display grid lines and axes.
- *
- * @see http://www.chartjs.org/samples/latest/scales/gridlines-display.html
- *
- * @author SvenWirz
- */
-@SuppressWarnings("serial")
-public class GridLinesDisplayFalseNoBorderConfiguration extends GridLinesBasicConfiguration {
-
- public GridLinesDisplayFalseNoBorderConfiguration() {
- super();
-
- gridLines.setDisplay(false)
- .setDrawBorder(false);
- getOptions().setTitle(new Title()
- .setDisplay(true)
- .setText("Gridlines - Display False No Border"));
- }
-}
diff --git a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/interactions/DatasetIntersectFalseConfiguration.java b/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/interactions/DatasetIntersectFalseConfiguration.java
deleted file mode 100644
index b44975d6..00000000
--- a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/interactions/DatasetIntersectFalseConfiguration.java
+++ /dev/null
@@ -1,67 +0,0 @@
-package de.adesso.wickedcharts.showcase.configurations.interactions;
-
-import de.adesso.wickedcharts.chartjs.chartoptions.*;
-import de.adesso.wickedcharts.chartjs.chartoptions.colors.SimpleColor;
-import de.adesso.wickedcharts.chartjs.chartoptions.label.TextLabel;
-import de.adesso.wickedcharts.chartjs.chartoptions.valueType.IntegerValue;
-import de.adesso.wickedcharts.showcase.configurations.base.ShowcaseConfiguration;
-
-import java.util.Arrays;
-
-/**
- * If intersect false the nearest item is used to determine the index.
- *
- * @see http://www.chartjs.org/samples/latest/tooltips/interactions.html
- *
- * @author maximAtanasov
- */
-@SuppressWarnings("serial")
-public class DatasetIntersectFalseConfiguration extends ShowcaseConfiguration {
- public DatasetIntersectFalseConfiguration() {
- super();
- setType(ChartType.LINE);
-
- Data data = new Data()
- .setLabels(TextLabel.of("January", "February", "March", "April", "May", "June", "July"));
- setData(data);
-
- Dataset dataset1 = new Dataset()
- .setLabel("My First dataset")
- .setBackgroundColor(SimpleColor.RED)
- .setBorderColor(SimpleColor.RED)
- .setData(IntegerValue.of(randomIntegerList(7)))
- .setFill(false);
-
-
- Dataset dataset2 = new Dataset()
- .setLabel("My Second dataset")
- .setBackgroundColor(SimpleColor.BLUE)
- .setBorderColor(SimpleColor.BLUE)
- .setData(IntegerValue.of(randomIntegerList(7)))
- .setFill(false);
-
- data.setDatasets(Arrays.asList(dataset1,dataset2));
-
- Options options = new Options()
- .setResponsive(true)
- .setTitle(new Title()
- .setDisplay(true)
- .setText("Mode: Dataset, intersect: false"))
- .setTooltips(new Tooltips()
- .setMode(TooltipMode.DATASET)
- .setIntersect(false))
- .setScales(new Scales()
- .setXAxes(new AxesScale()
- .setDisplay(true)
- .setScaleLabel(new ScaleLabel()
- .setDisplay(true)
- .setLabelString("Month")))
- .setYAxes(new AxesScale()
- .setDisplay(true)
- .setScaleLabel(new ScaleLabel()
- .setDisplay(true)
- .setLabelString("Value"))))
- ;
- setOptions(options);
- }
-}
diff --git a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/interactions/IndexIntersectFalseConfiguration.java b/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/interactions/IndexIntersectFalseConfiguration.java
deleted file mode 100644
index 7e4409cc..00000000
--- a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/interactions/IndexIntersectFalseConfiguration.java
+++ /dev/null
@@ -1,67 +0,0 @@
-package de.adesso.wickedcharts.showcase.configurations.interactions;
-
-import de.adesso.wickedcharts.chartjs.chartoptions.*;
-import de.adesso.wickedcharts.chartjs.chartoptions.colors.SimpleColor;
-import de.adesso.wickedcharts.chartjs.chartoptions.label.TextLabel;
-import de.adesso.wickedcharts.chartjs.chartoptions.valueType.IntegerValue;
-import de.adesso.wickedcharts.showcase.configurations.base.ShowcaseConfiguration;
-
-import java.util.Arrays;
-
-/**
- * If intersect false the nearest item, in the x direction, is used to determine the index.
- *
- * @see http://www.chartjs.org/samples/latest/tooltips/interactions.html
- *
- * @author maximAtanasov
- */
-@SuppressWarnings("serial")
-public class IndexIntersectFalseConfiguration extends ShowcaseConfiguration {
- public IndexIntersectFalseConfiguration() {
- super();
- setType(ChartType.LINE);
-
- Data data = new Data()
- .setLabels(TextLabel.of("January", "February", "March", "April", "May", "June", "July"));
- setData(data);
-
- Dataset dataset1 = new Dataset()
- .setLabel("My First dataset")
- .setBackgroundColor(SimpleColor.RED)
- .setBorderColor(SimpleColor.RED)
- .setData(IntegerValue.of(randomIntegerList(7)))
- .setFill(false);
-
-
- Dataset dataset2 = new Dataset()
- .setLabel("My Second dataset")
- .setBackgroundColor(SimpleColor.BLUE)
- .setBorderColor(SimpleColor.BLUE)
- .setData(IntegerValue.of(randomIntegerList(7)))
- .setFill(false);
-
- data.setDatasets(Arrays.asList(dataset1,dataset2));
-
- Options options = new Options()
- .setResponsive(true)
- .setTitle(new Title()
- .setDisplay(true)
- .setText("Mode: Index, intersect: false"))
- .setTooltips(new Tooltips()
- .setMode(TooltipMode.INDEX)
- .setIntersect(false))
- .setScales(new Scales()
- .setXAxes(new AxesScale()
- .setDisplay(true)
- .setScaleLabel(new ScaleLabel()
- .setDisplay(true)
- .setLabelString("Month")))
- .setYAxes(new AxesScale()
- .setDisplay(true)
- .setScaleLabel(new ScaleLabel()
- .setDisplay(true)
- .setLabelString("Value"))))
- ;
- setOptions(options);
- }
-}
diff --git a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/interactions/IndexIntersectTrueConfiguration.java b/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/interactions/IndexIntersectTrueConfiguration.java
deleted file mode 100644
index 866e97d7..00000000
--- a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/interactions/IndexIntersectTrueConfiguration.java
+++ /dev/null
@@ -1,68 +0,0 @@
-package de.adesso.wickedcharts.showcase.configurations.interactions;
-
-
-import de.adesso.wickedcharts.chartjs.chartoptions.*;
-import de.adesso.wickedcharts.chartjs.chartoptions.colors.SimpleColor;
-import de.adesso.wickedcharts.chartjs.chartoptions.label.TextLabel;
-import de.adesso.wickedcharts.chartjs.chartoptions.valueType.IntegerValue;
-import de.adesso.wickedcharts.showcase.configurations.base.ShowcaseConfiguration;
-
-import java.util.Arrays;
-
-/**
- * If the intersect setting is true, the first intersecting item is used to determine the index in the data.
- *
- * @see http://www.chartjs.org/samples/latest/tooltips/interactions.html
- *
- * @author maximAtanasov
- */
-@SuppressWarnings("serial")
-public class IndexIntersectTrueConfiguration extends ShowcaseConfiguration {
- public IndexIntersectTrueConfiguration() {
- super();
- setType(ChartType.LINE);
-
- Data data = new Data()
- .setLabels(TextLabel.of("January", "February", "March", "April", "May", "June", "July"));
- setData(data);
-
- Dataset dataset1 = new Dataset()
- .setLabel("My First dataset")
- .setBackgroundColor(SimpleColor.RED)
- .setBorderColor(SimpleColor.RED)
- .setData(IntegerValue.of(randomIntegerList(7)))
- .setFill(false);
-
-
- Dataset dataset2 = new Dataset()
- .setLabel("My Second dataset")
- .setBackgroundColor(SimpleColor.BLUE)
- .setBorderColor(SimpleColor.BLUE)
- .setData(IntegerValue.of(randomIntegerList(7)))
- .setFill(false);
-
- data.setDatasets(Arrays.asList(dataset1,dataset2));
-
- Options options = new Options()
- .setResponsive(true)
- .setTitle(new Title()
- .setDisplay(true)
- .setText("Mode: Index, intersect: true"))
- .setTooltips(new Tooltips()
- .setMode(TooltipMode.INDEX)
- .setIntersect(true))
- .setScales(new Scales()
- .setXAxes(new AxesScale()
- .setDisplay(true)
- .setScaleLabel(new ScaleLabel()
- .setDisplay(true)
- .setLabelString("Month")))
- .setYAxes(new AxesScale()
- .setDisplay(true)
- .setScaleLabel(new ScaleLabel()
- .setDisplay(true)
- .setLabelString("Value"))))
- ;
- setOptions(options);
- }
-}
diff --git a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/interactions/NearestIntersectFalseConfiguration.java b/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/interactions/NearestIntersectFalseConfiguration.java
deleted file mode 100644
index 34c6fb77..00000000
--- a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/interactions/NearestIntersectFalseConfiguration.java
+++ /dev/null
@@ -1,67 +0,0 @@
-package de.adesso.wickedcharts.showcase.configurations.interactions;
-
-import de.adesso.wickedcharts.chartjs.chartoptions.*;
-import de.adesso.wickedcharts.chartjs.chartoptions.colors.SimpleColor;
-import de.adesso.wickedcharts.chartjs.chartoptions.label.TextLabel;
-import de.adesso.wickedcharts.chartjs.chartoptions.valueType.IntegerValue;
-import de.adesso.wickedcharts.showcase.configurations.base.ShowcaseConfiguration;
-
-import java.util.Arrays;
-
-/**
- * If intersect is false, this is not triggered when the mouse position intersects an item in the graph.
- *
- * @see http://www.chartjs.org/samples/latest/tooltips/interactions.html
- *
- * @author maximAtanasov
- */
-@SuppressWarnings("serial")
-public class NearestIntersectFalseConfiguration extends ShowcaseConfiguration {
- public NearestIntersectFalseConfiguration() {
- super();
- setType(ChartType.LINE);
-
- Data data = new Data()
- .setLabels(TextLabel.of("January", "February", "March", "April", "May", "June", "July"));
- setData(data);
-
- Dataset dataset1 = new Dataset()
- .setLabel("My First dataset")
- .setBackgroundColor(SimpleColor.RED)
- .setBorderColor(SimpleColor.RED)
- .setData(IntegerValue.of(randomIntegerList(7)))
- .setFill(false);
-
-
- Dataset dataset2 = new Dataset()
- .setLabel("My Second dataset")
- .setBackgroundColor(SimpleColor.BLUE)
- .setBorderColor(SimpleColor.BLUE)
- .setData(IntegerValue.of(randomIntegerList(7)))
- .setFill(false);
-
- data.setDatasets(Arrays.asList(dataset1,dataset2));
-
- Options options = new Options()
- .setResponsive(true)
- .setTitle(new Title()
- .setDisplay(true)
- .setText("Mode: Nearest, intersect: false"))
- .setTooltips(new Tooltips()
- .setMode(TooltipMode.NEAREST)
- .setIntersect(false))
- .setScales(new Scales()
- .setXAxes(new AxesScale()
- .setDisplay(true)
- .setScaleLabel(new ScaleLabel()
- .setDisplay(true)
- .setLabelString("Month")))
- .setYAxes(new AxesScale()
- .setDisplay(true)
- .setScaleLabel(new ScaleLabel()
- .setDisplay(true)
- .setLabelString("Value"))))
- ;
- setOptions(options);
- }
-}
diff --git a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/interactions/PointIntersectFalseConfiguration.java b/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/interactions/PointIntersectFalseConfiguration.java
deleted file mode 100644
index 91cec1ba..00000000
--- a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/interactions/PointIntersectFalseConfiguration.java
+++ /dev/null
@@ -1,68 +0,0 @@
-package de.adesso.wickedcharts.showcase.configurations.interactions;
-
-
-import de.adesso.wickedcharts.chartjs.chartoptions.*;
-import de.adesso.wickedcharts.chartjs.chartoptions.colors.SimpleColor;
-import de.adesso.wickedcharts.chartjs.chartoptions.label.TextLabel;
-import de.adesso.wickedcharts.chartjs.chartoptions.valueType.IntegerValue;
-import de.adesso.wickedcharts.showcase.configurations.base.ShowcaseConfiguration;
-
-import java.util.Arrays;
-
-/**
- * Finds no items that intersect the point.
- *
- * @see http://www.chartjs.org/samples/latest/tooltips/interactions.html
- *
- * @author maximAtanasov
- */
-@SuppressWarnings("serial")
-public class PointIntersectFalseConfiguration extends ShowcaseConfiguration {
- public PointIntersectFalseConfiguration() {
- super();
- setType(ChartType.LINE);
-
- Data data = new Data()
- .setLabels(TextLabel.of("January", "February", "March", "April", "May", "June", "July"));
- setData(data);
-
- Dataset dataset1 = new Dataset()
- .setLabel("My First dataset")
- .setBackgroundColor(SimpleColor.RED)
- .setBorderColor(SimpleColor.RED)
- .setData(IntegerValue.of(randomIntegerList(7)))
- .setFill(false);
-
-
- Dataset dataset2 = new Dataset()
- .setLabel("My Second dataset")
- .setBackgroundColor(SimpleColor.BLUE)
- .setBorderColor(SimpleColor.BLUE)
- .setData(IntegerValue.of(randomIntegerList(7)))
- .setFill(false);
-
- data.setDatasets(Arrays.asList(dataset1,dataset2));
-
- Options options = new Options()
- .setResponsive(true)
- .setTitle(new Title()
- .setDisplay(true)
- .setText("Mode: Point, intersect: false"))
- .setTooltips(new Tooltips()
- .setMode(TooltipMode.POINT)
- .setIntersect(false))
- .setScales(new Scales()
- .setXAxes(new AxesScale()
- .setDisplay(true)
- .setScaleLabel(new ScaleLabel()
- .setDisplay(true)
- .setLabelString("Month")))
- .setYAxes(new AxesScale()
- .setDisplay(true)
- .setScaleLabel(new ScaleLabel()
- .setDisplay(true)
- .setLabelString("Value"))))
- ;
- setOptions(options);
- }
-}
diff --git a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/interactions/PointIntersectTrueConfiguration.java b/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/interactions/PointIntersectTrueConfiguration.java
deleted file mode 100644
index 885b4b12..00000000
--- a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/interactions/PointIntersectTrueConfiguration.java
+++ /dev/null
@@ -1,68 +0,0 @@
-package de.adesso.wickedcharts.showcase.configurations.interactions;
-
-
-import de.adesso.wickedcharts.chartjs.chartoptions.*;
-import de.adesso.wickedcharts.chartjs.chartoptions.colors.SimpleColor;
-import de.adesso.wickedcharts.chartjs.chartoptions.label.TextLabel;
-import de.adesso.wickedcharts.chartjs.chartoptions.valueType.IntegerValue;
-import de.adesso.wickedcharts.showcase.configurations.base.ShowcaseConfiguration;
-
-import java.util.Arrays;
-
-/**
- * Finds all of the items that intersect the point.
- *
- * @see http://www.chartjs.org/samples/latest/tooltips/interactions.html
- *
- * @author maximAtanasov
- */
-@SuppressWarnings("serial")
-public class PointIntersectTrueConfiguration extends ShowcaseConfiguration {
- public PointIntersectTrueConfiguration() {
- super();
- setType(ChartType.LINE);
-
- Data data = new Data()
- .setLabels(TextLabel.of("January", "February", "March", "April", "May", "June", "July"));
- setData(data);
-
- Dataset dataset1 = new Dataset()
- .setLabel("My First dataset")
- .setBackgroundColor(SimpleColor.RED)
- .setBorderColor(SimpleColor.RED)
- .setData(IntegerValue.of(randomIntegerList(7)))
- .setFill(false);
-
-
- Dataset dataset2 = new Dataset()
- .setLabel("My Second dataset")
- .setBackgroundColor(SimpleColor.BLUE)
- .setBorderColor(SimpleColor.BLUE)
- .setData(IntegerValue.of(randomIntegerList(7)))
- .setFill(false);
-
- data.setDatasets(Arrays.asList(dataset1,dataset2));
-
- Options options = new Options()
- .setResponsive(true)
- .setTitle(new Title()
- .setDisplay(true)
- .setText("Mode: Point, intersect: true"))
- .setTooltips(new Tooltips()
- .setMode(TooltipMode.POINT)
- .setIntersect(true))
- .setScales(new Scales()
- .setXAxes(new AxesScale()
- .setDisplay(true)
- .setScaleLabel(new ScaleLabel()
- .setDisplay(true)
- .setLabelString("Month")))
- .setYAxes(new AxesScale()
- .setDisplay(true)
- .setScaleLabel(new ScaleLabel()
- .setDisplay(true)
- .setLabelString("Value"))))
- ;
- setOptions(options);
- }
-}
diff --git a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/interactions/yIntersectFalseConfiguration.java b/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/interactions/yIntersectFalseConfiguration.java
deleted file mode 100644
index f48e7a2e..00000000
--- a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/interactions/yIntersectFalseConfiguration.java
+++ /dev/null
@@ -1,67 +0,0 @@
-package de.adesso.wickedcharts.showcase.configurations.interactions;
-
-import de.adesso.wickedcharts.chartjs.chartoptions.*;
-import de.adesso.wickedcharts.chartjs.chartoptions.colors.SimpleColor;
-import de.adesso.wickedcharts.chartjs.chartoptions.label.TextLabel;
-import de.adesso.wickedcharts.chartjs.chartoptions.valueType.IntegerValue;
-import de.adesso.wickedcharts.showcase.configurations.base.ShowcaseConfiguration;
-
-import java.util.Arrays;
-
-/**
- * Does not return all items that would intersect based on the Y coordinate of the position.
- *
- * @see http://www.chartjs.org/samples/latest/tooltips/interactions.html
- *
- * @author maximAtanasov
- */
-@SuppressWarnings("serial")
-public class yIntersectFalseConfiguration extends ShowcaseConfiguration {
- public yIntersectFalseConfiguration() {
- super();
- setType(ChartType.LINE);
-
- Data data = new Data()
- .setLabels(TextLabel.of("January", "February", "March", "April", "May", "June", "July"));
- setData(data);
-
- Dataset dataset1 = new Dataset()
- .setLabel("My First dataset")
- .setBackgroundColor(SimpleColor.RED)
- .setBorderColor(SimpleColor.RED)
- .setData(IntegerValue.of(randomIntegerList(7)))
- .setFill(false);
-
-
- Dataset dataset2 = new Dataset()
- .setLabel("My Second dataset")
- .setBackgroundColor(SimpleColor.BLUE)
- .setBorderColor(SimpleColor.BLUE)
- .setData(IntegerValue.of(randomIntegerList(7)))
- .setFill(false);
-
- data.setDatasets(Arrays.asList(dataset1,dataset2));
-
- Options options = new Options()
- .setResponsive(true)
- .setTitle(new Title()
- .setDisplay(true)
- .setText("Mode: y, intersect: false"))
- .setTooltips(new Tooltips()
- .setMode(TooltipMode.Y)
- .setIntersect(false))
- .setScales(new Scales()
- .setXAxes(new AxesScale()
- .setDisplay(true)
- .setScaleLabel(new ScaleLabel()
- .setDisplay(true)
- .setLabelString("Month")))
- .setYAxes(new AxesScale()
- .setDisplay(true)
- .setScaleLabel(new ScaleLabel()
- .setDisplay(true)
- .setLabelString("Value"))))
- ;
- setOptions(options);
- }
-}
diff --git a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/interactions/yIntersectTrueConfiguration.java b/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/interactions/yIntersectTrueConfiguration.java
deleted file mode 100644
index 16512e31..00000000
--- a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/interactions/yIntersectTrueConfiguration.java
+++ /dev/null
@@ -1,67 +0,0 @@
-package de.adesso.wickedcharts.showcase.configurations.interactions;
-
-import de.adesso.wickedcharts.chartjs.chartoptions.*;
-import de.adesso.wickedcharts.chartjs.chartoptions.colors.SimpleColor;
-import de.adesso.wickedcharts.chartjs.chartoptions.label.TextLabel;
-import de.adesso.wickedcharts.chartjs.chartoptions.valueType.IntegerValue;
-import de.adesso.wickedcharts.showcase.configurations.base.ShowcaseConfiguration;
-
-import java.util.Arrays;
-
-/**
- * Returns all items that would intersect based on the Y coordinate of the position.
- *
- * @see http://www.chartjs.org/samples/latest/tooltips/interactions.html
- *
- * @author maximAtanasov
- */
-@SuppressWarnings("serial")
-public class yIntersectTrueConfiguration extends ShowcaseConfiguration {
- public yIntersectTrueConfiguration() {
- super();
- setType(ChartType.LINE);
-
- Data data = new Data()
- .setLabels(TextLabel.of("January", "February", "March", "April", "May", "June", "July"));
- setData(data);
-
- Dataset dataset1 = new Dataset()
- .setLabel("My First dataset")
- .setBackgroundColor(SimpleColor.RED)
- .setBorderColor(SimpleColor.RED)
- .setData(IntegerValue.of(randomIntegerList(7)))
- .setFill(false);
-
-
- Dataset dataset2 = new Dataset()
- .setLabel("My Second dataset")
- .setBackgroundColor(SimpleColor.BLUE)
- .setBorderColor(SimpleColor.BLUE)
- .setData(IntegerValue.of(randomIntegerList(7)))
- .setFill(false);
-
- data.setDatasets(Arrays.asList(dataset1,dataset2));
-
- Options options = new Options()
- .setResponsive(true)
- .setTitle(new Title()
- .setDisplay(true)
- .setText("Mode: y, intersect: true"))
- .setTooltips(new Tooltips()
- .setMode(TooltipMode.Y)
- .setIntersect(true))
- .setScales(new Scales()
- .setXAxes(new AxesScale()
- .setDisplay(true)
- .setScaleLabel(new ScaleLabel()
- .setDisplay(true)
- .setLabelString("Month")))
- .setYAxes(new AxesScale()
- .setDisplay(true)
- .setScaleLabel(new ScaleLabel()
- .setDisplay(true)
- .setLabelString("Value"))))
- ;
- setOptions(options);
- }
-}
diff --git a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/legendposition/LegendPositionBottomConfiguration.java b/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/legendposition/LegendPositionBottomConfiguration.java
deleted file mode 100644
index bc02dee4..00000000
--- a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/legendposition/LegendPositionBottomConfiguration.java
+++ /dev/null
@@ -1,27 +0,0 @@
-
-package de.adesso.wickedcharts.showcase.configurations.legendposition;
-
-import de.adesso.wickedcharts.chartjs.chartoptions.Legend;
-import de.adesso.wickedcharts.chartjs.chartoptions.Position;
-import de.adesso.wickedcharts.chartjs.chartoptions.colors.SimpleColor;
-
-/**
- * Shows how to configure a chart with the legend position at the bottom
- * @see http://www.chartjs.org/samples/latest/legend/positioning.html
- *
- * @author SvenWirz
- */
-@SuppressWarnings("serial")
-public class LegendPositionBottomConfiguration extends LegendPositionChartBasicConfiguration {
-
- public LegendPositionBottomConfiguration() {
- super();
-
- getData().getDatasets().get(0).setBackgroundColor(SimpleColor.GREEN_TRANSPARENT)
- .setBorderColor(SimpleColor.GREEN);
-
- getOptions().setLegend(new Legend().setPosition(Position.BOTTOM));
-
- getOptions().getTitle().setText("Legend Position: Bottom");
- }
-}
diff --git a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/legendposition/LegendPositionChartBasicConfiguration.java b/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/legendposition/LegendPositionChartBasicConfiguration.java
deleted file mode 100644
index 1a8aecd5..00000000
--- a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/legendposition/LegendPositionChartBasicConfiguration.java
+++ /dev/null
@@ -1,55 +0,0 @@
-
-package de.adesso.wickedcharts.showcase.configurations.legendposition;
-
-import de.adesso.wickedcharts.chartjs.chartoptions.*;
-import de.adesso.wickedcharts.chartjs.chartoptions.label.TextLabel;
-import de.adesso.wickedcharts.chartjs.chartoptions.valueType.IntegerValue;
-import de.adesso.wickedcharts.showcase.configurations.base.ShowcaseConfiguration;
-
-import java.util.Arrays;
-
-/**
- * Base class for the other configurations for the legend position
- *
- * @author SvenWirz
- */
-@SuppressWarnings("serial")
-public class LegendPositionChartBasicConfiguration extends ShowcaseConfiguration {
- public LegendPositionChartBasicConfiguration() {
- super();
-
- setType(ChartType.LINE);
-
- Data data = new Data()
- .setLabels(TextLabel.of("January", "February", "March", "April", "May", "June", "July"));
-
- Dataset dataset1 = new Dataset()
- .setLabel("My First dataset")
- .setData(IntegerValue.of(randomIntegerList(7)))
- .setBorderWidth(1);
-
- data.setDatasets(Arrays.asList(dataset1));
- setData(data);
-
- Options options = new Options()
- .setResponsive(true)
- .setScales(new Scales()
- .setXAxes(new AxesScale()
- .setDisplay(true)
- .setScaleLabel(new ScaleLabel()
- .setDisplay(true)
- .setLabelString("Month")))
- .setXAxes(new AxesScale()
- .setDisplay(true)
- .setScaleLabel(new ScaleLabel()
- .setDisplay(true)
- .setLabelString("Value")))
- )
- .setTitle(new Title()
- .setDisplay(true))
- ;
- setOptions(options);
-
- }
-}
-
diff --git a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/legendposition/LegendPositionLeftConfiguration.java b/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/legendposition/LegendPositionLeftConfiguration.java
deleted file mode 100644
index 910e34f8..00000000
--- a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/legendposition/LegendPositionLeftConfiguration.java
+++ /dev/null
@@ -1,28 +0,0 @@
-
-package de.adesso.wickedcharts.showcase.configurations.legendposition;
-
-import de.adesso.wickedcharts.chartjs.chartoptions.Legend;
-import de.adesso.wickedcharts.chartjs.chartoptions.Position;
-import de.adesso.wickedcharts.chartjs.chartoptions.colors.SimpleColor;
-
-/**
- * Shows how to configure a chart with the legend position on the left
- *
- * @see http://www.chartjs.org/samples/latest/legend/positioning.html
- *
- * @author SvenWirz
- */
-@SuppressWarnings("serial")
-public class LegendPositionLeftConfiguration extends LegendPositionChartBasicConfiguration {
-
- public LegendPositionLeftConfiguration() {
- super();
-
- getData().getDatasets().get(0).setBackgroundColor(SimpleColor.YELLOW_TRANSPARENT)
- .setBorderColor(SimpleColor.YELLOW);
-
- getOptions().setLegend(new Legend().setPosition(Position.LEFT));
-
- getOptions().getTitle().setText("Legend Position: Left");
- }
-}
diff --git a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/legendposition/LegendPositionTopConfiguration.java b/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/legendposition/LegendPositionTopConfiguration.java
deleted file mode 100644
index 711c225c..00000000
--- a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/configurations/legendposition/LegendPositionTopConfiguration.java
+++ /dev/null
@@ -1,29 +0,0 @@
-
-package de.adesso.wickedcharts.showcase.configurations.legendposition;
-
-import de.adesso.wickedcharts.chartjs.chartoptions.Legend;
-import de.adesso.wickedcharts.chartjs.chartoptions.Position;
-import de.adesso.wickedcharts.chartjs.chartoptions.colors.SimpleColor;
-
-/**
- * Shows how to configure a chart with the legend position at the top
- *
- * @see http://www.chartjs.org/samples/latest/legend/positioning.html
- *
- * @author SvenWirz
- */
-@SuppressWarnings("serial")
-public class LegendPositionTopConfiguration extends LegendPositionChartBasicConfiguration {
-
- public LegendPositionTopConfiguration() {
- super();
-
- getData().getDatasets().get(0).setBackgroundColor(SimpleColor.RED_TRANSPARENT)
- .setBorderColor(SimpleColor.RED);
-
- getOptions().setLegend(new Legend().setPosition(Position.TOP));
-
- getOptions().getTitle().setText("Legend Position: Top");
- }
-}
-
diff --git a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/ie/SimplePage.java b/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/ie/SimplePage.java
index 549b8f05..8acf6886 100644
--- a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/ie/SimplePage.java
+++ b/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/ie/SimplePage.java
@@ -2,7 +2,7 @@
import de.adesso.wickedcharts.highcharts.options.Options;
import de.adesso.wickedcharts.showcase.options.*;
-import de.adesso.wickedcharts.showcase.options.base.ShowcaseOptions;
+import de.adesso.wickedcharts.showcase.options.highcharts.base.*;
import de.adesso.wickedcharts.wicket6.highcharts.Chart;
import org.apache.wicket.markup.html.WebPage;
import org.apache.wicket.markup.html.form.ChoiceRenderer;
diff --git a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/links/UpdateChartJsLink.java b/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/links/UpdateChartJsLink.java
index e3413d75..46199b7f 100644
--- a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/links/UpdateChartJsLink.java
+++ b/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/links/UpdateChartJsLink.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2012-2018 Wicked Charts (http://github.com/adessoAG/wicked-charts)
+ * Copyright 2012-2019 Wicked Charts (http://github.com/adessoAG/wicked-charts)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/links/UpdateHighchartLink.java b/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/links/UpdateHighchartLink.java
index cf9d82c9..b655456d 100644
--- a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/links/UpdateHighchartLink.java
+++ b/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/links/UpdateHighchartLink.java
@@ -1,5 +1,5 @@
/**
- * Copyright 2012-2018 Wicked Charts (http://github.com/adessoAG/wicked-charts)
+ * Copyright 2012-2019 Wicked Charts (http://github.com/adessoAG/wicked-charts)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/links/UpdateThemeLink.java b/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/links/UpdateThemeLink.java
index b86794c8..decbf0df 100644
--- a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/links/UpdateThemeLink.java
+++ b/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/links/UpdateThemeLink.java
@@ -1,5 +1,5 @@
/**
- * Copyright 2012-2018 Wicked Charts (http://github.com/adessoAG/wicked-charts)
+ * Copyright 2012-2019 Wicked Charts (http://github.com/adessoAG/wicked-charts)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/modalwindow/ChartPanel.java b/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/modalwindow/ChartPanel.java
index 7f1a8cbf..5a8c9311 100644
--- a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/modalwindow/ChartPanel.java
+++ b/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/modalwindow/ChartPanel.java
@@ -1,6 +1,6 @@
package de.adesso.wickedcharts.showcase.modalwindow;
-import de.adesso.wickedcharts.showcase.options.BasicBarOptions;
+import de.adesso.wickedcharts.showcase.options.highcharts.base.BasicBarOptions;
import de.adesso.wickedcharts.wicket6.highcharts.Chart;
import org.apache.wicket.markup.html.panel.Panel;
diff --git a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/options/WicketSplineUpdatingOptions.java b/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/options/WicketSplineUpdatingOptions.java
index 7000e619..919bb0c6 100644
--- a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/options/WicketSplineUpdatingOptions.java
+++ b/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/options/WicketSplineUpdatingOptions.java
@@ -1,5 +1,5 @@
/**
- * Copyright 2012-2018 Wicked Charts (http://github.com/adessoAG/wicked-charts)
+ * Copyright 2012-2019 Wicked Charts (http://github.com/adessoAG/wicked-charts)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -20,7 +20,7 @@
import de.adesso.wickedcharts.highcharts.options.livedata.LiveDataSeries;
import de.adesso.wickedcharts.highcharts.options.livedata.LiveDataUpdateEvent;
import de.adesso.wickedcharts.highcharts.options.series.Point;
-import de.adesso.wickedcharts.showcase.options.base.ShowcaseOptions;
+import de.adesso.wickedcharts.showcase.options.highcharts.base.ShowcaseOptions;
import de.adesso.wickedcharts.wicket6.highcharts.features.livedata.WicketLiveDataUpdateEvent;
import org.apache.wicket.ajax.AjaxRequestTarget;
import org.apache.wicket.markup.head.OnDomReadyHeaderItem;
diff --git a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/options/chartjs/LineChartProgressBarConfigurationWicket6.java b/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/options/chartjs/LineChartProgressBarConfigurationWicket6.java
new file mode 100644
index 00000000..346def5a
--- /dev/null
+++ b/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/options/chartjs/LineChartProgressBarConfigurationWicket6.java
@@ -0,0 +1,25 @@
+package de.adesso.wickedcharts.showcase.options.chartjs;
+
+import org.apache.wicket.markup.html.panel.Fragment;
+
+/**
+ *
+ * A sample that shows how a line chart with a progress bar is configured.
+ *
+ * @see http://www.chartjs.org/samples/latest/advanced/progress-bar.html
+ *
+ * @author maximAtanasov
+ */
+@SuppressWarnings("serial")
+public class LineChartProgressBarConfigurationWicket6 extends LineChartProgressBarConfiguration {
+
+ public LineChartProgressBarConfigurationWicket6() {
+ super();
+ }
+
+ @Override
+ public void modfiyIndividualMarkup(Object optionalMarkup) {
+ Fragment frag = new Fragment("optionalMarkup","progressBar", ((Fragment)optionalMarkup).getParent());
+ ((Fragment)optionalMarkup).replaceWith(frag);
+ }
+}
diff --git a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/options/chartjs/TimeComboConfigurationWicket6.java b/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/options/chartjs/TimeComboConfigurationWicket6.java
new file mode 100644
index 00000000..85b50cf7
--- /dev/null
+++ b/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/options/chartjs/TimeComboConfigurationWicket6.java
@@ -0,0 +1,37 @@
+package de.adesso.wickedcharts.showcase.options.chartjs;
+
+import de.adesso.wickedcharts.chartjs.chartoptions.*;
+import de.adesso.wickedcharts.chartjs.chartoptions.colors.SimpleColor;
+import de.adesso.wickedcharts.chartjs.chartoptions.label.TextLabel;
+import de.adesso.wickedcharts.chartjs.chartoptions.valueType.IntegerValue;
+import de.adesso.wickedcharts.showcase.options.chartjs.base.ShowcaseConfiguration;
+import org.apache.wicket.Session;
+
+import java.time.LocalDateTime;
+import java.time.format.DateTimeFormatter;
+import java.time.temporal.ChronoUnit;
+import java.util.ArrayList;
+import java.util.Arrays;
+import java.util.List;
+import java.util.Locale;
+
+/**
+ * Sample which displays a bar chart for the data distribution and a line chart for the time progression of datasets.
+ *
+ * @see http://www.chartjs.org/samples/latest/scales/time/combo.html
+ *
+ * @author SvenWirz
+ */
+@SuppressWarnings("serial")
+public class TimeComboConfigurationWicket6 extends TimeComboConfiguration {
+
+
+ public TimeComboConfigurationWicket6() {
+ super();
+ }
+
+ @Override
+ public Locale getSessionLocale(){
+ return Session.get().getLocale();
+ }
+}
diff --git a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/options/chartjs/TooltipHtmlPieConfigurationWicket6.java b/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/options/chartjs/TooltipHtmlPieConfigurationWicket6.java
new file mode 100644
index 00000000..67b80199
--- /dev/null
+++ b/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/options/chartjs/TooltipHtmlPieConfigurationWicket6.java
@@ -0,0 +1,31 @@
+package de.adesso.wickedcharts.showcase.options.chartjs;
+
+import de.adesso.wickedcharts.chartjs.chartoptions.*;
+import de.adesso.wickedcharts.chartjs.chartoptions.colors.SimpleColor;
+import de.adesso.wickedcharts.chartjs.chartoptions.label.TextLabel;
+import de.adesso.wickedcharts.chartjs.chartoptions.valueType.IntegerValue;
+import de.adesso.wickedcharts.showcase.options.chartjs.base.ShowcaseConfiguration;
+import org.apache.wicket.markup.html.panel.Fragment;
+
+import java.util.ArrayList;
+import java.util.Arrays;
+
+/**
+ * Sample that enables the use of custom html markup for tooltips in a pie chart.
+ *
+ * @see http://www.chartjs.org/samples/latest/tooltips/custom-pie.html
+ *
+ * @author SvenWirz
+ */
+@SuppressWarnings("serial")
+public class TooltipHtmlPieConfigurationWicket6 extends TooltipHtmlPieConfiguration {
+ public TooltipHtmlPieConfigurationWicket6() {
+ super();
+ }
+
+ @Override
+ public void modfiyIndividualMarkup(Object optionalMarkup) {
+ Fragment frag = new Fragment("optionalMarkup","pieTooltip", ((Fragment)optionalMarkup).getParent());
+ ((Fragment)optionalMarkup).replaceWith(frag);
+ }
+}
diff --git a/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/options/chartjs/TooltipHtmlPointsConfigurationWicket6.java b/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/options/chartjs/TooltipHtmlPointsConfigurationWicket6.java
new file mode 100644
index 00000000..6c3a6c3b
--- /dev/null
+++ b/showcase/wicked-charts-showcase-wicket6/src/main/java/de/adesso/wickedcharts/showcase/options/chartjs/TooltipHtmlPointsConfigurationWicket6.java
@@ -0,0 +1,32 @@
+package de.adesso.wickedcharts.showcase.options.chartjs;
+
+import de.adesso.wickedcharts.chartjs.chartoptions.*;
+import de.adesso.wickedcharts.chartjs.chartoptions.colors.SimpleColor;
+import de.adesso.wickedcharts.chartjs.chartoptions.label.TextLabel;
+import de.adesso.wickedcharts.chartjs.chartoptions.valueType.IntegerValue;
+import de.adesso.wickedcharts.showcase.options.chartjs.base.ShowcaseConfiguration;
+
+import java.util.ArrayList;
+import java.util.Arrays;
+
+import org.apache.wicket.markup.html.panel.Fragment;
+
+/**
+ * Sample that enables the use of custom html markup for tooltip points.
+ *
+ * @see http://www.chartjs.org/samples/latest/tooltips/custom-points.html
+ *
+ * @author SvenWirz
+ */
+@SuppressWarnings("serial")
+public class TooltipHtmlPointsConfigurationWicket6 extends TooltipHtmlPointsConfiguration {
+ public TooltipHtmlPointsConfigurationWicket6() {
+ super();
+ }
+
+ @Override
+ public void modfiyIndividualMarkup(Object optionalMarkup) {
+ Fragment frag = new Fragment("optionalMarkup","pointTooltip", ((Fragment)optionalMarkup).getParent());
+ ((Fragment)optionalMarkup).replaceWith(frag);
+ }
+}
diff --git a/showcase/wicked-charts-showcase-wicket6/src/main/resources/de/adesso/wickedcharts/showcase/jquery-1.8.3.min-IEfix.js b/showcase/wicked-charts-showcase-wicket6/src/main/resources/de/adesso/wickedcharts/showcase/jquery-1.8.3.min-IEfix.js
index 012ab88e..4d72ac30 100644
--- a/showcase/wicked-charts-showcase-wicket6/src/main/resources/de/adesso/wickedcharts/showcase/jquery-1.8.3.min-IEfix.js
+++ b/showcase/wicked-charts-showcase-wicket6/src/main/resources/de/adesso/wickedcharts/showcase/jquery-1.8.3.min-IEfix.js
@@ -6,7 +6,7 @@
* Includes Sizzle.js
* http://sizzlejs.com/
*
- * Copyright 2012-2018 jQuery Foundation and other contributors
+ * Copyright 2012-2019 jQuery Foundation and other contributors
* Released under the MIT license
* http://jquery.org/license
*
@@ -3663,7 +3663,7 @@ jQuery.each( ("blur focus focusin focusout load resize scroll unload click dblcl
});
/*!
* Sizzle CSS Selector Engine
- * Copyright 2012-2018 jQuery Foundation and other contributors
+ * Copyright 2012-2019 jQuery Foundation and other contributors
* Released under the MIT license
* http://sizzlejs.com/
*/
diff --git a/showcase/wicked-charts-showcase-wicket6/src/main/webapp/WEB-INF/appengine-web.xml b/showcase/wicked-charts-showcase-wicket6/src/main/webapp/WEB-INF/appengine-web.xml
index 0c49ebf1..b03e92d1 100644
--- a/showcase/wicked-charts-showcase-wicket6/src/main/webapp/WEB-INF/appengine-web.xml
+++ b/showcase/wicked-charts-showcase-wicket6/src/main/webapp/WEB-INF/appengine-web.xml
@@ -1,14 +1,16 @@
- wicked-charts
+ wicked-charts-showcase
-
- 1-4-1-snapshot
+ 3-1-0-snapshot
false
true
+ java8
+ wicket6
diff --git a/showcase/wicked-charts-showcase-wicket6/src/main/webapp/WEB-INF/web.xml b/showcase/wicked-charts-showcase-wicket6/src/main/webapp/WEB-INF/web.xml
index 229126e4..7a7148b3 100644
--- a/showcase/wicked-charts-showcase-wicket6/src/main/webapp/WEB-INF/web.xml
+++ b/showcase/wicked-charts-showcase-wicket6/src/main/webapp/WEB-INF/web.xml
@@ -16,6 +16,11 @@
The value might be either "development" (reloading when templates change) or
"deployment". If no configuration is found, "development" is the default. -->
+
+ configuration
+ deployment
+
+
wicked-charts-showcase
org.apache.wicket.protocol.http.WicketFilter
diff --git a/showcase/wicked-charts-showcase-wicket6/src/main/webapp/css/bootstrap-responsive.min.css b/showcase/wicked-charts-showcase-wicket6/src/main/webapp/css/bootstrap-responsive.min.css
index 91cbf906..38697069 100644
--- a/showcase/wicked-charts-showcase-wicket6/src/main/webapp/css/bootstrap-responsive.min.css
+++ b/showcase/wicked-charts-showcase-wicket6/src/main/webapp/css/bootstrap-responsive.min.css
@@ -1,7 +1,7 @@
/*!
* Bootstrap Responsive v2.1.1
*
- * Copyright 2012-2018 Twitter, Inc
+ * Copyright 2012-2019 Twitter, Inc
* Licensed under the Apache License v2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
diff --git a/showcase/wicked-charts-showcase-wicket6/src/main/webapp/css/bootstrap.min.css b/showcase/wicked-charts-showcase-wicket6/src/main/webapp/css/bootstrap.min.css
index ea422c2a..10fa92f4 100644
--- a/showcase/wicked-charts-showcase-wicket6/src/main/webapp/css/bootstrap.min.css
+++ b/showcase/wicked-charts-showcase-wicket6/src/main/webapp/css/bootstrap.min.css
@@ -1,7 +1,7 @@
/*!
* Bootstrap v2.1.1
*
- * Copyright 2012-2018 Twitter, Inc
+ * Copyright 2012-2019 Twitter, Inc
* Licensed under the Apache License v2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
diff --git a/showcase/wicked-charts-showcase-wicket6/src/main/webapp/css/cupertino/jquery-ui-1.8.23.custom.css b/showcase/wicked-charts-showcase-wicket6/src/main/webapp/css/cupertino/jquery-ui-1.8.23.custom.css
index 8b438d68..aabc8429 100644
--- a/showcase/wicked-charts-showcase-wicket6/src/main/webapp/css/cupertino/jquery-ui-1.8.23.custom.css
+++ b/showcase/wicked-charts-showcase-wicket6/src/main/webapp/css/cupertino/jquery-ui-1.8.23.custom.css
@@ -1,7 +1,7 @@
/*!
* jQuery UI CSS Framework 1.8.23
*
- * Copyright 2012-2018, AUTHORS.txt (http://jqueryui.com/about)
+ * Copyright 2012-2019, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
@@ -41,7 +41,7 @@
/*!
* jQuery UI CSS Framework 1.8.23
*
- * Copyright 2012-2018, AUTHORS.txt (http://jqueryui.com/about)
+ * Copyright 2012-2019, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
@@ -287,7 +287,7 @@
.ui-widget-shadow { margin: -7px 0 0 -7px; padding: 7px; background: #000000 url(images/ui-bg_highlight-hard_70_000000_1x100.png) 50% top repeat-x; opacity: .30;filter:Alpha(Opacity=30); -moz-border-radius: 8px; -khtml-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px; }/*!
* jQuery UI Resizable 1.8.23
*
- * Copyright 2012-2018, AUTHORS.txt (http://jqueryui.com/about)
+ * Copyright 2012-2019, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
@@ -306,7 +306,7 @@
.ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}/*!
* jQuery UI Selectable 1.8.23
*
- * Copyright 2012-2018, AUTHORS.txt (http://jqueryui.com/about)
+ * Copyright 2012-2019, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
@@ -316,7 +316,7 @@
/*!
* jQuery UI Accordion 1.8.23
*
- * Copyright 2012-2018, AUTHORS.txt (http://jqueryui.com/about)
+ * Copyright 2012-2019, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
@@ -335,7 +335,7 @@
/*!
* jQuery UI Autocomplete 1.8.23
*
- * Copyright 2012-2018, AUTHORS.txt (http://jqueryui.com/about)
+ * Copyright 2012-2019, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
@@ -388,7 +388,7 @@
/*!
* jQuery UI Button 1.8.23
*
- * Copyright 2012-2018, AUTHORS.txt (http://jqueryui.com/about)
+ * Copyright 2012-2019, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
@@ -426,7 +426,7 @@ button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra pad
/*!
* jQuery UI Dialog 1.8.23
*
- * Copyright 2012-2018, AUTHORS.txt (http://jqueryui.com/about)
+ * Copyright 2012-2019, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
@@ -447,7 +447,7 @@ button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra pad
/*!
* jQuery UI Slider 1.8.23
*
- * Copyright 2012-2018, AUTHORS.txt (http://jqueryui.com/about)
+ * Copyright 2012-2019, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
@@ -470,7 +470,7 @@ button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra pad
.ui-slider-vertical .ui-slider-range-max { top: 0; }/*!
* jQuery UI Tabs 1.8.23
*
- * Copyright 2012-2018, AUTHORS.txt (http://jqueryui.com/about)
+ * Copyright 2012-2019, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
@@ -488,7 +488,7 @@ button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra pad
/*!
* jQuery UI Datepicker 1.8.23
*
- * Copyright 2012-2018, AUTHORS.txt (http://jqueryui.com/about)
+ * Copyright 2012-2019, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
@@ -553,7 +553,7 @@ button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra pad
}/*!
* jQuery UI Progressbar 1.8.23
*
- * Copyright 2012-2018, AUTHORS.txt (http://jqueryui.com/about)
+ * Copyright 2012-2019, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
diff --git a/showcase/wicked-charts-showcase-wicket6/src/main/webapp/css/wickedcharts.css b/showcase/wicked-charts-showcase-wicket6/src/main/webapp/css/wickedcharts.css
index 2ec8b218..47f03210 100644
--- a/showcase/wicked-charts-showcase-wicket6/src/main/webapp/css/wickedcharts.css
+++ b/showcase/wicked-charts-showcase-wicket6/src/main/webapp/css/wickedcharts.css
@@ -1,5 +1,5 @@
/**
- * Copyright 2012-2018 Matthias Balke (matthias.balke@gmail.com)
+ * Copyright 2012-2019 Matthias Balke (matthias.balke@gmail.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/showcase/wicked-charts-showcase-wicket6/src/main/webapp/js/bootstrap-button.js b/showcase/wicked-charts-showcase-wicket6/src/main/webapp/js/bootstrap-button.js
index 92aafe25..3c891755 100644
--- a/showcase/wicked-charts-showcase-wicket6/src/main/webapp/js/bootstrap-button.js
+++ b/showcase/wicked-charts-showcase-wicket6/src/main/webapp/js/bootstrap-button.js
@@ -2,7 +2,7 @@
* bootstrap-button.js v2.1.1
* http://twitter.github.com/bootstrap/javascript.html#buttons
* ============================================================
- * Copyright 2012-2018 Twitter, Inc.
+ * Copyright 2012-2019 Twitter, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/showcase/wicked-charts-showcase-wicket6/src/main/webapp/js/bootstrap-tab.js b/showcase/wicked-charts-showcase-wicket6/src/main/webapp/js/bootstrap-tab.js
index 338de668..0298dfa7 100644
--- a/showcase/wicked-charts-showcase-wicket6/src/main/webapp/js/bootstrap-tab.js
+++ b/showcase/wicked-charts-showcase-wicket6/src/main/webapp/js/bootstrap-tab.js
@@ -2,7 +2,7 @@
* bootstrap-tab.js v2.1.1
* http://twitter.github.com/bootstrap/javascript.html#tabs
* ========================================================
- * Copyright 2012-2018 Twitter, Inc.
+ * Copyright 2012-2019 Twitter, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/showcase/wicked-charts-showcase-wicket6/src/main/webapp/js/bootstrap.min.js b/showcase/wicked-charts-showcase-wicket6/src/main/webapp/js/bootstrap.min.js
index 53e3fad0..a05e4429 100644
--- a/showcase/wicked-charts-showcase-wicket6/src/main/webapp/js/bootstrap.min.js
+++ b/showcase/wicked-charts-showcase-wicket6/src/main/webapp/js/bootstrap.min.js
@@ -1,6 +1,6 @@
/*!
* Bootstrap.js by @fat & @mdo
-* Copyright 2012-2018 Twitter, Inc.
+* Copyright 2012-2019 Twitter, Inc.
* http://www.apache.org/licenses/LICENSE-2.0.txt
*/
!function(e){e(function(){"use strict";e.support.transition=function(){var e=function(){var e=document.createElement("bootstrap"),t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},n;for(n in t)if(e.style[n]!==undefined)return t[n]}();return e&&{end:e}}()})}(window.jQuery),!function(e){"use strict";var t='[data-dismiss="alert"]',n=function(n){e(n).on("click",t,this.close)};n.prototype.close=function(t){function s(){i.trigger("closed").remove()}var n=e(this),r=n.attr("data-target"),i;r||(r=n.attr("href"),r=r&&r.replace(/.*(?=#[^\s]*$)/,"")),i=e(r),t&&t.preventDefault(),i.length||(i=n.hasClass("alert")?n:n.parent()),i.trigger(t=e.Event("close"));if(t.isDefaultPrevented())return;i.removeClass("in"),e.support.transition&&i.hasClass("fade")?i.on(e.support.transition.end,s):s()},e.fn.alert=function(t){return this.each(function(){var r=e(this),i=r.data("alert");i||r.data("alert",i=new n(this)),typeof t=="string"&&i[t].call(r)})},e.fn.alert.Constructor=n,e(function(){e("body").on("click.alert.data-api",t,n.prototype.close)})}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.$element=e(t),this.options=e.extend({},e.fn.button.defaults,n)};t.prototype.setState=function(e){var t="disabled",n=this.$element,r=n.data(),i=n.is("input")?"val":"html";e+="Text",r.resetText||n.data("resetText",n[i]()),n[i](r[e]||this.options[e]),setTimeout(function(){e=="loadingText"?n.addClass(t).attr(t,t):n.removeClass(t).removeAttr(t)},0)},t.prototype.toggle=function(){var e=this.$element.closest('[data-toggle="buttons-radio"]');e&&e.find(".active").removeClass("active"),this.$element.toggleClass("active")},e.fn.button=function(n){return this.each(function(){var r=e(this),i=r.data("button"),s=typeof n=="object"&&n;i||r.data("button",i=new t(this,s)),n=="toggle"?i.toggle():n&&i.setState(n)})},e.fn.button.defaults={loadingText:"loading..."},e.fn.button.Constructor=t,e(function(){e("body").on("click.button.data-api","[data-toggle^=button]",function(t){var n=e(t.target);n.hasClass("btn")||(n=n.closest(".btn")),n.button("toggle")})})}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.$element=e(t),this.options=n,this.options.slide&&this.slide(this.options.slide),this.options.pause=="hover"&&this.$element.on("mouseenter",e.proxy(this.pause,this)).on("mouseleave",e.proxy(this.cycle,this))};t.prototype={cycle:function(t){return t||(this.paused=!1),this.options.interval&&!this.paused&&(this.interval=setInterval(e.proxy(this.next,this),this.options.interval)),this},to:function(t){var n=this.$element.find(".item.active"),r=n.parent().children(),i=r.index(n),s=this;if(t>r.length-1||t<0)return;return this.sliding?this.$element.one("slid",function(){s.to(t)}):i==t?this.pause().cycle():this.slide(t>i?"next":"prev",e(r[t]))},pause:function(t){return t||(this.paused=!0),this.$element.find(".next, .prev").length&&e.support.transition.end&&(this.$element.trigger(e.support.transition.end),this.cycle()),clearInterval(this.interval),this.interval=null,this},next:function(){if(this.sliding)return;return this.slide("next")},prev:function(){if(this.sliding)return;return this.slide("prev")},slide:function(t,n){var r=this.$element.find(".item.active"),i=n||r[t](),s=this.interval,o=t=="next"?"left":"right",u=t=="next"?"first":"last",a=this,f=e.Event("slide",{relatedTarget:i[0]});this.sliding=!0,s&&this.pause(),i=i.length?i:this.$element.find(".item")[u]();if(i.hasClass("active"))return;if(e.support.transition&&this.$element.hasClass("slide")){this.$element.trigger(f);if(f.isDefaultPrevented())return;i.addClass(t),i[0].offsetWidth,r.addClass(o),i.addClass(o),this.$element.one(e.support.transition.end,function(){i.removeClass([t,o].join(" ")).addClass("active"),r.removeClass(["active",o].join(" ")),a.sliding=!1,setTimeout(function(){a.$element.trigger("slid")},0)})}else{this.$element.trigger(f);if(f.isDefaultPrevented())return;r.removeClass("active"),i.addClass("active"),this.sliding=!1,this.$element.trigger("slid")}return s&&this.cycle(),this}},e.fn.carousel=function(n){return this.each(function(){var r=e(this),i=r.data("carousel"),s=e.extend({},e.fn.carousel.defaults,typeof n=="object"&&n),o=typeof n=="string"?n:s.slide;i||r.data("carousel",i=new t(this,s)),typeof n=="number"?i.to(n):o?i[o]():s.interval&&i.cycle()})},e.fn.carousel.defaults={interval:5e3,pause:"hover"},e.fn.carousel.Constructor=t,e(function(){e("body").on("click.carousel.data-api","[data-slide]",function(t){var n=e(this),r,i=e(n.attr("data-target")||(r=n.attr("href"))&&r.replace(/.*(?=#[^\s]+$)/,"")),s=!i.data("modal")&&e.extend({},i.data(),n.data());i.carousel(s),t.preventDefault()})})}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.$element=e(t),this.options=e.extend({},e.fn.collapse.defaults,n),this.options.parent&&(this.$parent=e(this.options.parent)),this.options.toggle&&this.toggle()};t.prototype={constructor:t,dimension:function(){var e=this.$element.hasClass("width");return e?"width":"height"},show:function(){var t,n,r,i;if(this.transitioning)return;t=this.dimension(),n=e.camelCase(["scroll",t].join("-")),r=this.$parent&&this.$parent.find("> .accordion-group > .in");if(r&&r.length){i=r.data("collapse");if(i&&i.transitioning)return;r.collapse("hide"),i||r.data("collapse",null)}this.$element[t](0),this.transition("addClass",e.Event("show"),"shown"),e.support.transition&&this.$element[t](this.$element[0][n])},hide:function(){var t;if(this.transitioning)return;t=this.dimension(),this.reset(this.$element[t]()),this.transition("removeClass",e.Event("hide"),"hidden"),this.$element[t](0)},reset:function(e){var t=this.dimension();return this.$element.removeClass("collapse")[t](e||"auto")[0].offsetWidth,this.$element[e!==null?"addClass":"removeClass"]("collapse"),this},transition:function(t,n,r){var i=this,s=function(){n.type=="show"&&i.reset(),i.transitioning=0,i.$element.trigger(r)};this.$element.trigger(n);if(n.isDefaultPrevented())return;this.transitioning=1,this.$element[t]("in"),e.support.transition&&this.$element.hasClass("collapse")?this.$element.one(e.support.transition.end,s):s()},toggle:function(){this[this.$element.hasClass("in")?"hide":"show"]()}},e.fn.collapse=function(n){return this.each(function(){var r=e(this),i=r.data("collapse"),s=typeof n=="object"&&n;i||r.data("collapse",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.collapse.defaults={toggle:!0},e.fn.collapse.Constructor=t,e(function(){e("body").on("click.collapse.data-api","[data-toggle=collapse]",function(t){var n=e(this),r,i=n.attr("data-target")||t.preventDefault()||(r=n.attr("href"))&&r.replace(/.*(?=#[^\s]+$)/,""),s=e(i).data("collapse")?"toggle":n.data();n[e(i).hasClass("in")?"addClass":"removeClass"]("collapsed"),e(i).collapse(s)})})}(window.jQuery),!function(e){"use strict";function r(){i(e(t)).removeClass("open")}function i(t){var n=t.attr("data-target"),r;return n||(n=t.attr("href"),n=n&&/#/.test(n)&&n.replace(/.*(?=#[^\s]*$)/,"")),r=e(n),r.length||(r=t.parent()),r}var t="[data-toggle=dropdown]",n=function(t){var n=e(t).on("click.dropdown.data-api",this.toggle);e("html").on("click.dropdown.data-api",function(){n.parent().removeClass("open")})};n.prototype={constructor:n,toggle:function(t){var n=e(this),s,o;if(n.is(".disabled, :disabled"))return;return s=i(n),o=s.hasClass("open"),r(),o||(s.toggleClass("open"),n.focus()),!1},keydown:function(t){var n,r,s,o,u,a;if(!/(38|40|27)/.test(t.keyCode))return;n=e(this),t.preventDefault(),t.stopPropagation();if(n.is(".disabled, :disabled"))return;o=i(n),u=o.hasClass("open");if(!u||u&&t.keyCode==27)return n.click();r=e("[role=menu] li:not(.divider) a",o);if(!r.length)return;a=r.index(r.filter(":focus")),t.keyCode==38&&a>0&&a--,t.keyCode==40&&a').appendTo(document.body),this.options.backdrop!="static"&&this.$backdrop.click(e.proxy(this.hide,this)),i&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),i?this.$backdrop.one(e.support.transition.end,t):t()}else!this.isShown&&this.$backdrop?(this.$backdrop.removeClass("in"),e.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one(e.support.transition.end,e.proxy(this.removeBackdrop,this)):this.removeBackdrop()):t&&t()}},e.fn.modal=function(n){return this.each(function(){var r=e(this),i=r.data("modal"),s=e.extend({},e.fn.modal.defaults,r.data(),typeof n=="object"&&n);i||r.data("modal",i=new t(this,s)),typeof n=="string"?i[n]():s.show&&i.show()})},e.fn.modal.defaults={backdrop:!0,keyboard:!0,show:!0},e.fn.modal.Constructor=t,e(function(){e("body").on("click.modal.data-api",'[data-toggle="modal"]',function(t){var n=e(this),r=n.attr("href"),i=e(n.attr("data-target")||r&&r.replace(/.*(?=#[^\s]+$)/,"")),s=i.data("modal")?"toggle":e.extend({remote:!/#/.test(r)&&r},i.data(),n.data());t.preventDefault(),i.modal(s).one("hide",function(){n.focus()})})})}(window.jQuery),!function(e){"use strict";var t=function(e,t){this.init("tooltip",e,t)};t.prototype={constructor:t,init:function(t,n,r){var i,s;this.type=t,this.$element=e(n),this.options=this.getOptions(r),this.enabled=!0,this.options.trigger=="click"?this.$element.on("click."+this.type,this.options.selector,e.proxy(this.toggle,this)):this.options.trigger!="manual"&&(i=this.options.trigger=="hover"?"mouseenter":"focus",s=this.options.trigger=="hover"?"mouseleave":"blur",this.$element.on(i+"."+this.type,this.options.selector,e.proxy(this.enter,this)),this.$element.on(s+"."+this.type,this.options.selector,e.proxy(this.leave,this))),this.options.selector?this._options=e.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},getOptions:function(t){return t=e.extend({},e.fn[this.type].defaults,t,this.$element.data()),t.delay&&typeof t.delay=="number"&&(t.delay={show:t.delay,hide:t.delay}),t},enter:function(t){var n=e(t.currentTarget)[this.type](this._options).data(this.type);if(!n.options.delay||!n.options.delay.show)return n.show();clearTimeout(this.timeout),n.hoverState="in",this.timeout=setTimeout(function(){n.hoverState=="in"&&n.show()},n.options.delay.show)},leave:function(t){var n=e(t.currentTarget)[this.type](this._options).data(this.type);this.timeout&&clearTimeout(this.timeout);if(!n.options.delay||!n.options.delay.hide)return n.hide();n.hoverState="out",this.timeout=setTimeout(function(){n.hoverState=="out"&&n.hide()},n.options.delay.hide)},show:function(){var e,t,n,r,i,s,o;if(this.hasContent()&&this.enabled){e=this.tip(),this.setContent(),this.options.animation&&e.addClass("fade"),s=typeof this.options.placement=="function"?this.options.placement.call(this,e[0],this.$element[0]):this.options.placement,t=/in/.test(s),e.remove().css({top:0,left:0,display:"block"}).appendTo(t?this.$element:document.body),n=this.getPosition(t),r=e[0].offsetWidth,i=e[0].offsetHeight;switch(t?s.split(" ")[1]:s){case"bottom":o={top:n.top+n.height,left:n.left+n.width/2-r/2};break;case"top":o={top:n.top-i,left:n.left+n.width/2-r/2};break;case"left":o={top:n.top+n.height/2-i/2,left:n.left-r};break;case"right":o={top:n.top+n.height/2-i/2,left:n.left+n.width}}e.css(o).addClass(s).addClass("in")}},setContent:function(){var e=this.tip(),t=this.getTitle();e.find(".tooltip-inner")[this.options.html?"html":"text"](t),e.removeClass("fade in top bottom left right")},hide:function(){function r(){var t=setTimeout(function(){n.off(e.support.transition.end).remove()},500);n.one(e.support.transition.end,function(){clearTimeout(t),n.remove()})}var t=this,n=this.tip();return n.removeClass("in"),e.support.transition&&this.$tip.hasClass("fade")?r():n.remove(),this},fixTitle:function(){var e=this.$element;(e.attr("title")||typeof e.attr("data-original-title")!="string")&&e.attr("data-original-title",e.attr("title")||"").removeAttr("title")},hasContent:function(){return this.getTitle()},getPosition:function(t){return e.extend({},t?{top:0,left:0}:this.$element.offset(),{width:this.$element[0].offsetWidth,height:this.$element[0].offsetHeight})},getTitle:function(){var e,t=this.$element,n=this.options;return e=t.attr("data-original-title")||(typeof n.title=="function"?n.title.call(t[0]):n.title),e},tip:function(){return this.$tip=this.$tip||e(this.options.template)},validate:function(){this.$element[0].parentNode||(this.hide(),this.$element=null,this.options=null)},enable:function(){this.enabled=!0},disable:function(){this.enabled=!1},toggleEnabled:function(){this.enabled=!this.enabled},toggle:function(){this[this.tip().hasClass("in")?"hide":"show"]()},destroy:function(){this.hide().$element.off("."+this.type).removeData(this.type)}},e.fn.tooltip=function(n){return this.each(function(){var r=e(this),i=r.data("tooltip"),s=typeof n=="object"&&n;i||r.data("tooltip",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.tooltip.Constructor=t,e.fn.tooltip.defaults={animation:!0,placement:"top",selector:!1,template:'',trigger:"hover",title:"",delay:0,html:!0}}(window.jQuery),!function(e){"use strict";var t=function(e,t){this.init("popover",e,t)};t.prototype=e.extend({},e.fn.tooltip.Constructor.prototype,{constructor:t,setContent:function(){var e=this.tip(),t=this.getTitle(),n=this.getContent();e.find(".popover-title")[this.options.html?"html":"text"](t),e.find(".popover-content > *")[this.options.html?"html":"text"](n),e.removeClass("fade top bottom left right in")},hasContent:function(){return this.getTitle()||this.getContent()},getContent:function(){var e,t=this.$element,n=this.options;return e=t.attr("data-content")||(typeof n.content=="function"?n.content.call(t[0]):n.content),e},tip:function(){return this.$tip||(this.$tip=e(this.options.template)),this.$tip},destroy:function(){this.hide().$element.off("."+this.type).removeData(this.type)}}),e.fn.popover=function(n){return this.each(function(){var r=e(this),i=r.data("popover"),s=typeof n=="object"&&n;i||r.data("popover",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.popover.Constructor=t,e.fn.popover.defaults=e.extend({},e.fn.tooltip.defaults,{placement:"right",trigger:"click",content:"",template:''})}(window.jQuery),!function(e){"use strict";function t(t,n){var r=e.proxy(this.process,this),i=e(t).is("body")?e(window):e(t),s;this.options=e.extend({},e.fn.scrollspy.defaults,n),this.$scrollElement=i.on("scroll.scroll-spy.data-api",r),this.selector=(this.options.target||(s=e(t).attr("href"))&&s.replace(/.*(?=#[^\s]+$)/,"")||"")+" .nav li > a",this.$body=e("body"),this.refresh(),this.process()}t.prototype={constructor:t,refresh:function(){var t=this,n;this.offsets=e([]),this.targets=e([]),n=this.$body.find(this.selector).map(function(){var t=e(this),n=t.data("target")||t.attr("href"),r=/^#\w/.test(n)&&e(n);return r&&r.length&&[[r.position().top,n]]||null}).sort(function(e,t){return e[0]-t[0]}).each(function(){t.offsets.push(this[0]),t.targets.push(this[1])})},process:function(){var e=this.$scrollElement.scrollTop()+this.options.offset,t=this.$scrollElement[0].scrollHeight||this.$body[0].scrollHeight,n=t-this.$scrollElement.height(),r=this.offsets,i=this.targets,s=this.activeTarget,o;if(e>=n)return s!=(o=i.last()[0])&&this.activate(o);for(o=r.length;o--;)s!=i[o]&&e>=r[o]&&(!r[o+1]||e<=r[o+1])&&this.activate(i[o])},activate:function(t){var n,r;this.activeTarget=t,e(this.selector).parent(".active").removeClass("active"),r=this.selector+'[data-target="'+t+'"],'+this.selector+'[href="'+t+'"]',n=e(r).parent("li").addClass("active"),n.parent(".dropdown-menu").length&&(n=n.closest("li.dropdown").addClass("active")),n.trigger("activate")}},e.fn.scrollspy=function(n){return this.each(function(){var r=e(this),i=r.data("scrollspy"),s=typeof n=="object"&&n;i||r.data("scrollspy",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.scrollspy.Constructor=t,e.fn.scrollspy.defaults={offset:10},e(window).on("load",function(){e('[data-spy="scroll"]').each(function(){var t=e(this);t.scrollspy(t.data())})})}(window.jQuery),!function(e){"use strict";var t=function(t){this.element=e(t)};t.prototype={constructor:t,show:function(){var t=this.element,n=t.closest("ul:not(.dropdown-menu)"),r=t.attr("data-target"),i,s,o;r||(r=t.attr("href"),r=r&&r.replace(/.*(?=#[^\s]*$)/,""));if(t.parent("li").hasClass("active"))return;i=n.find(".active a").last()[0],o=e.Event("show",{relatedTarget:i}),t.trigger(o);if(o.isDefaultPrevented())return;s=e(r),this.activate(t.parent("li"),n),this.activate(s,s.parent(),function(){t.trigger({type:"shown",relatedTarget:i})})},activate:function(t,n,r){function o(){i.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"),t.addClass("active"),s?(t[0].offsetWidth,t.addClass("in")):t.removeClass("fade"),t.parent(".dropdown-menu")&&t.closest("li.dropdown").addClass("active"),r&&r()}var i=n.find("> .active"),s=r&&e.support.transition&&i.hasClass("fade");s?i.one(e.support.transition.end,o):o(),i.removeClass("in")}},e.fn.tab=function(n){return this.each(function(){var r=e(this),i=r.data("tab");i||r.data("tab",i=new t(this)),typeof n=="string"&&i[n]()})},e.fn.tab.Constructor=t,e(function(){e("body").on("click.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',function(t){t.preventDefault(),e(this).tab("show")})})}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.$element=e(t),this.options=e.extend({},e.fn.typeahead.defaults,n),this.matcher=this.options.matcher||this.matcher,this.sorter=this.options.sorter||this.sorter,this.highlighter=this.options.highlighter||this.highlighter,this.updater=this.options.updater||this.updater,this.$menu=e(this.options.menu).appendTo("body"),this.source=this.options.source,this.shown=!1,this.listen()};t.prototype={constructor:t,select:function(){var e=this.$menu.find(".active").attr("data-value");return this.$element.val(this.updater(e)).change(),this.hide()},updater:function(e){return e},show:function(){var t=e.extend({},this.$element.offset(),{height:this.$element[0].offsetHeight});return this.$menu.css({top:t.top+t.height,left:t.left}),this.$menu.show(),this.shown=!0,this},hide:function(){return this.$menu.hide(),this.shown=!1,this},lookup:function(t){var n;return this.query=this.$element.val(),!this.query||this.query.length"+t+""})},render:function(t){var n=this;return t=e(t).map(function(t,r){return t=e(n.options.item).attr("data-value",r),t.find("a").html(n.highlighter(r)),t[0]}),t.first().addClass("active"),this.$menu.html(t),this},next:function(t){var n=this.$menu.find(".active").removeClass("active"),r=n.next();r.length||(r=e(this.$menu.find("li")[0])),r.addClass("active")},prev:function(e){var t=this.$menu.find(".active").removeClass("active"),n=t.prev();n.length||(n=this.$menu.find("li").last()),n.addClass("active")},listen:function(){this.$element.on("blur",e.proxy(this.blur,this)).on("keypress",e.proxy(this.keypress,this)).on("keyup",e.proxy(this.keyup,this)),(e.browser.chrome||e.browser.webkit||e.browser.msie)&&this.$element.on("keydown",e.proxy(this.keydown,this)),this.$menu.on("click",e.proxy(this.click,this)).on("mouseenter","li",e.proxy(this.mouseenter,this))},move:function(e){if(!this.shown)return;switch(e.keyCode){case 9:case 13:case 27:e.preventDefault();break;case 38:e.preventDefault(),this.prev();break;case 40:e.preventDefault(),this.next()}e.stopPropagation()},keydown:function(t){this.suppressKeyPressRepeat=!~e.inArray(t.keyCode,[40,38,9,13,27]),this.move(t)},keypress:function(e){if(this.suppressKeyPressRepeat)return;this.move(e)},keyup:function(e){switch(e.keyCode){case 40:case 38:break;case 9:case 13:if(!this.shown)return;this.select();break;case 27:if(!this.shown)return;this.hide();break;default:this.lookup()}e.stopPropagation(),e.preventDefault()},blur:function(e){var t=this;setTimeout(function(){t.hide()},150)},click:function(e){e.stopPropagation(),e.preventDefault(),this.select()},mouseenter:function(t){this.$menu.find(".active").removeClass("active"),e(t.currentTarget).addClass("active")}},e.fn.typeahead=function(n){return this.each(function(){var r=e(this),i=r.data("typeahead"),s=typeof n=="object"&&n;i||r.data("typeahead",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.typeahead.defaults={source:[],items:8,menu:'',item:'',minLength:1},e.fn.typeahead.Constructor=t,e(function(){e("body").on("focus.typeahead.data-api",'[data-provide="typeahead"]',function(t){var n=e(this);if(n.data("typeahead"))return;t.preventDefault(),n.typeahead(n.data())})})}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.options=e.extend({},e.fn.affix.defaults,n),this.$window=e(window).on("scroll.affix.data-api",e.proxy(this.checkPosition,this)),this.$element=e(t),this.checkPosition()};t.prototype.checkPosition=function(){if(!this.$element.is(":visible"))return;var t=e(document).height(),n=this.$window.scrollTop(),r=this.$element.offset(),i=this.options.offset,s=i.bottom,o=i.top,u="affix affix-top affix-bottom",a;typeof i!="object"&&(s=o=i),typeof o=="function"&&(o=i.top()),typeof s=="function"&&(s=i.bottom()),a=this.unpin!=null&&n+this.unpin<=r.top?!1:s!=null&&r.top+this.$element.height()>=t-s?"bottom":o!=null&&n<=o?"top":!1;if(this.affixed===a)return;this.affixed=a,this.unpin=a=="bottom"?r.top-n:null,this.$element.removeClass(u).addClass("affix"+(a?"-"+a:""))},e.fn.affix=function(n){return this.each(function(){var r=e(this),i=r.data("affix"),s=typeof n=="object"&&n;i||r.data("affix",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.affix.Constructor=t,e.fn.affix.defaults={offset:0},e(window).on("load",function(){e('[data-spy="affix"]').each(function(){var t=e(this),n=t.data();n.offset=n.offset||{},n.offsetBottom&&(n.offset.bottom=n.offsetBottom),n.offsetTop&&(n.offset.top=n.offsetTop),t.affix(n)})})}(window.jQuery);
\ No newline at end of file
diff --git a/showcase/wicked-charts-showcase-wicket6/src/test/java/de/adesso/wickedcharts/showcase/HomepageChartsJsTest.java b/showcase/wicked-charts-showcase-wicket6/src/test/java/de/adesso/wickedcharts/showcase/HomepageChartsJsTest.java
new file mode 100644
index 00000000..c36efaf3
--- /dev/null
+++ b/showcase/wicked-charts-showcase-wicket6/src/test/java/de/adesso/wickedcharts/showcase/HomepageChartsJsTest.java
@@ -0,0 +1,397 @@
+package de.adesso.wickedcharts.showcase;
+
+import de.adesso.wickedcharts.showcase.options.chartjs.ChartjsConfigurations;
+import org.apache.wicket.request.mapper.parameter.PageParameters;
+import org.apache.wicket.util.tester.WicketTester;
+import org.junit.jupiter.api.Test;
+
+class HomepageChartsJsTest {
+
+ private static final String PAGE_PARAMETER = "chart";
+
+ @Test
+ void renderBarVerticalTest(){
+ WicketTester tester = new WicketTester();
+ PageParameters pageParameters = new PageParameters();
+ pageParameters.add(PAGE_PARAMETER, ChartjsConfigurations.BAR_VERTICAL);
+ tester.startPage(HomepageChartJs.class, pageParameters);
+ tester.assertRenderedPage(HomepageChartJs.class);
+ }
+
+ @Test
+ void renderBarHorizontalTest(){
+ WicketTester tester = new WicketTester();
+ PageParameters pageParameters = new PageParameters();
+ pageParameters.add(PAGE_PARAMETER, ChartjsConfigurations.BAR_HORIZONTAL);
+ tester.startPage(HomepageChartJs.class, pageParameters);
+ tester.assertRenderedPage(HomepageChartJs.class);
+ }
+
+ @Test
+ void renderBarMutliAxisTest(){
+ WicketTester tester = new WicketTester();
+ PageParameters pageParameters = new PageParameters();
+ pageParameters.add(PAGE_PARAMETER, ChartjsConfigurations.BAR_MULTI_AXIS);
+ tester.startPage(HomepageChartJs.class, pageParameters);
+ tester.assertRenderedPage(HomepageChartJs.class);
+ }
+
+ @Test
+ void renderBarStackedTest(){
+ WicketTester tester = new WicketTester();
+ PageParameters pageParameters = new PageParameters();
+ pageParameters.add(PAGE_PARAMETER, ChartjsConfigurations.BAR_STACKED);
+ tester.startPage(HomepageChartJs.class, pageParameters);
+ tester.assertRenderedPage(HomepageChartJs.class);
+ }
+ @Test
+ void renderBarStackedGroupTest(){
+ WicketTester tester = new WicketTester();
+ PageParameters pageParameters = new PageParameters();
+ pageParameters.add(PAGE_PARAMETER, ChartjsConfigurations.BAR_STACKED_GROUP);
+ tester.startPage(HomepageChartJs.class, pageParameters);
+ tester.assertRenderedPage(HomepageChartJs.class);
+ }
+
+ @Test
+ void renderLineBasicTest(){
+ WicketTester tester = new WicketTester();
+ PageParameters pageParameters = new PageParameters();
+ pageParameters.add(PAGE_PARAMETER, ChartjsConfigurations.LINE_BASIC);
+ tester.startPage(HomepageChartJs.class, pageParameters);
+ tester.assertRenderedPage(HomepageChartJs.class);
+ }
+
+ @Test
+ void renderLineMultiAxisTest(){
+ WicketTester tester = new WicketTester();
+ PageParameters pageParameters = new PageParameters();
+ pageParameters.add(PAGE_PARAMETER, ChartjsConfigurations.LINE_MULTI_AXIS);
+ tester.startPage(HomepageChartJs.class, pageParameters);
+ tester.assertRenderedPage(HomepageChartJs.class);
+ }
+
+ @Test
+ void renderLineSteppedTest(){
+ WicketTester tester = new WicketTester();
+ PageParameters pageParameters = new PageParameters();
+ pageParameters.add(PAGE_PARAMETER, ChartjsConfigurations.LINE_STEPPED);
+ tester.startPage(HomepageChartJs.class, pageParameters);
+ tester.assertRenderedPage(HomepageChartJs.class);
+ }
+
+ @Test
+ void renderLineInterpolatedTest(){
+ WicketTester tester = new WicketTester();
+ PageParameters pageParameters = new PageParameters();
+ pageParameters.add(PAGE_PARAMETER, ChartjsConfigurations.LINE_INTERPOLATED);
+ tester.startPage(HomepageChartJs.class, pageParameters);
+ tester.assertRenderedPage(HomepageChartJs.class);
+ }
+
+ @Test
+ void renderLineStylesTest(){
+ WicketTester tester = new WicketTester();
+ PageParameters pageParameters = new PageParameters();
+ pageParameters.add(PAGE_PARAMETER, ChartjsConfigurations.LINE_STYLES);
+ tester.startPage(HomepageChartJs.class, pageParameters);
+ tester.assertRenderedPage(HomepageChartJs.class);
+ }
+
+ @Test
+ void renderPointStylesTest(){
+ WicketTester tester = new WicketTester();
+ PageParameters pageParameters = new PageParameters();
+ pageParameters.add(PAGE_PARAMETER, ChartjsConfigurations.POINT_STYLES);
+ tester.startPage(HomepageChartJs.class, pageParameters);
+ tester.assertRenderedPage(HomepageChartJs.class);
+ }
+
+ @Test
+ void renderPointSizesTest(){
+ WicketTester tester = new WicketTester();
+ PageParameters pageParameters = new PageParameters();
+ pageParameters.add(PAGE_PARAMETER, ChartjsConfigurations.POINT_SIZES);
+ tester.startPage(HomepageChartJs.class, pageParameters);
+ tester.assertRenderedPage(HomepageChartJs.class);
+ }
+
+ @Test
+ void renderAreaLineBoundariesTest(){
+ WicketTester tester = new WicketTester();
+ PageParameters pageParameters = new PageParameters();
+ pageParameters.add(PAGE_PARAMETER, ChartjsConfigurations.AREA_LINE_BOUNDARIES);
+ tester.startPage(HomepageChartJs.class, pageParameters);
+ tester.assertRenderedPage(HomepageChartJs.class);
+ }
+
+ @Test
+ void renderLineDatasetTest(){
+ WicketTester tester = new WicketTester();
+ PageParameters pageParameters = new PageParameters();
+ pageParameters.add(PAGE_PARAMETER, ChartjsConfigurations.LINE_DATASET);
+ tester.startPage(HomepageChartJs.class, pageParameters);
+ tester.assertRenderedPage(HomepageChartJs.class);
+ }
+
+ @Test
+ void renderLineStackedTest(){
+ WicketTester tester = new WicketTester();
+ PageParameters pageParameters = new PageParameters();
+ pageParameters.add(PAGE_PARAMETER, ChartjsConfigurations.LINE_STACKED);
+ tester.startPage(HomepageChartJs.class, pageParameters);
+ tester.assertRenderedPage(HomepageChartJs.class);
+ }
+
+ @Test
+ void renderRadarTest(){
+ WicketTester tester = new WicketTester();
+ PageParameters pageParameters = new PageParameters();
+ pageParameters.add(PAGE_PARAMETER, ChartjsConfigurations.RADAR);
+ tester.startPage(HomepageChartJs.class, pageParameters);
+ tester.assertRenderedPage(HomepageChartJs.class);
+ }
+
+ @Test
+ void renderScatterTest(){
+ WicketTester tester = new WicketTester();
+ PageParameters pageParameters = new PageParameters();
+ pageParameters.add(PAGE_PARAMETER, ChartjsConfigurations.SCATTER);
+ tester.startPage(HomepageChartJs.class, pageParameters);
+ tester.assertRenderedPage(HomepageChartJs.class);
+ }
+
+ @Test
+ void renderScatterMultiAxisTest(){
+ WicketTester tester = new WicketTester();
+ PageParameters pageParameters = new PageParameters();
+ pageParameters.add(PAGE_PARAMETER, ChartjsConfigurations.SCATTER_MULTI_AXIS);
+ tester.startPage(HomepageChartJs.class, pageParameters);
+ tester.assertRenderedPage(HomepageChartJs.class);
+ }
+
+ @Test
+ void renderDoughnutTest(){
+ WicketTester tester = new WicketTester();
+ PageParameters pageParameters = new PageParameters();
+ pageParameters.add(PAGE_PARAMETER, ChartjsConfigurations.DOUGHNUT);
+ tester.startPage(HomepageChartJs.class, pageParameters);
+ tester.assertRenderedPage(HomepageChartJs.class);
+ }
+
+ @Test
+ void renderPieTest(){
+ WicketTester tester = new WicketTester();
+ PageParameters pageParameters = new PageParameters();
+ pageParameters.add(PAGE_PARAMETER, ChartjsConfigurations.PIE);
+ tester.startPage(HomepageChartJs.class, pageParameters);
+ tester.assertRenderedPage(HomepageChartJs.class);
+ }
+
+ @Test
+ void renderPolarAreaTest(){
+ WicketTester tester = new WicketTester();
+ PageParameters pageParameters = new PageParameters();
+ pageParameters.add(PAGE_PARAMETER, ChartjsConfigurations.POLAR_AREA);
+ tester.startPage(HomepageChartJs.class, pageParameters);
+ tester.assertRenderedPage(HomepageChartJs.class);
+ }
+
+ @Test
+ void renderRadar2Test(){
+ WicketTester tester = new WicketTester();
+ PageParameters pageParameters = new PageParameters();
+ pageParameters.add(PAGE_PARAMETER, ChartjsConfigurations.RADAR_2);
+ tester.startPage(HomepageChartJs.class, pageParameters);
+ tester.assertRenderedPage(HomepageChartJs.class);
+ }
+
+ @Test
+ void renderComboBarLineTest(){
+ WicketTester tester = new WicketTester();
+ PageParameters pageParameters = new PageParameters();
+ pageParameters.add(PAGE_PARAMETER, ChartjsConfigurations.COMBO_BAR_LINE);
+ tester.startPage(HomepageChartJs.class, pageParameters);
+ tester.assertRenderedPage(HomepageChartJs.class);
+ }
+
+ @Test
+ void renderStepSizeTest(){
+ WicketTester tester = new WicketTester();
+ PageParameters pageParameters = new PageParameters();
+ pageParameters.add(PAGE_PARAMETER, ChartjsConfigurations.STEP_SIZE);
+ tester.startPage(HomepageChartJs.class, pageParameters);
+ tester.assertRenderedPage(HomepageChartJs.class);
+ }
+
+ @Test
+ void renderMinMaxTest(){
+ WicketTester tester = new WicketTester();
+ PageParameters pageParameters = new PageParameters();
+ pageParameters.add(PAGE_PARAMETER, ChartjsConfigurations.MIN_MAX);
+ tester.startPage(HomepageChartJs.class, pageParameters);
+ tester.assertRenderedPage(HomepageChartJs.class);
+ }
+
+ @Test
+ void renderLineLogarithmicTest(){
+ WicketTester tester = new WicketTester();
+ PageParameters pageParameters = new PageParameters();
+ pageParameters.add(PAGE_PARAMETER, ChartjsConfigurations.LINE_LOGARITHMIC);
+ tester.startPage(HomepageChartJs.class, pageParameters);
+ tester.assertRenderedPage(HomepageChartJs.class);
+ }
+
+ @Test
+ void renderScatterLogarithmicTest(){
+ WicketTester tester = new WicketTester();
+ PageParameters pageParameters = new PageParameters();
+ pageParameters.add(PAGE_PARAMETER, ChartjsConfigurations.SCATTER_LOGARITHMIC);
+ tester.startPage(HomepageChartJs.class, pageParameters);
+ tester.assertRenderedPage(HomepageChartJs.class);
+ }
+
+ @Test
+ void renderTimeLineTest(){
+ WicketTester tester = new WicketTester();
+ PageParameters pageParameters = new PageParameters();
+ pageParameters.add(PAGE_PARAMETER, ChartjsConfigurations.TIME_LINE);
+ tester.startPage(HomepageChartJs.class, pageParameters);
+ tester.assertRenderedPage(HomepageChartJs.class);
+ }
+
+ @Test
+ void renderTimePointTest(){
+ WicketTester tester = new WicketTester();
+ PageParameters pageParameters = new PageParameters();
+ pageParameters.add(PAGE_PARAMETER, ChartjsConfigurations.TIME_POINT);
+ tester.startPage(HomepageChartJs.class, pageParameters);
+ tester.assertRenderedPage(HomepageChartJs.class);
+ }
+
+ @Test
+ void renderTimeSeriesTest(){
+ WicketTester tester = new WicketTester();
+ PageParameters pageParameters = new PageParameters();
+ pageParameters.add(PAGE_PARAMETER, ChartjsConfigurations.TIME_SERIES);
+ tester.startPage(HomepageChartJs.class, pageParameters);
+ tester.assertRenderedPage(HomepageChartJs.class);
+ }
+
+ @Test
+ void renderTimeComboTest(){
+ WicketTester tester = new WicketTester();
+ PageParameters pageParameters = new PageParameters();
+ pageParameters.add(PAGE_PARAMETER, ChartjsConfigurations.TIME_COMBO);
+ tester.startPage(HomepageChartJs.class, pageParameters);
+ tester.assertRenderedPage(HomepageChartJs.class);
+ }
+
+ @Test
+ void renderGridLinesTest(){
+ WicketTester tester = new WicketTester();
+ PageParameters pageParameters = new PageParameters();
+ pageParameters.add(PAGE_PARAMETER, ChartjsConfigurations.GRID_LINES);
+ tester.startPage(HomepageChartJs.class, pageParameters);
+ tester.assertRenderedPage(HomepageChartJs.class);
+ }
+
+ @Test
+ void renderMultilineLabelsTest(){
+ WicketTester tester = new WicketTester();
+ PageParameters pageParameters = new PageParameters();
+ pageParameters.add(PAGE_PARAMETER, ChartjsConfigurations.MULTILINE_LABELS);
+ tester.startPage(HomepageChartJs.class, pageParameters);
+ tester.assertRenderedPage(HomepageChartJs.class);
+ }
+
+ @Test
+ void renderFilteringLabelsTest(){
+ WicketTester tester = new WicketTester();
+ PageParameters pageParameters = new PageParameters();
+ pageParameters.add(PAGE_PARAMETER, ChartjsConfigurations.FILTERING_LABELS);
+ tester.startPage(HomepageChartJs.class, pageParameters);
+ tester.assertRenderedPage(HomepageChartJs.class);
+ }
+
+ @Test
+ void renderNonNumericTest(){
+ WicketTester tester = new WicketTester();
+ PageParameters pageParameters = new PageParameters();
+ pageParameters.add(PAGE_PARAMETER, ChartjsConfigurations.NON_NUMERIC);
+ tester.startPage(HomepageChartJs.class, pageParameters);
+ tester.assertRenderedPage(HomepageChartJs.class);
+ }
+
+ @Test
+ void renderLegendPositionTest(){
+ WicketTester tester = new WicketTester();
+ PageParameters pageParameters = new PageParameters();
+ pageParameters.add(PAGE_PARAMETER, ChartjsConfigurations.LEGEND_POSITION);
+ tester.startPage(HomepageChartJs.class, pageParameters);
+ tester.assertRenderedPage(HomepageChartJs.class);
+ }
+
+ @Test
+ void renderLegendPointStyleTest(){
+ WicketTester tester = new WicketTester();
+ PageParameters pageParameters = new PageParameters();
+ pageParameters.add(PAGE_PARAMETER, ChartjsConfigurations.LEGEND_POINT_STYLE);
+ tester.startPage(HomepageChartJs.class, pageParameters);
+ tester.assertRenderedPage(HomepageChartJs.class);
+ }
+
+ @Test
+ void renderTooltipTest(){
+ WicketTester tester = new WicketTester();
+ PageParameters pageParameters = new PageParameters();
+ pageParameters.add(PAGE_PARAMETER, ChartjsConfigurations.TOOLTIP);
+ tester.startPage(HomepageChartJs.class, pageParameters);
+ tester.assertRenderedPage(HomepageChartJs.class);
+ }
+
+ @Test
+ void renderTooltipHTMLTest(){
+ WicketTester tester = new WicketTester();
+ PageParameters pageParameters = new PageParameters();
+ pageParameters.add(PAGE_PARAMETER, ChartjsConfigurations.TOOLTIP_HTML);
+ tester.startPage(HomepageChartJs.class, pageParameters);
+ tester.assertRenderedPage(HomepageChartJs.class);
+ }
+
+ @Test
+ void renderTooltipInteractionsTest(){
+ WicketTester tester = new WicketTester();
+ PageParameters pageParameters = new PageParameters();
+ pageParameters.add(PAGE_PARAMETER, ChartjsConfigurations.TOOLTIP_INTERACTIONS);
+ tester.startPage(HomepageChartJs.class, pageParameters);
+ tester.assertRenderedPage(HomepageChartJs.class);
+ }
+
+ @Test
+ void renderBubbleTest(){
+ WicketTester tester = new WicketTester();
+ PageParameters pageParameters = new PageParameters();
+ pageParameters.add(PAGE_PARAMETER, ChartjsConfigurations.BUBBLE);
+ tester.startPage(HomepageChartJs.class, pageParameters);
+ tester.assertRenderedPage(HomepageChartJs.class);
+ }
+
+ @Test
+ void renderLineProgressBarTest(){
+ WicketTester tester = new WicketTester();
+ PageParameters pageParameters = new PageParameters();
+ pageParameters.add(PAGE_PARAMETER, ChartjsConfigurations.LINE_PROGRESS_BAR);
+ tester.startPage(HomepageChartJs.class, pageParameters);
+ tester.assertRenderedPage(HomepageChartJs.class);
+ }
+
+ @Test
+ void renderDataLabellingTest(){
+ WicketTester tester = new WicketTester();
+ PageParameters pageParameters = new PageParameters();
+ pageParameters.add(PAGE_PARAMETER, ChartjsConfigurations.DATA_LABELLING);
+ tester.startPage(HomepageChartJs.class, pageParameters);
+ tester.assertRenderedPage(HomepageChartJs.class);
+ }
+}
diff --git a/showcase/wicked-charts-showcase-wicket7/build.gradle b/showcase/wicked-charts-showcase-wicket7/build.gradle
index d326d3c1..34199065 100644
--- a/showcase/wicked-charts-showcase-wicket7/build.gradle
+++ b/showcase/wicked-charts-showcase-wicket7/build.gradle
@@ -1,31 +1,30 @@
import org.apache.tools.ant.filters.ReplaceTokens
dependencies {
- compile group: 'org.apache.wicket', name: 'wicket-core', version: "${wicket_spring_version}"
- compile project(':wicked-charts-showcase-options')
- testCompile 'junit:junit:4.12'
- compile 'commons-io:commons-io:2.4'
- compile group: 'org.apache.wicket', name: 'wicket-extensions', version: "${wicket_spring_version}"
- compile(
- [group: 'org.apache.wicket', name: 'wicket-spring', version: "${wicket_spring_version}"],
- [group: 'de.adesso.wicked-charts', name: 'wicked-charts-wicket7', version: "${wicketcharts_version}"],
- )
- compile(
- [group: 'org.springframework.boot', name: 'spring-boot-starter-web', version: "${spring_boot_version}"],
- )
+ compile group: 'org.apache.wicket', name: 'wicket-core', version: "${wicket_version}"
+ compile project(':wicked-charts-showcase-options')
+ compile 'commons-io:commons-io:2.4'
+ compile group: 'org.apache.wicket', name: 'wicket-extensions', version: "${wicket_version}"
+ compile(
+ [group: 'org.apache.wicket', name: 'wicket-spring', version: "${wicket_version}"],
+ [group: 'de.adesso.wicked-charts', name: 'wicked-charts-wicket7', version: "${wickedcharts_version}"],
+ )
+ compile(
+ [group: 'org.springframework.boot', name: 'spring-boot-starter-web', version: "${spring_boot_version}"],
+ )
}
buildscript {
repositories {
mavenLocal()
- jcenter()
+ mavenCentral()
maven {
url "https://plugins.gradle.org/m2/"
}
+ jcenter()
}
dependencies {
classpath group: 'org.springframework.boot', name: 'spring-boot-gradle-plugin', version: "${spring_boot_version}"
- classpath group: 'org.springframework', name: 'springloaded', version: "${springloaded_version}"
}
}
@@ -35,8 +34,8 @@ apply plugin: 'org.springframework.boot'
processResources {
from 'src/main/java'
from 'src/main/resources'
- filter(ReplaceTokens, tokens: [projectVersion : wicketcharts_version])
- filter(ReplaceTokens, tokens: [wicketVersion : wicket_spring_version])
+ filter(ReplaceTokens, tokens: [projectVersion : wickedcharts_version])
+ filter(ReplaceTokens, tokens: [wicketVersion : wicket_version])
}
bootRun {
@@ -50,6 +49,15 @@ bootRun {
+appengine { // App Engine tasks configuration
+ deploy { // deploy configuration
+ version = "staging" //replaces the previous version with the current one, so I don't have to remove instances manually
+ stopPreviousVersion = true
+ promote = true
+ }
+}
+
+
diff --git a/showcase/wicked-charts-showcase-wicket7/eclipse/code-formatter.xml b/showcase/wicked-charts-showcase-wicket7/eclipse/code-formatter.xml
index be68db85..f5d1cdcb 100644
--- a/showcase/wicked-charts-showcase-wicket7/eclipse/code-formatter.xml
+++ b/showcase/wicked-charts-showcase-wicket7/eclipse/code-formatter.xml
@@ -1,7 +1,7 @@
diff --git a/showcase/wicked-charts-showcase-wicket7/src/main/java/de/adesso/wickedcharts/showcase/HomepageChartJs.java b/showcase/wicked-charts-showcase-wicket7/src/main/java/de/adesso/wickedcharts/showcase/HomepageChartJs.java
index d53953d1..9a487bcc 100644
--- a/showcase/wicked-charts-showcase-wicket7/src/main/java/de/adesso/wickedcharts/showcase/HomepageChartJs.java
+++ b/showcase/wicked-charts-showcase-wicket7/src/main/java/de/adesso/wickedcharts/showcase/HomepageChartJs.java
@@ -1,6 +1,6 @@
package de.adesso.wickedcharts.showcase;
/*
- * Copyright 2012-2018 Wicked Charts (http://github.com/adessoAG/wicked-charts)
+ * Copyright 2012-2019 Wicked Charts (http://github.com/adessoAG/wicked-charts)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -15,21 +15,20 @@
*/
-import de.adesso.wickedcharts.showcase.configurations.*;
-import de.adesso.wickedcharts.showcase.configurations.gridlines.*;
-import de.adesso.wickedcharts.showcase.configurations.interactions.*;
-import de.adesso.wickedcharts.showcase.configurations.legendposition.LegendPositionBottomConfiguration;
-import de.adesso.wickedcharts.showcase.configurations.legendposition.LegendPositionLeftConfiguration;
-import de.adesso.wickedcharts.showcase.configurations.legendposition.LegendPositionRightConfiguration;
-import de.adesso.wickedcharts.showcase.configurations.legendposition.LegendPositionTopConfiguration;
import de.adesso.wickedcharts.showcase.links.ChartjsShowcaseLink;
import de.adesso.wickedcharts.showcase.links.HighchartsShowcaseLink;
import de.adesso.wickedcharts.showcase.links.UpdateChartJsLink;
+import de.adesso.wickedcharts.showcase.options.chartjs.*;
+import de.adesso.wickedcharts.showcase.options.chartjs.gridlines.*;
+import de.adesso.wickedcharts.showcase.options.chartjs.interactions.*;
+import de.adesso.wickedcharts.showcase.options.chartjs.legendposition.LegendPositionBottomConfiguration;
+import de.adesso.wickedcharts.showcase.options.chartjs.legendposition.LegendPositionLeftConfiguration;
+import de.adesso.wickedcharts.showcase.options.chartjs.legendposition.LegendPositionRightConfiguration;
+import de.adesso.wickedcharts.showcase.options.chartjs.legendposition.LegendPositionTopConfiguration;
import de.adesso.wickedcharts.wicket7.chartjs.Chart;
import org.apache.wicket.markup.html.WebPage;
import org.apache.wicket.markup.html.list.ListItem;
import org.apache.wicket.markup.html.list.ListView;
-import org.apache.wicket.request.mapper.parameter.INamedParameters;
import org.apache.wicket.request.mapper.parameter.PageParameters;
import java.io.Serializable;
@@ -113,51 +112,51 @@ private void addNavigationLinks() {
/**
* Adds links to the charts in the navigation sidebar
*/
- private void addChartLinks() {
- this.add(new UpdateChartJsLink("LineChartBasic", "lineBasic"));
- this.add(new UpdateChartJsLink("BarChartVertical" , "barVertical"));
- this.add(new UpdateChartJsLink("LineChartMultiAxis", "lineMultiAxis"));
- this.add(new UpdateChartJsLink("LineChartStepped", "lineStepped"));
- this.add(new UpdateChartJsLink("LineChartInterpolated", "lineInterpolated"));
- this.add(new UpdateChartJsLink("LineStyles", "lineStyles"));
- this.add(new UpdateChartJsLink("PointStyles", "pointStyles"));
- this.add(new UpdateChartJsLink("PointSizes", "pointSizes"));
- this.add(new UpdateChartJsLink("BarChartHorizontal", "barHorizontal"));
- this.add(new UpdateChartJsLink("BarChartStacked", "barStacked"));
- this.add(new UpdateChartJsLink("BarChartStackedGroup", "barStackedGroup"));
- this.add(new UpdateChartJsLink("BarChartMultiAxis", "barMultiAxis"));
- this.add(new UpdateChartJsLink("PieChart", "pie"));
- this.add(new UpdateChartJsLink("AreaLineBoundariesChart", "areaLineBoundaries"));
- this.add(new UpdateChartJsLink("LineChartStacked", "lineStacked"));
- this.add(new UpdateChartJsLink("LineChartDataset", "lineDataset"));
- this.add(new UpdateChartJsLink("RadarChart", "radar"));
- this.add(new UpdateChartJsLink("DoughnutChart", "doughnut"));
- this.add(new UpdateChartJsLink("PolarAreaChart", "polarArea"));
- this.add(new UpdateChartJsLink("ScatterChart", "scatter"));
- this.add(new UpdateChartJsLink("ScatterChartMultiAxis", "scatterMultiAxis"));
- this.add(new UpdateChartJsLink("ComboBarLineChart", "comboBarLine"));
- this.add(new UpdateChartJsLink("LegendPosition", "legendPosition"));
- this.add(new UpdateChartJsLink("StepSize", "stepSize"));
- this.add(new UpdateChartJsLink("MinMax", "minMax"));
- this.add(new UpdateChartJsLink("GridLines", "gridLines"));
- this.add(new UpdateChartJsLink("MultilineLabels", "multiLineLabels"));
- this.add(new UpdateChartJsLink("LogarithmicLineChart", "lineLogarithmic"));
- this.add(new UpdateChartJsLink("LogarithmicScatterChart", "scatterLogarithmic"));
- this.add(new UpdateChartJsLink("BubbleChart", "bubble"));
- this.add(new UpdateChartJsLink("FilteringLabels", "filteringLabels"));
- this.add(new UpdateChartJsLink("TimeLine", "timeLine"));
- this.add(new UpdateChartJsLink("NonNumeric", "nonNumeric"));
- this.add(new UpdateChartJsLink("TimePoint", "timePoint"));
- this.add(new UpdateChartJsLink("TimeSeries", "timeSeries"));
- this.add(new UpdateChartJsLink("TimeCombo", "timeCombo"));
- this.add(new UpdateChartJsLink("OtherRadar", "radar2"));
- this.add(new UpdateChartJsLink("Tooltip", "tooltip"));
- this.add(new UpdateChartJsLink("TooltipHtml", "tooltipHtml"));
- this.add(new UpdateChartJsLink("LegendPointStyle", "legendPointStyle"));
- this.add(new UpdateChartJsLink("LineChartProgressBar", "lineProgressBar"));
- this.add(new UpdateChartJsLink("DataLabellingChart", "dataLabelling"));
- this.add(new UpdateChartJsLink("TooltipInteractions", "tooltipInteractions"));
- }
+ private void addChartLinks() {
+ this.add(new UpdateChartJsLink("LineChartBasic", ChartjsConfigurations.LINE_BASIC.toString()));
+ this.add(new UpdateChartJsLink("BarChartVertical" , ChartjsConfigurations.BAR_VERTICAL.toString()));
+ this.add(new UpdateChartJsLink("LineChartMultiAxis", ChartjsConfigurations.LINE_MULTI_AXIS.toString()));
+ this.add(new UpdateChartJsLink("LineChartStepped", ChartjsConfigurations.LINE_STEPPED.toString()));
+ this.add(new UpdateChartJsLink("LineChartInterpolated", ChartjsConfigurations.LINE_INTERPOLATED.toString()));
+ this.add(new UpdateChartJsLink("LineStyles", ChartjsConfigurations.LINE_STYLES.toString()));
+ this.add(new UpdateChartJsLink("PointStyles", ChartjsConfigurations.POINT_STYLES.toString()));
+ this.add(new UpdateChartJsLink("PointSizes", ChartjsConfigurations.POINT_SIZES.toString()));
+ this.add(new UpdateChartJsLink("BarChartHorizontal", ChartjsConfigurations.BAR_HORIZONTAL.toString()));
+ this.add(new UpdateChartJsLink("BarChartStacked", ChartjsConfigurations.BAR_STACKED.toString()));
+ this.add(new UpdateChartJsLink("BarChartStackedGroup", ChartjsConfigurations.BAR_STACKED_GROUP.toString()));
+ this.add(new UpdateChartJsLink("BarChartMultiAxis", ChartjsConfigurations.BAR_MULTI_AXIS.toString()));
+ this.add(new UpdateChartJsLink("PieChart", ChartjsConfigurations.PIE.toString()));
+ this.add(new UpdateChartJsLink("AreaLineBoundariesChart", ChartjsConfigurations.AREA_LINE_BOUNDARIES.toString()));
+ this.add(new UpdateChartJsLink("LineChartStacked", ChartjsConfigurations.LINE_STACKED.toString()));
+ this.add(new UpdateChartJsLink("LineChartDataset", ChartjsConfigurations.LINE_DATASET.toString()));
+ this.add(new UpdateChartJsLink("RadarChart", ChartjsConfigurations.RADAR.toString()));
+ this.add(new UpdateChartJsLink("DoughnutChart", ChartjsConfigurations.DOUGHNUT.toString()));
+ this.add(new UpdateChartJsLink("PolarAreaChart", ChartjsConfigurations.POLAR_AREA.toString()));
+ this.add(new UpdateChartJsLink("ScatterChart", ChartjsConfigurations.SCATTER.toString()));
+ this.add(new UpdateChartJsLink("ScatterChartMultiAxis", ChartjsConfigurations.SCATTER_MULTI_AXIS.toString()));
+ this.add(new UpdateChartJsLink("ComboBarLineChart", ChartjsConfigurations.COMBO_BAR_LINE.toString()));
+ this.add(new UpdateChartJsLink("LegendPosition", ChartjsConfigurations.LEGEND_POSITION.toString()));
+ this.add(new UpdateChartJsLink("StepSize", ChartjsConfigurations.STEP_SIZE.toString()));
+ this.add(new UpdateChartJsLink("MinMax", ChartjsConfigurations.MIN_MAX.toString()));
+ this.add(new UpdateChartJsLink("GridLines", ChartjsConfigurations.GRID_LINES.toString()));
+ this.add(new UpdateChartJsLink("MultilineLabels", ChartjsConfigurations.MULTILINE_LABELS.toString()));
+ this.add(new UpdateChartJsLink("LogarithmicLineChart", ChartjsConfigurations.LINE_LOGARITHMIC.toString()));
+ this.add(new UpdateChartJsLink("LogarithmicScatterChart", ChartjsConfigurations.SCATTER_LOGARITHMIC.toString()));
+ this.add(new UpdateChartJsLink("BubbleChart", ChartjsConfigurations.BUBBLE.toString()));
+ this.add(new UpdateChartJsLink("FilteringLabels", ChartjsConfigurations.FILTERING_LABELS.toString()));
+ this.add(new UpdateChartJsLink("TimeLine", ChartjsConfigurations.TIME_LINE.toString()));
+ this.add(new UpdateChartJsLink("NonNumeric", ChartjsConfigurations.NON_NUMERIC.toString()));
+ this.add(new UpdateChartJsLink("TimePoint", ChartjsConfigurations.TIME_POINT.toString()));
+ this.add(new UpdateChartJsLink("TimeSeries", ChartjsConfigurations.TIME_SERIES.toString()));
+ this.add(new UpdateChartJsLink("TimeCombo", ChartjsConfigurations.TIME_COMBO.toString()));
+ this.add(new UpdateChartJsLink("OtherRadar", ChartjsConfigurations.RADAR_2.toString()));
+ this.add(new UpdateChartJsLink("Tooltip", ChartjsConfigurations.TOOLTIP.toString()));
+ this.add(new UpdateChartJsLink("TooltipHtml", ChartjsConfigurations.TOOLTIP_HTML.toString()));
+ this.add(new UpdateChartJsLink("LegendPointStyle", ChartjsConfigurations.LEGEND_POINT_STYLE.toString()));
+ this.add(new UpdateChartJsLink("LineChartProgressBar", ChartjsConfigurations.LINE_PROGRESS_BAR.toString()));
+ this.add(new UpdateChartJsLink("DataLabellingChart", ChartjsConfigurations.DATA_LABELLING.toString()));
+ this.add(new UpdateChartJsLink("TooltipInteractions", ChartjsConfigurations.TOOLTIP_INTERACTIONS.toString()));
+ }
/**
* Returns a List of Chart objects from the current page parameters.
@@ -168,230 +167,228 @@ private List