Package kg.apc.charting.colors
Class HueRotatePalette
- java.lang.Object
-
- kg.apc.charting.colors.HueRotatePalette
-
- All Implemented Interfaces:
java.io.Serializable,ColorsDispatcher
public class HueRotatePalette extends java.lang.Object implements ColorsDispatcher
Rotating Hue Color PaletteCreates rotating hue palette by setting the following in jmeter.properties or user.properties:
jmeterPlugin.customColorsDispatcher = huerotatejmeterPlugin.customColorsDispatcher.options = 9C27B0,8,4
Where options define 3 fields
- options[0] - Starting color
- options[1] - Number of proportional rotations
- options[2] - black to gray gradient steps to generate
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HueRotatePalette(java.lang.String options)Implements ColorDispatcher using a base color and rotating it's hue and generating black to gray gradient with user defined steps
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.ColorgetNextColor()voidreset()
-
-
-
Method Detail
-
reset
public void reset()
- Specified by:
resetin interfaceColorsDispatcher
-
getNextColor
public java.awt.Color getNextColor()
- Specified by:
getNextColorin interfaceColorsDispatcher
-
-