$(function () { $('#chart_tax').highcharts({ chart: { animation: false }, title: { text: '', }, plotOptions: { series: { pointStart: 0, pointInterval: 1, stickyTracking: false, dragDrop: { draggableY: true } } }, xAxis: { allowDecimals: false, max: {{t_max}}, min: {{t_min}}, plotLines: [{ color: 'red', // Color value dashStyle: 'dash', // Style of the plot line. Default to solid value: 0, // Value of where the line will appear width: 1, // Width of the line },{ color: 'gray', // Color value dashStyle: 'dash', // Style of the plot line. Default to solid value: {{now}}, // Value of where the line will appear width: 1, // Width of the line }], }, yAxis: [{ title: { text: '' }, labels: { formatter: function() { return this.value+" %"; } }, max: {{y_x_max}}, min: {{y_x_min}}, plotLines: [{ value: 0, width: 1, color: '#808080' }], opposite:false }], tooltip: { shared: true, valueDecimals:2, valueSuffix: ' %', headerFormat: ' Periode {point.key}
', }, credits: { enabled: false }, colors: ['#330099','#0099FF','#CC00CC'], exporting: { enabled: false }, series: [ {name:'X1',data:{{x1_TS}}, marker:{symbol:'circle'},lineWidth:3,dashStyle:'Solid',color:'#D2691E',type: 'line',}, {name:'X2',data:{{x2_TS}} ,marker:{symbol:'diamond'},lineWidth:1,dashStyle:'Solid',color:'#00e6e6'} ] }); });