Interface IndicatorColorScheme
public interface IndicatorColorScheme
Describes colors given to certain indicator values when indicator is drawn using default lines on bottom panel
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classstatic classDescribes all color changes in given interval -
Method Summary
Modifier and TypeMethodDescriptiongetColorFor(Double value) Return color that should be used for this valuestatic StringgetColorFullName(String userName, Class<?> strategyClass) getColorIntervalsList(double valueFrom, double valueTo) Return all used colors descriptiondefault Colordefault String
-
Method Details
-
getColorFullName
-
getColors
IndicatorColorScheme.ColorDescription[] getColors()Return all used colors description -
getColorFor
Return color that should be used for this value -
getColorIntervalsList
- Parameters:
valueFrom-valueTo-- Returns:
- intervals for all colors that should be used for values in interval [valueFrom, valueTo]
-
getMainColorName
-
getDefaultColor
-