Pergunta

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.

Foi útil?

Solução

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)
}]
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top