This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="wrapper"> | |
<div class="content-area"> | |
<div class="container-fluid"> | |
<div class="main"> | |
<div class="row mt-4"> | |
<div class="col-md-5"> | |
<div class="box columnbox mt-4"> | |
<div id="columnchart"> </div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var myEventList = []; | |
function writeData() { | |
document.body.onclick = function(event) { | |
myEventList.push(formatData(event)); | |
}; | |
function formatData(data) { | |
var event = []; | |
event.push({ | |
"x": data.clientX, | |
"y": data.clientY, |