title: How to manually apply emphasis on series in echarts bar-graph?
body: <p>I have a echarts bar graph with series of data. When a bar is clicked, emphasis is applied on it. Is there a way to programmatically select one of the series in the bar-graph to apply emphasis on when the graph loads?</p>
  <p><a href="https://i.stack.imgur.com/C5ksj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/C5ksj.png" alt="Before Emphasis" /></a>
  <a href="https://i.stack.imgur.com/5GLGs.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5GLGs.png" alt="Emphasis when clicked" /></a></p>
  <p>The options code I have for the bar graph:</p>
  <pre><code>  options = {
      markPoint: { data: ['Q1'] },
      color: ['#3398DB'],
      tooltip: {
        trigger: 'axis',
        axisPointer: {
          type: 'shadow'
        }
      },
      grid: {
        left: '3%',
        right: '4%',
        bottom: '3%',
        containLabel: true
      },
      xAxis: [
        {
          type: 'category',
          data: ['Q1', 'Q2', 'Q3', 'Q4'],
          axisTick: {
            alignWithLabel: true,
          }
        }
      ],
      yAxis: [{
        type: 'value'
      }],
      series: [{
        name: 'Counters',
        type: 'bar',
        barWidth: '50%',
        data: [3,8,12,5],
        itemStyle: {
          //highlight
          emphasis: {
            barBorderColor: 'red',
            barBorderWidth: 2
          }
  
        }
      }]
    };
  </code></pre>
  <p>Thank you.</p>