summaryrefslogtreecommitdiffstats
path: root/application/views/scripts/statistics/type.phtml
diff options
context:
space:
mode:
authorBjörn Geiger2011-11-14 17:51:43 +0100
committerBjörn Geiger2011-11-14 17:51:43 +0100
commitf8939cfaa12a2a1ad3f207ceb67f850ea61f7f02 (patch)
tree15e94445d4b698c1c72a5199b602ffea2e0960c7 /application/views/scripts/statistics/type.phtml
parentEventController Cleaning: API in eigene Klasse ausgelagert (diff)
parentminor (diff)
downloadpoolctrl-f8939cfaa12a2a1ad3f207ceb67f850ea61f7f02.tar.gz
poolctrl-f8939cfaa12a2a1ad3f207ceb67f850ea61f7f02.tar.xz
poolctrl-f8939cfaa12a2a1ad3f207ceb67f850ea61f7f02.zip
Merge branch 'master' of git.openslx.org:lsfks/projekte/poolctrl
Diffstat (limited to 'application/views/scripts/statistics/type.phtml')
-rwxr-xr-xapplication/views/scripts/statistics/type.phtml14
1 files changed, 4 insertions, 10 deletions
diff --git a/application/views/scripts/statistics/type.phtml b/application/views/scripts/statistics/type.phtml
index 2677f4e..a34eb2b 100755
--- a/application/views/scripts/statistics/type.phtml
+++ b/application/views/scripts/statistics/type.phtml
@@ -33,20 +33,18 @@ function plot() {
} else if (poolID == 'default') {
$('#plotBar').empty();
$('#plotPie').empty();
- } else refreshPlot(data.dataBar, data.dataPie, data.color);
+ } else refreshPlot(data.dataBar, data.dataPie);
}, "json");
}
-function refreshPlot(dataBar, dataPie, color) {
+function refreshPlot(dataBar, dataPie) {
$('#plotBar').empty();
$.jqplot('plotBar', dataBar, {
seriesDefaults: {
- //renderer: $.jqplot.PieRenderer,
renderer:$.jqplot.BarRenderer,
pointLabels: { show: true, location: 'e', edgeTolerance: -15 },
shadowAngle: 135,
rendererOptions: {
- //showDataLabels: true,
barDirection: 'horizontal',
varyBarColor : true
}
@@ -55,9 +53,7 @@ function refreshPlot(dataBar, dataPie, color) {
yaxis: {
renderer: $.jqplot.CategoryAxisRenderer
}
- },
- seriesColors: color,
- highlighter: { show: false }
+ }
});
$('#plotPie').empty();
$.jqplot('plotPie', dataPie,
@@ -72,9 +68,7 @@ function refreshPlot(dataBar, dataPie, color) {
lineLabels: true,
varyBarColor : true
}
- },
- seriesColors: color
- //legend: { show:true, location: 'e' }
+ }
});
}