Hi Team,
Hi Team,
We are currently using:-
BuildDate Wed Mar 05 15:52:00 IST 2014
Version 4.1p
SCVersionNumber v9.1p_2014-03-05
I am working on chart drill down functionality and I have achieved it as well but I am unable to set the color of chart as per the drilled down legend.
Is it possible to get the legend color when clicked on any legend in chart so that I can set the color of drilled down chart that was previously shown in legend?
Here is my code by which I can get the title of legend but how to get its color?
Is there any workaround?
Thanks
Hi Team,
We are currently using:-
BuildDate Wed Mar 05 15:52:00 IST 2014
Version 4.1p
SCVersionNumber v9.1p_2014-03-05
I am working on chart drill down functionality and I have achieved it as well but I am unable to set the color of chart as per the drilled down legend.
Is it possible to get the legend color when clicked on any legend in chart so that I can set the color of drilled down chart that was previously shown in legend?
Here is my code by which I can get the title of legend but how to get its color?
Code:
this.addLegendClickHandler(new LegendClickHandler() {
@Override
public void onLegendClick(LegendClickEvent event) {
FacetValue facetValue = event.getFacetValue();
if (facetValue != null) {
String drilledLegend = facetValue.getTitle());
// How to get the color of clicked legend?
...
}
}
});
Thanks