amcharts3
amcharts3 copied to clipboard
Does AmStockChart extends to AmChart
Hi there,
I just noticed that on the documentation there's no write(id)
api on AmStockChart
(Refer to https://docs.amcharts.com/3/javascriptstockchart/AmStockChart) But on the current getting started guide I just noticed that you've used the chart.write("chartDiv")
(Refer to https://www.amcharts.com/kbase/your-first-stock-chart/) in order to create your chart. So in conclusion do we need to extend AmStockChart
to AmChart
to access those base api i.e write(id)
or AmStockChart
is missing that api.
Best Regards, Mark
Hi Mark,
The documentation for V3 is managed manually, and not generated from code. So it may contain some errors, or have something missing.
AmStockChart
cannot extend AmChart
. StockPanel
do extend AmChart
.
We'll update the documentation. Thanks for catching this.
Meanwhile, just rest assured that it's OK to use write()
on a Stock Chart :)
Ok thanks for the feedback :)