Merge branch 'fouten/omvanggrafiek' into feature/alleInstrumenteninCompactSop
This commit is contained in:
@@ -252,6 +252,7 @@ define( 'MYROOTPATH', str_replace( 'public/', '', FCPATH ) );
|
||||
// Name of the "system" directory
|
||||
define( 'SYSDIR', basename( BASEPATH ) );
|
||||
|
||||
|
||||
// The path to the "application" directory
|
||||
if ( is_dir( $application_folder ) )
|
||||
{
|
||||
|
||||
@@ -301,6 +301,8 @@ mh.initOmvangModel = function(){
|
||||
|
||||
fGetOmvang: function() {
|
||||
var self = mh.OmvangModel;
|
||||
self.toonresult(false);
|
||||
|
||||
var schooljaren = this.selectedSchooljaren.sort()
|
||||
|
||||
var submitData = {'schooljaren' : schooljaren,
|
||||
@@ -372,8 +374,8 @@ mh.initOmvangModel = function(){
|
||||
aantal.push(Number(o.aantalleerlingen));
|
||||
var aantalsbo = 0;
|
||||
var aantalso = 0;
|
||||
if(o.licht) aantalsbo = Number(o.licht);
|
||||
if(o.zwaar) aantalsbo = aantalsbo + Number(o.zwaar);
|
||||
if(o.licht()) aantalsbo = Number(o.licht());
|
||||
if(o.zwaar()) aantalsbo = aantalsbo + Number(o.zwaar());
|
||||
datasbo.push(Number(aantalsbo) > 0 ? Number(aantalsbo) : null);
|
||||
if(o.laag()) aantalso = (Number(o.laag()));
|
||||
if(o.midden()) aantalso = aantalso + Number(o.midden());
|
||||
@@ -629,7 +631,7 @@ mh.initOmvangModel = function(){
|
||||
|
||||
|
||||
|
||||
self.fMaakPie(titel, pienaam, pie, naam, breedte, );
|
||||
self.fMaakPie(titel, pienaam, pie, naam, breedte );
|
||||
}
|
||||
})
|
||||
|
||||
@@ -640,11 +642,12 @@ mh.initOmvangModel = function(){
|
||||
var self = mh.OmvangModel;
|
||||
|
||||
|
||||
|
||||
Highcharts.chart(pienaam, {
|
||||
chart: {
|
||||
plotBackgroundColor: null,
|
||||
plotBorderWidth: null,
|
||||
height: 800,
|
||||
height: 850,
|
||||
plotShadow: false,
|
||||
type: 'pie',
|
||||
margin: [0, 0, 0, 0],
|
||||
@@ -683,11 +686,10 @@ mh.initOmvangModel = function(){
|
||||
padding: 0,
|
||||
verticalAlign: 'top',
|
||||
floating: false,
|
||||
x: -5,
|
||||
x: 0,
|
||||
y: 260,
|
||||
width: 350,
|
||||
height: 500,
|
||||
itemWidth: breedte,
|
||||
// width: 350,
|
||||
// height: 500,
|
||||
itemDistance: 0,
|
||||
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user