Next
Update
Prev
Default

A From-To chart shows the distance between two data points using bar scales or area measures. You can create the From-To chart using <Bar2DChart>, <Bar3DChart>, <Column2DChart>, <Column3DChart>, <Area2DChart> in KoolChart.

This sample chart is to show how to create a bar type of the from-to chart.

...
<Bar3DChart showDataTips="true" ... >
  ...
  <series>
    <Bar3DSeries minField="date1" xField="date2" labelPosition="inside" insideLabelField="cat" color="#ffffff" >
    ...
    </Bar3DSeries>
  </series>
  ...
</Bar2DChart>
...

<Bar3DSeries>

minField The minField attribute determines the field name for the beginning value of two data points in the horizontal axis ( horizontalAxis ).
xField The xField attribute determines the field name for the ending value of two data points in the horizontal axis ( horizontalAxis ).
insideLabelField The insideLabelField attribute determines which field of the Data Object to be used for the value label when labelPosition="inside".

© 2017 KoolChart. All rights reserved.