Size mapfile chart element by absolute value of column value

المشرف العام

Administrator
طاقم الإدارة
I have a mapfile with pie charts of the relative proportions of a variety of parameters pulled from a table. In some cases the values are negative and I would like to make pie charts of these elements. Is there a way to tell mapserver to take the absolute value?Example:

SIZE [sumL02_-_ManagerMiddlezutility]This will query:

select "sumL01_-_ManagerSeniorzutility",...but I need:

select abs("sumL01_-_ManagerSeniorzutility"),...I can manipulate the table, but do not want to alter it to take absolute values. I just need it for the pies.



أكثر...
 
أعلى