Created
September 16, 2018 15:02
-
-
Save buddalee/5ba2e57b758d81f0663ee137bbfd41e9 to your computer and use it in GitHub Desktop.
for Eric Echart gl line style
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
option = { | |
visualMap: { | |
show: false, | |
dimension: 2, | |
min: 0, | |
max: 30 | |
}, | |
xAxis3D: { | |
type: 'value' | |
}, | |
yAxis3D: { | |
type: 'value' | |
}, | |
zAxis3D: { | |
type: 'value' | |
}, | |
grid3D: { | |
axisLine: { | |
lineStyle: { | |
color: '#108bcd' | |
} | |
}, | |
axisPointer: { | |
show: false | |
}, | |
viewControl: {} | |
}, | |
series: [{ | |
type: 'line3D', | |
lineStyle: { | |
width: 10 | |
}, | |
data: [ | |
[-1, 0, 0], | |
[0, 0, 4], | |
[1, 0, 0] | |
] | |
}] | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
http://gallery.echartsjs.com/editor.html?c=xrkehBt3um&v=3