PHP create 3d chart php - Net-Raft.com

Welcome aboard! We are happy you are here and wish you good net-raft!




Just a Web Code Solution

create 3d chart using php


 374

PHP


2

<?php

include("Includes/fusioncharts.php"); // download wrapper from https://www.fusioncharts.com/php-charts/

?>
<!DOCTYPE HTML>
<html>
<head>
<script type="text/javascript" src="https://static.fusioncharts.com/code/latest/fusioncharts.js"></script>
<script type="text/javascript" src="https://static.fusioncharts.com/code/latest/themes/fusioncharts.theme.ocean.js"></script>
</head>
<body>

<?php

//mychart is id of div
$pie3dChart = new FusionCharts("pie3d", "ex2", "100%", 400, "mychart", "json", '{ "chart": {
"caption": "PHP Frameworks",
"subcaption": "Last Year",
"startingangle": "120",
"showlabels": "0",
"showlegend": "1",
"enablemultislicing": "0",
"slicingdistance": "15",
"showpercentvalues": "1",
"showpercentintooltip": "0",
"plottooltext": "Frameworks group : $label Total downloads : $datavalue",
"theme": "ocean"
},
"data": [
{
"label": "Zend",
"value": "1250400"
},
{
"label": "Laravel",
"value": "1463300"
},
{
"label": "Symfony",
"value": "1050700"
},
{
"label": "Phalcon",
"value": "1061000"
}
]
}');

$pie3dChart->render();

?>

<div id="mychart"></div>

</body>
</html>


By     Created   
The power of the user (%)
4%



The most helpful PHP solutions

detect browser phpdetect browser phpPHP

Click to see more ...

  3.9K     394

create QR code phpcreate QR code phpPHP

Click to see more ...

  2.6K     286

create relative date phpcreate relative date phpPHP

Click to see more ...

  1.7K     251

drag and drop upload file using phpdrag and drop upload file using phpPHP

Click to see more ...

  2.2K     249

delete array item phpdelete array item phpPHP

Click to see more ...

  2K     238

detect ie phpdetect ie phpPHP

Click to see more ...

  1.3K     212

get current url phpget current url phpPHP

Click to see more ...

  1K     189

Get real client country using php ?Get real client country using php ?PHP

Click to see more ...

  706     172

detect speed internet phpdetect speed internet phpPHP

Click to see more ...

  690     130

get meta tag phpget meta tag phpPHP

Click to see more ...

  682     129