var nwCharts = {	
	//Graph de type 'line'
	optLine : {
		chart: {
	        backgroundColor: '#fff',
	        defaultSeriesType: 'line',
	        margin: [0,0,30,0],
	        borderWidth: 0,
	        borderRadius: 0,
	        borderColor: '#ccc'
    	},
    	colors: ['#999'],
	    title: {
	        text: ''
	    },
	    credits: false,
	    xAxis: {
	        tickWidth: 0,
	        tickColor: '#ccc',
	        minPadding: 0.04,
	        labels:{
	            style : {
	                fontFamily : 'arial',
	                fontWeight: 'bold',
	                color: '#333',
	                fontSize: '11px'
	            }
	        },
	        lineColor : '#ccc'
	    },
	    yAxis: {   
	        min: 0,
	        max: 20,
	        maxPadding: 0,
	        minPadding: 0,
	        tickWidth: 0,
	        minorGridLineWidth: 0,
	        gridLineWidth: 0,
	        title:{
	            text : ''
	        },
	        labels:{
	            enabled:false
	        },
	        plotBands: [{
	            from: 0,
	            to: 4,
	            color: '#eee'
	        },{
	          from: 17,
	          to: 20,
	          color: '#eee'  
	        }],
	        plotLines: [{
	            color: '#ccc',
	            width: 1,
	            value: 10
	        }],
	        reversed : true //Pour inverser l'ordre des ordonnées                     
	   },
	   labels: {
	       style : {
	           width : '20px',
	           textAlign: 'right',
	           display:'block',
	           color : '#333',
	           fontSize: '11px',
	           fontFamily : 'arial',
	           fontWeight: 'bold'
	       }
	   },
	   legend: {
	       enabled : false
	    },
	    plotOptions: {
	        line: {
	            lineWidth: 3,
	            marker: {
	                enabled: false,
	                states: {
	                    hover: {
	                        enabled: true,
	                        symbol: 'circle',
	                        radius: 1,
	                        lineWidth: 1
	                    }
	                }
	            }        
	    	}
	    }
	}, //Fin optLine
	
	//Graph de type 'pie'
	optPie2 : {
		chart: {
	    	margin: [10,10,10,10],
	        borderWidth: 0,
	        borderRadius: 0,
	        backgroundColor: null,
	        borderColor: '#ccc'
    	},
	    credits: {
	        enabled: false
	    },
	    title: {
	        text: ''
	    },
	    plotArea: {
	        shadow: null,
	        borderWidth: null,
	        backgroundColor: null
	    },
	    tooltip: {
	        formatter: function () {
	            return '<b>' + this.point.name + '</b>: ' + this.y + ' %';
	        }
	    },
	    plotOptions: {
	        pie: {
	            allowPointSelect: true,
	            cursor: 'pointer',
	            dataLabels: {
	                enabled: true,
	                formatter: function () {
	                    if (this.y > 5) {
	                        return this.point.name;
	                    }
	                },
	                color: '#000',
	                style: {
	                    font: '11px Arial'
	                }
	            }
	        }
	    },
	    legend: {
	        enabled: false
	    },
	    series: [{	
			name: 'Buts',
		    type: 'pie' ,      
		    data: [{
		        color: '#eee'
		    },
		    {
		        color: '#ccc'
		    }]
	    }]
	}, //Fin optPie2
	
	//Graph de type 'pie'
	optPie3 : {
		chart: {
	    	margin: [10,10,10,10],
	        borderWidth: 0,
	        borderRadius: 0,
	        backgroundColor: null,
	        borderColor: '#ccc'
    	},
	    credits: {
	        enabled: false
	    },
	    title: {
	        text: ''
	    },
	    plotArea: {
	        shadow: null,
	        borderWidth: null,
	        backgroundColor: null
	    },
	    tooltip: {
	        formatter: function () {
	            return '<b>' + this.point.name + '</b>: ' + this.y + ' %';
	        }
	    },
	    plotOptions: {
	        pie: {
	            allowPointSelect: true,
	            cursor: 'pointer',
	            dataLabels: {
	                enabled: true,
	                formatter: function () {
	                    if (this.y > 5) {
	                        return this.point.name;
	                    }
	                },
	                color: '#000',
	                style: {
	                    font: '11px Arial'
	                }
	            }
	        }
	    },
	    legend: {
	        enabled: false
	    },
	    series: [{	
	        name: 'Matches',
	        type: 'pie' ,      
	        data: [{
	            color: '#ccc'
	        },
	        {
	            color: '#ddd'
	        },
	        {
	            color: '#eee'
	     	}]
	    }]
	} //Fin optPie3
};

