echart折线图-如何删除系列折线标记

时间:2018-10-04 11:26:08

标签: echarts

使用百度的echarts库绘制一系列直线,这里有没有人知道如何删除x轴刻度线(该线上的小圆圈-请参见下面的屏幕截图)?

screenshot (unable to embed)

我在系列行类型https://ecomfe.github.io/echarts-doc/public/en/option.html#series-line.type中找不到选项

编辑:这是一个简单的example on jsfiddle

var myChart = echarts.init(document.getElementById('container'));

myChart.setOption(option = {
xAxis: {
    type: 'category',
    data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
},
yAxis: {
    type: 'value'
},
series: [{
    data: [820, 932, 901, 934, 1290, 1330, 1320],
    type: 'line'
}]
});

window.onresize = function() {
myChart.resize();
};

谢谢

1 个答案:

答案 0 :(得分:0)

我猜您正在寻找的选项是showSymbol系列。将其设置为false。

foreach ($server in $servers) { 
    $event = Get-EventLog -ComputerName $server -LogName "system"  -Newest 200

    if ($event.Source.Contains("Ntfs") -or $event.Source.Contains("DistributedCOM")) {  
        $body += Write-Output "Server $server has an error: " $($event.Message -split '\n')[0]  `n  
    } else { 
        $body += Write-Output "Server $server has nothing to report           `n"
    }

jsfiddle