Question

I'm building a AmStockChart with annual data. The problem is that I'd like to have a X axis going from 1/1 to 12/31 and currently the upper boundary is dynamically set with the max date I have in the dataset.

Is it possible to force this? It seems that it can be modified within StockGraph.valueAxis but The documentation isn't really clear to me.

Était-ce utile?

La solution

to archive this you need to add a "dump" entry in your dataProvider

dataProvider = [{
    date: new Date(2014,0,1)
},
...
{
    date: new Date(2014,11,31)
}]
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top