My Charts is not displaying the balloon and I do not understand why. I have a ballon displaying on the y cursor, I can change it to display the value of x axis, but i cannot display a balloon that would display the x axis value in a balloon either on the x cursor or following the value line.
AmCharts.makeChart("chartdiv",
{
"type": "xy",
"pathToImages": "http://cdn.amcharts.com/lib/3/images/",
"startDuration": 1.5,
"handDrawn": true,
"theme": "light",
"thousandsSeparator": "'",
"chartCursor": {
"categoryBalloonEnabled": true,
"valueLineAxis": "ValueAxis-1",
"valueLineBalloonEnabled": true,
"valueLineEnabled": true,
"balloonText": "[[Distance (m)]]",
"showBalloon": true,
"zoomable": false
},
//"trendLines": [],
"color":"#777777",
"fontFamily":"Londrina Outline",
"fontSize":23,
"categoryField": "Distance (km)",
"graphs": [
{
"id": "AmGraph-4",
"balloonText": "[[Distance (m)]]",
"title": "graph 4",
"valueAxis": "Not set",
"lineColor": "#59C45C",
"lineThickness": 3,
"fillAlphas": 0.13,
"fillColors": "#59C45C",
"fillToAxis": "ValueAxis-2",
"valueField": "Distance (km)",
"xAxis": "Distance (km)",
"xField": "Distance (km)",
"yField": "Elevation (m)"
}
],
"valueAxes": [
{
"id": "ValueAxis-1",
"axisAlpha": 0,
"unit": "m"
},
{
"id": "ValueAxis-2",
"position": "bottom",
"axisAlpha": 0,
"unit": "km",
"showLastLabel": false
}
],
"allLabels": [],
"amExport": {},
"balloon": {},
"titles": [],
"dataProvider": [
{
"Distance (m)": "0",
"Distance (km)": "0",
"Elevation (m)": "749"
},
{
"Distance (m)": "101.543639516933",
"Distance (km)": "0.11",
"Elevation (m)": "749"
},
{ and many more like that ...},