Next
Update
Prev
Default

To draw a shape ( circle, rectangle, diamond, etc. ) at each data point in the line chart, you need to define the itemRenderer attribute in the <Line2DSeries> element tag.

...
<Line2DSeries ... radius="5" itemRenderer="DiamondItemRenderer" ... >
  <stroke>
  	<Stroke color="#fe6500" weight="1"/>
  </stroke>
  ...
</Line2DSeries>
...
<Line2DSeries ... radius="5" itemRenderer="CircleItemRenderer" ... >
  <stroke>
  	<Stroke color="#ffb801" weight="1"/>
  </stroke>
  ...
</Line2DSeries>
...
<Line2DSeries ... radius="5" itemRenderer="TriangleItemRenderer" ... >
  <stroke>
  	<Stroke color="#5fc502" weight="1"/>
  </stroke>
  ...
</Line2DSeries>
...

The color and weight attributes of the <Stroke> element tag are used to set the line color and thickness of the shape, and the <Stroke> element tag must be defined as a child node of the <stroke> element tag.

<Stroke>

color The color attribute is used to set the line color of the shape.
weight The weight attribute is used to set the line thickness of the shape.

© 2017 KoolChart. All rights reserved.