Files
Aaru/DiscImageChef.Server/Views/Stats/Index.cshtml

705 lines
37 KiB
Plaintext
Raw Normal View History

2018-12-28 14:32:41 +00:00
@using System.Collections
@using DiscImageChef.CommonTypes.Metadata
@using DiscImageChef.Server.Models
2018-12-28 02:26:33 +00:00
@using Highsoft.Web.Mvc.Charts
@using Chart = Highsoft.Web.Mvc.Charts.Chart
@using Filter = DiscImageChef.Server.Models.Filter
@{
ViewBag.Title = "DiscImageChef Statistics";
}
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta content="width=device-width, initial-scale=1.0"
name="viewport">
<title>@ViewBag.Title</title>
2018-12-28 14:32:41 +00:00
<link href="../../styles/dicserver.css"
rel="stylesheet"type="text/css" />
<link href="../../styles/dicserver_highcharts.css"
rel="stylesheet"type="text/css" />
<meta charset="utf-8" />
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async
src="https://www.googletagmanager.com/gtag/js?id=UA-111466173-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'UA-111466173-1');
</script>
2018-12-28 02:26:33 +00:00
<script src="http://code.highcharts.com/highcharts.js"></script>
<script src="https://code.highcharts.com/modules/exporting.js"></script>
</head>
<body>
2018-12-28 15:17:28 +00:00
<header>
Welcome to
<i>
<a href="http://github.com/claunia/discimagechef"
target="_blank">
DiscImageChef
</a>
</i> Server version @ViewBag.Version
2018-12-28 15:17:28 +00:00
</header>
<div class="container-fluid mt-3">
@if(ViewBag.repOperatingSystems != null)
{
2018-12-28 15:17:28 +00:00
<div class="container"
id="divOperatingSystems">
2018-12-28 15:30:23 +00:00
<div class="carousel slide"
data-ride="carousel"
id="carouselOses">
<ol class="carousel-indicators">
<li class="active"
data-slide-to="0"
data-target="#carouselOses">
</li>
<li data-slide-to="1"
data-target="#carouselOses">
</li>
<li data-slide-to="2"
data-target="#carouselOses">
</li>
<li data-slide-to="3"
data-target="#carouselOses">
</li>
</ol>
<div class="carousel-inner">
<div class="active carousel-item"
id="osChart">
</div>
<div class="carousel-item"
id="linuxChart">
</div>
<div class="carousel-item"
id="macosChart">
</div>
<div class="carousel-item"
id="windowsChart">
</div>
</div>
<a class="carousel-control-prev"
data-slide="prev"
href="#carouselOses"
role="button">
<span aria-hidden="true"
class="carousel-control-prev-icon">
</span>
<span class="sr-only">Previous</span>
</a>
<a class="carousel-control-next"
data-slide="next"
href="#carouselOses"
role="button">
<span aria-hidden="true"
class="carousel-control-next-icon">
</span>
<span class="sr-only">Next</span>
</a>
2018-12-28 02:26:33 +00:00
</div>
<div class="accordion mt-3"
id="osAccordion">
<div class="card">
<div class="card-header"
id="osHeading">
<h2 class="mb-0">
<button aria-controls="osCollapse"
aria-expanded="true"
class="btn btn-link card-button collapsed"
data-target="#osCollapse"
data-toggle="collapse"
type="button">
All operating systems DiscImageChef has run on...
</button>
</h2>
</div>
<div aria-labelledby="osHeading"
class="collapse"
data-parent="#osAccordion"
id="osCollapse">
<div class="card-body">
<table class="table-dark">
@foreach(NameValueStats os in ViewBag.repOperatingSystems)
{
<tr>
<td class="text-left">
DiscImageChef has run on <i class="table-dark-em">@os.name</i> @os.Value times.
</td>
</tr>
}
</table>
</div>
</div>
</div>
</div>
<br />
</div>
}
@if(ViewBag.repVersions != null)
{
<div class="container mt-3"
2018-12-28 15:17:28 +00:00
id="divVersions">
<div class="container"
id="versionsChart">
2018-12-28 02:26:33 +00:00
</div>
<div class="accordion mt-3"
id="versionsAccordion">
<div class="card">
<div class="card-header"
id="versionsHeading">
<h2 class="mb-0">
<button aria-controls="versionsCollapse"
aria-expanded="true"
class="btn btn-link card-button collapsed"
data-target="#versionsCollapse"
data-toggle="collapse"
type="button">
All DiscImageChef versions...
</button>
</h2>
</div>
<div aria-labelledby="versionsHeading"
class="collapse"
data-parent="#versionsAccordion"
id="versionsCollapse">
<div class="card-body">
<table class="table-dark">
@foreach(NameValueStats version in ViewBag.repVersions)
{
<tr>
<td class="text-left">
DiscImageChef version <i class="table-dark-em">@version.name</i> has been used @version.Value times.
</td>
</tr>
}
</table>
</div>
</div>
</div>
</div>
<br />
</div>
}
<div class="container mt-3"
2018-12-28 15:17:28 +00:00
id="divCommands">
<div class="container"
id="commandsChart">
2018-12-28 02:26:33 +00:00
</div>
<h4>Commands run:</h4>
<p>
<i>analyze</i> command has been run @ViewBag.lblAnalyze times<br />
<i>benchmark</i> command has been run @ViewBag.lblBenchmark times<br />
<i>checksum</i> command has been run @ViewBag.lblChecksum times<br />
<i>compare</i> command has been run @ViewBag.lblCompare times<br />
<i>convert-image</i> command has been run @ViewBag.lblConvertImage times<br />
<i>create-sidecar</i> command has been run @ViewBag.lblCreateSidecar times<br />
<i>decode</i> command has been run @ViewBag.lblDecode times<br />
<i>device-info</i> command has been run @ViewBag.lblDeviceInfo times<br />
<i>device-report</i> command has been run @ViewBag.lblDeviceReport times<br />
<i>dump-media</i> command has been run @ViewBag.lblDumpMedia times<br />
<i>entropy</i> command has been run @ViewBag.lblEntropy times<br />
<i>extract-files</i> command has been run @ViewBag.lblExtractFiles times<br />
<i>formats</i> command has been run @ViewBag.lblFormats times<br />
<i>image-info</i> command has been run @ViewBag.lblImageInfo times<br />
<i>list-devices</i> command has been run @ViewBag.lblListDevices times<br />
<i>list-encodings</i> command has been run @ViewBag.lblListEncodings times<br />
<i>ls</i> command has been run @ViewBag.lblLs times<br />
<i>media-info</i> command has been run @ViewBag.lblMediaInfo times<br />
<i>media-scan</i> command has been run @ViewBag.lblMediaScan times<br />
<i>printhex</i> command has been run @ViewBag.lblPrintHex times<br />
<i>verify</i> command has been run @ViewBag.lblVerify times
</p>
</div>
@if(ViewBag.repFilters != null)
{
<div class="container mt-3"
2018-12-28 15:17:28 +00:00
id="divFilters">
<div class="container"
id="filtersChart">
2018-12-28 02:26:33 +00:00
</div>
<div class="accordion mt-3"
id="filtersAccordion">
<div class="card">
<div class="card-header"
id="filtersHeading">
<h2 class="mb-0">
<button aria-controls="filtersCollapse"
aria-expanded="true"
class="btn btn-link card-button collapsed"
data-target="#filtersCollapse"
data-toggle="collapse"
type="button">
All filters found...
</button>
</h2>
</div>
<div aria-labelledby="filtersHeading"
class="collapse"
data-parent="#filtersAccordion"
id="filtersCollapse">
<div class="card-body">
<table class="table-bordered table-centered table-dark table-striped">
<tr>
<th class="table-dark-header">Filter</th>
<th class="table-dark-header">Times</th>
</tr>
@foreach(Filter filter in ViewBag.repFilters)
{
<tr>
<td class="text-right">
@filter.Name
</td>
<td class="text-left">
@($"{filter.Count}")
</td>
</tr>
}
</table>
</div>
</div>
</div>
</div>
</div>
}
@if(ViewBag.repMediaImages != null)
{
<div class="container mt-3"
2018-12-28 15:17:28 +00:00
id="divMediaImages">
<div class="container"
id="formatsChart">
2018-12-28 02:26:33 +00:00
</div>
<div class="accordion mt-3"
id="formatsAccordion">
<div class="card">
<div class="card-header"
id="formatsHeading">
<h2 class="mb-0">
<button aria-controls="formatsCollapse"
aria-expanded="true"
class="btn btn-link card-button collapsed"
data-target="#formatsCollapse"
data-toggle="collapse"
type="button">
All media image formats found...
</button>
</h2>
</div>
<div aria-labelledby="formatsHeading"
class="collapse"
data-parent="#formatsAccordion"
id="formatsCollapse">
<div class="card-body">
<table class="table-bordered table-centered table-dark table-striped">
<tr>
<th class="table-dark-header">Media image format</th>
<th class="table-dark-header">Times</th>
</tr>
@foreach(MediaFormat format in ViewBag.repMediaImages)
{
<tr>
<td class="text-left">
@format.Name
</td>
<td class="text-left">
@($"{format.Count}")
</td>
</tr>
}
</table>
</div>
</div>
</div>
</div>
</div>
}
@if(ViewBag.repPartitions != null)
{
<div class="container mt-3"
2018-12-28 15:17:28 +00:00
id="divPartitions">
<div class="container"
id="partitionsChart">
2018-12-28 02:26:33 +00:00
</div>
<div class="accordion mt-3"
id="partitionsAccordion">
<div class="card">
<div class="card-header"
id="partitionsHeading">
<h2 class="mb-0">
<button aria-controls="partitionsCollapse"
aria-expanded="true"
class="btn btn-link card-button collapsed"
data-target="#partitionsCollapse"
data-toggle="collapse"
type="button">
All partitioning schemes found...
</button>
</h2>
</div>
<div aria-labelledby="partitionsHeading"
class="collapse"
data-parent="#partitionsAccordion"
id="partitionsCollapse">
<div class="card-body">
<table class="table-bordered table-centered table-dark table-striped">
<tr>
<th class="table-dark-header">Partitioning scheme</th>
<th class="table-dark-header">Times</th>
</tr>
@foreach(Partition partition in ViewBag.repPartitions)
{
<tr>
<td class="text-left">
@partition.Name
</td>
<td class="text-left">
@($"{partition.Count}")
</td>
</tr>
}
</table>
</div>
</div>
</div>
</div>
</div>
}
@if(ViewBag.repFilesystems != null)
{
<div class="container mt-3"
2018-12-28 15:17:28 +00:00
id="divFilesystems">
<div class="container"
id="filesystemsChart">
2018-12-28 02:26:33 +00:00
</div>
<div class="accordion mt-3"
id="filesystemsAccordion">
<div class="card">
<div class="card-header"
id="filesystemsHeading">
<h2 class="mb-0">
<button aria-controls="filesystemsCollapse"
aria-expanded="true"
class="btn btn-link card-button collapsed"
data-target="#filesystemsCollapse"
data-toggle="collapse"
type="button">
All filesystems found...
</button>
</h2>
</div>
<div aria-labelledby="filesystemsHeading"
class="collapse"
data-parent="#filesystemsAccordion"
id="filesystemsCollapse">
<div class="card-body">
<table class="table-bordered table-centered table-dark table-striped">
<tr>
<th class="table-dark-header">Filesystem name</th>
<th class="table-dark-header">Times</th>
</tr>
@foreach(Filesystem filesystem in ViewBag.repFilesystems)
{
<tr>
<td class="text-left">
@filesystem.Name
</td>
<td class="text-left">
@($"{filesystem.Count}")
</td>
</tr>
}
</table>
</div>
</div>
</div>
</div>
</div>
}
@if(ViewBag.repVirtualMedia != null)
{
<div class="container mt-3"
2018-12-28 15:17:28 +00:00
id="divVirtualMedia">
<div class="container"
id="virtualMediaChart">
2018-12-28 02:26:33 +00:00
</div>
<div class="accordion mt-3"
id="virtualMediaAccordion">
<div class="card">
<div class="card-header"
id="virtualMediaHeading">
<h2 class="mb-0">
<button aria-controls="virtualMediaCollapse"
aria-expanded="true"
class="btn btn-link card-button collapsed"
data-target="#virtualMediaCollapse"
data-toggle="collapse"
type="button">
All media types found in images...
</button>
</h2>
</div>
<div aria-labelledby="virtualMediaHeading"
class="collapse"
data-parent="#virtualMediaAccordion"
id="virtualMediaCollapse">
<div class="card-body">
<table class="table-bordered table-centered table-dark table-striped">
<tr>
<th class="table-dark-header">Physical type</th>
<th class="table-dark-header">Logical type</th>
<th class="table-dark-header">Times</th>
</tr>
@foreach(MediaItem media in ViewBag.repVirtualMedia)
{
<tr>
<td class="text-left">
@media.Type
</td>
<td class="text-left">
@media.SubType
</td>
<td class="text-left">
@($"{media.Count}")
</td>
</tr>
}
</table>
</div>
</div>
</div>
</div>
</div>
}
@if(ViewBag.repRealMedia != null)
{
<div class="container mt-3"
2018-12-28 15:17:28 +00:00
id="divRealMedia">
<div class="container"
id="realMediaChart">
2018-12-28 02:26:33 +00:00
</div>
<div class="accordion mt-3"
id="realMediaAccordion">
<div class="card">
<div class="card-header"
id="realMediaHeading">
<h2 class="mb-0">
<button aria-controls="realMediaCollapse"
aria-expanded="true"
class="btn btn-link card-button collapsed"
data-target="#realMediaCollapse"
data-toggle="collapse"
type="button">
All media types found in devices...
</button>
</h2>
</div>
<div aria-labelledby="realMediaHeading"
class="collapse"
data-parent="#realMediaAccordion"
id="realMediaCollapse">
<div class="card-body">
<table class="table-bordered table-centered table-dark table-striped">
<tr>
<th class="table-dark-header">Physical type</th>
<th class="table-dark-header">Logical type</th>
<th class="table-dark-header">Times</th>
</tr>
@foreach(MediaItem media in ViewBag.repRealMedia)
{
<tr>
<td class="text-left">
@media.Type
</td>
<td class="text-left">
@media.SubType
</td>
<td class="text-left">
@($"{media.Count}")
</td>
</tr>
}
</table>
</div>
</div>
</div>
</div>
</div>
}
@if(ViewBag.repDevices != null)
{
<div class="container mt-3"
2018-12-28 15:17:28 +00:00
id="divDevices">
2018-12-28 15:30:23 +00:00
<div class="carousel slide"
data-ride="carousel"
id="carouselDevices">
<ol class="carousel-indicators">
<li class="active"
data-slide-to="0"
data-target="#carouselDevices">
</li>
<li data-slide-to="1"
data-target="#carouselDevices">
</li>
<li data-slide-to="2"
data-target="#carouselDevices">
</li>
<li data-slide-to="3"
data-target="#carouselDevices">
</li>
</ol>
<div class="carousel-inner">
<div class="active carousel-item"
id="devicesBusChart">
</div>
<div class="carousel-item"
id="devicesManufacturerChart">
</div>
</div>
<a class="carousel-control-prev"
data-slide="prev"
href="#carouselDevices"
role="button">
<span aria-hidden="true"
class="carousel-control-prev-icon">
</span>
<span class="sr-only">Previous</span>
</a>
<a class="carousel-control-next"
data-slide="next"
href="#carouselDevices"
role="button">
<span aria-hidden="true"
class="carousel-control-next-icon">
</span>
<span class="sr-only">Next</span>
</a>
2018-12-28 02:26:33 +00:00
</div>
<div class="card mt-3">
<div class="card-header">
<h2 class="mb-0">
<h2 class="card-button mb-0">
All devices found...
</h2>
</h2>
</div>
<div class="card-body">
<table class="table-bordered table-centered table-dark table-striped">
<tr>
<th class="table-dark-header">Manufacturer</th>
<th class="table-dark-header">Model</th>
<th class="table-dark-header">Revision</th>
<th class="table-dark-header">Bus</th>
<th class="table-dark-header">Report</th>
</tr>
@foreach(DeviceItem device in ViewBag.repDevices)
{
<tr>
<td>
@device.Manufacturer
</td>
<td>
@device.Model
</td>
<td>
@device.Revision
</td>
<td>
@device.Bus
</td>
<td>
@if(device.ReportId != 0)
{
<text>@Html.ActionLink("Yes", "View", "Report", new {id = device.ReportId}, new {target = "_blank"})</text>
}
else
{ <text>No</text> }
</td>
</tr>
}
</table>
</div>
</div>
</div>
}
</div>
<hr />
<footer class="container-fluid mt-3">
© 2011-2018
<a href="http://www.claunia.com"
target="_blank">
Claunia.com
</a><br />
Fonts are © 2015-2016
<a href="http://int10h.org"
target="_blank">
VileR
</a><br />
2018-12-28 14:32:41 +00:00
CSS © 2018
<a href="https://getbootstrap.com/"
target="_blank">
2018-12-28 14:32:41 +00:00
Bootstrap
</a> and
<a href="http://www.claunia.com"
target="_blank">
Claunia.com
</a>
</footer>
2018-12-28 14:32:41 +00:00
<script crossorigin="anonymous"
integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
src="https://code.jquery.com/jquery-3.3.1.slim.min.js"></script>
<script crossorigin="anonymous"
integrity="sha384-wHAiFfRlMFy6i5SRaxvfOCifBUQy1xHdJ/yoi7FRNXMRBu5WHdZYu1hA6ZOblgut"
src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.6/umd/popper.min.js"></script>
<script crossorigin="anonymous"
integrity="sha384-B0UglyR+jN6CkvvICOB2joaf5I4l3gm9GU6Hc1og6Ls7i6U/mkkaduKaBhlAXv9k"
src="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/js/bootstrap.min.js"></script>
</body>
2018-12-28 02:26:33 +00:00
</html>
2018-12-28 14:32:41 +00:00
@{
string highChartsTitleColor = "#AAAAAA";
string highChartsDataLabelColor = "#FFFFFF";
Hashtable highChartsTitleStyle = new Hashtable {{"color", highChartsTitleColor}};
PlotOptionsPieDataLabelsStyle highChartsDataLabelStyle = new PlotOptionsPieDataLabelsStyle {Color = highChartsDataLabelColor, TextOutline = "0px"};
2018-12-28 02:26:33 +00:00
2018-12-28 14:32:41 +00:00
@(Html.Highsoft().GetHighcharts(new Highcharts {Chart = new Chart {PlotBackgroundColor = null, PlotBorderWidth = null, PlotShadow = new Shadow {Enabled = true}}, Title = new Title {Text = "Operating system usage", Style = highChartsTitleStyle}, Tooltip = new Tooltip {PointFormat = "{series.name}: <b>{point.percentage:.1f}%</b>"}, PlotOptions = new PlotOptions {Pie = new PlotOptionsPie {AllowPointSelect = true, Cursor = PlotOptionsPieCursor.Pointer, DataLabels = new PlotOptionsPieDataLabels {Style = highChartsDataLabelStyle, Enabled = true, Format = "<b>{point.name}</b>: {point.percentage:.1f} %"}}}, Series = new List<Series> {new PieSeries {Name = "Percentage:", Data = ViewData["osPieData"] as List<PieSeriesData>}}}, "osChart", false))
2018-12-28 02:26:33 +00:00
2018-12-28 14:32:41 +00:00
@(Html.Highsoft().GetHighcharts(new Highcharts {Chart = new Chart {PlotBackgroundColor = null, PlotBorderWidth = null, PlotShadow = new Shadow {Enabled = true}}, Title = new Title {Text = "Linux versions", Style = highChartsTitleStyle}, Tooltip = new Tooltip {PointFormat = "{series.name}: <b>{point.percentage:.1f}%</b>"}, PlotOptions = new PlotOptions {Pie = new PlotOptionsPie {AllowPointSelect = true, Cursor = PlotOptionsPieCursor.Pointer, DataLabels = new PlotOptionsPieDataLabels {Style = highChartsDataLabelStyle, Enabled = true, Format = "<b>{point.name}</b>: {point.percentage:.1f} %"}}}, Series = new List<Series> {new PieSeries {Name = "Percentage:", Data = ViewData["linuxPieData"] as List<PieSeriesData>}}}, "linuxChart", false))
2018-12-28 02:26:33 +00:00
2018-12-28 14:32:41 +00:00
@(Html.Highsoft().GetHighcharts(new Highcharts {Chart = new Chart {PlotBackgroundColor = null, PlotBorderWidth = null, PlotShadow = new Shadow {Enabled = true}}, Title = new Title {Text = "macOS versions", Style = highChartsTitleStyle}, Tooltip = new Tooltip {PointFormat = "{series.name}: <b>{point.percentage:.1f}%</b>"}, PlotOptions = new PlotOptions {Pie = new PlotOptionsPie {AllowPointSelect = true, Cursor = PlotOptionsPieCursor.Pointer, DataLabels = new PlotOptionsPieDataLabels {Style = highChartsDataLabelStyle, Enabled = true, Format = "<b>{point.name}</b>: {point.percentage:.1f} %"}}}, Series = new List<Series> {new PieSeries {Name = "Percentage:", Data = ViewData["macosPieData"] as List<PieSeriesData>}}}, "macosChart", false))
2018-12-28 02:26:33 +00:00
2018-12-28 14:32:41 +00:00
@(Html.Highsoft().GetHighcharts(new Highcharts {Chart = new Chart {PlotBackgroundColor = null, PlotBorderWidth = null, PlotShadow = new Shadow {Enabled = true}}, Title = new Title {Text = "Windows versions", Style = highChartsTitleStyle}, Tooltip = new Tooltip {PointFormat = "{series.name}: <b>{point.percentage:.1f}%</b>"}, PlotOptions = new PlotOptions {Pie = new PlotOptionsPie {AllowPointSelect = true, Cursor = PlotOptionsPieCursor.Pointer, DataLabels = new PlotOptionsPieDataLabels {Style = highChartsDataLabelStyle, Enabled = true, Format = "<b>{point.name}</b>: {point.percentage:.1f} %"}}}, Series = new List<Series> {new PieSeries {Name = "Percentage:", Data = ViewData["windowsPieData"] as List<PieSeriesData>}}}, "windowsChart", false))
2018-12-28 02:26:33 +00:00
2018-12-28 14:32:41 +00:00
@(Html.Highsoft().GetHighcharts(new Highcharts {Chart = new Chart {PlotBackgroundColor = null, PlotBorderWidth = null, PlotShadow = new Shadow {Enabled = true}}, Title = new Title {Text = "DiscImageChef versions", Style = highChartsTitleStyle}, Tooltip = new Tooltip {PointFormat = "{series.name}: <b>{point.percentage:.1f}%</b>"}, PlotOptions = new PlotOptions {Pie = new PlotOptionsPie {AllowPointSelect = true, Cursor = PlotOptionsPieCursor.Pointer, DataLabels = new PlotOptionsPieDataLabels {Style = highChartsDataLabelStyle, Enabled = true, Format = "<b>{point.name}</b>: {point.percentage:.1f} %"}}}, Series = new List<Series> {new PieSeries {Name = "Percentage:", Data = ViewData["versionsPieData"] as List<PieSeriesData>}}}, "versionsChart", false))
2018-12-28 02:26:33 +00:00
2018-12-28 14:32:41 +00:00
@(Html.Highsoft().GetHighcharts(new Highcharts {Chart = new Chart {PlotBackgroundColor = null, PlotBorderWidth = null, PlotShadow = new Shadow {Enabled = true}}, Title = new Title {Text = "Commands run", Style = highChartsTitleStyle}, Tooltip = new Tooltip {PointFormat = "{series.name}: <b>{point.percentage:.1f}%</b>"}, PlotOptions = new PlotOptions {Pie = new PlotOptionsPie {AllowPointSelect = true, Cursor = PlotOptionsPieCursor.Pointer, DataLabels = new PlotOptionsPieDataLabels {Style = highChartsDataLabelStyle, Enabled = true, Format = "<b>{point.name}</b>: {point.percentage:.1f} %"}}}, Series = new List<Series> {new PieSeries {Name = "Percentage:", Data = ViewData["commandsPieData"] as List<PieSeriesData>}}}, "commandsChart", false))
2018-12-28 02:26:33 +00:00
2018-12-28 14:32:41 +00:00
@(Html.Highsoft().GetHighcharts(new Highcharts {Chart = new Chart {PlotBackgroundColor = null, PlotBorderWidth = null, PlotShadow = new Shadow {Enabled = true}}, Title = new Title {Text = "Filters found", Style = highChartsTitleStyle}, Tooltip = new Tooltip {PointFormat = "{series.name}: <b>{point.percentage:.1f}%</b>"}, PlotOptions = new PlotOptions {Pie = new PlotOptionsPie {AllowPointSelect = true, Cursor = PlotOptionsPieCursor.Pointer, DataLabels = new PlotOptionsPieDataLabels {Style = highChartsDataLabelStyle, Enabled = true, Format = "<b>{point.name}</b>: {point.percentage:.1f} %"}}}, Series = new List<Series> {new PieSeries {Name = "Percentage:", Data = ViewData["filtersPieData"] as List<PieSeriesData>}}}, "filtersChart", false))
2018-12-28 02:26:33 +00:00
2018-12-28 14:32:41 +00:00
@(Html.Highsoft().GetHighcharts(new Highcharts {Chart = new Chart {PlotBackgroundColor = null, PlotBorderWidth = null, PlotShadow = new Shadow {Enabled = true}}, Title = new Title {Text = "Top 10 media image formats found", Style = highChartsTitleStyle}, Tooltip = new Tooltip {PointFormat = "{series.name}: <b>{point.percentage:.1f}%</b>"}, PlotOptions = new PlotOptions {Pie = new PlotOptionsPie {AllowPointSelect = true, Cursor = PlotOptionsPieCursor.Pointer, DataLabels = new PlotOptionsPieDataLabels {Style = highChartsDataLabelStyle, Enabled = true, Format = "<b>{point.name}</b>: {point.percentage:.1f} %"}}}, Series = new List<Series> {new PieSeries {Name = "Percentage:", Data = ViewData["formatsPieData"] as List<PieSeriesData>}}}, "formatsChart", false))
2018-12-28 02:26:33 +00:00
2018-12-28 14:32:41 +00:00
@(Html.Highsoft().GetHighcharts(new Highcharts {Chart = new Chart {PlotBackgroundColor = null, PlotBorderWidth = null, PlotShadow = new Shadow {Enabled = true}}, Title = new Title {Text = "Top 10 partitioning schemes found", Style = highChartsTitleStyle}, Tooltip = new Tooltip {PointFormat = "{series.name}: <b>{point.percentage:.1f}%</b>"}, PlotOptions = new PlotOptions {Pie = new PlotOptionsPie {AllowPointSelect = true, Cursor = PlotOptionsPieCursor.Pointer, DataLabels = new PlotOptionsPieDataLabels {Style = highChartsDataLabelStyle, Enabled = true, Format = "<b>{point.name}</b>: {point.percentage:.1f} %"}}}, Series = new List<Series> {new PieSeries {Name = "Percentage:", Data = ViewData["partitionsPieData"] as List<PieSeriesData>}}}, "partitionsChart", false))
2018-12-28 02:26:33 +00:00
2018-12-28 14:32:41 +00:00
@(Html.Highsoft().GetHighcharts(new Highcharts {Chart = new Chart {PlotBackgroundColor = null, PlotBorderWidth = null, PlotShadow = new Shadow {Enabled = true}}, Title = new Title {Text = "Top 10 filesystems found", Style = highChartsTitleStyle}, Tooltip = new Tooltip {PointFormat = "{series.name}: <b>{point.percentage:.1f}%</b>"}, PlotOptions = new PlotOptions {Pie = new PlotOptionsPie {AllowPointSelect = true, Cursor = PlotOptionsPieCursor.Pointer, DataLabels = new PlotOptionsPieDataLabels {Style = highChartsDataLabelStyle, Enabled = true, Format = "<b>{point.name}</b>: {point.percentage:.1f} %"}}}, Series = new List<Series> {new PieSeries {Name = "Percentage:", Data = ViewData["filesystemsPieData"] as List<PieSeriesData>}}}, "filesystemsChart", false))
2018-12-28 02:26:33 +00:00
2018-12-28 14:32:41 +00:00
@(Html.Highsoft().GetHighcharts(new Highcharts {Chart = new Chart {PlotBackgroundColor = null, PlotBorderWidth = null, PlotShadow = new Shadow {Enabled = true}}, Title = new Title {Text = "Top 10 media types found in images", Style = highChartsTitleStyle}, Tooltip = new Tooltip {PointFormat = "{series.name}: <b>{point.percentage:.1f}%</b>"}, PlotOptions = new PlotOptions {Pie = new PlotOptionsPie {AllowPointSelect = true, Cursor = PlotOptionsPieCursor.Pointer, DataLabels = new PlotOptionsPieDataLabels {Style = highChartsDataLabelStyle, Enabled = true, Format = "<b>{point.name}</b>: {point.percentage:.1f} %"}}}, Series = new List<Series> {new PieSeries {Name = "Percentage:", Data = ViewData["virtualMediaPieData"] as List<PieSeriesData>}}}, "virtualMediaChart", false))
2018-12-28 02:26:33 +00:00
2018-12-28 14:32:41 +00:00
@(Html.Highsoft().GetHighcharts(new Highcharts {Chart = new Chart {PlotBackgroundColor = null, PlotBorderWidth = null, PlotShadow = new Shadow {Enabled = true}}, Title = new Title {Text = "Top 10 media types found in real devices", Style = highChartsTitleStyle}, Tooltip = new Tooltip {PointFormat = "{series.name}: <b>{point.percentage:.1f}%</b>"}, PlotOptions = new PlotOptions {Pie = new PlotOptionsPie {AllowPointSelect = true, Cursor = PlotOptionsPieCursor.Pointer, DataLabels = new PlotOptionsPieDataLabels {Style = highChartsDataLabelStyle, Enabled = true, Format = "<b>{point.name}</b>: {point.percentage:.1f} %"}}}, Series = new List<Series> {new PieSeries {Name = "Percentage:", Data = ViewData["realMediaPieData"] as List<PieSeriesData>}}}, "realMediaChart", false))
2018-12-28 02:26:33 +00:00
2018-12-28 14:32:41 +00:00
@(Html.Highsoft().GetHighcharts(new Highcharts {Chart = new Chart {PlotBackgroundColor = null, PlotBorderWidth = null, PlotShadow = new Shadow {Enabled = true}}, Title = new Title {Text = "Devices found by bus", Style = highChartsTitleStyle}, Tooltip = new Tooltip {PointFormat = "{series.name}: <b>{point.percentage:.1f}%</b>"}, PlotOptions = new PlotOptions {Pie = new PlotOptionsPie {AllowPointSelect = true, Cursor = PlotOptionsPieCursor.Pointer, DataLabels = new PlotOptionsPieDataLabels {Style = highChartsDataLabelStyle, Enabled = true, Format = "<b>{point.name}</b>: {point.percentage:.1f} %"}}}, Series = new List<Series> {new PieSeries {Name = "Percentage:", Data = ViewData["devicesBusPieData"] as List<PieSeriesData>}}}, "devicesBusChart", false))
2018-12-28 02:26:33 +00:00
2018-12-28 23:30:52 +00:00
@(Html.Highsoft().GetHighcharts(new Highcharts {Chart = new Chart {PlotBackgroundColor = null, PlotBorderWidth = null, PlotShadow = new Shadow {Enabled = true}}, Title = new Title {Text = "Devices found by manufacturer", Style = highChartsTitleStyle}, Tooltip = new Tooltip {PointFormat = "{series.name}: <b>{point.percentage:.1f}%</b>"}, PlotOptions = new PlotOptions {Pie = new PlotOptionsPie {AllowPointSelect = true, Cursor = PlotOptionsPieCursor.Pointer, DataLabels = new PlotOptionsPieDataLabels {Style = highChartsDataLabelStyle, Enabled = true, Format = "<b>{point.name}</b>: {point.percentage:.1f} %"}}}, Series = new List<Series> {new PieSeries {Name = "Percentage:", Data = ViewData["devicesManufacturerPieData"] as List<PieSeriesData>}}}, "devicesManufacturerChart", false))
2018-12-28 14:32:41 +00:00
}