This commit is contained in:
@@ -1045,18 +1045,10 @@
|
||||
<link rel="stylesheet" href="https://www.amcharts.com/lib/3/plugins/export/export.css" type="text/css" media="all" />
|
||||
<script src="https://www.amcharts.com/lib/3/themes/light.js"></script>
|
||||
|
||||
<script>
|
||||
//Hypgrafica
|
||||
|
||||
|
||||
//$("body").on("click", ".ajax__tab_outer .ajax__tab_inner .ajax__tab_tab,ul.nav.nav-tabs li", function () {
|
||||
// setTimeout(loadadscroll, 10);
|
||||
//});
|
||||
<script>
|
||||
let cdatos;
|
||||
let currentid = 1;
|
||||
function HandlerGraf(obj, evt) {
|
||||
//console.log(obj);
|
||||
//console.log(evt);
|
||||
function HandlerGraf(obj, evt) {
|
||||
$("#DivModalGrafica").modal();
|
||||
cdatos = $(obj).data('values');
|
||||
if (currentid == 1) {
|
||||
@@ -1064,8 +1056,7 @@
|
||||
} else {
|
||||
CargaGraficaPastel();
|
||||
}
|
||||
$('.LblTituloGrafica').text($(obj).parent().text());
|
||||
//debugger;
|
||||
$('.LblTituloGrafica').text($(obj).parent().text());
|
||||
}
|
||||
function CargaGraficaBarras() {
|
||||
let data = cdatos;
|
||||
@@ -1124,8 +1115,7 @@
|
||||
}
|
||||
function ADSBegin() {
|
||||
$('.DdlGrafica').on('select2:select', function (e) {
|
||||
var data = e.params.data;
|
||||
//console.log(data);
|
||||
var data = e.params.data;
|
||||
currentid = data.id;
|
||||
if (currentid == 1) {
|
||||
CargaGraficaBarras();
|
||||
|
||||
Reference in New Issue
Block a user