I have the following defined, however the resulted plot shows date (01/01) on x axis (time axis).
I want the time axis to only show time eg 14:00
my $chart = Chart::Gnuplot->new(
output => "/home/hmadhi/workspace/CommsNet/www/Plots/$kpi.png"
+,
title => {text=>"$kpi Success Rate on $node/$ran ($interface)
+ $date",
},
xlabel => {text=>"Time",},
ylabel => "$kpi Succ_Rate",
timeaxis => "x",
);
# Create dataset object and specify the properties of the dataset
my $dataSet1 = Chart::Gnuplot::DataSet->new(
xdata => \@time,
ydata => \@succ_rate,
timefmt => '%H:%M',
);