Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
...
Note |
---|
This code does not work with OHLC and candlestick charts. |
Note |
---|
The code above only works for charts made with jqPlot |
The following code is for interactive charts made with eChart and should also be put in the "Custom Footer"
Code Block | ||
---|---|---|
| ||
<script>
$(document).ready(function() {
//ID of one's eChart can be found in html elements of the chart when launching the app
//which can be found by right-clicking the chart and pressing "Inspect"
var aChart = echarts.init(document.getElementById('some_id'));
aChart.on('click', function(params) {
console.log("Click!");
console.log("Data name: " + params.name);
console.log("Data value: " + params.data);
});
}); |
Available in Joget Marketplace
...