Class IndicatorColorScheme.ColorIntervalResponse
java.lang.Object
velox.api.layer1.messages.indicators.IndicatorColorScheme.ColorIntervalResponse
- Enclosing interface:
- IndicatorColorScheme
public static class IndicatorColorScheme.ColorIntervalResponse
extends java.lang.Object
Describes all color changes in given interval
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ColorIntervalResponse(java.lang.String[] colors, double[] dots)
0th color is used for all values <= 0th dot
1th color is used for all values > 0th dot and <= 1th dot
...
last color is used for all values > last dot
size of dots list = size of colors list - 1 -
Method Summary
-
Field Details
-
Constructor Details
-
ColorIntervalResponse
public ColorIntervalResponse(java.lang.String[] colors, double[] dots)0th color is used for all values <= 0th dot
1th color is used for all values > 0th dot and <= 1th dot
...
last color is used for all values > last dot
size of dots list = size of colors list - 1- Parameters:
colors
-dots
-
-