| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 | /*Name: 			UI Elements / Widgets - ExamplesWritten by: 	Okler Themes - (http://www.okler.net)Theme Version: 	2.0.0*/(function($) {	'use strict';	$(function() {		/*		Flot		*/		if( $('#flotWidgetsSales1').get(0) ){			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		*/		if( $('#morrisLine').get(0) ){			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		*/		if( $('#sparklineBar').get(0) ){			$("#sparklineBar").sparkline(sparklineBarData, {				type: 'bar',				width: '80',				height: '50',				barColor: '#0059a4',				negBarColor: '#B20000'			});		}		$('.circular-bar-chart').appear();	});}).apply(this, [jQuery]);
 |