Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch '1.2'

  • Loading branch information...
commit 329adfd039d6d0b07c80a64680d9940dea412e4d 2 parents 393fbcd + 028d1df
@sebastianbergmann authored
View
106 PHP/CodeCoverage/Report/HTML/Renderer/Template/dashboard.html.dist
@@ -58,60 +58,60 @@
<script src="js/jquery.min.js" type="text/javascript"></script>
<script src="js/highcharts.js" type="text/javascript"></script>
<script type="text/javascript">
- $(document).ready(function() {
- var classCoverageDistribution = new Highcharts.Chart({
- chart: {
- renderTo: 'classCoverageDistribution',
- type: 'column'
- },
- title: {text: ''},
- legend: {enabled: false},
- credits: {enabled: false},
- tooltip: {enabled: false},
- xAxis: {
- labels: {style: {fontSize: '8px'}},
- categories: [
- '0%','0-10%','10-20%','20-30%','30-40%','40-50%','50-60%','60-70%','70-80%','80-90%','90-100%','100%'
- ]
- },
- yAxis: {
- title: '',
- labels: {style: {fontSize: '8px'}},
- },
- series: [{
- data: {ccd_values}
- }],
- });
+$(document).ready(function() {
+ var classCoverageDistribution = new Highcharts.Chart({
+ chart: {
+ renderTo: 'classCoverageDistribution',
+ type: 'column'
+ },
+ title: {text: ''},
+ legend: {enabled: false},
+ credits: {enabled: false},
+ tooltip: {enabled: false},
+ xAxis: {
+ labels: {style: {fontSize: '8px'}},
+ categories: [
+ '0%','0-10%','10-20%','20-30%','30-40%','40-50%','50-60%','60-70%','70-80%','80-90%','90-100%','100%'
+ ]
+ },
+ yAxis: {
+ title: '',
+ labels: {style: {fontSize: '8px'}},
+ },
+ series: [{
+ data: {ccd_values}
+ }],
+ });
- var classComplexity = new Highcharts.Chart({
- chart: {
- renderTo: 'classComplexity',
- type: 'scatter'
- },
- title: {text: ''},
- legend: {enabled: false},
- credits: {enabled: false},
- xAxis: {
- title: {text: 'Code Coverage (in percent)'},
- labels: {enabled: true},
- },
- yAxis: {
- title: 'Cyclomatic Complexity',
- labels: {enabled: true},
- },
- tooltip: {
- formatter: function() {
- return this.point.config[2];
- }
- },
- series: [{
- data: {cc_values},
- marker: {
- symbol: 'diamond'
- }
- }],
- });
- });
+ var classComplexity = new Highcharts.Chart({
+ chart: {
+ renderTo: 'classComplexity',
+ type: 'scatter'
+ },
+ title: {text: ''},
+ legend: {enabled: false},
+ credits: {enabled: false},
+ xAxis: {
+ title: {text: 'Code Coverage (in percent)'},
+ labels: {enabled: true},
+ },
+ yAxis: {
+ title: {text: 'Cyclomatic Complexity'},
+ labels: {enabled: true},
+ },
+ tooltip: {
+ formatter: function() {
+ return this.point.config[2];
+ }
+ },
+ series: [{
+ data: {cc_values},
+ marker: {
+ symbol: 'diamond'
+ }
+ }],
+ });
+});
</script>
</body>
</html>
View
484 PHP/CodeCoverage/Report/HTML/Renderer/Template/js/highcharts.js
244 additions, 240 deletions not shown
View
7 PHP/CodeCoverage/Report/HTML/Renderer/Template/js/jquery.min.js
5 additions, 2 deletions not shown
Please sign in to comment.
Something went wrong with that request. Please try again.