Next
Update
Prev
Default

The color of the line chart can be set using the <SolidColor> and <Stroke> element tags. <SolidColor> must be defined as a child node of <fill>, and <Stroke> must be defined as a child node of <stroke> or <lineStroke> in the <Line2DSeries> element tag.

The line color must be set in <lineStroke>, and the border color of the shape drawn at each data point must be set in <stroke>.

...
<Line2DChart ...  itemRenderer="CircleItemRenderer" >
'''
  <Line2DSeries ... >
    <lineStroke>
      <Stroke color="0xFF5050" weight="2" />
    </lineStroke>
    <fill>
      <SolidColor color="0x316a9d" />
      <SolidColor color="0xffd110" />
      <SolidColor color="0xff66cc" />
    </fill>
    <stroke>
      <Stroke color="0xFF5050" weight="2" />
    </stroke>
    ... 
  </Line2DSeries>
...
</Line2DChart>
...

<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.

<Stroke>

weight The weight attribute is to set the thickness of the border line.
color The color attribute is to set the border color of the column.
alpha The alpha attribute is to set the transparency of the border color.

© 2017 KoolChart. All rights reserved.