mirror of
https://github.com/wownero/diff-chart.git
synced 2026-10-17 15:21:25 +02:00
show date in the balloon, allow panning
This commit is contained in:
@@ -34,7 +34,7 @@ var chart = AmCharts.makeChart("chartdiv", {
|
||||
"mouseWheelZoomEnabled": true,
|
||||
"graphs": [{
|
||||
"id": "g1",
|
||||
"balloonText": "[[value]]",
|
||||
"balloonText": "[[value]]\n[[date]]",
|
||||
"bullet": "round",
|
||||
"bulletBorderAlpha": 1,
|
||||
"bulletColor": "#FFFFFF",
|
||||
@@ -43,7 +43,7 @@ var chart = AmCharts.makeChart("chartdiv", {
|
||||
"valueField": "difficulty",
|
||||
"useLineColorForBulletBorder": true,
|
||||
"balloon":{
|
||||
"drop":true
|
||||
"cornerRadius": 10,
|
||||
}
|
||||
}],
|
||||
"chartScrollbar": {
|
||||
@@ -52,7 +52,8 @@ var chart = AmCharts.makeChart("chartdiv", {
|
||||
"scrollbarHeight": 40
|
||||
},
|
||||
"chartCursor": {
|
||||
"limitToGraph":"g1"
|
||||
"limitToGraph":"g1",
|
||||
"pan": true
|
||||
},
|
||||
"categoryField": "height",
|
||||
"categoryAxis": {
|
||||
|
||||
+4
-3
@@ -34,7 +34,7 @@ var chart = AmCharts.makeChart("chartdiv", {
|
||||
"mouseWheelZoomEnabled": true,
|
||||
"graphs": [{
|
||||
"id": "g1",
|
||||
"balloonText": "[[value]]",
|
||||
"balloonText": "[[value]]\n[[date]]",
|
||||
"bullet": "round",
|
||||
"bulletBorderAlpha": 1,
|
||||
"bulletColor": "#FFFFFF",
|
||||
@@ -43,7 +43,7 @@ var chart = AmCharts.makeChart("chartdiv", {
|
||||
"valueField": "difficulty",
|
||||
"useLineColorForBulletBorder": true,
|
||||
"balloon":{
|
||||
"drop":true
|
||||
"cornerRadius": 10,
|
||||
}
|
||||
}],
|
||||
"chartScrollbar": {
|
||||
@@ -52,7 +52,8 @@ var chart = AmCharts.makeChart("chartdiv", {
|
||||
"scrollbarHeight": 40
|
||||
},
|
||||
"chartCursor": {
|
||||
"limitToGraph":"g1"
|
||||
"limitToGraph":"g1",
|
||||
"pan": true
|
||||
},
|
||||
"categoryField": "height",
|
||||
"categoryAxis": {
|
||||
|
||||
Reference in New Issue
Block a user