case JRChart.CHART_TYPE_BAR3D:
case JRChart.CHART_TYPE_LINE:
case JRChart.CHART_TYPE_STACKEDBAR3D:
case JRChart.CHART_TYPE_STACKEDBAR:
case JRChart.CHART_TYPE_STACKEDAREA:
chartHyperlinkProvider = new CategoryChartHyperlinkProvider(((JRFillCategoryDataset)getDataset()).getItemHyperlinks());
break;
case JRChart.CHART_TYPE_BUBBLE:
chartHyperlinkProvider = new XYChartHyperlinkProvider(((JRFillXyzDataset)getDataset()).getItemHyperlinks());
break;
case JRChart.CHART_TYPE_SCATTER:
case JRChart.CHART_TYPE_XYAREA:
case JRChart.CHART_TYPE_XYLINE:
chartHyperlinkProvider = new XYChartHyperlinkProvider(((JRFillXyDataset)getDataset()).getItemHyperlinks());
break;
case JRChart.CHART_TYPE_CANDLESTICK:
case JRChart.CHART_TYPE_HIGHLOW:
chartHyperlinkProvider = new HighLowChartHyperlinkProvider(((JRFillHighLowDataset)getDataset()).getItemHyperlinks());
break;
case JRChart.CHART_TYPE_MULTI_AXIS:
//multi-axis charts are dealt with in createMultiAxisChart
break;
case JRChart.CHART_TYPE_PIE:
case JRChart.CHART_TYPE_PIE3D:
chartHyperlinkProvider = new PieChartHyperlinkProvider(((JRFillPieDataset)getDataset()).getSectionHyperlinks());
break;
case JRChart.CHART_TYPE_TIMESERIES:
chartHyperlinkProvider = new TimeSeriesChartHyperlinkProvider(((JRFillTimeSeriesDataset)getDataset()).getItemHyperlinks());
break;
case JRChart.CHART_TYPE_XYBAR:
switch(getDataset().getDatasetType())
{
case JRChartDataset.TIMESERIES_DATASET :
chartHyperlinkProvider = new TimeSeriesChartHyperlinkProvider(((JRFillTimeSeriesDataset)getDataset()).getItemHyperlinks());
break;
case JRChartDataset.TIMEPERIOD_DATASET :
chartHyperlinkProvider = new TimePeriodChartHyperlinkProvider(((JRFillTimePeriodDataset)getDataset()).getItemHyperlinks());
break;
case JRChartDataset.XY_DATASET :
chartHyperlinkProvider = new XYChartHyperlinkProvider(((JRFillXyDataset)getDataset()).getItemHyperlinks());
break;
default:
break;
}
break;
case JRChart.CHART_TYPE_GANTT:
chartHyperlinkProvider = new CategoryChartHyperlinkProvider(((JRFillGanttDataset)getDataset()).getItemHyperlinks());
break;
case JRChart.CHART_TYPE_METER:
case JRChart.CHART_TYPE_THERMOMETER:
//no item hyperlinks
break;