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

Inverse RadiusAxes #6805

ghost opened this issue Oct 10, 2017 · 0 comments

Inverse RadiusAxes #6805

ghost opened this issue Oct 10, 2017 · 0 comments


Copy link

ghost commented Oct 10, 2017

I have a problem with inverse RadiusAxes. Despite I use higher version of Echart 3 I unable to inverse my radiusAxes. I set a range between 0 and 90 but I want to start the numbers from the origo with 90 and nut with zero. I tried the inverse command on Bar chart and it worked so that is why I do not understand why it doesn't work in my chart. I attach a picture of my result and my code.

Thank you in advance for your help!


My code:

var myChart = echarts.init(document.getElementById('main'));
var data = [[73,45]];

option = {
    title: {
        text: ''
    legend: {
        data: ['line']
    polar: {},
    tooltip: {
        trigger: 'axis',
        axisPointer: {
            type: 'cross'
    angleAxis: {
        type: 'value',
        clockwise: true, 
        min: 0,
        max: 360
    radiusAxis: {
        type: 'value', 
        nameRotate: 90,
        inverse: true,  // <-- Despite I set it true my radius doesn't start with 90
        min: 0,
        max: 90   
    series: [{
        coordinateSystem: 'polar',
        name: 'line',
        type: 'line',
        data: data

@100pah 100pah closed this as completed in 1072441 Oct 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

No branches or pull requests

0 participants