Next
Update
Prev
Default

The color of the bar chart can be set using the <SolidColor> and <Stroke> element tags, which must be defined as a child node of <fill> and <stroke> in the <Bar2DSeries> or <Bar3DSeries> element tags.

The <SolidColor> element tag is to set the fill color, and the <Stroke> element tag is to set the border color. This sample bar chart is to show how to set the color of the bar to the hexadecimal color code, 0xFF3232.

...
<Bar2DChart ...  >
'''
  <Bar2DSeries ... >
    <fill>
      <SolidColor color="0xFF5050" alpha="1" />
    </fill>
    ... 
  </Bar2DSeries>
...
</Bar2DChart>
...

<SolidColor>

color The color attribute is to set the fill color of the column.
alpha The alpha attribute is to set the transparency of the fill color.

© 2017 KoolChart. All rights reserved.