Reputation: 173
I am using unicode arrow at the value using the chart's numberSuffix. This effects all the numbers on the chart. Is there a way to just apply it only on the value?
I did use annotations before trying this out but scaling messes up with the arrow placement.
Upvotes: 1
Views: 170
Reputation: 355
I have found another way of implementing the above mentioned feature. A small hack into the code.
Here is the fiddle link.
Although accessing internal objects for implementation is not supported by FusionCharts as it is subjected to change.
FusionCharts.addEventListener('rendered', function(e) {
var dataset = e.sender.jsVars.instanceAPI.components.dataset[0],
labelEle = dataset.graphics.dataLabel && dataset.graphics.dataLabel[0];
labelEle && (labelEle.attr({
text: labelEle.attrs.text + " ↓"
}));
});
Upvotes: 4