I also tried with 
EXPRESSION ([cri] != "")

I still have 4 slices...




steve.tout...@inspq.qc.ca@lists.osgeo.org 
Envoyé par : mapserver-users-boun...@lists.osgeo.org
2013-01-03 11:43

A
mapserver-users@lists.osgeo.org
cc

Objet
[mapserver-users] null value renders in pie chart









Hi, 
I created a layer that renders pie chart with 4 classes. 

The problem is some classes are render in the pie even if there is no data 
(null). That means I always have 4 slices in the pie. 
How can I remove the slices with null value? 

I tried using EXPRESSION without success. I specified > 0 since I think 
"is not null" is not supported 
CLASS 
        NAME "Cri" 
        EXPRESSION ([cri] > 0) 
        STYLE 
                SIZE [cri] 
                COLOR 215 48 39 
        END 
END

thanks for your help, 
Steve _______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users



_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to