→ 🚀What's New? Explore Lansweeper's Fall 2024 Updates! Fall Launch Blog !
‎11-11-2020 05:02 PM
Date,Total_Computers,Total_Computers_Enabled,Total_Computers_Disabled,Total_Servers,Total_Servers_Enabled,Total_Servers_Disabled,Total_Stale_Enabled_Assets_90_Days,Total_Newly_Created_24HRS
07/11/2020 12:00:00,2000,2300,100,200,140,176,22,13
08/11/2020 12:00:01,2010,2300,150,216,140,176,51,0
09/11/2020 11:13:28,2020,2301,110,219,143,176,41,4
09/11/2020 12:00:00,2000,2400,110,219,143,176,41,5
<%@ Page Language="C#" AutoEventWireup="true" Inherits="LS.BaseControl" %>
<%@ Import Namespace="System.Data" %>
<%@ Import Namespace="LS.Enums" %>
<%@ Import Namespace="LS" %>
<% Response.CacheControl = "no-cache";%>
<% Response.AddHeader("Pragma", "no-cache"); %>
<% Response.Expires = -1; %>
<% LS.User.Current().CheckUserWebsiteAccess(); %>
<script type="text/javascript" src="/WidgetsCustom/loader.js"></script>
<script src="/WidgetsCustom/jquery.csv.js"> </script>
<script type="text/javascript">
google.load('visualization', '1.0', {'packages':['corechart']});
google.setOnLoadCallback(BasicLine);
function BasicLine() {
$.get("/WidgetsCustom/ADResults.csv", function(csvString) {
var arrayData = $.csv.toArrays(csvString,
{onParseValue: $.csv.hooks.castToScalar}),
data = new google.visualization.arrayToDataTable(arrayData),
options = {
title: 'Active Directory Asset Count',
width: '100%',
height: '100%',
legend: {
position: "right",color: "#000",
fontName: "sans-serif",
fontSize: 11
},
hAxis: {
title: 'Date',
titleTextStyle: {
color: "#000",
fontName: "sans-serif",
fontSize: 16,
bold: true,
italic: false
}
},
vAxis: {scaleType: 'log',
title: 'Asset Count',
titleTextStyle: {
color: "#000",
fontName: "sans-serif",
fontSize: 16,
bold: true,
italic: false
}
},
annotations: {
alwaysOutside: true,
textStyle: {
fontSize: 14,
auraColor: 'none'
}
}
};
chart = new google.visualization
.LineChart(document.getElementById('chart_div'));
chart.draw(data, options);
},
'text');
}
</script>
<div id="chart_div" style="width: 1500px; height: 800px;"></div>
<%
;%>
</div>
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now