legendProperties = new LegendProperties();
chartProperties = new ChartProperties();
axisProperties = new AxisProperties(false);
ChartFont axisScaleFont = new ChartFont(new Font("Arial Narrow", Font.PLAIN, 10), Color.black);
axisProperties.getXAxisProperties().setScaleChartFont(axisScaleFont);
axisProperties.getYAxisProperties().setScaleChartFont(axisScaleFont);
ChartFont axisTitleFont = new ChartFont(new Font("Arial Narrow", Font.PLAIN, 13), Color.black);
axisProperties.getXAxisProperties().setTitleChartFont(axisTitleFont);
axisProperties.getYAxisProperties().setTitleChartFont(axisTitleFont);
ChartFont titleFont = new ChartFont(new Font("Georgia Negreta cursiva", Font.PLAIN, 15), Color.black);
chartProperties.setTitleFont(titleFont);
//On fixe la marge avec le cadre
// Set the margin within the frame
chartProperties.setEdgePadding(2f);
//On met le graphe sur un fond gris clair
// Set the chart against a plain grey background
axisProperties.setBackgroundPaint(new Color (245, 245, 245));
//Param�trage de la bo�te de l�gende
//Parameters for the legend box
//legendProperties.setPlacement(LegendAreaProperties.RIGHT);
//legendProperties.setNumColumns(1);
//legendProperties.setFont( new Font("Arial Narrow", Font.PLAIN, 13) );
//legendProperties.setFontPaint(Color.black);
ChartFont legendFont = new ChartFont(new Font("Arial Narrow", Font.PLAIN, 13), Color.black);
legendProperties.setChartFont(legendFont);
legendProperties.setChartPadding(10);
//Arrondi � la puissance 10
//Round up to the power of 10