actually i requested data from the server by angular http request and it is getting data successfully. inside the successCallback i called setData for morris Line Chart.
but before calling setData chart is appear pretty nicely, after calling the function chart x axis doesn't show margins between points. so all the data appear in single vertical line. Can you help guys?
and the other thing is when i move initialization into the http success, it gives same error.
Oh. really !!! i just solved it by myself, the thing is i called the http request in page load. but after i setting a button click it worked perfectly.
actually i requested data from the server by angular http request and it is getting data successfully. inside the successCallback i called setData for morris Line Chart.
Also i have initialized the chart in this way
but before calling setData chart is appear pretty nicely, after calling the function chart x axis doesn't show margins between points. so all the data appear in single vertical line. Can you help guys?
and the other thing is when i move initialization into the http success, it gives same error.