3dgrafieken
This commit is contained in:
@@ -97,4 +97,16 @@ class Licenties_model extends MY_Model{
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
function getLicentieBijSoponderdeel($orgid, $onderdeelnummer, $orgsoort){
|
||||||
|
$this->sql = " SELECT L.modulenr
|
||||||
|
FROM tb_licenties L
|
||||||
|
JOIN tb_sop_piv_modules SPM ON L.modulenr = SPM.modulenr
|
||||||
|
JOIN tb_compactonderdeel_piv_orgsoort CPO ON SPM.onderdeel_nr = CPO.onderdeel_nr
|
||||||
|
WHERE L.orgid = {$orgid}
|
||||||
|
AND CPO.onderdeel_nr = {$onderdeelnummer}
|
||||||
|
AND CPO.org_soort = {$orgsoort} ";
|
||||||
|
return $this->get_query_row("modulenr");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
<link rel="stylesheet" type="text/css" href="<?php echo $this->config->item('vendor_url'); ?>/css/chart.css" />
|
|
||||||
<script type="text/javascript" src="<?php echo $this->config->item('vendor_url'); ?>/js_lib/jquery.min.js"></script>
|
<script type="text/javascript" src="<?php echo $this->config->item('vendor_url'); ?>/js_lib/jquery.min.js"></script>
|
||||||
<script type="text/javascript" src="<?php echo $this->config->item('vendor_url'); ?>/js_lib/Highcharts/code/highcharts.js"></script>
|
<script type="text/javascript" src="<?php echo $this->config->item('vendor_url'); ?>/js_lib/Highcharts/code/highcharts.js"></script>
|
||||||
|
<script src="<?php echo $this->config->item('vendor_url'); ?>/js_lib/Highcharts/code/highcharts-3d.js"></script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="sopOnderdeelBlok">
|
<div class="sopOnderdeelBlok">
|
||||||
@@ -101,9 +103,6 @@
|
|||||||
</div>
|
</div>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Build the chart
|
// Build the chart
|
||||||
|
|
||||||
@@ -270,7 +269,11 @@
|
|||||||
plotBorderWidth: null,
|
plotBorderWidth: null,
|
||||||
plotShadow: false,
|
plotShadow: false,
|
||||||
type: 'pie',
|
type: 'pie',
|
||||||
margin: [0,-10, 0, -80]
|
margin: [0,-10, 0, -80],
|
||||||
|
options3d: {
|
||||||
|
enabled: true,
|
||||||
|
alpha: 45,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
title: {
|
title: {
|
||||||
text: null,
|
text: null,
|
||||||
@@ -284,6 +287,7 @@
|
|||||||
// allowPointSelect: true,
|
// allowPointSelect: true,
|
||||||
size: 95,
|
size: 95,
|
||||||
padding: 0,
|
padding: 0,
|
||||||
|
depth: 20,
|
||||||
|
|
||||||
// cursor: 'pointer',
|
// cursor: 'pointer',
|
||||||
dataLabels: {
|
dataLabels: {
|
||||||
@@ -312,7 +316,6 @@
|
|||||||
},
|
},
|
||||||
series: [{
|
series: [{
|
||||||
name: 'tlvs',
|
name: 'tlvs',
|
||||||
// colorByPoint: true,
|
|
||||||
data: punten
|
data: punten
|
||||||
}]
|
}]
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user