fusioncharts / angularjs-fusioncharts

AngularJS Directive for FusionCharts JavaScript Charting Library (for Angular 1.x)
https://fusioncharts.github.io/angularjs-fusioncharts/
MIT License
111 stars 101 forks source link

How can I change the attribute in dataset of Fusionchart? #37

Closed usman10scorpio closed 6 years ago

usman10scorpio commented 8 years ago

Hi I am implementing a chart in my Angularjs Application, You can see this plunker http://jsfiddle.net/fusioncharts/73xgmacm/The thing which I want to achieve is to change the valueattribute to profit. How can I do this ? I want to display profit not values.

Regards

soumyasankarduttagit commented 6 years ago

Yes, you need to set showValues attribute as 0 for which data series the value needs to be hidden and for the series (profit in your case) please set showValues attribute as 1. For further reference please check the modified fiddle http://jsfiddle.net/Soumya_dutta/136sh6uc/11/

ashok1994 commented 6 years ago

@usman10scorpio Can you please elaborate what you mean by "change the value attribute to profit"

ashok1994 commented 6 years ago

Closing for now , feel free to reopen if any doubts