Echarts 修改折线的颜色和折线的点的大小方法

   在做SPC分析的时候或者一些专业的分析的时候有的客户会要求,点的大小,样式等,具体的设置方法如下:

series: [{                            

                            type: 'line',
                            showSymbol: true,
                            symbol: 'circle',     //设定为实心点
                            symbolSize: 20,   //设定实心点的大小
                            hoverAnimation: false,
                            animation: false,
                            data: dataa,                          
                            markPoint: {     //显示一定区域内的最大值和最小值
                                data: [
                                    { type: 'max', name: '最大值' },
                                    { type: 'min', name: '最小值' }
                                ]
                            }]

你可能感兴趣的:(Echarts)