Hi,
At the minute I am using a script to gather weekly SAR stats and put them into an excel scpreadsheet using perl.
I then get that spreadsheet and manually add in a chart on a new worksheet, Can i add this step into the script?
and if so how?
here is the part of my script that creates the spreadsheet
#
# Generate Excel Spreadsheet
#
my $workbook = Spreadsheet::WriteExcel->new("$filename");
my $worksheet = $workbook->add_worksheet('cpu_stats');
# Write header into worksheet
my @header = ('00:00:00','%usr','%sys','%wio','%idle');
$worksheet->write_row(0,0,\@header);
# Write data into worksheet
$worksheet->write('A2',\@data);
# Close workbook
$workbook->close;
---------- Post updated at 02:03 PM ---------- Previous update was at 02:01 PM ----------
just for reference the chart needs to be a line chart which shows each of the stats with time along the x-axis and % alonf the y-axis
That worked great, thanks:
Does anyone know if its possible to remove the markers on a line chart using perl?
and secondly my script runs on a number of servers so Im trying to get the script to name the chart with the hostname,
Here is what im doing:
Thank ive got everything sorted now except the markers,
I think they are technically called data points,
There are boxes or an 'X' at every point along the line, I want to remove these so it is
just a smooth line