labelPos CENTER issue

Recommended Posts

If I use "CENTER" on a label position of a marker, the label of the marker will be behind the marker making this completely unusable. 


The issue is easy to spot based on this :


FusionCharts.ready(function () {
    var topStates = new FusionCharts({
        "type": "usa",
        "renderAt": "chart-container",
        "width": "600",
        "height": "400",
        "dataFormat": "json",
        "dataSource": {
            "chart": {
                "theme": "fint",
                "useHoverColor": "0",
                "useValuesForMarkers": "1",
                "showMarkerLabels": "1",
            "markers": {
                "items": [
                        "shapeid": "circle",
                        "id": "TX",
                        "x": "333",
                        "y": "304",
                        "label": "Texas",
                        //Values of marker that make it data enabled
                        "value": "97344000",
                        "radius": 25,
                        "labelPos" : "CENTER",
                        "tooltext": "Rank #1, $label, Revenue : $dataValue"
Did I miss something ? 

Share this post

Link to post
Share on other sites



I encountered the same trouble with markers labels which is that the labels are printed BEHIND markers themselves.


Although copying/pasting the example of Hadrien.reiner into jsfiddle.net doesn't allow to reproduce the bug (printing the labels rightly ON the markers)


Any idea ?? Thks

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