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',
        smooth: true,
        markArea: {
            data: [
                [{
                    xAxis: 
'Mon',
                    yAxis: 0,
                    
itemStyle:{
                      
  color:'red'
                      
  
                    },
                    label: {
                      
  show: true,
                      
  position: ['50%', '50%'],
                      
  color: 'black',
                      
  fontStyle: 'oblique',
                      
  fontSize: 20,
                      
  rotate: 90,
                      
  formatter: "wwww"
                    }
                    
                }, {
                    xAxis: 
'Sun',
                    yAxis: 
'900',
                    
itemStyle:{
                      
  color:''
                      
  
                    }
                   
                }]
            ],
            
           
        }
    }],
    dataZoom:[{
        type:'slider',
        start:'0',
        end:'50'
    }]
};

Reply via email to