diff --git a/build.gradle b/build.gradle index 943e5ca..ae6a995 100644 --- a/build.gradle +++ b/build.gradle @@ -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() diff --git a/src/main/resources/templates/report.twig b/src/main/resources/templates/report.twig index 44a8ef2..0410a4b 100644 --- a/src/main/resources/templates/report.twig +++ b/src/main/resources/templates/report.twig @@ -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, diff --git a/src/test/resources/html/example_all_failed_report.html b/src/test/resources/html/example_all_failed_report.html index 4266338..6fd0b94 100644 --- a/src/test/resources/html/example_all_failed_report.html +++ b/src/test/resources/html/example_all_failed_report.html @@ -253,7 +253,15 @@

JUnit Performance Report

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, @@ -801,7 +809,15 @@

JUnit Performance Report

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, diff --git a/src/test/resources/html/example_all_passed_report.html b/src/test/resources/html/example_all_passed_report.html index 675a8c7..e9286f7 100644 --- a/src/test/resources/html/example_all_passed_report.html +++ b/src/test/resources/html/example_all_passed_report.html @@ -253,7 +253,15 @@

JUnit Performance Report

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, @@ -801,7 +809,15 @@

JUnit Performance Report

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, diff --git a/src/test/resources/html/example_mixed_report.html b/src/test/resources/html/example_mixed_report.html index cd45ed4..b6cfebb 100644 --- a/src/test/resources/html/example_mixed_report.html +++ b/src/test/resources/html/example_mixed_report.html @@ -253,7 +253,15 @@

JUnit Performance Report

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, @@ -801,7 +809,15 @@

JUnit Performance Report

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, diff --git a/src/test/resources/html/example_some_failures_report.html b/src/test/resources/html/example_some_failures_report.html index 5cd72ea..f3c7b8d 100644 --- a/src/test/resources/html/example_some_failures_report.html +++ b/src/test/resources/html/example_some_failures_report.html @@ -247,7 +247,15 @@

JUnit Performance Report

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,