Class ChartColorScheme
java.lang.Object
net.thucydides.core.reports.html.accessibility.ChartColorScheme
We can switch between color schemes by setting the serenity.report.accessibility property to true.
-
Constructor Summary
ConstructorsConstructorDescriptionChartColorScheme(net.thucydides.model.util.EnvironmentVariables environmentVariables) -
Method Summary
Modifier and TypeMethodDescriptionbackgroundColorFor(String testStatus) static ChartColorSchemeforEnvironment(net.thucydides.model.util.EnvironmentVariables environmentVariables) gradientColors(RGB start, RGB end, int steps)
-
Constructor Details
-
ChartColorScheme
public ChartColorScheme(net.thucydides.model.util.EnvironmentVariables environmentVariables)
-
-
Method Details
-
forEnvironment
public static ChartColorScheme forEnvironment(net.thucydides.model.util.EnvironmentVariables environmentVariables) -
backgroundColorFor
-
getBackgroundColors
-
gradientColors
-
getManualBackgroundColors
-
getBorderColors
-