Skip to main content

IndicatorColorScheme.ColorIntervalResponse

Package: velox.api.layer1.messages.indicators

Type: Class

Enclosing Interface: IndicatorColorScheme

Inheritance: java.lang.Object รขโ€ โ€™ IndicatorColorScheme.ColorIntervalResponse

Descriptionโ€‹

Describes all color changes in given interval.

Fieldsโ€‹

colorsโ€‹

public final String[] colors

dotsโ€‹

public final double[] dots

Constructorsโ€‹

ColorIntervalResponseโ€‹

public ColorIntervalResponse(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 -