HEX
Server: Apache
System: Linux sg2plmcpnl492417.prod.sin2.secureserver.net 4.18.0-553.58.1.lve.el8.x86_64 #1 SMP Fri Jul 4 12:07:06 UTC 2025 x86_64
User: nyiet8349bzl (9207396)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: /home/nyiet8349bzl/iecbm.sbsc.in/iecbm.sbsc.in/assets/javascripts/ui-elements/examples.widgets.js
/*
Name: 			UI Elements / Widgets - Examples
Written by: 	Okler Themes - (http://www.okler.net)
Theme Version: 	1.0.0
*/

(function($) {

	'use strict';

	$(function() {

		/*
		Flot
		*/
		var plot = $.plot('#flotWidgetsSales1', flotWidgetsSales1Data, {
			series: {
				lines: {
					show: true,
					lineWidth: 2
				},
				points: {
					show: true
				},
				shadowSize: 0
			},
			grid: {
				hoverable: true,
				clickable: true,
				borderColor: 'transparent',
				borderWidth: 1,
				labelMargin: 15,
				backgroundColor: 'transparent'
			},
			yaxis: {
				min: 0,
				color: 'transparent'
			},
			xaxis: {
				mode: 'categories',
				color: 'transparent'
			},
			legend: {
				show: false
			},
			tooltip: true,
			tooltipOpts: {
				content: '%x: %y',
				shifts: {
					x: -30,
					y: 25
				},
				defaultTheme: false
			}
		});

		/*
		Morris
		*/
		Morris.Line({
			resize: true,
			element: 'morrisLine',
			data: morrisLineData,
			grid: false,
			xkey: 'y',
			ykeys: ['a'],
			labels: ['Series A'],
			hideHover: 'always',
			lineColors: ['#FFF'],
			gridTextColor: 'rgba(255,255,255,0.4)'
		});

		/*
		Sparkline: Bar
		*/
		$("#sparklineBar").sparkline(sparklineBarData, {
			type: 'bar',
			width: '80',
			height: '50',
			barColor: '#0088cc',
			negBarColor: '#B20000'
		});

		$('.circular-bar-chart').appear();

	});

}).apply(this, [jQuery]);