check(data, ValueDataset.class, chartType);
DialPlot dplot = new DialPlot((ValueDataset) data);
dplot.addPointer(new DialPointer.Pin());
StandardDialScale scale = new StandardDialScale();
scale.setTickLabelFont(new Font("Dialog", Font.BOLD, 10));
dplot.addScale(0, scale);
chart = new JFreeChart(title, new Font("SansSerif", Font.BOLD, 18), dplot, showLegend);
ChartFactory.getChartTheme().apply(chart);
return chart;
case THERMOMETER :
check(data, ValueDataset.class, chartType);