#!/bin/bash DIR=`dirname $0` if [ $# != 2 ]; then echo "You must specify the path to the chart.pl script and the Chart Directory libraries." exit 1 fi SCRIPT="$1 --legend-position=right" LIBRARIES=$2 export PERL5LIB=$LIBRARIES pushd $DIR > /dev/null $SCRIPT -s bar --title "01 sample-percentages" -x "Samples" -y "% Samples" --y-range=0:101 $SCRIPT -s bar --title "02 sample-counts" -x "Samples" -y "# Samples" $SCRIPT -s bar --title "11 app-percentages" -x "Apps" -y "% Apps" --y-range=0:101 $SCRIPT -s bar --title "12 app-counts" -x "Apps" -y "# Apps" echo -e "\n
\n