Skip to content

Commit 8035ce0

Browse files
committed
Update AAChartView.html
1 parent df7d364 commit 8035ce0

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

AAInfographics/AAJSFiles.bundle/AAChartView.html

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
}
1818
</style>
1919
</head>
20-
<body style="margin:0px 0px 0px 0px;">
20+
<body style="margin:0 0 0 0;">
2121
<div id="container" style="width:100%; height: 100%;"></div>
2222
<script>
2323
let aaGlobalChart;
@@ -56,7 +56,7 @@
5656
}
5757

5858
aaGlobalChart = Highcharts.chart('container', aaOptions);
59-
};
59+
}
6060

6161
function configurePlotOptions(aaOptions) {
6262
let aaPlotOptions = aaOptions.plotOptions;
@@ -76,18 +76,17 @@
7676
}
7777

7878
function configureEventMessageBody(selectedPoint) {
79-
let messageBody = {
79+
return {
8080
name: selectedPoint.series.name,
8181
y: selectedPoint.y,
8282
x: selectedPoint.x,
83-
category:selectedPoint.category,
83+
category: selectedPoint.category,
8484
offset: {
8585
plotX: selectedPoint.plotX,
8686
plotY: selectedPoint.plotY
8787
},
8888
index: selectedPoint.index,
8989
};
90-
return messageBody;
9190
}
9291

9392
function configureChartClickEvent(aaPlotOptions) {

0 commit comments

Comments
 (0)