|
|
<!DOCTYPE html>
|
|
|
<html lang="en">
|
|
|
|
|
|
<head>
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
|
<!-- Meta, title, CSS, favicons, etc. -->
|
|
|
<meta charset="utf-8">
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
|
|
<title>Gentallela Alela! | </title>
|
|
|
|
|
|
<!-- Bootstrap core CSS -->
|
|
|
|
|
|
<link href="css/bootstrap.min.css" rel="stylesheet">
|
|
|
|
|
|
<link href="fonts/css/font-awesome.min.css" rel="stylesheet">
|
|
|
<link href="css/animate.min.css" rel="stylesheet">
|
|
|
|
|
|
<!-- Custom styling plus plugins -->
|
|
|
<link href="css/custom.css" rel="stylesheet">
|
|
|
<link href="css/icheck/flat/green.css" rel="stylesheet">
|
|
|
|
|
|
<link rel="stylesheet" type="text/css" href="css/maps/jquery-jvectormap-2.0.3.css" />
|
|
|
|
|
|
<script src="js/jquery.min.js"></script>
|
|
|
|
|
|
<!--[if lt IE 9]>
|
|
|
<script src="../assets/js/ie8-responsive-file-warning.js"></script>
|
|
|
<![endif]-->
|
|
|
|
|
|
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
|
|
<!--[if lt IE 9]>
|
|
|
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
|
|
|
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
|
|
|
<![endif]-->
|
|
|
|
|
|
</head>
|
|
|
|
|
|
|
|
|
<body class="nav-md">
|
|
|
|
|
|
<div class="container body">
|
|
|
|
|
|
|
|
|
<div class="main_container">
|
|
|
|
|
|
<div class="col-md-3 left_col">
|
|
|
<div class="left_col scroll-view">
|
|
|
|
|
|
<div class="navbar nav_title" style="border: 0;">
|
|
|
<a href="index.html" class="site_title"><i class="fa fa-paw"></i> <span>Gentellela Alela!</span></a>
|
|
|
</div>
|
|
|
<div class="clearfix"></div>
|
|
|
|
|
|
<!-- menu prile quick info -->
|
|
|
<div class="profile">
|
|
|
<div class="profile_pic">
|
|
|
<img src="images/img.jpg" alt="..." class="img-circle profile_img">
|
|
|
</div>
|
|
|
<div class="profile_info">
|
|
|
<span>Welcome,</span>
|
|
|
<h2>John Doe</h2>
|
|
|
</div>
|
|
|
</div>
|
|
|
<!-- /menu prile quick info -->
|
|
|
|
|
|
<br />
|
|
|
|
|
|
<!-- sidebar menu -->
|
|
|
<div id="sidebar-menu" class="main_menu_side hidden-print main_menu">
|
|
|
|
|
|
<div class="menu_section">
|
|
|
<h3>General</h3>
|
|
|
<ul class="nav side-menu">
|
|
|
<li><a><i class="fa fa-home"></i> Home <span class="fa fa-chevron-down"></span></a>
|
|
|
<ul class="nav child_menu" style="display: none">
|
|
|
<li><a href="index.html">Dashboard</a>
|
|
|
</li>
|
|
|
<li><a href="index2.html">Dashboard2</a>
|
|
|
</li>
|
|
|
<li><a href="index3.html">Dashboard3</a>
|
|
|
</li>
|
|
|
</ul>
|
|
|
</li>
|
|
|
<li><a><i class="fa fa-edit"></i> Forms <span class="fa fa-chevron-down"></span></a>
|
|
|
<ul class="nav child_menu" style="display: none">
|
|
|
<li><a href="form.html">General Form</a>
|
|
|
</li>
|
|
|
<li><a href="form_advanced.html">Advanced Components</a>
|
|
|
</li>
|
|
|
<li><a href="form_validation.html">Form Validation</a>
|
|
|
</li>
|
|
|
<li><a href="form_wizards.html">Form Wizard</a>
|
|
|
</li>
|
|
|
<li><a href="form_upload.html">Form Upload</a>
|
|
|
</li>
|
|
|
<li><a href="form_buttons.html">Form Buttons</a>
|
|
|
</li>
|
|
|
</ul>
|
|
|
</li>
|
|
|
<li><a><i class="fa fa-desktop"></i> UI Elements <span class="fa fa-chevron-down"></span></a>
|
|
|
<ul class="nav child_menu" style="display: none">
|
|
|
<li><a href="general_elements.html">General Elements</a>
|
|
|
</li>
|
|
|
<li><a href="media_gallery.html">Media Gallery</a>
|
|
|
</li>
|
|
|
<li><a href="typography.html">Typography</a>
|
|
|
</li>
|
|
|
<li><a href="icons.html">Icons</a>
|
|
|
</li>
|
|
|
<li><a href="glyphicons.html">Glyphicons</a>
|
|
|
</li>
|
|
|
<li><a href="widgets.html">Widgets</a>
|
|
|
</li>
|
|
|
<li><a href="invoice.html">Invoice</a>
|
|
|
</li>
|
|
|
<li><a href="inbox.html">Inbox</a>
|
|
|
</li>
|
|
|
<li><a href="calendar.html">Calendar</a>
|
|
|
</li>
|
|
|
</ul>
|
|
|
</li>
|
|
|
<li><a><i class="fa fa-table"></i> Tables <span class="fa fa-chevron-down"></span></a>
|
|
|
<ul class="nav child_menu" style="display: none">
|
|
|
<li><a href="tables.html">Tables</a>
|
|
|
</li>
|
|
|
<li><a href="tables_dynamic.html">Table Dynamic</a>
|
|
|
</li>
|
|
|
</ul>
|
|
|
</li>
|
|
|
<li><a><i class="fa fa-bar-chart-o"></i> Data Presentation <span class="fa fa-chevron-down"></span></a>
|
|
|
<ul class="nav child_menu" style="display: none">
|
|
|
<li><a href="chartjs.html">Chart JS</a>
|
|
|
</li>
|
|
|
<li><a href="chartjs2.html">Chart JS2</a>
|
|
|
</li>
|
|
|
<li><a href="morisjs.html">Moris JS</a>
|
|
|
</li>
|
|
|
<li><a href="echarts.html">ECharts </a>
|
|
|
</li>
|
|
|
<li><a href="other_charts.html">Other Charts </a>
|
|
|
</li>
|
|
|
</ul>
|
|
|
</li>
|
|
|
</ul>
|
|
|
</div>
|
|
|
<div class="menu_section">
|
|
|
<h3>Live On</h3>
|
|
|
<ul class="nav side-menu">
|
|
|
<li><a><i class="fa fa-bug"></i> Additional Pages <span class="fa fa-chevron-down"></span></a>
|
|
|
<ul class="nav child_menu" style="display: none">
|
|
|
<li><a href="e_commerce.html">E-commerce</a>
|
|
|
</li>
|
|
|
<li><a href="projects.html">Projects</a>
|
|
|
</li>
|
|
|
<li><a href="project_detail.html">Project Detail</a>
|
|
|
</li>
|
|
|
<li><a href="contacts.html">Contacts</a>
|
|
|
</li>
|
|
|
<li><a href="profile.html">Profile</a>
|
|
|
</li>
|
|
|
</ul>
|
|
|
</li>
|
|
|
<li><a><i class="fa fa-windows"></i> Extras <span class="fa fa-chevron-down"></span></a>
|
|
|
<ul class="nav child_menu" style="display: none">
|
|
|
<li><a href="page_404.html">404 Error</a>
|
|
|
</li>
|
|
|
<li><a href="page_500.html">500 Error</a>
|
|
|
</li>
|
|
|
<li><a href="plain_page.html">Plain Page</a>
|
|
|
</li>
|
|
|
<li><a href="login.html">Login Page</a>
|
|
|
</li>
|
|
|
<li><a href="pricing_tables.html">Pricing Tables</a>
|
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
|
</li>
|
|
|
<li><a><i class="fa fa-laptop"></i> Landing Page <span class="label label-success pull-right">Coming Soon</span></a>
|
|
|
</li>
|
|
|
</ul>
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
<!-- /sidebar menu -->
|
|
|
|
|
|
<!-- /menu footer buttons -->
|
|
|
<div class="sidebar-footer hidden-small">
|
|
|
<a data-toggle="tooltip" data-placement="top" title="Settings">
|
|
|
<span class="glyphicon glyphicon-cog" aria-hidden="true"></span>
|
|
|
</a>
|
|
|
<a data-toggle="tooltip" data-placement="top" title="FullScreen">
|
|
|
<span class="glyphicon glyphicon-fullscreen" aria-hidden="true"></span>
|
|
|
</a>
|
|
|
<a data-toggle="tooltip" data-placement="top" title="Lock">
|
|
|
<span class="glyphicon glyphicon-eye-close" aria-hidden="true"></span>
|
|
|
</a>
|
|
|
<a data-toggle="tooltip" data-placement="top" title="Logout">
|
|
|
<span class="glyphicon glyphicon-off" aria-hidden="true"></span>
|
|
|
</a>
|
|
|
</div>
|
|
|
<!-- /menu footer buttons -->
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
<!-- top navigation -->
|
|
|
<div class="top_nav">
|
|
|
|
|
|
<div class="nav_menu">
|
|
|
<nav class="" role="navigation">
|
|
|
<div class="nav toggle">
|
|
|
<a id="menu_toggle"><i class="fa fa-bars"></i></a>
|
|
|
</div>
|
|
|
|
|
|
<ul class="nav navbar-nav navbar-right">
|
|
|
<li class="">
|
|
|
<a href="javascript:;" class="user-profile dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
|
|
|
<img src="images/img.jpg" alt="">John Doe
|
|
|
<span class=" fa fa-angle-down"></span>
|
|
|
</a>
|
|
|
<ul class="dropdown-menu dropdown-usermenu pull-right">
|
|
|
<li><a href="javascript:;"> Profile</a>
|
|
|
</li>
|
|
|
<li>
|
|
|
<a href="javascript:;">
|
|
|
<span class="badge bg-red pull-right">50%</span>
|
|
|
<span>Settings</span>
|
|
|
</a>
|
|
|
</li>
|
|
|
<li>
|
|
|
<a href="javascript:;">Help</a>
|
|
|
</li>
|
|
|
<li><a href="login.html"><i class="fa fa-sign-out pull-right"></i> Log Out</a>
|
|
|
</li>
|
|
|
</ul>
|
|
|
</li>
|
|
|
|
|
|
<li role="presentation" class="dropdown">
|
|
|
<a href="javascript:;" class="dropdown-toggle info-number" data-toggle="dropdown" aria-expanded="false">
|
|
|
<i class="fa fa-envelope-o"></i>
|
|
|
<span class="badge bg-green">6</span>
|
|
|
</a>
|
|
|
<ul id="menu1" class="dropdown-menu list-unstyled msg_list" role="menu">
|
|
|
<li>
|
|
|
<a>
|
|
|
<span class="image">
|
|
|
<img src="images/img.jpg" alt="Profile Image" />
|
|
|
</span>
|
|
|
<span>
|
|
|
<span>John Smith</span>
|
|
|
<span class="time">3 mins ago</span>
|
|
|
</span>
|
|
|
<span class="message">
|
|
|
Film festivals used to be do-or-die moments for movie makers. They were where...
|
|
|
</span>
|
|
|
</a>
|
|
|
</li>
|
|
|
<li>
|
|
|
<a>
|
|
|
<span class="image">
|
|
|
<img src="images/img.jpg" alt="Profile Image" />
|
|
|
</span>
|
|
|
<span>
|
|
|
<span>John Smith</span>
|
|
|
<span class="time">3 mins ago</span>
|
|
|
</span>
|
|
|
<span class="message">
|
|
|
Film festivals used to be do-or-die moments for movie makers. They were where...
|
|
|
</span>
|
|
|
</a>
|
|
|
</li>
|
|
|
<li>
|
|
|
<a>
|
|
|
<span class="image">
|
|
|
<img src="images/img.jpg" alt="Profile Image" />
|
|
|
</span>
|
|
|
<span>
|
|
|
<span>John Smith</span>
|
|
|
<span class="time">3 mins ago</span>
|
|
|
</span>
|
|
|
<span class="message">
|
|
|
Film festivals used to be do-or-die moments for movie makers. They were where...
|
|
|
</span>
|
|
|
</a>
|
|
|
</li>
|
|
|
<li>
|
|
|
<a>
|
|
|
<span class="image">
|
|
|
<img src="images/img.jpg" alt="Profile Image" />
|
|
|
</span>
|
|
|
<span>
|
|
|
<span>John Smith</span>
|
|
|
<span class="time">3 mins ago</span>
|
|
|
</span>
|
|
|
<span class="message">
|
|
|
Film festivals used to be do-or-die moments for movie makers. They were where...
|
|
|
</span>
|
|
|
</a>
|
|
|
</li>
|
|
|
<li>
|
|
|
<div class="text-center">
|
|
|
<a>
|
|
|
<strong>See All Alerts</strong>
|
|
|
<i class="fa fa-angle-right"></i>
|
|
|
</a>
|
|
|
</div>
|
|
|
</li>
|
|
|
</ul>
|
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
|
</nav>
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
<!-- /top navigation -->
|
|
|
|
|
|
<!-- page content -->
|
|
|
<div class="right_col" role="main">
|
|
|
<div class="">
|
|
|
|
|
|
<div class="page-title">
|
|
|
<div class="title_left">
|
|
|
<h3>Other Charts</h3>
|
|
|
</div>
|
|
|
|
|
|
<div class="title_right">
|
|
|
<div class="pull-right">
|
|
|
<span role="status" aria-live="polite" class="ui-helper-hidden-accessible"></span>
|
|
|
<input style="padding: 5px 16px;" type="text" placeholder="Search..." class="autocomplete-input input tooltip-button ui-autocomplete-input" data-placement="bottom" title="" name="" data-original-title="Type 'jav' to see the available tags..." autocomplete="off">
|
|
|
<i class="glyph-icon icon-search"></i>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="clearfix"></div>
|
|
|
|
|
|
<div class="row">
|
|
|
|
|
|
<div class="col-md-12">
|
|
|
<div class="x_panel">
|
|
|
<div class="x_title">
|
|
|
<h2>Other Graph types <small> Assorted graph types</small></h2>
|
|
|
<ul class="nav navbar-right panel_toolbox">
|
|
|
<li><a class="collapse-link"><i class="fa fa-chevron-up"></i></a>
|
|
|
</li>
|
|
|
<li class="dropdown">
|
|
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false"><i class="fa fa-wrench"></i></a>
|
|
|
<ul class="dropdown-menu" role="menu">
|
|
|
<li><a href="#">Settings 1</a>
|
|
|
</li>
|
|
|
<li><a href="#">Settings 2</a>
|
|
|
</li>
|
|
|
</ul>
|
|
|
</li>
|
|
|
<li><a class="close-link"><i class="fa fa-close"></i></a>
|
|
|
</li>
|
|
|
</ul>
|
|
|
<div class="clearfix"></div>
|
|
|
</div>
|
|
|
<div class="x_content">
|
|
|
|
|
|
<div class="row">
|
|
|
<div class="col-md-6" style="padding: 30px">
|
|
|
<p>USA Vector Map</p>
|
|
|
<div id="usa_map" style="height:400px !important;"></div>
|
|
|
</div>
|
|
|
<div class="col-md-6" style="padding: 30px">
|
|
|
<p>World Vector Map</p>
|
|
|
<div id="world-map-gdp" style="height:400px;"></div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="clearfix"></div>
|
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
<div class="col-md-6">
|
|
|
<div class="panel panel-body">
|
|
|
<div class="x_title">
|
|
|
<h4>Easy Pie Chart</h4>
|
|
|
</div>
|
|
|
|
|
|
<p>Easy pie chart is a jQuery plugin that uses the canvas element to render highly customizable, very easy to implement, simple pie charts for single values.</p>
|
|
|
<div class="row">
|
|
|
<div class="col-xs-4">
|
|
|
<span class="chart" data-percent="86">
|
|
|
<span class="percent"></span>
|
|
|
</span>
|
|
|
</div>
|
|
|
<div class="col-xs-4">
|
|
|
<span class="chart" data-percent="73">
|
|
|
<span class="percent"></span>
|
|
|
</span>
|
|
|
</div>
|
|
|
<div class="col-xs-4">
|
|
|
<span class="chart" data-percent="60">
|
|
|
<span class="percent"></span>
|
|
|
</span>
|
|
|
</div>
|
|
|
<div class="clearfix"></div>
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
<div class="col-md-6">
|
|
|
<div class="panel panel-body">
|
|
|
<div class="x_title">
|
|
|
<h4>Sparkline Inline Graphs</h4>
|
|
|
</div>
|
|
|
|
|
|
<p>Yet another great library for inline data visualizations</p>
|
|
|
<table class="table table-striped">
|
|
|
<thead>
|
|
|
<tr>
|
|
|
<th style="width:20%"></th>
|
|
|
<th style="width:50%"></th>
|
|
|
</tr>
|
|
|
</thead>
|
|
|
<tbody>
|
|
|
<tr>
|
|
|
<th>
|
|
|
<span class="sparkline_line" style="height: 160px;">
|
|
|
<canvas width="200" height="60" style="display: inline-block; vertical-align: top; width: 94px; height: 30px;"></canvas>
|
|
|
</span>
|
|
|
</th>
|
|
|
<td>Line Graph</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<th>
|
|
|
<span class="sparkline_area" style="height: 160px;">
|
|
|
<canvas width="200" height="60" style="display: inline-block; vertical-align: top; width: 94px; height: 30px;"></canvas>
|
|
|
</span>
|
|
|
</th>
|
|
|
<td>Line Area Graph</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<th>
|
|
|
<span class="sparkline_bar" style="height: 160px;">
|
|
|
<canvas width="200" height="60" style="display: inline-block; vertical-align: top; width: 94px; height: 30px;"></canvas>
|
|
|
</span>
|
|
|
</th>
|
|
|
<td>Bar Graph</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<th>
|
|
|
<span class="sparkline_pie" style="height: 160px;">
|
|
|
<canvas width="200" height="60" style="display: inline-block; vertical-align: top; width: 94px; height: 30px;"></canvas>
|
|
|
</span>
|
|
|
</th>
|
|
|
<td>Pie Chart</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<th>
|
|
|
<span class="sparkline_discreet" style="height: 160px;">
|
|
|
<canvas width="200" height="60" style="display: inline-block; vertical-align: top; width: 94px; height: 30px;"></canvas>
|
|
|
</span>
|
|
|
</th>
|
|
|
<td>Discrete chart</td>
|
|
|
</tr>
|
|
|
</tbody>
|
|
|
</table>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<!-- /page content -->
|
|
|
|
|
|
<!-- footer content -->
|
|
|
<footer>
|
|
|
<div class="pull-right">
|
|
|
Gentelella - Bootstrap Admin Template by <a href="https://colorlib.com">Colorlib</a>
|
|
|
</div>
|
|
|
<div class="clearfix"></div>
|
|
|
</footer>
|
|
|
<!-- /footer content -->
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
<div id="custom_notifications" class="custom-notifications dsp_none">
|
|
|
<ul class="list-unstyled notifications clearfix" data-tabbed_notifications="notif-group">
|
|
|
</ul>
|
|
|
<div class="clearfix"></div>
|
|
|
<div id="notif-group" class="tabbed_notifications"></div>
|
|
|
</div>
|
|
|
|
|
|
<script src="js/bootstrap.min.js"></script>
|
|
|
|
|
|
<!-- worldmap -->
|
|
|
<script type="text/javascript" src="js/maps/jquery-jvectormap-2.0.3.min.js"></script>
|
|
|
<script type="text/javascript" src="js/maps/gdp-data.js"></script>
|
|
|
<script type="text/javascript" src="js/maps/jquery-jvectormap-world-mill-en.js"></script>
|
|
|
<script type="text/javascript" src="js/maps/jquery-jvectormap-us-aea-en.js"></script>
|
|
|
|
|
|
<!-- chart js -->
|
|
|
<script src="js/moment/moment.min.js"></script>
|
|
|
<script src="js/chartjs/chart.min.js"></script>
|
|
|
<!-- bootstrap progress js -->
|
|
|
<script src="js/progressbar/bootstrap-progressbar.min.js"></script>
|
|
|
<!-- icheck -->
|
|
|
<script src="js/icheck/icheck.min.js"></script>
|
|
|
<!-- sparkline -->
|
|
|
<script src="js/sparkline/jquery.sparkline.min.js"></script>
|
|
|
|
|
|
<script src="js/custom.js"></script>
|
|
|
<!-- easypie -->
|
|
|
<script src="js/easypie/jquery.easypiechart.min.js"></script>
|
|
|
<!-- pace -->
|
|
|
<script src="js/pace/pace.min.js"></script>
|
|
|
|
|
|
<script>
|
|
|
//@code_start
|
|
|
$(function() {
|
|
|
$.getJSON('js/maps/us-unemployment.json', function(data) {
|
|
|
var val = 2009;
|
|
|
statesValues = jvm.values.apply({}, jvm.values(data.states)),
|
|
|
metroPopValues = Array.prototype.concat.apply([], jvm.values(data.metro.population)),
|
|
|
metroUnemplValues = Array.prototype.concat.apply([], jvm.values(data.metro.unemployment));
|
|
|
$('#usa_map').vectorMap({
|
|
|
map: 'us_aea_en',
|
|
|
markers: data.metro.coords,
|
|
|
backgroundColor: 'transparent',
|
|
|
zoomOnScroll: false,
|
|
|
series: {
|
|
|
markers: [{
|
|
|
attribute: 'fill',
|
|
|
scale: ['#FEE5D9', '#A50F15'],
|
|
|
values: data.metro.unemployment[val],
|
|
|
min: jvm.min(metroUnemplValues),
|
|
|
max: jvm.max(metroUnemplValues)
|
|
|
}, {
|
|
|
attribute: 'r',
|
|
|
scale: [5, 20],
|
|
|
values: data.metro.population[val],
|
|
|
min: jvm.min(metroPopValues),
|
|
|
max: jvm.max(metroPopValues)
|
|
|
}],
|
|
|
regions: [{
|
|
|
scale: ['#E6F2F0', '#149B7E'],
|
|
|
attribute: 'fill',
|
|
|
values: data.states[val],
|
|
|
min: jvm.min(statesValues),
|
|
|
max: jvm.max(statesValues)
|
|
|
}]
|
|
|
},
|
|
|
onMarkerTipShow: function(event, label, index) {
|
|
|
label.html(
|
|
|
'<b>' + data.metro.names[index] + '</b><br/>' +
|
|
|
'<b>Population: </b>' + data.metro.population[val][index] + '</br>' +
|
|
|
'<b>Unemployment rate: </b>' + data.metro.unemployment[val][index] + '%'
|
|
|
);
|
|
|
},
|
|
|
onRegionTipShow: function(event, label, code) {
|
|
|
label.html(
|
|
|
'<b>' + label.html() + '</b></br>' +
|
|
|
'<b>Unemployment rate: </b>' + data.states[val][code] + '%'
|
|
|
);
|
|
|
}
|
|
|
});
|
|
|
});
|
|
|
});
|
|
|
//@code_end
|
|
|
</script>
|
|
|
<script>
|
|
|
$(function() {
|
|
|
$('#world-map-gdp').vectorMap({
|
|
|
map: 'world_mill_en',
|
|
|
backgroundColor: 'transparent',
|
|
|
zoomOnScroll: false,
|
|
|
series: {
|
|
|
regions: [{
|
|
|
values: gdpData,
|
|
|
scale: ['#E6F2F0', '#149B7E'],
|
|
|
normalizeFunction: 'polynomial'
|
|
|
}]
|
|
|
},
|
|
|
onRegionTipShow: function(e, el, code) {
|
|
|
el.html(el.html() + ' (GDP - ' + gdpData[code] + ')');
|
|
|
}
|
|
|
});
|
|
|
});
|
|
|
</script>
|
|
|
|
|
|
<script>
|
|
|
$(function() {
|
|
|
$('.chart').easyPieChart({
|
|
|
easing: 'easeOutBounce',
|
|
|
lineWidth: '6',
|
|
|
barColor: '#75BCDD',
|
|
|
onStep: function(from, to, percent) {
|
|
|
$(this.el).find('.percent').text(Math.round(percent));
|
|
|
}
|
|
|
});
|
|
|
var chart = window.chart = $('.chart').data('easyPieChart');
|
|
|
$('.js_update').on('click', function() {
|
|
|
chart.update(Math.random() * 200 - 100);
|
|
|
});
|
|
|
|
|
|
//hover and retain popover when on popover content
|
|
|
var originalLeave = $.fn.popover.Constructor.prototype.leave;
|
|
|
$.fn.popover.Constructor.prototype.leave = function(obj) {
|
|
|
var self = obj instanceof this.constructor ?
|
|
|
obj : $(obj.currentTarget)[this.type](this.getDelegateOptions()).data('bs.' + this.type)
|
|
|
var container, timeout;
|
|
|
|
|
|
originalLeave.call(this, obj);
|
|
|
|
|
|
if (obj.currentTarget) {
|
|
|
container = $(obj.currentTarget).siblings('.popover')
|
|
|
timeout = self.timeout;
|
|
|
container.one('mouseenter', function() {
|
|
|
//We entered the actual popover – call off the dogs
|
|
|
clearTimeout(timeout);
|
|
|
//Let's monitor popover content instead
|
|
|
container.one('mouseleave', function() {
|
|
|
$.fn.popover.Constructor.prototype.leave.call(self, self);
|
|
|
});
|
|
|
})
|
|
|
}
|
|
|
};
|
|
|
$('body').popover({
|
|
|
selector: '[data-popover]',
|
|
|
trigger: 'click hover',
|
|
|
delay: {
|
|
|
show: 50,
|
|
|
hide: 400
|
|
|
}
|
|
|
});
|
|
|
|
|
|
});
|
|
|
</script>
|
|
|
|
|
|
|
|
|
<script>
|
|
|
$('document').ready(function() {
|
|
|
$(".sparkline_bar").sparkline([2, 4, 3, 4, 5, 4, 5, 4, 3, 4, 5, 6, 4, 5, 6, 3, 5], {
|
|
|
type: 'bar',
|
|
|
colorMap: {
|
|
|
'7': '#a1a1a1'
|
|
|
},
|
|
|
barColor: '#26B99A'
|
|
|
});
|
|
|
|
|
|
$(".sparkline_area").sparkline([5, 6, 7, 9, 9, 5, 3, 2, 2, 4, 6, 7], {
|
|
|
type: 'line',
|
|
|
lineColor: '#26B99A',
|
|
|
fillColor: '#26B99A',
|
|
|
spotColor: '#4578a0',
|
|
|
minSpotColor: '#728fb2',
|
|
|
maxSpotColor: '#6d93c4',
|
|
|
highlightSpotColor: '#ef5179',
|
|
|
highlightLineColor: '#8ba8bf',
|
|
|
spotRadius: 2.5,
|
|
|
width: 85
|
|
|
});
|
|
|
|
|
|
$(".sparkline_line").sparkline([2, 4, 3, 4, 5, 4, 5, 4, 3, 4, 5, 6, 4, 5, 6, 3, 5], {
|
|
|
type: 'line',
|
|
|
lineColor: '#26B99A',
|
|
|
fillColor: '#ffffff',
|
|
|
width: 85,
|
|
|
spotColor: '#34495E',
|
|
|
minSpotColor: '#34495E'
|
|
|
});
|
|
|
|
|
|
$(".sparkline_pie").sparkline([1, 1, 2, 1], {
|
|
|
type: 'pie',
|
|
|
sliceColors: ['#26B99A', '#ccc', '#75BCDD', '#D66DE2']
|
|
|
});
|
|
|
|
|
|
$(".sparkline_discreet").sparkline([4, 6, 7, 7, 4, 3, 2, 1, 4, 4, 2, 4, 3, 7, 8, 9, 7, 6, 4, 3], {
|
|
|
type: 'discrete',
|
|
|
barWidth: 3,
|
|
|
lineColor: '#26B99A',
|
|
|
width: '85',
|
|
|
});
|
|
|
|
|
|
});
|
|
|
</script>
|
|
|
</body>
|
|
|
|
|
|
</html>
|