Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Radar label jumping on hover after upgrading from 3.6.2 to 3.7.0 #6516

Closed
jarben opened this issue Aug 24, 2017 · 1 comment
Closed

Radar label jumping on hover after upgrading from 3.6.2 to 3.7.0 #6516

jarben opened this issue Aug 24, 2017 · 1 comment
Labels
pending We are not sure about whether this is a bug/new feature.

Comments

@jarben
Copy link
Contributor

jarben commented Aug 24, 2017

Version: 3.7.0

Sample code:

option = {
    "color": [
        "#5793F3",
        "#DD4D79"
    ],
    "legend": {
        "data": [
            "Line 1",
            "Line 2"
        ]
    },
    "radar": {
        "indicator": [
            {
                "name": "Category 1",
                "min": 0,
                "max": 100
            },
            {
                "name": "Category 2",
                "min": 0,
                "max": 100
            },
            {
                "name": "Category 3",
                "min": 0,
                "max": 100
            },
            {
                "name": "Category 4",
                "min": 0,
                "max": 100
            },
            {
                "name": "Category 5",
                "min": 0,
                "max": 100
            },
            {
                "name": "Category 6",
                "min": 0,
                "max": 100
            }
        ]
    },
    "series": [
        {
            "symbolSize": 7,
            "type": "radar",
            "label": {
                "normal": {
                    "show": true
                }
            },
            "areaStyle": {
                "normal": {
                    "opacity": 0.5
                }
            },
            "data": [
                {
                    "value": [
                        "80",
                        "60",
                        "70",
                        "80",
                        "65",
                        "50"
                    ],
                    "name": "Line 1"
                },
                {
                    "value": [
                        "60",
                        "75",
                        "40",
                        "25",
                        "38",
                        "66"
                    ],
                    "name": "Line 2"
                }
            ]
        }
    ]
}

This renders as:

image

Labels jump down and get outlined as below when hovered:

image

@pissang pissang added the pending We are not sure about whether this is a bug/new feature. label Aug 29, 2017
@100pah 100pah closed this as completed in 318f207 Aug 29, 2017
@jarben
Copy link
Contributor Author

jarben commented Aug 30, 2017

Thanks @100pah !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pending We are not sure about whether this is a bug/new feature.
Projects
None yet
Development

No branches or pull requests

2 participants