在我的echarts中与这些作斗争:
我正在尝试在https://grafana.com/media/products/cloud/application-observability/service-overview-1.png
中创建与持续时间分布图类似的图表option = {
xAxis: {
type: 'category',
axisTick: {
show: false
},
data: [0.002, 0.004, 0.128, 0.512, 1.0256, 2.0512, 5.1],
},
yAxis: {
type: 'value',
},
tooltip: {
trigger: 'axis',
axisPointer: {
type: 'shadow'
}
},
grid: {
top: '4%',
left: '3%',
right: '4%',
bottom: '3%',
containLabel: true
},
series: [
{
data: [1204546.1235, 200456.315311, 1504561.11, 8046456, 7456456.654, 1146540.6484868432, 134560.1],
type: 'bar'
}
]
}
https://jsfiddle.net/o3dxqm8p/
谢谢