Stock Chart Candlesticks
You can create your typical stock charts with amCharts XYChart. In this example we create a candlestick stock price graph and a volume graph under it.
Key implementation details
We add 2 value axes to our chart: one for the price part (valueAxis
) and one for the volume part (volumeAxis
). We set height on the valueAxis
to be 70% and 30% on the volumeAxis
. Then we add CandlestickSeries
for the price graph and ColumnSeries
for the volume graph. We assign valueAxis
property on each graph accordingly, and both use the same date axis as their X-axis.