title: SAPUI5:Chart: Changing the color of a bar
body: <p>We would like to change the color of a particular bar in the chart. Can someone share a code snippet to achieve the same? If we use color-pallete aggregation then color change is getting reflected to all the bars.</p>
  
  <p>We are using makit library, please note that we had tried the same with viz library also.</p>
  
  <p>Snippet from XML view:</p>
  
  <pre><code>&lt;ma:Chart id="idChart1" height="50%" width="100%" type="Column"
    rows="{/}" showRangeSelector="true"
    showTableView="false" showTotalValue="false"&gt;
  
  
    &lt;ma:category&gt;
    &lt;ma:Category column="type" displayName="Product" /&gt;
    &lt;/ma:category&gt;
  
  
    &lt;ma:values&gt;
    &lt;ma:Value expression="tickets" displayName="Gross Value"
    format="number" /&gt;
    &lt;/ma:values&gt;
    &lt;ma:columns&gt;
    &lt;ma:Column name="type" value="{BillCycle}" /&gt;
    &lt;ma:Column name="tickets" value="{Volume}" type="number" /&gt;
    &lt;/ma:columns&gt;`enter code here`
  
  
    &lt;/ma:Chart&gt;
  </code></pre>
  
  <p>Regards,
  DR</p>