-
-
Save monbro/9742869 to your computer and use it in GitHub Desktop.
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
<script> | |
Keen.onChartsReady(function() { | |
var client1 = new Keen.Client({ | |
projectId: "...", | |
readKey: "..." | |
}); | |
var client2 = new Keen.Client({ | |
projectId: "...", | |
readKey: "..." | |
}); | |
var client1chart = new Keen.Metric("purchases", { | |
analysisType: "count" | |
}, | |
client1); | |
var client2chart = new Keen.Metric("purchases", { | |
analysisType: "count" | |
}, | |
client2); | |
client1chart.draw(document.getElementById("div1")); | |
client2chart.draw(document.getElementById("div2")); | |
}); | |
</script> | |
<div id="div1"></div> | |
<div id="div2"></div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment