echarts3d数据
import { EChartsOption } from 'echarts' export interface correctRateType { [index:number]:[number, number, number] } export function correctRate (): EChartsOption { return { title: { text: '【路面震动实时值】', subtext: '单位(mm/s)', subtextStyle: { color: '#ffffff' }, textStyle: { fontSize: 14, color: '#ffffff' } }, grid3D: { top: '3%' }, xAxis3D: { min: 0, max: 50, axisLabel: { textStyle: { color: '#ffffff' } } }, yAxis3D: { min: 0, max: 50, axisLabel: { textStyle: { color: '#ffffff' } } }, zAxis3D: { min: 0, max: 50, axisLabel: { textStyle: { color: '#ffffff' } } }, dataset: { source: [ [0, 36, 17], [8, 34, 35], [13, 39, 44], [35, 32, 32], [44, 32, 43] ] }, series: [ { type: 'scatter3D', symbolSize: 5, encode: { x: 'x', y: 'y', z: 'z' } } ] }as unknown as EChartsOption }
本文来自博客园,作者:zjxgdq,转载请注明原文链接:https://www.cnblogs.com/zjxzhj/p/16194492.html