public interface GradientMapper
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getGradient(int index,
java.lang.Object facetValueId,
java.lang.String purpose)
Returns the gradient identifier to be used for the specified chart data.
|
java.lang.String getGradient(int index, java.lang.Object facetValueId, java.lang.String purpose)
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.FacetChart.setDataGradientMapper(com.smartgwt.client.widgets.chart.GradientMapper)
,
MetricSettings.setDataGradientMapper(com.smartgwt.client.widgets.chart.GradientMapper)