Next
Update
Prev
-
+
Default

A candlearea chart is a style of financial chart used to describe price movements of a security, derivative, or currency.

The <CandleArea2DChart> element tag is used to create a candlearea chart in KoolChart, and the series element tag for the candlearea chart is <CandleArea2DSeries>.

...
<DualChart ... >					
  <mainChart>
    <CandleArea2DChart ... >
    ...
      <series>
        <CandleArea2DSeries yField="open" baseLineMode="true" baseValue="1280000" ... >
        ...
        </CandleArea2DSeries>
      </series>
      ...
    </CandleArea2DChart>
  </mainChart>
  
  <subChart>
    <Column2DChart ... >
    ...
  </subChart>
  
  <dataSelector>
    <DualScrollBar inverted="true" visibleItemSize="50" />
  </dataSelector>
</DualChart>
...

<CandleArea2DSeries>

yField The yField attribute is used to set the field name of the vertical axis (verticalAxis).
baseLineMode The baseLineMode attribute determines whether or not to change the style of the lower-valued line and area. (true or false. the default value is false)
baseValue If baseLineMode="true", then the color and weight of upper-valued (compared to the value of the baseValue attribute) line (area) will be defined by <areaStroke> (<areaFill>), and the lower-valued line (area) will be defined by <areaDeclineStroke> (<areaDeclineFill>).

<DualScrollBar>

inverted The inverted attribute determines whether or not to locate the scrollbar cursor at the last data point.
visibleItemSize The visibleItemSize attribute determines the number of data displayed in the chart.

© 2017 KoolChart. All rights reserved.