mirror of https://github.com/ColorlibHQ/AdminLTE
				
				
				
			
		
			
				
	
	
		
			1199 lines
		
	
	
		
			42 KiB
		
	
	
	
		
			HTML
		
	
	
			
		
		
	
	
			1199 lines
		
	
	
		
			42 KiB
		
	
	
	
		
			HTML
		
	
	
<!DOCTYPE html>
 | 
						|
<html>
 | 
						|
<head>
 | 
						|
  <meta charset="utf-8">
 | 
						|
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
 | 
						|
  <title>AdminLTE 3 | Inline Charts</title>
 | 
						|
  <!-- Tell the browser to be responsive to screen width -->
 | 
						|
  <meta name="viewport" content="width=device-width, initial-scale=1">
 | 
						|
  <!-- Bootstrap 4 -->
 | 
						|
 | 
						|
  <!-- Font Awesome -->
 | 
						|
  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
 | 
						|
  <!-- Ionicons -->
 | 
						|
  <link rel="stylesheet" href="https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css">
 | 
						|
  <!-- Theme style -->
 | 
						|
  <link rel="stylesheet" href="../../dist/css/adminlte.min.css">
 | 
						|
  <!-- Google Font: Source Sans Pro -->
 | 
						|
  <link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700" rel="stylesheet">
 | 
						|
</head>
 | 
						|
<body class="hold-transition sidebar-mini">
 | 
						|
<div class="wrapper">
 | 
						|
  <!-- Navbar -->
 | 
						|
  <nav class="main-header navbar navbar-expand bg-white navbar-light border-bottom">
 | 
						|
    <!-- Left navbar links -->
 | 
						|
    <ul class="navbar-nav">
 | 
						|
      <li class="nav-item">
 | 
						|
        <a class="nav-link" data-widget="pushmenu" href="#"><i class="fa fa-bars"></i></a>
 | 
						|
      </li>
 | 
						|
      <li class="nav-item d-none d-sm-inline-block">
 | 
						|
        <a href="../../index3.html" class="nav-link">Home</a>
 | 
						|
      </li>
 | 
						|
      <li class="nav-item d-none d-sm-inline-block">
 | 
						|
        <a href="#" class="nav-link">Contact</a>
 | 
						|
      </li>
 | 
						|
    </ul>
 | 
						|
 | 
						|
    <!-- SEARCH FORM -->
 | 
						|
    <form class="form-inline ml-3">
 | 
						|
      <div class="input-group input-group-sm">
 | 
						|
        <input class="form-control form-control-navbar" type="search" placeholder="Search" aria-label="Search">
 | 
						|
        <div class="input-group-append">
 | 
						|
          <button class="btn btn-navbar" type="submit">
 | 
						|
            <i class="fa fa-search"></i>
 | 
						|
          </button>
 | 
						|
        </div>
 | 
						|
      </div>
 | 
						|
    </form>
 | 
						|
 | 
						|
    <!-- Right navbar links -->
 | 
						|
    <ul class="navbar-nav ml-auto">
 | 
						|
      <!-- Messages Dropdown Menu -->
 | 
						|
      <li class="nav-item dropdown">
 | 
						|
        <a class="nav-link" data-toggle="dropdown" href="#">
 | 
						|
          <i class="fa fa-comments-o"></i>
 | 
						|
          <span class="badge badge-danger navbar-badge">3</span>
 | 
						|
        </a>
 | 
						|
        <div class="dropdown-menu dropdown-menu-lg dropdown-menu-right">
 | 
						|
          <a href="#" class="dropdown-item">
 | 
						|
            <!-- Message Start -->
 | 
						|
            <div class="media">
 | 
						|
              <img src="../../dist/img/user1-128x128.jpg" alt="User Avatar" class="img-size-50 mr-3 img-circle">
 | 
						|
              <div class="media-body">
 | 
						|
                <h3 class="dropdown-item-title">
 | 
						|
                  Brad Diesel
 | 
						|
                  <span class="float-right text-sm text-danger"><i class="fa fa-star"></i></span>
 | 
						|
                </h3>
 | 
						|
                <p class="text-sm">Call me whenever you can...</p>
 | 
						|
                <p class="text-sm text-muted"><i class="fa fa-clock-o mr-1"></i> 4 Hours Ago</p>
 | 
						|
              </div>
 | 
						|
            </div>
 | 
						|
            <!-- Message End -->
 | 
						|
          </a>
 | 
						|
          <div class="dropdown-divider"></div>
 | 
						|
          <a href="#" class="dropdown-item">
 | 
						|
            <!-- Message Start -->
 | 
						|
            <div class="media">
 | 
						|
              <img src="../../dist/img/user8-128x128.jpg" alt="User Avatar" class="img-size-50 img-circle mr-3">
 | 
						|
              <div class="media-body">
 | 
						|
                <h3 class="dropdown-item-title">
 | 
						|
                  John Pierce
 | 
						|
                  <span class="float-right text-sm text-muted"><i class="fa fa-star"></i></span>
 | 
						|
                </h3>
 | 
						|
                <p class="text-sm">I got your message bro</p>
 | 
						|
                <p class="text-sm text-muted"><i class="fa fa-clock-o mr-1"></i> 4 Hours Ago</p>
 | 
						|
              </div>
 | 
						|
            </div>
 | 
						|
            <!-- Message End -->
 | 
						|
          </a>
 | 
						|
          <div class="dropdown-divider"></div>
 | 
						|
          <a href="#" class="dropdown-item">
 | 
						|
            <!-- Message Start -->
 | 
						|
            <div class="media">
 | 
						|
              <img src="../../dist/img/user3-128x128.jpg" alt="User Avatar" class="img-size-50 img-circle mr-3">
 | 
						|
              <div class="media-body">
 | 
						|
                <h3 class="dropdown-item-title">
 | 
						|
                  Nora Silvester
 | 
						|
                  <span class="float-right text-sm text-warning"><i class="fa fa-star"></i></span>
 | 
						|
                </h3>
 | 
						|
                <p class="text-sm">The subject goes here</p>
 | 
						|
                <p class="text-sm text-muted"><i class="fa fa-clock-o mr-1"></i> 4 Hours Ago</p>
 | 
						|
              </div>
 | 
						|
            </div>
 | 
						|
            <!-- Message End -->
 | 
						|
          </a>
 | 
						|
          <div class="dropdown-divider"></div>
 | 
						|
          <a href="#" class="dropdown-item dropdown-footer">See All Messages</a>
 | 
						|
        </div>
 | 
						|
      </li>
 | 
						|
      <!-- Notifications Dropdown Menu -->
 | 
						|
      <li class="nav-item dropdown">
 | 
						|
        <a class="nav-link" data-toggle="dropdown" href="#">
 | 
						|
          <i class="fa fa-bell-o"></i>
 | 
						|
          <span class="badge badge-warning navbar-badge">15</span>
 | 
						|
        </a>
 | 
						|
        <div class="dropdown-menu dropdown-menu-lg dropdown-menu-right">
 | 
						|
          <span class="dropdown-item dropdown-header">15 Notifications</span>
 | 
						|
          <div class="dropdown-divider"></div>
 | 
						|
          <a href="#" class="dropdown-item">
 | 
						|
            <i class="fa fa-envelope mr-2"></i> 4 new messages
 | 
						|
            <span class="float-right text-muted text-sm">3 mins</span>
 | 
						|
          </a>
 | 
						|
          <div class="dropdown-divider"></div>
 | 
						|
          <a href="#" class="dropdown-item">
 | 
						|
            <i class="fa fa-users mr-2"></i> 8 friend requests
 | 
						|
            <span class="float-right text-muted text-sm">12 hours</span>
 | 
						|
          </a>
 | 
						|
          <div class="dropdown-divider"></div>
 | 
						|
          <a href="#" class="dropdown-item">
 | 
						|
            <i class="fa fa-file mr-2"></i> 3 new reports
 | 
						|
            <span class="float-right text-muted text-sm">2 days</span>
 | 
						|
          </a>
 | 
						|
          <div class="dropdown-divider"></div>
 | 
						|
          <a href="#" class="dropdown-item dropdown-footer">See All Notifications</a>
 | 
						|
        </div>
 | 
						|
      </li>
 | 
						|
      <li class="nav-item">
 | 
						|
        <a class="nav-link" data-widget="control-sidebar" data-slide="true" href="#">
 | 
						|
          <i class="fa fa-th-large"></i>
 | 
						|
        </a>
 | 
						|
      </li>
 | 
						|
    </ul>
 | 
						|
  </nav>
 | 
						|
  <!-- /.navbar -->
 | 
						|
 | 
						|
  <!-- Main Sidebar Container -->
 | 
						|
  <aside class="main-sidebar sidebar-dark-primary elevation-4">
 | 
						|
    <!-- Brand Logo -->
 | 
						|
    <a href="../../index3.html" class="brand-link">
 | 
						|
      <img src="../../dist/img/AdminLTELogo.png"
 | 
						|
           alt="AdminLTE Logo"
 | 
						|
           class="brand-image img-circle elevation-3"
 | 
						|
           style="opacity: .8">
 | 
						|
      <span class="brand-text font-weight-light">AdminLTE 3</span>
 | 
						|
    </a>
 | 
						|
 | 
						|
    <!-- Sidebar -->
 | 
						|
    <div class="sidebar">
 | 
						|
      <!-- Sidebar user panel (optional) -->
 | 
						|
      <div class="user-panel mt-3 pb-3 mb-3 d-flex">
 | 
						|
        <div class="image">
 | 
						|
          <img src="../../dist/img/user2-160x160.jpg" class="img-circle elevation-2" alt="User Image">
 | 
						|
        </div>
 | 
						|
        <div class="info">
 | 
						|
          <a href="#" class="d-block">Alexander Pierce</a>
 | 
						|
        </div>
 | 
						|
      </div>
 | 
						|
 | 
						|
      <!-- Sidebar Menu -->
 | 
						|
      <nav class="mt-2">
 | 
						|
        <ul class="nav nav-pills nav-sidebar flex-column" data-widget="treeview" role="menu" data-accordion="false">
 | 
						|
          <!-- Add icons to the links using the .nav-icon class
 | 
						|
               with font-awesome or any other icon font library -->
 | 
						|
          <li class="nav-item has-treeview">
 | 
						|
            <a href="#" class="nav-link">
 | 
						|
              <i class="nav-icon fa fa-dashboard"></i>
 | 
						|
              <p>
 | 
						|
                Dashboard
 | 
						|
                <i class="right fa fa-angle-left"></i>
 | 
						|
              </p>
 | 
						|
            </a>
 | 
						|
            <ul class="nav nav-treeview">
 | 
						|
              <li class="nav-item">
 | 
						|
                <a href="../../index.html" class="nav-link">
 | 
						|
                  <i class="fa fa-circle-o nav-icon"></i>
 | 
						|
                  <p>Dashboard v1</p>
 | 
						|
                </a>
 | 
						|
              </li>
 | 
						|
              <li class="nav-item">
 | 
						|
                <a href="../../index2.html" class="nav-link">
 | 
						|
                  <i class="fa fa-circle-o nav-icon"></i>
 | 
						|
                  <p>Dashboard v2</p>
 | 
						|
                </a>
 | 
						|
              </li>
 | 
						|
              <li class="nav-item">
 | 
						|
                <a href="../../index3.html" class="nav-link">
 | 
						|
                  <i class="fa fa-circle-o nav-icon"></i>
 | 
						|
                  <p>Dashboard v3</p>
 | 
						|
                </a>
 | 
						|
              </li>
 | 
						|
            </ul>
 | 
						|
          </li>
 | 
						|
          <li class="nav-item">
 | 
						|
            <a href="../widgets.html" class="nav-link">
 | 
						|
              <i class="nav-icon fa fa-th"></i>
 | 
						|
              <p>
 | 
						|
                Widgets
 | 
						|
                <span class="right badge badge-danger">New</span>
 | 
						|
              </p>
 | 
						|
            </a>
 | 
						|
          </li>
 | 
						|
          <li class="nav-item has-treeview menu-open">
 | 
						|
            <a href="#" class="nav-link active">
 | 
						|
              <i class="nav-icon fa fa-pie-chart"></i>
 | 
						|
              <p>
 | 
						|
                Charts
 | 
						|
                <i class="right fa fa-angle-left"></i>
 | 
						|
              </p>
 | 
						|
            </a>
 | 
						|
            <ul class="nav nav-treeview">
 | 
						|
              <li class="nav-item">
 | 
						|
                <a href="chartjs.html" class="nav-link">
 | 
						|
                  <i class="fa fa-circle-o nav-icon"></i>
 | 
						|
                  <p>ChartJS</p>
 | 
						|
                </a>
 | 
						|
              </li>
 | 
						|
              <li class="nav-item">
 | 
						|
                <a href="flot.html" class="nav-link">
 | 
						|
                  <i class="fa fa-circle-o nav-icon"></i>
 | 
						|
                  <p>Flot</p>
 | 
						|
                </a>
 | 
						|
              </li>
 | 
						|
              <li class="nav-item">
 | 
						|
                <a href="inline.html" class="nav-link active">
 | 
						|
                  <i class="fa fa-circle-o nav-icon"></i>
 | 
						|
                  <p>Inline</p>
 | 
						|
                </a>
 | 
						|
              </li>
 | 
						|
            </ul>
 | 
						|
          </li>
 | 
						|
          <li class="nav-item has-treeview">
 | 
						|
            <a href="#" class="nav-link">
 | 
						|
              <i class="nav-icon fa fa-tree"></i>
 | 
						|
              <p>
 | 
						|
                UI Elements
 | 
						|
                <i class="fa fa-angle-left right"></i>
 | 
						|
              </p>
 | 
						|
            </a>
 | 
						|
            <ul class="nav nav-treeview">
 | 
						|
              <li class="nav-item">
 | 
						|
                <a href="../UI/general.html" class="nav-link">
 | 
						|
                  <i class="fa fa-circle-o nav-icon"></i>
 | 
						|
                  <p>General</p>
 | 
						|
                </a>
 | 
						|
              </li>
 | 
						|
              <li class="nav-item">
 | 
						|
                <a href="../UI/icons.html" class="nav-link">
 | 
						|
                  <i class="fa fa-circle-o nav-icon"></i>
 | 
						|
                  <p>Icons</p>
 | 
						|
                </a>
 | 
						|
              </li>
 | 
						|
              <li class="nav-item">
 | 
						|
                <a href="../UI/buttons.html" class="nav-link">
 | 
						|
                  <i class="fa fa-circle-o nav-icon"></i>
 | 
						|
                  <p>Buttons</p>
 | 
						|
                </a>
 | 
						|
              </li>
 | 
						|
              <li class="nav-item">
 | 
						|
                <a href="../UI/sliders.html" class="nav-link">
 | 
						|
                  <i class="fa fa-circle-o nav-icon"></i>
 | 
						|
                  <p>Sliders</p>
 | 
						|
                </a>
 | 
						|
              </li>
 | 
						|
              <li class="nav-item">
 | 
						|
                <a href="../UI/modals.html" class="nav-link">
 | 
						|
                  <i class="fa fa-circle-o nav-icon"></i>
 | 
						|
                  <p>Modals</p>
 | 
						|
                </a>
 | 
						|
              </li>
 | 
						|
            </ul>
 | 
						|
          </li>
 | 
						|
          <li class="nav-item has-treeview">
 | 
						|
            <a href="#" class="nav-link">
 | 
						|
              <i class="nav-icon fa fa-edit"></i>
 | 
						|
              <p>
 | 
						|
                Forms
 | 
						|
                <i class="fa fa-angle-left right"></i>
 | 
						|
              </p>
 | 
						|
            </a>
 | 
						|
            <ul class="nav nav-treeview">
 | 
						|
              <li class="nav-item">
 | 
						|
                <a href="../forms/general.html" class="nav-link">
 | 
						|
                  <i class="fa fa-circle-o nav-icon"></i>
 | 
						|
                  <p>General Elements</p>
 | 
						|
                </a>
 | 
						|
              </li>
 | 
						|
              <li class="nav-item">
 | 
						|
                <a href="../forms/advanced.html" class="nav-link">
 | 
						|
                  <i class="fa fa-circle-o nav-icon"></i>
 | 
						|
                  <p>Advanced Elements</p>
 | 
						|
                </a>
 | 
						|
              </li>
 | 
						|
              <li class="nav-item">
 | 
						|
                <a href="../forms/editors.html" class="nav-link">
 | 
						|
                  <i class="fa fa-circle-o nav-icon"></i>
 | 
						|
                  <p>Editors</p>
 | 
						|
                </a>
 | 
						|
              </li>
 | 
						|
            </ul>
 | 
						|
          </li>
 | 
						|
          <li class="nav-item has-treeview">
 | 
						|
            <a href="#" class="nav-link">
 | 
						|
              <i class="nav-icon fa fa-table"></i>
 | 
						|
              <p>
 | 
						|
                Tables
 | 
						|
                <i class="fa fa-angle-left right"></i>
 | 
						|
              </p>
 | 
						|
            </a>
 | 
						|
            <ul class="nav nav-treeview">
 | 
						|
              <li class="nav-item">
 | 
						|
                <a href="../tables/simple.html" class="nav-link">
 | 
						|
                  <i class="fa fa-circle-o nav-icon"></i>
 | 
						|
                  <p>Simple Tables</p>
 | 
						|
                </a>
 | 
						|
              </li>
 | 
						|
              <li class="nav-item">
 | 
						|
                <a href="../tables/data.html" class="nav-link">
 | 
						|
                  <i class="fa fa-circle-o nav-icon"></i>
 | 
						|
                  <p>Data Tables</p>
 | 
						|
                </a>
 | 
						|
              </li>
 | 
						|
            </ul>
 | 
						|
          </li>
 | 
						|
          <li class="nav-header">EXAMPLES</li>
 | 
						|
          <li class="nav-item">
 | 
						|
            <a href="../calendar.html" class="nav-link">
 | 
						|
              <i class="nav-icon fa fa-calendar"></i>
 | 
						|
              <p>
 | 
						|
                Calendar
 | 
						|
                <span class="badge badge-info right">2</span>
 | 
						|
              </p>
 | 
						|
            </a>
 | 
						|
          </li>
 | 
						|
          <li class="nav-item has-treeview">
 | 
						|
            <a href="#" class="nav-link">
 | 
						|
              <i class="nav-icon fa fa-envelope-o"></i>
 | 
						|
              <p>
 | 
						|
                Mailbox
 | 
						|
                <i class="fa fa-angle-left right"></i>
 | 
						|
              </p>
 | 
						|
            </a>
 | 
						|
            <ul class="nav nav-treeview">
 | 
						|
              <li class="nav-item">
 | 
						|
                <a href="../mailbox/mailbox.html" class="nav-link">
 | 
						|
                  <i class="fa fa-circle-o nav-icon"></i>
 | 
						|
                  <p>Inbox</p>
 | 
						|
                </a>
 | 
						|
              </li>
 | 
						|
              <li class="nav-item">
 | 
						|
                <a href="../mailbox/compose.html" class="nav-link">
 | 
						|
                  <i class="fa fa-circle-o nav-icon"></i>
 | 
						|
                  <p>Compose</p>
 | 
						|
                </a>
 | 
						|
              </li>
 | 
						|
              <li class="nav-item">
 | 
						|
                <a href="../mailbox/read-mail.html" class="nav-link">
 | 
						|
                  <i class="fa fa-circle-o nav-icon"></i>
 | 
						|
                  <p>Read</p>
 | 
						|
                </a>
 | 
						|
              </li>
 | 
						|
            </ul>
 | 
						|
          </li>
 | 
						|
          <li class="nav-item has-treeview">
 | 
						|
            <a href="#" class="nav-link">
 | 
						|
              <i class="nav-icon fa fa-book"></i>
 | 
						|
              <p>
 | 
						|
                Pages
 | 
						|
                <i class="fa fa-angle-left right"></i>
 | 
						|
              </p>
 | 
						|
            </a>
 | 
						|
            <ul class="nav nav-treeview">
 | 
						|
              <li class="nav-item">
 | 
						|
                <a href="../examples/invoice.html" class="nav-link">
 | 
						|
                  <i class="fa fa-circle-o nav-icon"></i>
 | 
						|
                  <p>Invoice</p>
 | 
						|
                </a>
 | 
						|
              </li>
 | 
						|
              <li class="nav-item">
 | 
						|
                <a href="../examples/profile.html" class="nav-link">
 | 
						|
                  <i class="fa fa-circle-o nav-icon"></i>
 | 
						|
                  <p>Profile</p>
 | 
						|
                </a>
 | 
						|
              </li>
 | 
						|
              <li class="nav-item">
 | 
						|
                <a href="../examples/login.html" class="nav-link">
 | 
						|
                  <i class="fa fa-circle-o nav-icon"></i>
 | 
						|
                  <p>Login</p>
 | 
						|
                </a>
 | 
						|
              </li>
 | 
						|
              <li class="nav-item">
 | 
						|
                <a href="../examples/register.html" class="nav-link">
 | 
						|
                  <i class="fa fa-circle-o nav-icon"></i>
 | 
						|
                  <p>Register</p>
 | 
						|
                </a>
 | 
						|
              </li>
 | 
						|
              <li class="nav-item">
 | 
						|
                <a href="../examples/lockscreen.html" class="nav-link">
 | 
						|
                  <i class="fa fa-circle-o nav-icon"></i>
 | 
						|
                  <p>Lockscreen</p>
 | 
						|
                </a>
 | 
						|
              </li>
 | 
						|
            </ul>
 | 
						|
          </li>
 | 
						|
          <li class="nav-item has-treeview">
 | 
						|
            <a href="#" class="nav-link">
 | 
						|
              <i class="nav-icon fa fa-plus-square-o"></i>
 | 
						|
              <p>
 | 
						|
                Extras
 | 
						|
                <i class="fa fa-angle-left right"></i>
 | 
						|
              </p>
 | 
						|
            </a>
 | 
						|
            <ul class="nav nav-treeview">
 | 
						|
              <li class="nav-item">
 | 
						|
                <a href="../examples/404.html" class="nav-link">
 | 
						|
                  <i class="fa fa-circle-o nav-icon"></i>
 | 
						|
                  <p>Error 404</p>
 | 
						|
                </a>
 | 
						|
              </li>
 | 
						|
              <li class="nav-item">
 | 
						|
                <a href="../examples/500.html" class="nav-link">
 | 
						|
                  <i class="fa fa-circle-o nav-icon"></i>
 | 
						|
                  <p>Error 500</p>
 | 
						|
                </a>
 | 
						|
              </li>
 | 
						|
              <li class="nav-item">
 | 
						|
                <a href="../examples/blank.html" class="nav-link">
 | 
						|
                  <i class="fa fa-circle-o nav-icon"></i>
 | 
						|
                  <p>Blank Page</p>
 | 
						|
                </a>
 | 
						|
              </li>
 | 
						|
              <li class="nav-item">
 | 
						|
                <a href="../../starter.html" class="nav-link">
 | 
						|
                  <i class="fa fa-circle-o nav-icon"></i>
 | 
						|
                  <p>Starter Page</p>
 | 
						|
                </a>
 | 
						|
              </li>
 | 
						|
            </ul>
 | 
						|
          </li>
 | 
						|
          <li class="nav-header">MISCELLANEOUS</li>
 | 
						|
          <li class="nav-item">
 | 
						|
            <a href="https://adminlte.io/docs" class="nav-link">
 | 
						|
              <i class="nav-icon fa fa-file"></i>
 | 
						|
              <p>Documentation</p>
 | 
						|
            </a>
 | 
						|
          </li>
 | 
						|
          <li class="nav-header">LABELS</li>
 | 
						|
          <li class="nav-item">
 | 
						|
            <a href="#" class="nav-link">
 | 
						|
              <i class="nav-icon fa fa-circle-o text-danger"></i>
 | 
						|
              <p class="text">Important</p>
 | 
						|
            </a>
 | 
						|
          </li>
 | 
						|
          <li class="nav-item">
 | 
						|
            <a href="#" class="nav-link">
 | 
						|
              <i class="nav-icon fa fa-circle-o text-warning"></i>
 | 
						|
              <p>Warning</p>
 | 
						|
            </a>
 | 
						|
          </li>
 | 
						|
          <li class="nav-item">
 | 
						|
            <a href="#" class="nav-link">
 | 
						|
              <i class="nav-icon fa fa-circle-o text-info"></i>
 | 
						|
              <p>Informational</p>
 | 
						|
            </a>
 | 
						|
          </li>
 | 
						|
        </ul>
 | 
						|
      </nav>
 | 
						|
      <!-- /.sidebar-menu -->
 | 
						|
    </div>
 | 
						|
    <!-- /.sidebar -->
 | 
						|
  </aside>
 | 
						|
 | 
						|
  <!-- Content Wrapper. Contains page content -->
 | 
						|
  <div class="content-wrapper">
 | 
						|
    <!-- Content Header (Page header) -->
 | 
						|
    <section class="content-header">
 | 
						|
      <div class="container-fluid">
 | 
						|
        <div class="row mb-2">
 | 
						|
          <div class="col-sm-6">
 | 
						|
            <h1>Inline Charts</h1>
 | 
						|
          </div>
 | 
						|
          <div class="col-sm-6">
 | 
						|
            <ol class="breadcrumb float-sm-right">
 | 
						|
              <li class="breadcrumb-item"><a href="#">Home</a></li>
 | 
						|
              <li class="breadcrumb-item active">Inline Charts</li>
 | 
						|
            </ol>
 | 
						|
          </div>
 | 
						|
        </div>
 | 
						|
      </div><!-- /.container-fluid -->
 | 
						|
    </section>
 | 
						|
 | 
						|
    <!-- Main content -->
 | 
						|
    <section class="content">
 | 
						|
      <div class="container-fluid">
 | 
						|
        <!-- row -->
 | 
						|
        <div class="row">
 | 
						|
          <div class="col-12">
 | 
						|
            <!-- jQuery Knob -->
 | 
						|
            <div class="card">
 | 
						|
              <div class="card-header">
 | 
						|
                <h3 class="card-title">
 | 
						|
                  <i class="fa fa-bar-chart-o"></i>
 | 
						|
                  jQuery Knob
 | 
						|
                </h3>
 | 
						|
 | 
						|
                <div class="card-tools">
 | 
						|
                  <button type="button" class="btn btn-tool" data-widget="collapse"><i
 | 
						|
                      class="fa fa-minus"></i>
 | 
						|
                  </button>
 | 
						|
                  <button type="button" class="btn btn-tool" data-widget="remove"><i class="fa fa-times"></i>
 | 
						|
                  </button>
 | 
						|
                </div>
 | 
						|
              </div>
 | 
						|
              <!-- /.card-header -->
 | 
						|
              <div class="card-body">
 | 
						|
                <div class="row">
 | 
						|
                  <div class="col-6 col-md-3 text-center">
 | 
						|
                    <input type="text" class="knob" value="30" data-width="90" data-height="90" data-fgColor="#3c8dbc">
 | 
						|
 | 
						|
                    <div class="knob-label">New Visitors</div>
 | 
						|
                  </div>
 | 
						|
                  <!-- ./col -->
 | 
						|
                  <div class="col-6 col-md-3 text-center">
 | 
						|
                    <input type="text" class="knob" value="70" data-width="90" data-height="90" data-fgColor="#f56954">
 | 
						|
 | 
						|
                    <div class="knob-label">Bounce Rate</div>
 | 
						|
                  </div>
 | 
						|
                  <!-- ./col -->
 | 
						|
                  <div class="col-6 col-md-3 text-center">
 | 
						|
                    <input type="text" class="knob" value="-80" data-min="-150" data-max="150" data-width="90"
 | 
						|
                           data-height="90" data-fgColor="#00a65a">
 | 
						|
 | 
						|
                    <div class="knob-label">Server Load</div>
 | 
						|
                  </div>
 | 
						|
                  <!-- ./col -->
 | 
						|
                  <div class="col-6 col-md-3 text-center">
 | 
						|
                    <input type="text" class="knob" value="40" data-width="90" data-height="90" data-fgColor="#00c0ef">
 | 
						|
 | 
						|
                    <div class="knob-label">Disk Space</div>
 | 
						|
                  </div>
 | 
						|
                  <!-- ./col -->
 | 
						|
                </div>
 | 
						|
                <!-- /.row -->
 | 
						|
 | 
						|
                <div class="row">
 | 
						|
                  <div class="col-6 text-center">
 | 
						|
                    <input type="text" class="knob" value="90" data-width="90" data-height="90" data-fgColor="#932ab6">
 | 
						|
 | 
						|
                    <div class="knob-label">Bandwidth</div>
 | 
						|
                  </div>
 | 
						|
                  <!-- ./col -->
 | 
						|
                  <div class="col-6 text-center">
 | 
						|
                    <input type="text" class="knob" value="50" data-width="90" data-height="90" data-fgColor="#39CCCC">
 | 
						|
 | 
						|
                    <div class="knob-label">CPU</div>
 | 
						|
                  </div>
 | 
						|
                  <!-- ./col -->
 | 
						|
                </div>
 | 
						|
                <!-- /.row -->
 | 
						|
              </div>
 | 
						|
              <!-- /.card-body -->
 | 
						|
            </div>
 | 
						|
            <!-- /.card -->
 | 
						|
          </div>
 | 
						|
          <!-- /.col -->
 | 
						|
        </div>
 | 
						|
        <!-- /.row -->
 | 
						|
 | 
						|
        <div class="row">
 | 
						|
          <div class="col-12">
 | 
						|
            <div class="card">
 | 
						|
              <div class="card-header">
 | 
						|
                <h3 class="card-title">
 | 
						|
                  <i class="fa fa-bar-chart-o"></i>
 | 
						|
                  jQuery Knob Different Sizes
 | 
						|
                </h3>
 | 
						|
 | 
						|
                <div class="card-tools">
 | 
						|
                  <button type="button" class="btn btn-tool" data-widget="collapse"><i
 | 
						|
                      class="fa fa-minus"></i>
 | 
						|
                  </button>
 | 
						|
                  <button type="button" class="btn btn-tool" data-widget="remove"><i class="fa fa-times"></i>
 | 
						|
                  </button>
 | 
						|
                </div>
 | 
						|
              </div>
 | 
						|
              <!-- /.card-header -->
 | 
						|
              <div class="card-body">
 | 
						|
                <div class="row">
 | 
						|
                  <div class="col-6 col-md-3 text-center">
 | 
						|
                    <input type="text" class="knob" value="30" data-width="90" data-height="90" data-fgColor="#3c8dbc"
 | 
						|
                           data-readonly="true">
 | 
						|
 | 
						|
                    <div class="knob-label">data-width="90"</div>
 | 
						|
                  </div>
 | 
						|
                  <!-- ./col -->
 | 
						|
                  <div class="col-6 col-md-3 text-center">
 | 
						|
                    <input type="text" class="knob" value="30" data-width="120" data-height="120"
 | 
						|
                           data-fgColor="#f56954">
 | 
						|
 | 
						|
                    <div class="knob-label">data-width="120"</div>
 | 
						|
                  </div>
 | 
						|
                  <!-- ./col -->
 | 
						|
                  <div class="col-6 col-md-3 text-center">
 | 
						|
                    <input type="text" class="knob" value="30" data-thickness="0.1" data-width="90" data-height="90"
 | 
						|
                           data-fgColor="#00a65a">
 | 
						|
 | 
						|
                    <div class="knob-label">data-thickness="0.1"</div>
 | 
						|
                  </div>
 | 
						|
                  <!-- ./col -->
 | 
						|
                  <div class="col-6 col-md-3 text-center">
 | 
						|
                    <input type="text" class="knob" data-thickness="0.2" data-angleArc="250" data-angleOffset="-125"
 | 
						|
                           value="30" data-width="120" data-height="120" data-fgColor="#00c0ef">
 | 
						|
 | 
						|
                    <div class="knob-label">data-angleArc="250"</div>
 | 
						|
                  </div>
 | 
						|
                  <!-- ./col -->
 | 
						|
                </div>
 | 
						|
                <!-- /.row -->
 | 
						|
              </div>
 | 
						|
              <!-- /.card-body -->
 | 
						|
            </div>
 | 
						|
            <!-- /.card -->
 | 
						|
          </div>
 | 
						|
          <!-- /.col -->
 | 
						|
        </div>
 | 
						|
        <!-- /.row -->
 | 
						|
 | 
						|
        <div class="row">
 | 
						|
          <div class="col-12">
 | 
						|
            <div class="card">
 | 
						|
              <div class="card-header">
 | 
						|
                <h3 class="card-title">
 | 
						|
                  <i class="fa fa-bar-chart-o"></i>
 | 
						|
                  jQuery Knob Tron Style
 | 
						|
                </h3>
 | 
						|
 | 
						|
                <div class="card-tools">
 | 
						|
                  <button type="button" class="btn btn-tool" data-widget="collapse"><i
 | 
						|
                      class="fa fa-minus"></i>
 | 
						|
                  </button>
 | 
						|
                  <button type="button" class="btn btn-tool" data-widget="remove"><i class="fa fa-times"></i>
 | 
						|
                  </button>
 | 
						|
                </div>
 | 
						|
              </div>
 | 
						|
              <!-- /.card-header -->
 | 
						|
              <div class="card-body">
 | 
						|
                <div class="row">
 | 
						|
                  <div class="col-6 col-md-3 text-center">
 | 
						|
                    <input type="text" class="knob" value="80" data-skin="tron" data-thickness="0.2" data-width="90"
 | 
						|
                           data-height="90" data-fgColor="#3c8dbc" data-readonly="true">
 | 
						|
 | 
						|
                    <div class="knob-label">data-width="90"</div>
 | 
						|
                  </div>
 | 
						|
                  <!-- ./col -->
 | 
						|
                  <div class="col-6 col-md-3 text-center">
 | 
						|
                    <input type="text" class="knob" value="60" data-skin="tron" data-thickness="0.2" data-width="120"
 | 
						|
                           data-height="120" data-fgColor="#f56954">
 | 
						|
 | 
						|
                    <div class="knob-label">data-width="120"</div>
 | 
						|
                  </div>
 | 
						|
                  <!-- ./col -->
 | 
						|
                  <div class="col-6 col-md-3 text-center">
 | 
						|
                    <input type="text" class="knob" value="10" data-skin="tron" data-thickness="0.1" data-width="90"
 | 
						|
                           data-height="90" data-fgColor="#00a65a">
 | 
						|
 | 
						|
                    <div class="knob-label">data-thickness="0.1"</div>
 | 
						|
                  </div>
 | 
						|
                  <!-- ./col -->
 | 
						|
                  <div class="col-6 col-md-3 text-center">
 | 
						|
                    <input type="text" class="knob" value="100" data-skin="tron" data-thickness="0.2"
 | 
						|
                           data-angleArc="250" data-angleOffset="-125" data-width="120" data-height="120"
 | 
						|
                           data-fgColor="#00c0ef">
 | 
						|
 | 
						|
                    <div class="knob-label">data-angleArc="250"</div>
 | 
						|
                  </div>
 | 
						|
                  <!-- ./col -->
 | 
						|
                </div>
 | 
						|
                <!-- /.row -->
 | 
						|
              </div>
 | 
						|
              <!-- /.card-body -->
 | 
						|
            </div>
 | 
						|
            <!-- /.card -->
 | 
						|
          </div>
 | 
						|
          <!-- /.col -->
 | 
						|
        </div>
 | 
						|
        <!-- /.row -->
 | 
						|
 | 
						|
        <!-- callout -->
 | 
						|
        <div class="callout callout-info">
 | 
						|
          <h5>The following was created using data tags</h5>
 | 
						|
 | 
						|
          <p>The following three inline (sparkline) chart have been initialized to read and interpret data tags</p>
 | 
						|
        </div>
 | 
						|
        <!-- /.callout -->
 | 
						|
 | 
						|
        <div class="row">
 | 
						|
          <div class="col-md-4">
 | 
						|
            <div class="card">
 | 
						|
              <div class="card-header">
 | 
						|
                <h3 class="card-title text-danger">Sparkline Pie</h3>
 | 
						|
 | 
						|
                <div class="card-tools">
 | 
						|
                  <button type="button" class="btn btn-tool"><i class="fa fa-refresh"></i></button>
 | 
						|
                </div>
 | 
						|
              </div>
 | 
						|
              <!-- /.card-header -->
 | 
						|
              <div class="card-body text-center">
 | 
						|
                <div class="sparkline" data-type="pie" data-offset="90" data-width="100px" data-height="100px">
 | 
						|
                  6,4,8
 | 
						|
                </div>
 | 
						|
              </div>
 | 
						|
              <!-- /.card-body -->
 | 
						|
            </div>
 | 
						|
            <!-- /.card -->
 | 
						|
          </div>
 | 
						|
          <!-- /.col -->
 | 
						|
 | 
						|
          <div class="col-md-4">
 | 
						|
            <div class="card">
 | 
						|
              <div class="card-header">
 | 
						|
                <h3 class="card-title text-primary">Sparkline line</h3>
 | 
						|
 | 
						|
                <div class="card-tools">
 | 
						|
                  <button type="button" class="btn btn-tool"><i class="fa fa-refresh"></i></button>
 | 
						|
                </div>
 | 
						|
              </div>
 | 
						|
              <!-- /.card-header -->
 | 
						|
              <div class="card-body text-center">
 | 
						|
                <div class="sparkline" data-type="line" data-spot-Radius="3" data-highlight-Spot-Color="#f39c12"
 | 
						|
                     data-highlight-Line-Color="#222" data-min-Spot-Color="#f56954" data-max-Spot-Color="#00a65a"
 | 
						|
                     data-spot-Color="#39CCCC" data-offset="90" data-width="100%" data-height="100px"
 | 
						|
                     data-line-Width="2" data-line-Color="#39CCCC" data-fill-Color="rgba(57, 204, 204, 0.08)">
 | 
						|
                  6,4,7,8,4,3,2,2,5,6,7,4,1,5,7,9,9,8,7,6
 | 
						|
                </div>
 | 
						|
              </div>
 | 
						|
              <!-- /.card-body -->
 | 
						|
            </div>
 | 
						|
            <!-- /.card -->
 | 
						|
          </div>
 | 
						|
          <!-- /.col -->
 | 
						|
 | 
						|
          <div class="col-md-4">
 | 
						|
            <div class="card">
 | 
						|
              <div class="card-header">
 | 
						|
                <h3 class="card-title text-warning">Sparkline Bar</h3>
 | 
						|
 | 
						|
                <div class="card-tools">
 | 
						|
                  <button type="button" class="btn btn-tool"><i class="fa fa-refresh"></i></button>
 | 
						|
                </div>
 | 
						|
              </div>
 | 
						|
              <!-- /.card-header -->
 | 
						|
              <div class="card-body text-center">
 | 
						|
                <div class="sparkline" data-type="bar" data-width="97%" data-height="100px" data-bar-Width="14"
 | 
						|
                     data-bar-Spacing="7" data-bar-Color="#f39c12">
 | 
						|
                  6,4,8, 9, 10, 5, 13, 18, 21, 7, 9
 | 
						|
                </div>
 | 
						|
              </div>
 | 
						|
              <!-- /.card-body -->
 | 
						|
            </div>
 | 
						|
            <!-- /.card -->
 | 
						|
          </div>
 | 
						|
          <!-- /.col -->
 | 
						|
        </div>
 | 
						|
        <!-- /.row -->
 | 
						|
 | 
						|
        <div class="row">
 | 
						|
          <div class="col-12">
 | 
						|
            <div class="card">
 | 
						|
              <div class="card-header">
 | 
						|
                <h3 class="card-title">Sparkline examples</h3>
 | 
						|
 | 
						|
                <div class="card-tools">
 | 
						|
                  <button type="button" class="btn btn-tool" data-widget="collapse"><i
 | 
						|
                      class="fa fa-minus"></i>
 | 
						|
                  </button>
 | 
						|
                  <button type="button" class="btn btn-tool" data-widget="remove"><i class="fa fa-times"></i>
 | 
						|
                  </button>
 | 
						|
                </div>
 | 
						|
              </div>
 | 
						|
              <!-- /.card-header -->
 | 
						|
              <div id="myBody" class="card-body">
 | 
						|
                <div class="row">
 | 
						|
                  <div class="col-sm-6">
 | 
						|
                    <p>
 | 
						|
                      Mouse speed <span id="mousespeed">Loading..</span>
 | 
						|
                    </p>
 | 
						|
 | 
						|
                    <p>
 | 
						|
                      Inline <span class="sparkline-1">10,8,9,3,5,8,5</span>
 | 
						|
                      line graphs
 | 
						|
                      <span class="sparkline-1">8,4,0,0,0,0,1,4,4,10,10,10,10,0,0,0,4,6,5,9,10</span>
 | 
						|
                    </p>
 | 
						|
 | 
						|
                    <p>
 | 
						|
                      Bar charts <span class="sparkbar">10,8,9,3,5,8,5</span>
 | 
						|
                      negative values: <span class="sparkbar">-3,1,2,0,3,-1</span>
 | 
						|
                      stacked: <span class="sparkbar">0:2,2:4,4:2,4:1</span>
 | 
						|
                    </p>
 | 
						|
 | 
						|
                    <p>
 | 
						|
                      Composite inline
 | 
						|
                      <span id="compositeline">8,4,0,0,0,0,1,4,4,10,10,10,10,0,0,0,4,6,5,9,10</span>
 | 
						|
                    </p>
 | 
						|
 | 
						|
                    <p>
 | 
						|
                      Inline with normal range
 | 
						|
                      <span id="normalline">8,4,0,0,0,0,1,4,4,10,10,10,10,0,0,0,4,6,5,9,10</span>
 | 
						|
                    </p>
 | 
						|
 | 
						|
                    <p>
 | 
						|
                      Composite bar
 | 
						|
                      <span id="compositebar">4,6,7,7,4,3,2,1,4</span>
 | 
						|
                    </p>
 | 
						|
 | 
						|
                    <p>
 | 
						|
                      Discrete
 | 
						|
                      <span class="discrete1">4,6,7,7,4,3,2,1,4,4,5,6,7,6,6,2,4,5</span><br>
 | 
						|
 | 
						|
                      Discrete with threshold
 | 
						|
                      <span id="discrete2">4,6,7,7,4,3,2,1,4</span>
 | 
						|
                    </p>
 | 
						|
 | 
						|
                    <p>
 | 
						|
                      Bullet charts<br>
 | 
						|
                      <span class="sparkbullet">10,12,12,9,7</span><br>
 | 
						|
                      <span class="sparkbullet">14,12,12,9,7</span><br>
 | 
						|
                      <span class="sparkbullet">10,12,14,9,7</span><br>
 | 
						|
                    </p>
 | 
						|
                  </div>
 | 
						|
                  <!-- /.col -->
 | 
						|
                  <div class="col-sm-6">
 | 
						|
                    <p>
 | 
						|
                      Customize size and colours
 | 
						|
                      <span id="linecustom">10,8,9,3,5,8,5,7</span>
 | 
						|
                    </p>
 | 
						|
 | 
						|
                    <p>
 | 
						|
                      Tristate charts
 | 
						|
                      <span class="sparktristate">1,1,0,1,-1,-1,1,-1,0,0,1,1</span><br>
 | 
						|
                      (think games won, lost or drawn)
 | 
						|
                    </p>
 | 
						|
 | 
						|
                    <p>
 | 
						|
                      Tristate chart using a colour map:
 | 
						|
                      <span class="sparktristatecols">1,2,0,2,-1,-2,1,-2,0,0,1,1</span>
 | 
						|
                    </p>
 | 
						|
 | 
						|
                    <p>
 | 
						|
                      Box Plot: <span class="sparkboxplot">4,27,34,52,54,59,61,68,78,82,85,87,91,93,100</span><br>
 | 
						|
                      Pre-computed box plot <span class="sparkboxplotraw">Loading..</span>
 | 
						|
                    </p>
 | 
						|
 | 
						|
                    <p>
 | 
						|
                      Pie charts
 | 
						|
                      <span class="sparkpie">1,1,2</span>
 | 
						|
                      <span class="sparkpie">1,5</span>
 | 
						|
                      <span class="sparkpie">20,50,80</span>
 | 
						|
                    </p>
 | 
						|
                  </div>
 | 
						|
                  <!-- /.col -->
 | 
						|
                </div>
 | 
						|
                <!-- /.row -->
 | 
						|
              </div>
 | 
						|
              <!-- /.card-body -->
 | 
						|
            </div>
 | 
						|
            <!-- /.card -->
 | 
						|
          </div>
 | 
						|
          <!-- /.col -->
 | 
						|
        </div>
 | 
						|
        <!-- /.row -->
 | 
						|
      </div><!-- /.container-fluid -->
 | 
						|
    </section>
 | 
						|
    <!-- /.content -->
 | 
						|
  </div>
 | 
						|
  <!-- /.content-wrapper -->
 | 
						|
  <footer class="main-footer">
 | 
						|
    <div class="float-right d-none d-sm-block">
 | 
						|
      <b>Version</b> 3.0.0-alpha
 | 
						|
    </div>
 | 
						|
    <strong>Copyright © 2014-2018 <a href="http://adminlte.io">AdminLTE.io</a>.</strong> All rights
 | 
						|
    reserved.
 | 
						|
  </footer>
 | 
						|
 | 
						|
  <!-- Control Sidebar -->
 | 
						|
  <aside class="control-sidebar control-sidebar-dark">
 | 
						|
    <!-- Control sidebar content goes here -->
 | 
						|
  </aside>
 | 
						|
  <!-- /.control-sidebar -->
 | 
						|
</div>
 | 
						|
<!-- ./wrapper -->
 | 
						|
 | 
						|
<!-- jQuery -->
 | 
						|
<script src="../../plugins/jquery/jquery.min.js"></script>
 | 
						|
<!-- Bootstrap 4 -->
 | 
						|
<script src="../../plugins/bootstrap/js/bootstrap.bundle.min.js"></script>
 | 
						|
<!-- SlimScroll 1.3.0 -->
 | 
						|
<script src="../../plugins/slimScroll/jquery.slimscroll.min.js"></script>
 | 
						|
<!-- FastClick -->
 | 
						|
<script src="../../plugins/fastclick/fastclick.js"></script>
 | 
						|
<!-- AdminLTE App -->
 | 
						|
<script src="../../dist/js/adminlte.min.js"></script>
 | 
						|
<!-- AdminLTE for demo purposes -->
 | 
						|
<script src="../../dist/js/demo.js"></script>
 | 
						|
<!-- jQuery Knob -->
 | 
						|
<script src="../../plugins/knob/jquery.knob.js"></script>
 | 
						|
<!-- Sparkline -->
 | 
						|
<script src="../../plugins/sparkline/jquery.sparkline.min.js"></script>
 | 
						|
<!-- page script -->
 | 
						|
<script>
 | 
						|
  $(function () {
 | 
						|
    /* jQueryKnob */
 | 
						|
 | 
						|
    $('.knob').knob({
 | 
						|
      /*change : function (value) {
 | 
						|
       //console.log("change : " + value);
 | 
						|
       },
 | 
						|
       release : function (value) {
 | 
						|
       console.log("release : " + value);
 | 
						|
       },
 | 
						|
       cancel : function () {
 | 
						|
       console.log("cancel : " + this.value);
 | 
						|
       },*/
 | 
						|
      draw: function () {
 | 
						|
 | 
						|
        // "tron" case
 | 
						|
        if (this.$.data('skin') == 'tron') {
 | 
						|
 | 
						|
          var a   = this.angle(this.cv)  // Angle
 | 
						|
            ,
 | 
						|
              sa  = this.startAngle          // Previous start angle
 | 
						|
            ,
 | 
						|
              sat = this.startAngle         // Start angle
 | 
						|
            ,
 | 
						|
              ea                            // Previous end angle
 | 
						|
            ,
 | 
						|
              eat = sat + a                 // End angle
 | 
						|
            ,
 | 
						|
              r   = true
 | 
						|
 | 
						|
          this.g.lineWidth = this.lineWidth
 | 
						|
 | 
						|
          this.o.cursor
 | 
						|
          && (sat = eat - 0.3)
 | 
						|
          && (eat = eat + 0.3)
 | 
						|
 | 
						|
          if (this.o.displayPrevious) {
 | 
						|
            ea = this.startAngle + this.angle(this.value)
 | 
						|
            this.o.cursor
 | 
						|
            && (sa = ea - 0.3)
 | 
						|
            && (ea = ea + 0.3)
 | 
						|
            this.g.beginPath()
 | 
						|
            this.g.strokeStyle = this.previousColor
 | 
						|
            this.g.arc(this.xy, this.xy, this.radius - this.lineWidth, sa, ea, false)
 | 
						|
            this.g.stroke()
 | 
						|
          }
 | 
						|
 | 
						|
          this.g.beginPath()
 | 
						|
          this.g.strokeStyle = r ? this.o.fgColor : this.fgColor
 | 
						|
          this.g.arc(this.xy, this.xy, this.radius - this.lineWidth, sat, eat, false)
 | 
						|
          this.g.stroke()
 | 
						|
 | 
						|
          this.g.lineWidth = 2
 | 
						|
          this.g.beginPath()
 | 
						|
          this.g.strokeStyle = this.o.fgColor
 | 
						|
          this.g.arc(this.xy, this.xy, this.radius - this.lineWidth + 1 + this.lineWidth * 2 / 3, 0, 2 * Math.PI, false)
 | 
						|
          this.g.stroke()
 | 
						|
 | 
						|
          return false
 | 
						|
        }
 | 
						|
      }
 | 
						|
    })
 | 
						|
    /* END JQUERY KNOB */
 | 
						|
 | 
						|
    //INITIALIZE SPARKLINE CHARTS
 | 
						|
    $('.sparkline').each(function () {
 | 
						|
      var $this = $(this)
 | 
						|
      $this.sparkline('html', $this.data())
 | 
						|
    })
 | 
						|
 | 
						|
    /* SPARKLINE DOCUMENTATION EXAMPLES http://omnipotent.net/jquery.sparkline/#s-about */
 | 
						|
    drawDocSparklines()
 | 
						|
    drawMouseSpeedDemo()
 | 
						|
 | 
						|
  })
 | 
						|
 | 
						|
  function drawDocSparklines() {
 | 
						|
 | 
						|
    // Bar + line composite charts
 | 
						|
    $('#compositebar').sparkline('html', {
 | 
						|
      type    : 'bar',
 | 
						|
      barColor: '#aaf'
 | 
						|
    })
 | 
						|
    $('#compositebar').sparkline([4, 1, 5, 7, 9, 9, 8, 7, 6, 6, 4, 7, 8, 4, 3, 2, 2, 5, 6, 7],
 | 
						|
      {
 | 
						|
        composite: true,
 | 
						|
        fillColor: false,
 | 
						|
        lineColor: 'red'
 | 
						|
      })
 | 
						|
 | 
						|
 | 
						|
    // Line charts taking their values from the tag
 | 
						|
    $('.sparkline-1').sparkline()
 | 
						|
 | 
						|
    // Larger line charts for the docs
 | 
						|
    $('.largeline').sparkline('html',
 | 
						|
      {
 | 
						|
        type  : 'line',
 | 
						|
        height: '2.5em',
 | 
						|
        width : '4em'
 | 
						|
      })
 | 
						|
 | 
						|
    // Customized line chart
 | 
						|
    $('#linecustom').sparkline('html',
 | 
						|
      {
 | 
						|
        height      : '1.5em',
 | 
						|
        width       : '8em',
 | 
						|
        lineColor   : '#f00',
 | 
						|
        fillColor   : '#ffa',
 | 
						|
        minSpotColor: false,
 | 
						|
        maxSpotColor: false,
 | 
						|
        spotColor   : '#77f',
 | 
						|
        spotRadius  : 3
 | 
						|
      })
 | 
						|
 | 
						|
    // Bar charts using inline values
 | 
						|
    $('.sparkbar').sparkline('html', { type: 'bar' })
 | 
						|
 | 
						|
    $('.barformat').sparkline([1, 3, 5, 3, 8], {
 | 
						|
      type               : 'bar',
 | 
						|
      tooltipFormat      : '{{value:levels}} - {{value}}',
 | 
						|
      tooltipValueLookups: {
 | 
						|
        levels: $.range_map({
 | 
						|
          ':2' : 'Low',
 | 
						|
          '3:6': 'Medium',
 | 
						|
          '7:' : 'High'
 | 
						|
        })
 | 
						|
      }
 | 
						|
    })
 | 
						|
 | 
						|
    // Tri-state charts using inline values
 | 
						|
    $('.sparktristate').sparkline('html', { type: 'tristate' })
 | 
						|
    $('.sparktristatecols').sparkline('html',
 | 
						|
      {
 | 
						|
        type    : 'tristate',
 | 
						|
        colorMap: {
 | 
						|
          '-2': '#fa7',
 | 
						|
          '2' : '#44f'
 | 
						|
        }
 | 
						|
      })
 | 
						|
 | 
						|
    // Composite line charts, the second using values supplied via javascript
 | 
						|
    $('#compositeline').sparkline('html', {
 | 
						|
      fillColor     : false,
 | 
						|
      changeRangeMin: 0,
 | 
						|
      chartRangeMax : 10
 | 
						|
    })
 | 
						|
    $('#compositeline').sparkline([4, 1, 5, 7, 9, 9, 8, 7, 6, 6, 4, 7, 8, 4, 3, 2, 2, 5, 6, 7],
 | 
						|
      {
 | 
						|
        composite     : true,
 | 
						|
        fillColor     : false,
 | 
						|
        lineColor     : 'red',
 | 
						|
        changeRangeMin: 0,
 | 
						|
        chartRangeMax : 10
 | 
						|
      })
 | 
						|
 | 
						|
    // Line charts with normal range marker
 | 
						|
    $('#normalline').sparkline('html',
 | 
						|
      {
 | 
						|
        fillColor     : false,
 | 
						|
        normalRangeMin: -1,
 | 
						|
        normalRangeMax: 8
 | 
						|
      })
 | 
						|
    $('#normalExample').sparkline('html',
 | 
						|
      {
 | 
						|
        fillColor       : false,
 | 
						|
        normalRangeMin  : 80,
 | 
						|
        normalRangeMax  : 95,
 | 
						|
        normalRangeColor: '#4f4'
 | 
						|
      })
 | 
						|
 | 
						|
    // Discrete charts
 | 
						|
    $('.discrete1').sparkline('html',
 | 
						|
      {
 | 
						|
        type     : 'discrete',
 | 
						|
        lineColor: 'blue',
 | 
						|
        xwidth   : 18
 | 
						|
      })
 | 
						|
    $('#discrete2').sparkline('html',
 | 
						|
      {
 | 
						|
        type          : 'discrete',
 | 
						|
        lineColor     : 'blue',
 | 
						|
        thresholdColor: 'red',
 | 
						|
        thresholdValue: 4
 | 
						|
      })
 | 
						|
 | 
						|
    // Bullet charts
 | 
						|
    $('.sparkbullet').sparkline('html', { type: 'bullet' })
 | 
						|
 | 
						|
    // Pie charts
 | 
						|
    $('.sparkpie').sparkline('html', {
 | 
						|
      type  : 'pie',
 | 
						|
      height: '1.0em'
 | 
						|
    })
 | 
						|
 | 
						|
    // Box plots
 | 
						|
    $('.sparkboxplot').sparkline('html', { type: 'box' })
 | 
						|
    $('.sparkboxplotraw').sparkline([1, 3, 5, 8, 10, 15, 18],
 | 
						|
      {
 | 
						|
        type        : 'box',
 | 
						|
        raw         : true,
 | 
						|
        showOutliers: true,
 | 
						|
        target      : 6
 | 
						|
      })
 | 
						|
 | 
						|
    // Box plot with specific field order
 | 
						|
    $('.boxfieldorder').sparkline('html', {
 | 
						|
      type                     : 'box',
 | 
						|
      tooltipFormatFieldlist   : ['med', 'lq', 'uq'],
 | 
						|
      tooltipFormatFieldlistKey: 'field'
 | 
						|
    })
 | 
						|
 | 
						|
    // click event demo sparkline
 | 
						|
    $('.clickdemo').sparkline()
 | 
						|
    $('.clickdemo').bind('sparklineClick', function (ev) {
 | 
						|
      var sparkline = ev.sparklines[0],
 | 
						|
          region    = sparkline.getCurrentRegionFields()
 | 
						|
      value         = region.y
 | 
						|
      alert('Clicked on x=' + region.x + ' y=' + region.y)
 | 
						|
    })
 | 
						|
 | 
						|
    // mouseover event demo sparkline
 | 
						|
    $('.mouseoverdemo').sparkline()
 | 
						|
    $('.mouseoverdemo').bind('sparklineRegionChange', function (ev) {
 | 
						|
      var sparkline = ev.sparklines[0],
 | 
						|
          region    = sparkline.getCurrentRegionFields()
 | 
						|
      value         = region.y
 | 
						|
      $('.mouseoverregion').text('x=' + region.x + ' y=' + region.y)
 | 
						|
    }).bind('mouseleave', function () {
 | 
						|
      $('.mouseoverregion').text('')
 | 
						|
    })
 | 
						|
  }
 | 
						|
 | 
						|
  /**
 | 
						|
   ** Draw the little mouse speed animated graph
 | 
						|
   ** This just attaches a handler to the mousemove event to see
 | 
						|
   ** (roughly) how far the mouse has moved
 | 
						|
   ** and then updates the display a couple of times a second via
 | 
						|
   ** setTimeout()
 | 
						|
   **/
 | 
						|
  function drawMouseSpeedDemo() {
 | 
						|
    var mrefreshinterval = 500 // update display every 500ms
 | 
						|
    var lastmousex       = -1
 | 
						|
    var lastmousey       = -1
 | 
						|
    var lastmousetime
 | 
						|
    var mousetravel      = 0
 | 
						|
    var mpoints          = []
 | 
						|
    var mpoints_max      = 30
 | 
						|
    $('html').mousemove(function (e) {
 | 
						|
      var mousex = e.pageX
 | 
						|
      var mousey = e.pageY
 | 
						|
      if (lastmousex > -1) {
 | 
						|
        mousetravel += Math.max(Math.abs(mousex - lastmousex), Math.abs(mousey - lastmousey))
 | 
						|
      }
 | 
						|
      lastmousex = mousex
 | 
						|
      lastmousey = mousey
 | 
						|
    })
 | 
						|
    var mdraw = function () {
 | 
						|
      var md      = new Date()
 | 
						|
      var timenow = md.getTime()
 | 
						|
      if (lastmousetime && lastmousetime != timenow) {
 | 
						|
        var pps = Math.round(mousetravel / (timenow - lastmousetime) * 1000)
 | 
						|
        mpoints.push(pps)
 | 
						|
        if (mpoints.length > mpoints_max) {
 | 
						|
          mpoints.splice(0, 1)
 | 
						|
        }
 | 
						|
        mousetravel = 0
 | 
						|
        $('#mousespeed').sparkline(mpoints, {
 | 
						|
          width        : mpoints.length * 2,
 | 
						|
          tooltipSuffix: ' pixels per second'
 | 
						|
        })
 | 
						|
      }
 | 
						|
      lastmousetime = timenow
 | 
						|
      setTimeout(mdraw, mrefreshinterval)
 | 
						|
    }
 | 
						|
    // We could use setInterval instead, but I prefer to do it this way
 | 
						|
    setTimeout(mdraw, mrefreshinterval);
 | 
						|
  }
 | 
						|
</script>
 | 
						|
</body>
 | 
						|
</html>
 |