Sign in to follow this  
jose.costa

Pareto valuePosition not working

Recommended Posts

Hello, 

 

I'm having problems with valuePosition in a Pareto Chart. When a have values in the bars and also in the line, the first value is overwritten, so I'm trying to use valuePosition = "BELOW" to solve it, changing the position of the line values.

I'm setting it to "BELOW", but doesn't make any difference.

Here's what I'm doing: http://jsfiddle.net/fusioncharts/35JJ4/

Thank you for any help.

type: 'pareto2d',
            renderAt: 'chart-container',
            width: iniWidth,
            height: iniHeight,
                "dataFormat": "json", 
    "dataSource": {
        "chart": {
            "valuePosition": "BELOW", 
            "PYaxisMaxValue": 3000, 
            "xAxisName": "", 
            "yAxisMaxValue": "", 
            "yAxisName": ""
        }, 
        "data": [
            {
                "color": "2e7ec9", 
                "label": "Test1", 
                "value": 237
            }, 
            {
                "color": "ff853b", 
                "label": "Test2", 
                "value": 156
            }, 
            {
                "color": "50b150", 
                "label": "Test3", 
                "value": 148
            }, 
            {
                "color": "fb3636", 
                "label": "Test4", 
                "value": 147
            }, 
            {
                "color": "80d9ef", 
                "label": "Test5", 
                "value": 146
            }, 
            {
                "color": "e5c909", 
                "label": "Test6", 
                "value": 145
            }, 
            {
                "color": "c9527f", 
                "label": "Test7", 
                "value": 144
            }, 
            {
                "color": "2fd99b", 
                "label": "Test8", 
                "value": 143
            }, 
            {
                "color": "8715e7", 
                "label": "Test9", 
                "value": 142
            }, 
            {
                "color": "91c13b", 
                "label": "Test10", 
                "value": 141
            }, 
            {
                "color": "97b5d3", 
                "label": "Test11", 
                "value": 140
            }, 
            {
                "color": "a73f00", 
                "label": "Test12", 
                "value": 139
            }
        ], 
        "trendLines": {}
    }, 
    
    "type": "Pareto2D", 

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
Sign in to follow this