snehasingi

How to add Percentage sign (%) in Bar 3D

Recommended Posts

Hello team, I want to add percentage sign in Bar 3D. Please help me with this. Below is my code

 

FusionCharts.ready(function () {
                var featureLevelChart = new FusionCharts({
                    "type": "bar3d",
                    "renderAt": "featureLevelStatus",
                    "width": "600",
                    "height": "200",
                    "dataFormat": "json",
                    "dataSource": {
                        "chart": {
                            //"yAxisName": "Project Status",
                            "theme": "fint",
                            "plotSpacePercent": "10",
                            "showPercentValues": "1",
                        },
                        "data": [
                            {
                                "label": "Compare Plans",
                                "value": "25%"
                            },
                            {
                                "label": "Plan Details Page Redesign",
                                "value": "15%"
                            },
                            {
                                "label": "Call Center Page Level Tracking (DialogTech)",
                                "value": "10%"
                            },
                        ]
                    }
                });
                featureLevelChart.render();

 

Capture.PNG

Share this post


Link to post
Share on other sites

Hi,

Please note Bar3d chart does not have any legend feature, kindly elaborate for which chart you are asking for reducing the space between the legends and chart, it would be really helpful if you share a sample fiddle for the same

Regarding your second query, you decrease the width of the bar either using plotSpacePercent or using maxBarHeight accordingly to requirements, please check the fiddle for reference - https://jsfiddle.net/opg9u50q/

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now