zcaudate
zcaudate

Reputation: 14258

how to set the inital rotation of an echarts-gl chart?

Currently, a set of data points I have look like this:

Normal

I wish to have it looking like this, which is the z-axis rotated 180 degrees:

After

Which variable do I have to set in echarts?

Upvotes: 0

Views: 277

Answers (1)

user12171311
user12171311

Reputation: 21

Try this:

grid3D: {
    viewControl: { alpha: 15,
                   beta: -25
    }
}

Upvotes: 2

Related Questions