Skip to content

Commit

Permalink
Fixing horizontal axis scale (#36)
Browse files Browse the repository at this point in the history
* Fixing horizontal axis scale

* Stepping version
  • Loading branch information
noconnor authored Nov 16, 2018
1 parent 56f8fa2 commit 7ac3ccd
Show file tree
Hide file tree
Showing 6 changed files with 73 additions and 9 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ apply plugin: 'jacoco'
group = 'com.github.noconnor'
sourceCompatibility = 1.8
// http://semver.org/
version = '1.9.2'
version = '1.9.3'

repositories {
mavenCentral()
Expand Down
10 changes: 9 additions & 1 deletion src/main/resources/templates/report.twig
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,15 @@
var options = {
title: 'Latency percentile Distribution',
hAxis: {title: 'Percentile', minValue: 0, maxValue: 100},
hAxis: {
title: 'Percentile',
minValue: 0,
maxValue: 100,
viewWindow: {
min: 0,
max: 100
}
},
vAxis: {title: 'Latency', minValue: 0, maxValue: 15},
legend: 'none',
lineWidth: 1,
Expand Down
20 changes: 18 additions & 2 deletions src/test/resources/html/example_all_failed_report.html
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,15 @@ <h1 style='color:#044e9b'>JUnit Performance Report</h1>

var options = {
title: 'Latency percentile Distribution',
hAxis: {title: 'Percentile', minValue: 0, maxValue: 100},
hAxis: {
title: 'Percentile',
minValue: 0,
maxValue: 100,
viewWindow: {
min: 0,
max: 100
}
},
vAxis: {title: 'Latency', minValue: 0, maxValue: 15},
legend: 'none',
lineWidth: 1,
Expand Down Expand Up @@ -801,7 +809,15 @@ <h1 style='color:#044e9b'>JUnit Performance Report</h1>

var options = {
title: 'Latency percentile Distribution',
hAxis: {title: 'Percentile', minValue: 0, maxValue: 100},
hAxis: {
title: 'Percentile',
minValue: 0,
maxValue: 100,
viewWindow: {
min: 0,
max: 100
}
},
vAxis: {title: 'Latency', minValue: 0, maxValue: 15},
legend: 'none',
lineWidth: 1,
Expand Down
20 changes: 18 additions & 2 deletions src/test/resources/html/example_all_passed_report.html
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,15 @@ <h1 style='color:#044e9b'>JUnit Performance Report</h1>

var options = {
title: 'Latency percentile Distribution',
hAxis: {title: 'Percentile', minValue: 0, maxValue: 100},
hAxis: {
title: 'Percentile',
minValue: 0,
maxValue: 100,
viewWindow: {
min: 0,
max: 100
}
},
vAxis: {title: 'Latency', minValue: 0, maxValue: 15},
legend: 'none',
lineWidth: 1,
Expand Down Expand Up @@ -801,7 +809,15 @@ <h1 style='color:#044e9b'>JUnit Performance Report</h1>

var options = {
title: 'Latency percentile Distribution',
hAxis: {title: 'Percentile', minValue: 0, maxValue: 100},
hAxis: {
title: 'Percentile',
minValue: 0,
maxValue: 100,
viewWindow: {
min: 0,
max: 100
}
},
vAxis: {title: 'Latency', minValue: 0, maxValue: 15},
legend: 'none',
lineWidth: 1,
Expand Down
20 changes: 18 additions & 2 deletions src/test/resources/html/example_mixed_report.html
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,15 @@ <h1 style='color:#044e9b'>JUnit Performance Report</h1>

var options = {
title: 'Latency percentile Distribution',
hAxis: {title: 'Percentile', minValue: 0, maxValue: 100},
hAxis: {
title: 'Percentile',
minValue: 0,
maxValue: 100,
viewWindow: {
min: 0,
max: 100
}
},
vAxis: {title: 'Latency', minValue: 0, maxValue: 15},
legend: 'none',
lineWidth: 1,
Expand Down Expand Up @@ -801,7 +809,15 @@ <h1 style='color:#044e9b'>JUnit Performance Report</h1>

var options = {
title: 'Latency percentile Distribution',
hAxis: {title: 'Percentile', minValue: 0, maxValue: 100},
hAxis: {
title: 'Percentile',
minValue: 0,
maxValue: 100,
viewWindow: {
min: 0,
max: 100
}
},
vAxis: {title: 'Latency', minValue: 0, maxValue: 15},
legend: 'none',
lineWidth: 1,
Expand Down
10 changes: 9 additions & 1 deletion src/test/resources/html/example_some_failures_report.html
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,15 @@ <h1 style='color:#044e9b'>JUnit Performance Report</h1>

var options = {
title: 'Latency percentile Distribution',
hAxis: {title: 'Percentile', minValue: 0, maxValue: 100},
hAxis: {
title: 'Percentile',
minValue: 0,
maxValue: 100,
viewWindow: {
min: 0,
max: 100
}
},
vAxis: {title: 'Latency', minValue: 0, maxValue: 15},
legend: 'none',
lineWidth: 1,
Expand Down

0 comments on commit 7ac3ccd

Please sign in to comment.