JavaScript
var chart = new CanvasJS.Chart("chartContainer",
{
data: [
{
type: "splineArea",
dataPoints: [
{ x: 10, y: 71, color: 'rgb(90, 220, 0)', lineColor: 'rgb(90, 220, 0)', backgroundColor: 'rgb(90, 220, 0)', fillColor: 'rgb(90, 220, 0)' },
{ x: 20, y: 55, color: 'rgb(90, 220, 0)', lineColor: 'rgb(90, 220, 0)', backgroundColor: 'rgb(90, 220, 0)', fillColor: 'rgb(90, 220, 0)' },
{ x: 30, y: 50, color: 'rgb(90, 220, 0)', lineColor: 'rgb(90, 220, 0)', backgroundColor: 'rgb(90, 220, 0)', fillColor: 'rgb(90, 220, 0)' },
{ x: 40, y: 10, color: 'rgb(90, 220, 0)', lineColor: 'rgb(90, 220, 0)', backgroundColor: 'rgb(90, 220, 0)', fillColor: 'rgb(90, 220, 0)' },
{ x: 50, y: -1, color: 'rgb(170, 0, 0)', lineColor: 'rgb(170, 0, 0)', backgroundColor: 'rgb(170, 0, 0)', fillColor: 'rgb(170, 0, 0)' },
{ x: 60, y: -10, color: 'rgb(170, 0, 0)', lineColor: 'rgb(170, 0, 0)', backgroundColor: 'rgb(170, 0, 0)', fillColor: 'rgb(170, 0, 0)' },
{ x: 70, y: -50, color: 'rgb(170, 0, 0)', lineColor: 'rgb(170, 0, 0)', backgroundColor: 'rgb(170, 0, 0)', fillColor: 'rgb(170, 0, 0)' },
{ x: 80, y: 20, color: 'rgb(90, 220, 0)', lineColor: 'rgb(90, 220, 0)', backgroundColor: 'rgb(90, 220, 0)', fillColor: 'rgb(90, 220, 0)' },
{ x: 90, y: 14, color: 'rgb(90, 220, 0)', lineColor: 'rgb(90, 220, 0)', backgroundColor: 'rgb(90, 220, 0)', fillColor: 'rgb(90, 220, 0)' }
]
}
]
});
chart.render();