Next
Update
Prev
Default

The vector chart represents data with angle and magnitude in lines. This sample shows the wind direction and speed for the days represented in the X-axis.

The <Vector2DChart> element tag is used to create a Vector chart in KoolChart, and the series element tag for the Vector chart is <Vector2DSeries>.

...
<Vector2DChart ... >
  ...
  <series>
    <Vector2DSeries ... velocityField="speed" degreeField="degree" >
      ...
    </Vector2DSeries>
  </series>
  ...
</Vector2DChart>
...

<Vector2DSeries>

velocityField The velocityField attribute is to set the value of angle.
degreeField The degreeField attribute is to set the field name for the value of angle.

© 2017 KoolChart. All rights reserved.