We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 027a298 commit 6cb85e9Copy full SHA for 6cb85e9
PHP/CodeCoverage/Report/HTML.php
@@ -216,11 +216,12 @@ protected function classCoverageDistributionChart(array $classes, $target)
216
}
217
218
219
- $graph = new ezcGraphBarChart;
220
- $graph->data['data'] = new ezcGraphArrayDataSet($data);
221
- $graph->legend = FALSE;
222
- $graph->xAxis->label = 'Coverage';
223
- $graph->yAxis->label = '#Classes';
+ $graph = new ezcGraphBarChart;
+ $graph->data['data'] = new ezcGraphArrayDataSet($data);
+ $graph->legend = FALSE;
+ $graph->xAxis->label = 'Coverage';
+ $graph->xAxis->labelCount = 12;
224
+ $graph->yAxis->label = '#Classes';
225
226
$graph->render(
227
390, 250, $target . '/' . 'class_coverage_distribution.svg'
0 commit comments