diff --git a/dabo/functions/genchart.sh b/dabo/functions/genchart.sh
index 3df1687..9ff75b6 100644
--- a/dabo/functions/genchart.sh
+++ b/dabo/functions/genchart.sh
@@ -49,11 +49,12 @@ function genchart {
do
linecolor=$(echo "$colors" | cut -d, -f${fieldnum})
linename=$(cat ${g_tmp}/g_genchart_headline | cut -d, -f${fieldnum} | tr [:lower:] [:upper:])
+ linelastvalue=$(tail -n1 ${g_tmp}/g_genchart_data | cut -d, -f${fieldnum})
if [ ${fieldnum} -eq 1 ]
then
- echo "${linename}
"
+ echo "
${linename} (${linelastvalue})
" else - echo "${linename}${linename} (${linelastvalue})
" fi >>${g_tmp}/g_genchart/legend local linenum=1 for line in $(cat ${g_tmp}/g_genchart_data) diff --git a/dabo/functions/webpage.sh b/dabo/functions/webpage.sh index 0f7d376..b7ab9b1 100644 --- a/dabo/functions/webpage.sh +++ b/dabo/functions/webpage.sh @@ -266,7 +266,7 @@ function webpage {