Spookie/public/coverage/Entity/dashboard.html

356 lines
23 KiB
HTML
Raw Normal View History

2022-12-28 12:39:02 +01:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Dashboard for /home/users/tracer/www/spookie.lab.24unix.net/Spookie/src/Entity</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="../_css/bootstrap.min.css" rel="stylesheet" type="text/css">
<link href="../_css/nv.d3.min.css" rel="stylesheet" type="text/css">
<link href="../_css/style.css" rel="stylesheet" type="text/css">
<link href="../_css/custom.css" rel="stylesheet" type="text/css">
</head>
<body>
<header>
<div class="container-fluid">
<div class="row">
<div class="col-md-12">
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="../index.html">/home/users/tracer/www/spookie.lab.24unix.net/Spookie/src</a></li>
<li class="breadcrumb-item"><a href="index.html">Entity</a></li>
<li class="breadcrumb-item active">(Dashboard)</li>
</ol>
</nav>
</div>
</div>
</div>
</header>
<div class="container-fluid">
<div class="row">
<div class="col-md-12">
<h2>Classes</h2>
</div>
</div>
<div class="row">
<div class="col-md-6">
<h3>Coverage Distribution</h3>
<div id="classCoverageDistribution" style="height: 300px;">
<svg></svg>
</div>
</div>
<div class="col-md-6">
<h3>Complexity</h3>
<div id="classComplexity" style="height: 300px;">
<svg></svg>
</div>
</div>
</div>
<div class="row">
<div class="col-md-6">
<h3>Insufficient Coverage</h3>
<div class="scrollbox">
<table class="table">
<thead>
<tr>
<th>Class</th>
<th class="text-right">Coverage</th>
</tr>
</thead>
<tbody>
<tr><td><a href="Projects.php.html#11">App\Entity\Projects</a></td><td class="text-right">0%</td></tr>
<tr><td><a href="Quotes.php.html#8">App\Entity\Quotes</a></td><td class="text-right">0%</td></tr>
<tr><td><a href="ResetPasswordRequest.php.html#10">App\Entity\ResetPasswordRequest</a></td><td class="text-right">0%</td></tr>
<tr><td><a href="User.php.html#16">App\Entity\User</a></td><td class="text-right">3%</td></tr>
</tbody>
</table>
</div>
</div>
<div class="col-md-6">
<h3>Project Risks</h3>
<div class="scrollbox">
<table class="table">
<thead>
<tr>
<th>Class</th>
<th class="text-right"><abbr title="Change Risk Anti-Patterns (CRAP) Index">CRAP</abbr></th>
</tr>
</thead>
<tbody>
<tr><td><a href="User.php.html#16">App\Entity\User</a></td><td class="text-right">1724</td></tr>
<tr><td><a href="Projects.php.html#11">App\Entity\Projects</a></td><td class="text-right">306</td></tr>
</tbody>
</table>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<h2>Methods</h2>
</div>
</div>
<div class="row">
<div class="col-md-6">
<h3>Coverage Distribution</h3>
<div id="methodCoverageDistribution" style="height: 300px;">
<svg></svg>
</div>
</div>
<div class="col-md-6">
<h3>Complexity</h3>
<div id="methodComplexity" style="height: 300px;">
<svg></svg>
</div>
</div>
</div>
<div class="row">
<div class="col-md-6">
<h3>Insufficient Coverage</h3>
<div class="scrollbox">
<table class="table">
<thead>
<tr>
<th>Method</th>
<th class="text-right">Coverage</th>
</tr>
</thead>
<tbody>
<tr><td><a href="Pages.php.html#38"><abbr title="App\Entity\Pages::getId">getId</abbr></a></td><td class="text-right">0%</td></tr>
<tr><td><a href="Projects.php.html#37"><abbr title="App\Entity\Projects::__construct">__construct</abbr></a></td><td class="text-right">0%</td></tr>
<tr><td><a href="Projects.php.html#45"><abbr title="App\Entity\Projects::__toString">__toString</abbr></a></td><td class="text-right">0%</td></tr>
<tr><td><a href="Projects.php.html#50"><abbr title="App\Entity\Projects::getId">getId</abbr></a></td><td class="text-right">0%</td></tr>
<tr><td><a href="Projects.php.html#55"><abbr title="App\Entity\Projects::getName">getName</abbr></a></td><td class="text-right">0%</td></tr>
<tr><td><a href="Projects.php.html#60"><abbr title="App\Entity\Projects::setName">setName</abbr></a></td><td class="text-right">0%</td></tr>
<tr><td><a href="Projects.php.html#67"><abbr title="App\Entity\Projects::getDescription">getDescription</abbr></a></td><td class="text-right">0%</td></tr>
<tr><td><a href="Projects.php.html#72"><abbr title="App\Entity\Projects::setDescription">setDescription</abbr></a></td><td class="text-right">0%</td></tr>
<tr><td><a href="Projects.php.html#79"><abbr title="App\Entity\Projects::getURL">getURL</abbr></a></td><td class="text-right">0%</td></tr>
<tr><td><a href="Projects.php.html#84"><abbr title="App\Entity\Projects::setURL">setURL</abbr></a></td><td class="text-right">0%</td></tr>
<tr><td><a href="Projects.php.html#91"><abbr title="App\Entity\Projects::getCreatedAt">getCreatedAt</abbr></a></td><td class="text-right">0%</td></tr>
<tr><td><a href="Projects.php.html#96"><abbr title="App\Entity\Projects::setCreatedAt">setCreatedAt</abbr></a></td><td class="text-right">0%</td></tr>
<tr><td><a href="Projects.php.html#103"><abbr title="App\Entity\Projects::getTeaserImage">getTeaserImage</abbr></a></td><td class="text-right">0%</td></tr>
<tr><td><a href="Projects.php.html#108"><abbr title="App\Entity\Projects::setTeaserImage">setTeaserImage</abbr></a></td><td class="text-right">0%</td></tr>
<tr><td><a href="Projects.php.html#118"><abbr title="App\Entity\Projects::getDeveloper">getDeveloper</abbr></a></td><td class="text-right">0%</td></tr>
<tr><td><a href="Projects.php.html#123"><abbr title="App\Entity\Projects::addDeveloper">addDeveloper</abbr></a></td><td class="text-right">0%</td></tr>
<tr><td><a href="Projects.php.html#132"><abbr title="App\Entity\Projects::removeDeveloper">removeDeveloper</abbr></a></td><td class="text-right">0%</td></tr>
<tr><td><a href="Quotes.php.html#19"><abbr title="App\Entity\Quotes::getId">getId</abbr></a></td><td class="text-right">0%</td></tr>
<tr><td><a href="Quotes.php.html#24"><abbr title="App\Entity\Quotes::getQuote">getQuote</abbr></a></td><td class="text-right">0%</td></tr>
<tr><td><a href="Quotes.php.html#29"><abbr title="App\Entity\Quotes::setQuote">setQuote</abbr></a></td><td class="text-right">0%</td></tr>
<tr><td><a href="ResetPasswordRequest.php.html#24"><abbr title="App\Entity\ResetPasswordRequest::__construct">__construct</abbr></a></td><td class="text-right">0%</td></tr>
<tr><td><a href="ResetPasswordRequest.php.html#30"><abbr title="App\Entity\ResetPasswordRequest::getId">getId</abbr></a></td><td class="text-right">0%</td></tr>
<tr><td><a href="ResetPasswordRequest.php.html#35"><abbr title="App\Entity\ResetPasswordRequest::getUser">getUser</abbr></a></td><td class="text-right">0%</td></tr>
<tr><td><a href="User.php.html#76"><abbr title="App\Entity\User::__toString">__toString</abbr></a></td><td class="text-right">0%</td></tr>
<tr><td><a href="User.php.html#81"><abbr title="App\Entity\User::getId">getId</abbr></a></td><td class="text-right">0%</td></tr>
<tr><td><a href="User.php.html#86"><abbr title="App\Entity\User::getUsername">getUsername</abbr></a></td><td class="text-right">0%</td></tr>
<tr><td><a href="User.php.html#91"><abbr title="App\Entity\User::setUsername">setUsername</abbr></a></td><td class="text-right">0%</td></tr>
<tr><td><a href="User.php.html#103"><abbr title="App\Entity\User::getUserIdentifier">getUserIdentifier</abbr></a></td><td class="text-right">0%</td></tr>
<tr><td><a href="User.php.html#111"><abbr title="App\Entity\User::getRoles">getRoles</abbr></a></td><td class="text-right">0%</td></tr>
<tr><td><a href="User.php.html#120"><abbr title="App\Entity\User::setRoles">setRoles</abbr></a></td><td class="text-right">0%</td></tr>
<tr><td><a href="User.php.html#130"><abbr title="App\Entity\User::getPassword">getPassword</abbr></a></td><td class="text-right">0%</td></tr>
<tr><td><a href="User.php.html#135"><abbr title="App\Entity\User::setPassword">setPassword</abbr></a></td><td class="text-right">0%</td></tr>
<tr><td><a href="User.php.html#143"><abbr title="App\Entity\User::getEmail">getEmail</abbr></a></td><td class="text-right">0%</td></tr>
<tr><td><a href="User.php.html#148"><abbr title="App\Entity\User::setEmail">setEmail</abbr></a></td><td class="text-right">0%</td></tr>
<tr><td><a href="User.php.html#156"><abbr title="App\Entity\User::getFirstName">getFirstName</abbr></a></td><td class="text-right">0%</td></tr>
<tr><td><a href="User.php.html#161"><abbr title="App\Entity\User::setFirstName">setFirstName</abbr></a></td><td class="text-right">0%</td></tr>
<tr><td><a href="User.php.html#168"><abbr title="App\Entity\User::getLastName">getLastName</abbr></a></td><td class="text-right">0%</td></tr>
<tr><td><a href="User.php.html#173"><abbr title="App\Entity\User::setLastName">setLastName</abbr></a></td><td class="text-right">0%</td></tr>
<tr><td><a href="User.php.html#183"><abbr title="App\Entity\User::getProjects">getProjects</abbr></a></td><td class="text-right">0%</td></tr>
<tr><td><a href="User.php.html#188"><abbr title="App\Entity\User::addProject">addProject</abbr></a></td><td class="text-right">0%</td></tr>
<tr><td><a href="User.php.html#198"><abbr title="App\Entity\User::removeProject">removeProject</abbr></a></td><td class="text-right">0%</td></tr>
<tr><td><a href="User.php.html#207"><abbr title="App\Entity\User::getAvatar">getAvatar</abbr></a></td><td class="text-right">0%</td></tr>
<tr><td><a href="User.php.html#212"><abbr title="App\Entity\User::setAvatar">setAvatar</abbr></a></td><td class="text-right">0%</td></tr>
<tr><td><a href="User.php.html#222"><abbr title="App\Entity\User::getPages">getPages</abbr></a></td><td class="text-right">0%</td></tr>
<tr><td><a href="User.php.html#227"><abbr title="App\Entity\User::addPage">addPage</abbr></a></td><td class="text-right">0%</td></tr>
<tr><td><a href="User.php.html#237"><abbr title="App\Entity\User::removePage">removePage</abbr></a></td><td class="text-right">0%</td></tr>
<tr><td><a href="User.php.html#249"><abbr title="App\Entity\User::getCreatedAt">getCreatedAt</abbr></a></td><td class="text-right">0%</td></tr>
<tr><td><a href="User.php.html#254"><abbr title="App\Entity\User::setCreatedAt">setCreatedAt</abbr></a></td><td class="text-right">0%</td></tr>
<tr><td><a href="User.php.html#261"><abbr title="App\Entity\User::getModifiedAt">getModifiedAt</abbr></a></td><td class="text-right">0%</td></tr>
<tr><td><a href="User.php.html#266"><abbr title="App\Entity\User::setModifiedAt">setModifiedAt</abbr></a></td><td class="text-right">0%</td></tr>
<tr><td><a href="User.php.html#276"><abbr title="App\Entity\User::getAvatarUri">getAvatarUri</abbr></a></td><td class="text-right">0%</td></tr>
<tr><td><a href="User.php.html#281"><abbr title="App\Entity\User::onPrePersist">onPrePersist</abbr></a></td><td class="text-right">0%</td></tr>
<tr><td><a href="User.php.html#287"><abbr title="App\Entity\User::onPreUpdate">onPreUpdate</abbr></a></td><td class="text-right">0%</td></tr>
<tr><td><a href="User.php.html#293"><abbr title="App\Entity\User::isVerified">isVerified</abbr></a></td><td class="text-right">0%</td></tr>
<tr><td><a href="User.php.html#298"><abbr title="App\Entity\User::setIsVerified">setIsVerified</abbr></a></td><td class="text-right">0%</td></tr>
<tr><td><a href="User.php.html#305"><abbr title="App\Entity\User::getAgreedTermsAt">getAgreedTermsAt</abbr></a></td><td class="text-right">0%</td></tr>
<tr><td><a href="User.php.html#310"><abbr title="App\Entity\User::agreeTerms">agreeTerms</abbr></a></td><td class="text-right">0%</td></tr>
<tr><td><a href="User.php.html#317"><abbr title="App\Entity\User::eraseCredentials">eraseCredentials</abbr></a></td><td class="text-right">0%</td></tr>
<tr><td><a href="User.php.html#322"><abbr title="App\Entity\User::getTmpAvatar">getTmpAvatar</abbr></a></td><td class="text-right">0%</td></tr>
<tr><td><a href="User.php.html#327"><abbr title="App\Entity\User::setTmpAvatar">setTmpAvatar</abbr></a></td><td class="text-right">0%</td></tr>
</tbody>
</table>
</div>
</div>
<div class="col-md-6">
<h3>Project Risks</h3>
<div class="scrollbox">
<table class="table">
<thead>
<tr>
<th>Method</th>
<th class="text-right"><abbr title="Change Risk Anti-Patterns (CRAP) Index">CRAP</abbr></th>
</tr>
</thead>
<tbody>
<tr><td><a href="User.php.html#237"><abbr title="App\Entity\User::removePage">removePage</abbr></a></td><td class="text-right">12</td></tr>
<tr><td><a href="Projects.php.html#123"><abbr title="App\Entity\Projects::addDeveloper">addDeveloper</abbr></a></td><td class="text-right">6</td></tr>
<tr><td><a href="User.php.html#188"><abbr title="App\Entity\User::addProject">addProject</abbr></a></td><td class="text-right">6</td></tr>
<tr><td><a href="User.php.html#198"><abbr title="App\Entity\User::removeProject">removeProject</abbr></a></td><td class="text-right">6</td></tr>
<tr><td><a href="User.php.html#227"><abbr title="App\Entity\User::addPage">addPage</abbr></a></td><td class="text-right">6</td></tr>
</tbody>
</table>
</div>
</div>
</div>
<footer>
<hr/>
<p>
<small>Generated by <a href="https://github.com/sebastianbergmann/php-code-coverage" target="_top">php-code-coverage 9.2.22</a> using <a href="https://secure.php.net/" target="_top">PHP 8.1.12</a> and <a href="https://phpunit.de/">PHPUnit 9.5.27</a> at Tue Dec 27 18:06:38 CET 2022.</small>
</p>
</footer>
</div>
<script src="../_js/jquery.min.js" type="text/javascript"></script>
<script src="../_js/d3.min.js" type="text/javascript"></script>
<script src="../_js/nv.d3.min.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function() {
nv.addGraph(function() {
var chart = nv.models.multiBarChart();
chart.tooltips(false)
.showControls(false)
.showLegend(false)
.reduceXTicks(false)
.staggerLabels(true)
.yAxis.tickFormat(d3.format('d'));
d3.select('#classCoverageDistribution svg')
.datum(getCoverageDistributionData([3,1,0,0,0,0,0,0,0,0,1,0], "Class Coverage"))
.transition().duration(500).call(chart);
nv.utils.windowResize(chart.update);
return chart;
});
nv.addGraph(function() {
var chart = nv.models.multiBarChart();
chart.tooltips(false)
.showControls(false)
.showLegend(false)
.reduceXTicks(false)
.staggerLabels(true)
.yAxis.tickFormat(d3.format('d'));
d3.select('#methodCoverageDistribution svg')
.datum(getCoverageDistributionData([60,0,0,0,0,0,0,0,0,0,0,15], "Method Coverage"))
.transition().duration(500).call(chart);
nv.utils.windowResize(chart.update);
return chart;
});
function getCoverageDistributionData(data, label) {
var labels = [
'0%',
'0-10%',
'10-20%',
'20-30%',
'30-40%',
'40-50%',
'50-60%',
'60-70%',
'70-80%',
'80-90%',
'90-100%',
'100%'
];
var values = [];
$.each(labels, function(key) {
values.push({x: labels[key], y: data[key]});
});
return [
{
key: label,
values: values,
color: "#4572A7"
}
];
}
nv.addGraph(function() {
var chart = nv.models.scatterChart()
.showDistX(true)
.showDistY(true)
.showLegend(false)
.forceX([0, 100]);
chart.tooltipContent(function(graph) {
return '<p>' + graph.point.class + '</p>';
});
chart.xAxis.axisLabel('Code Coverage (in percent)');
chart.yAxis.axisLabel('Cyclomatic Complexity');
d3.select('#classComplexity svg')
.datum(getComplexityData([[96.29629629629629,15,"<a href=\"Pages.php.html#10\">App\\Entity\\Pages<\/a>"],[0,17,"<a href=\"Projects.php.html#11\">App\\Entity\\Projects<\/a>"],[0,3,"<a href=\"Quotes.php.html#8\">App\\Entity\\Quotes<\/a>"],[0,3,"<a href=\"ResetPasswordRequest.php.html#10\">App\\Entity\\ResetPasswordRequest<\/a>"],[3.125,43,"<a href=\"User.php.html#16\">App\\Entity\\User<\/a>"]], 'Class Complexity'))
.transition()
.duration(500)
.call(chart);
nv.utils.windowResize(chart.update);
return chart;
});
nv.addGraph(function() {
var chart = nv.models.scatterChart()
.showDistX(true)
.showDistY(true)
.showLegend(false)
.forceX([0, 100]);
chart.tooltipContent(function(graph) {
return '<p>' + graph.point.class + '</p>';
});
chart.xAxis.axisLabel('Code Coverage (in percent)');
chart.yAxis.axisLabel('Method Complexity');
d3.select('#methodComplexity svg')
.datum(getComplexityData([[0,1,"<a href=\"Pages.php.html#38\">App\\Entity\\Pages::getId<\/a>"],[100,1,"<a href=\"Pages.php.html#43\">App\\Entity\\Pages::getName<\/a>"],[100,1,"<a href=\"Pages.php.html#48\">App\\Entity\\Pages::setName<\/a>"],[100,1,"<a href=\"Pages.php.html#55\">App\\Entity\\Pages::getContent<\/a>"],[100,1,"<a href=\"Pages.php.html#60\">App\\Entity\\Pages::setContent<\/a>"],[100,1,"<a href=\"Pages.php.html#67\">App\\Entity\\Pages::getCreatedAt<\/a>"],[100,1,"<a href=\"Pages.php.html#72\">App\\Entity\\Pages::setCreatedAt<\/a>"],[100,1,"<a href=\"Pages.php.html#79\">App\\Entity\\Pages::getModifiedAt<\/a>"],[100,1,"<a href=\"Pages.php.html#84\">App\\Entity\\Pages::setModifiedAt<\/a>"],[100,1,"<a href=\"Pages.php.html#91\">App\\Entity\\Pages::getOwner<\/a>"],[100,1,"<a href=\"Pages.php.html#96\">App\\Entity\\Pages::setOwner<\/a>"],[100,1,"<a href=\"Pages.php.html#103\">App\\Entity\\Pages::getSlug<\/a>"],[100,1,"<a href=\"Pages.php.html#108\">App\\Entity\\Pages::setSlug<\/a>"],[100,1,"<a href=\"Pages.php.html#115\">App\\Entity\\Pages::onPrePersist<\/a>"],[100,1,"<a href=\"Pages.php.html#125\">App\\Entity\\Pages::onPreUpdate<\/a>"],[0,1,"<a href=\"Projects.php.html#37\">App\\Entity\\Projects::__construct<\/a>"],[0,1,"<a href=\"Projects.php.html#45\">App\\Entity\\Projects::__toString<\/a>"],[0,1,"<a href=\"Projects.php.html#50\">App\\Entity\\Projects::getId<\/a>"],[0,1,"<a href=\"Projects.php.html#55\">App\\Entity\\Projects::getName<\/a>"],[0,1,"<a href=\"Projects.php.html#60\">App\\Entity\\Projects::setName<\/a>"],[0,1,"<a href=\"Projects.php.html#67\">App\\Entity\\Projects::getDescription<\/a>"],[0,1,"<a href=\"Projects.php.html#72\">App\\Entity\\Projects::setDescription<\/a>"],[0,1,"<a href=\"Projects.php.html#79\">App\\Entity\\Projects::getURL<\/a>"],[0,1,"<a href=\"Projects.php.html#84\">App\\Entity\\Projects::setURL<\/a>"],[0,1,"<a href=\"Projects.php.html#91\">App\\Entity\\Projects::getCreatedAt<\/a>"],[0,1,"<a href=\"Projects.php.html#96\">App\\Entity\\Projects::setCreatedAt<\/a>"],[0,1,"<a href=\"Projects.php.html#103\">App\\Entity\\Projects::getTeaserImage<\/a>"],[0,1,"<a href=\"Projects.php.html#108\">App\\Entity\\Projects::setTeaserImage<\/a>"],[0,1,"<a href=\"Projects.php.html#118\">App\\Entity\\Projects::getDeveloper<\/a>"],[0,2,"<a href=\"Projects.php.html#123\">App\\Entity\\Projects::addDeveloper<\/a>"],[0,1,"<a href=\"Projects.php.html#132\">App\\Entity\\Projects::removeDeveloper<\/a>"],[0,1,"<a href=\"Quotes.php.html#19\">App\\Entity\\Quotes::getId<\/a>"],[0,1,"<a href=\"Quotes.php.html#24\">App\\Entity\\Quotes::getQuote<\/a>"],[0,1,"<a href=\"Quotes.php.html#29\">App\\Entity\\Quotes::setQuote<\/a>"],[0,1,"<a href=\"ResetPasswordRequest.php.html#24\">App\\Entity\\ResetPasswordRequest::__construct<\/a>"],[0,1,"<a href=\"ResetPasswordRequest.php.html#30\">App\\Entity\\ResetPasswordRequest::getId<\/a>"],[0,1,"<a href=\"ResetPasswordRequest.php.html#35\">App\\Entity\\ResetPasswordRequest::getUser<\/a>"],[100,1,"<a href=\"User.php.html#70\">App\\Entity\\User::__construct<\/a>"],[0,1,"<a href=\"User.php.html#76\">App\\Entity\\User::__toString<\/a>"],[0,1,"<a href=\"User.php.html#81\">App\\Entity\\User::getId<\/a>"],[0,1,"<a href=\"User.php.html#86\">App\\Entity\\User::getUsername<\/a>"],[0,1,"<a href=\"User.php.html#91\">App\\Entity\\User::setUsername<\/a>"],[0,1,"<a href=\"User.php.html#103\">App\\Entity\\User::getUserIdentifier<\/a>"],[0,1,"<a href=\"User.php.html#111\">App\\Entity\\User::getRoles<\/a>"],[0,1,"<a href=\"User.php.html#120\">App\\Entity\\User::setRoles<\/a>"],[0,1,"<a href=\"User.php.html#130\">App\\Entity\\User::getPassword<\/a>"],[0,1,"<a href=\"User.php.html#135\">App\\Entity\\User::setPassword<\/a>"],[0,1,"<a href=\"User.php.html#143\">App\\Entity\\User::getEmail<\/a>"],[0,1,"<a href=\"User.php.html#148\">App\\Entity\\User::setEmail<\/a>"],[0,1,"<a href=\"User.php.html#156\">App\\Entity\\User::getFirstName<\/a>"],[0,1,"<a href=\"User.php.html#161\">App\\Entity\\User::setFirstName<\/a>"],[0,1,"<a href=\"User.php.html#168\">App\\Entity\\User::getLastName<\/a>"],[0,1,"<a href
.transition()
.duration(500)
.call(chart);
nv.utils.windowResize(chart.update);
return chart;
});
function getComplexityData(data, label) {
var values = [];
$.each(data, function(key) {
var value = Math.round(data[key][0]*100) / 100;
values.push({
x: value,
y: data[key][1],
class: data[key][2],
size: 0.05,
shape: 'diamond'
});
});
return [
{
key: label,
values: values,
color: "#4572A7"
}
];
}
});
</script>
</body>
</html>