|  | @@ -1,7 +1,14 @@
 | 
	
		
			
				|  |  | +import React, { Component, useState, useEffect } from "react";
 | 
	
		
			
				|  |  | +import { Button } from "reactstrap";
 | 
	
		
			
				|  |  | +import { Progress } from "reactstrap";
 | 
	
		
			
				|  |  | +import Sparkline from "@/components/Common/Sparklines";
 | 
	
		
			
				|  |  | +import { Container, Row, Col, Card, CardHeader, CardBody } from "reactstrap";
 | 
	
		
			
				|  |  |  import FlotChart from "@/components/Charts/Flot.js";
 | 
	
		
			
				|  |  | +import { ChartSpline, ChartArea, ChartBarStacked, ChartDonut, ChartLine } from "@/components/Config/flot.setup.js";
 | 
	
		
			
				|  |  | +import Datatable from "@/components/Tables/Datatable";
 | 
	
		
			
				|  |  | +import MorrisChart from "@/components/Charts//Morris";
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  function CaseProgress({ data, user }) {
 | 
	
		
			
				|  |  | -	console.log(data);
 | 
	
		
			
				|  |  |  	const ChartPie = {
 | 
	
		
			
				|  |  |  		data: [
 | 
	
		
			
				|  |  |  			{
 | 
	
	
		
			
				|  | @@ -21,30 +28,23 @@ function CaseProgress({ data, user }) {
 | 
	
		
			
				|  |  |  			},
 | 
	
		
			
				|  |  |  		],
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -		options: {
 | 
	
		
			
				|  |  | -			series: {
 | 
	
		
			
				|  |  | -				pie: {
 | 
	
		
			
				|  |  | -					show: true,
 | 
	
		
			
				|  |  | -					innerRadius: 0,
 | 
	
		
			
				|  |  | -					label: {
 | 
	
		
			
				|  |  | -						show: true,
 | 
	
		
			
				|  |  | -						radius: 0.8,
 | 
	
		
			
				|  |  | -						formatter: function (label, series) {
 | 
	
		
			
				|  |  | -							return (
 | 
	
		
			
				|  |  | -								'<div class="flot-pie-label">' +
 | 
	
		
			
				|  |  | -								//label + ' : ' +
 | 
	
		
			
				|  |  | -								Math.round(series.percent) +
 | 
	
		
			
				|  |  | -								"%</div>"
 | 
	
		
			
				|  |  | -							);
 | 
	
		
			
				|  |  | -						},
 | 
	
		
			
				|  |  | -						background: {
 | 
	
		
			
				|  |  | -							opacity: 0.8,
 | 
	
		
			
				|  |  | -							color: "#222",
 | 
	
		
			
				|  |  | -						},
 | 
	
		
			
				|  |  | -					},
 | 
	
		
			
				|  |  | -				},
 | 
	
		
			
				|  |  | +		data: [
 | 
	
		
			
				|  |  | +			{
 | 
	
		
			
				|  |  | +				label: "Ditindaklanjuti DIKTI",
 | 
	
		
			
				|  |  | +				color: "#287DAD",
 | 
	
		
			
				|  |  | +				data: 70,
 | 
	
		
			
				|  |  |  			},
 | 
	
		
			
				|  |  | -		},
 | 
	
		
			
				|  |  | +			{
 | 
	
		
			
				|  |  | +				label: "Ditindaklanjuti DIKTI",
 | 
	
		
			
				|  |  | +				color: "#52D489",
 | 
	
		
			
				|  |  | +				data: 40,
 | 
	
		
			
				|  |  | +			},
 | 
	
		
			
				|  |  | +			{
 | 
	
		
			
				|  |  | +				label: "Ditutup",
 | 
	
		
			
				|  |  | +				color: "#FD4233",
 | 
	
		
			
				|  |  | +				data: 40,
 | 
	
		
			
				|  |  | +			},
 | 
	
		
			
				|  |  | +		],
 | 
	
		
			
				|  |  |  	};
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  	const ChartBar = {
 |