Constructor GradientFormatter
GradientFormatter(Single, String, String, String, String)
Sets the color range for the IDF scores
Declaration
public GradientFormatter(float maxScore, string minForegroundColor, string maxForegroundColor, string minBackgroundColor, string maxBackgroundColor)
Parameters
Type | Name | Description |
---|---|---|
System.Single | maxScore | The score (and above) displayed as maxColor (See MaxTermWeight which can be used to callibrate scoring scale) |
System.String | minForegroundColor | The hex color used for representing IDF scores of zero eg FFFFFF (white) or null if no foreground color required |
System.String | maxForegroundColor | The largest hex color used for representing IDF scores eg 000000 (black) or null if no foreground color required |
System.String | minBackgroundColor | The hex color used for representing IDF scores of zero eg FFFFFF (white) or null if no background color required |
System.String | maxBackgroundColor | The largest hex color used for representing IDF scores eg 000000 (black) or null if no background color required |