문제

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.

도움이 되었습니까?

해결책

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)
}]
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top