Skip to content

Instantly share code, notes, and snippets.

@buddalee
Created September 16, 2018 15:02
Show Gist options
  • Save buddalee/5ba2e57b758d81f0663ee137bbfd41e9 to your computer and use it in GitHub Desktop.
Save buddalee/5ba2e57b758d81f0663ee137bbfd41e9 to your computer and use it in GitHub Desktop.
for Eric Echart gl line style
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]
]
}]
};
@buddalee
Copy link
Author

buddalee commented Sep 16, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment