Back | Home
الـ Path الحالي: /home/picotech/domains/instantly.picotech.app/public_html/public/uploads/.././js/customer/./.
الملفات الموجودة في هذا الـ Path:
.
..
campaign.js
campaign_statistic.js
compose.js
contact.js
dashboard.js
domain.js
email_account.js
email_template.js
form.js
group.js
inbox.js
label.js
lead_finder.js
list_builder.js
queue.js
sender.js
sent.js
settings.js
ticket.js
مشاهدة ملف: campaign_statistic.js
"use strict";
$(function () {
var line_data1 = {
data: clickReport,
color: '#eb150b'
}
var line_data2 = {
data: openReport,
color: '#00c0ef'
}
$.plot('#line-chart', [line_data1, line_data2], {
grid: {
hoverable: true,
borderColor: '#f3f3f3',
borderWidth: 1,
tickColor: '#f3f3f3'
},
series: {
shadowSize: 0,
lines: {
show: true
},
points: {
show: true
}
},
lines: {
fill: false,
color: ['#3c8dbc', '#f56954']
},
yaxis: {
show: true
},
xaxis: {
show: true
}
})
//Initialize tooltip on hover
$('<div class="tooltip-inner" id="line-chart-tooltip"></div>').css({
position: 'absolute',
display: 'none',
opacity: 0.8
}).appendTo('body')
$('#line-chart').bind('plothover', function (event, pos, item) {
if (item) {
var x = item.datapoint[0].toFixed(2),
y = item.datapoint[1]
$('#line-chart-tooltip').html(y)
.css({
top: item.pageY + 5,
left: item.pageX + 5
})
.fadeIn(200)
} else {
$('#line-chart-tooltip').hide()
}
})
});