خرید بک لینک

Vote count: 0

Hello i have obstacle for my chart from CanvasJs.

I just put simple code to get simple chart with parameter target and actual, i found error in dataPoints: i think the problem just wrong statements.

this my error code:

      data: [
        {        
            type: "spline",
            showInLegend: true,
            lineThickness: 2,
            name: "Actual",
            markerType: "square",
            color: "#F08080",
            dataPoints: [
                <?PHP 

                    $mkmi3= mysql_query("SELECT * FROM monthkpimontindv ");

                          While ($mkmi4= mysql_fetch_row($mkmi3)) 

                          {
                            echo "{ label: ".$mkmi4['period'].", y: ".$mkmi4['actual']." }";
                        }
                ?>                    

            ]
        }

asked 2 mins ago

- - , .

برچسب: نویسنده: استخدام کار تاريخ: سه شنبه 4 اسفند 1394 ساعت: 10:55

صفحه بندی