As you can see here, on the X-Axis the dates are equidistant inspite of the date's varying in range.
[Right click->Open in a new tab if you can't see the pic]
But the X-axis distance is equivalent for both.
I want the X-axis to show value 0, when there's no value for a particular date..
Possible Solutions:
- Is there any inbuilt parameter that am missing within AMcharts itself for this?
- The other solution i had in mind was to input value 0 for date's having no corresponding data. [But this will lag the front end]
The date format issue where:
For a date, 2014-11-12 10:15, the "dataDateFormat": "YYYY-MM-DD JJ:NN" doesn't seem to work. Tried to do it in milliseconds as well, didn't work. Here's my fiddle
"dataProvider": [{ "date": "1343364300000", "value": 1 },{ "date": "1343364900000", "value": 5 },{ "date": "1343365500000", "value": 10 },{ "date": "1343366100000", "value": 15 },{ "date": "1343366100000", "value": 8 },{ "date": "1343369520000", "value": 24 },]
This is the chart am using for this.