Forum Replies Created by tnt

Viewing 1 post (of 1 total)
  • in reply to: January 29-30-31 #28257

    tnt

    Same here

    
    
    window.onload = function() {
     
    var chart = new CanvasJS.Chart("chartContainer", {
    	animationEnabled: true,
    	axisX: {
    		title: "",
    		valueFormatString: "DD MMM"
    	},
    	axisY: {
    		includeZero:false,
    		title: "Copas",
    		ValueFormatString: "#####",
    	},
    	data: [{
    		type: "splineArea",
    		color: "rgba(54,158,173,.7)",
    		xValueFormatString: "DD MMM",
    		yValueFormatString: "#####",
    		dataPoints: [
    			{ x: new Date(2020, 01, 30), y: 13020},{ x: new Date(2020, 01, 31), y: 13083},		]
    	}]
    });
    chart.render();
    }             
    

    Photo

Viewing 1 post (of 1 total)