Home forums Using CanvasJS Multiple Charts with data from MySQL Reply To: Multiple Charts with data from MySQL

#24522

svN

Thank you, this helped me a lot.

Today i come with another question regarding your awesome charts.

Please have a look at https://jsfiddle.net/x10Lncup/ and tell me, why the chart doesn´t draw the line? In original, the data comes out of a database and is pushed into an array which i give to the datapoints:

data: [{
		type: "spline",
		name: "Luftfeuchte",
		color: "#369EAD",
		showInLegend: true,
		axisYIndex: 0,
		dataPoints: <?php echo json_encode($humi, JSON_NUMERIC_CHECK); ?>
	},

The values seems to be recognized by the chart, the numbers at the yAxis are already in place.
Thank you for your help.

BR,

Sven