protected JRDesignChart createChart(DJChart djChart) {
        JRDesignGroup jrGroupChart = getJRGroupFromDJGroup(djChart.getColumnsGroup());

        JRDesignChart chart = new JRDesignChart(new JRDesignStyle().getDefaultStyleProvider(), djChart.getType());
        JRDesignGroup parentGroup = getParent(jrGroupChart);
        List<JRDesignVariable> chartVariables = registerChartVariable(djChart);
        JRDesignChartDataset chartDataset = DataSetFactory.getDataset(djChart, jrGroupChart, parentGroup, chartVariables);
        chart.setDataset(chartDataset);
        interpeterOptions(djChart, chart);

        chart.setEvaluationTime(EvaluationTimeEnum.GROUP);
        chart.setEvaluationGroup(jrGroupChart);
        return chart;
    }
protected JRDesignChart createChart ( DJChart djChart ) { JRDesignGroup jrGroupChart = getJRGroupFromDJGroup ( djChart . getColumnsGroup ( ) ) ; JRDesignChart chart = new JRDesignChart ( new JRDesignStyle ( ) . getDefaultStyleProvider ( ) , djChart . getType ( ) ) ; JRDesignGroup parentGroup = getParent ( jrGroupChart ) ; List < JRDesignVariable > chartVariables = registerChartVariable ( djChart ) ; JRDesignChartDataset chartDataset = DataSetFactory . getDataset ( djChart , jrGroupChart , parentGroup , chartVariables ) ; chart . setDataset ( chartDataset ) ; interpeterOptions ( djChart , chart ) ; chart . setEvaluationTime ( EvaluationTimeEnum . GROUP ) ; chart . setEvaluationGroup ( jrGroupChart ) ; return chart ; }
Creates the JRDesignChart from the DJChart. To do so it also creates needed variables and data-set

@param djChart
@return