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 discrete stepped type of the from-to chart.

...
<Bar2DChart showDataTips="true" ... >
  ...
  <series>
    <Bar2DSeries minField="date1" xField="date2" labelPosition="inside" showValueLabels="[3,4,5]" formatter="{dateFmt}" color="#ffffff" >
    ...
    </Bar2DSeries>
  </series>
  ...
</Bar2DChart>
...

<Bar2DSeries>

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

© 2017 KoolChart. All rights reserved.