title: ECharts: dataset with bars colored based on category name?
body: <p>I'd like to be able to control bar colors based on xAxis/category label name, throughout multiple charts, while using the <code>dataset.source</code> option of feeding data.</p>
  <p>I'm guessing the solution might involve using <a href="https://echarts.apache.org/en/option.html#visualMap" rel="nofollow noreferrer">visualMap</a>?</p>
  <pre><code>customColors = {
   x1: '#123',
   x2: '#456',
   x3: '#789',
   ...
  }
  </code></pre>
  <p><a href="https://i.stack.imgur.com/8Oj36.gif" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8Oj36.gif" alt="enter image description here" /></a></p>