Interface ColorMapper
public interface ColorMapper
- 
Method Summary
 
- 
Method Details
- 
getColor
Returns the color to be used for the specified chart data - must return a color in the format of of a leading hash (#) plus 6 hexadecimal digits as mentioned in the docs forCSSColor.- Parameters:
 index- index of the legend facet value to be renderedfacetValueId- id of the legend facet value to be renderedpurpose- purpose for the requested gradient - such as "legend", "line", "area", "points", etc.- Returns:
 - color
 - See Also:
 - 
FacetChart.setDataColorMapper(com.smartgwt.client.widgets.chart.ColorMapper)FacetChart.setDataLineColorMapper(com.smartgwt.client.widgets.chart.ColorMapper)MetricSettings.setDataColorMapper(com.smartgwt.client.widgets.chart.ColorMapper)MetricSettings.setDataLineColorMapper(com.smartgwt.client.widgets.chart.ColorMapper)
 
 
 -