<br><font size=2 face="sans-serif">Thanks Steve,</font>
<br><font size=2 face="sans-serif">I can't use CLASSITEM since each class
uses a different attribute</font>
<br>
<br><font size=2 face="sans-serif">I tried with these 2 regex and I still
have 4 slices.</font>
<br><font size=2 face="sans-serif">EXPRESSION ([cri] ~ '/[0-9]/')</font>
<br><font size=2 face="sans-serif">EXPRESSION ([cri] ~ '/./')<br>
</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>"Lime, Steve D (DNR)"
<Steve.Lime@state.mn.us></b> </font>
<p><font size=1 face="sans-serif">2013-01-03 12:22</font>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">A</font></div>
<td><font size=1 face="sans-serif">"Steve.Toutant@inspq.qc.ca"
<Steve.Toutant@inspq.qc.ca></font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td><font size=1 face="sans-serif">"mapserver-users@lists.osgeo.org"
<mapserver-users@lists.osgeo.org>, "mapserver-users-bounces@lists.osgeo.org"
<mapserver-users-bounces@lists.osgeo.org></font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Objet</font></div>
<td><font size=1 face="sans-serif">RE: [mapserver-users] RE  null
value renders in pie chart</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br>
<br>
<br><font size=3 color=#1f497d face="Calibri">How about using a regex instead:</font>
<br><font size=3 color=#1f497d face="Calibri"> </font>
<br><font size=3 color=#1f497d face="Calibri">CLASSITEM ‘cri’</font>
<br><font size=3 color=#1f497d face="Calibri">CLASS</font>
<br><font size=3 color=#1f497d face="Calibri">  EXPRESSION /./</font>
<br><font size=3 color=#1f497d face="Calibri">  …</font>
<br><font size=3 color=#1f497d face="Calibri">END</font>
<br><font size=3 color=#1f497d face="Calibri"> </font>
<br><font size=3 color=#1f497d face="Calibri">Steve</font>
<br><font size=3 color=#1f497d face="Calibri"> </font>
<br><font size=3 face="Tahoma"><b>From:</b> mapserver-users-bounces@lists.osgeo.org
[mailto:mapserver-users-bounces@lists.osgeo.org] <b>On Behalf Of </b>Steve.Toutant@inspq.qc.ca<b><br>
Sent:</b> Thursday, January 03, 2013 10:57 AM<b><br>
To:</b> Steve.Toutant@inspq.qc.ca<b><br>
Cc:</b> mapserver-users@lists.osgeo.org; mapserver-users-bounces@lists.osgeo.org<b><br>
Subject:</b> [mapserver-users] RE null value renders in pie chart</font>
<br><font size=3 face="Times New Roman"> </font>
<br><font size=3 face="Arial"><br>
I also tried with <br>
EXPRESSION ([cri] != "")</font><font size=3 face="Times New Roman"><br>
</font><font size=3 face="Arial"><br>
I still have 4 slices...</font><font size=3 face="Times New Roman"> </font>
<p><font size=3 face="Times New Roman"><br>
</font>
<p>
<table width=100%>
<tr valign=top>
<td width=51%><a href=mailto:Steve.Toutant@inspq.qc.ca@lists.osgeo.org><font size=3 color=blue face="Arial"><b><u>Steve.Toutant@inspq.qc.ca@lists.osgeo.org</u></b></font></a><font size=3 face="Arial">
<br>
Envoyé par : </font><a href="mailto:mapserver-users-bounces@lists.osgeo.org"><font size=3 color=blue face="Arial"><u>mapserver-users-bounces@lists.osgeo.org</u></font></a><font size=3 face="Times New Roman">
</font>
<p><font size=3 face="Arial">2013-01-03 11:43</font><font size=3 face="Times New Roman">
</font>
<td width=48%>
<br>
<table width=100%>
<tr valign=top>
<td width=10%>
<div align=right><font size=3 face="Arial">A</font></div>
<td width=89%><a href="mailto:mapserver-users@lists.osgeo.org"><font size=3 color=blue face="Arial"><u>mapserver-users@lists.osgeo.org</u></font></a><font size=3 face="Times New Roman">
</font>
<tr valign=top>
<td>
<div align=right><font size=3 face="Arial">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=3 face="Arial">Objet</font></div>
<td><font size=3 face="Arial">[mapserver-users] null value renders in pie
chart</font></table>
<br><font size=3 face="Times New Roman"> </font>
<p>
<br>
<table width=100%>
<tr valign=top>
<td width=50%>
<td width=50%></table>
<br></table>
<p><font size=3 face="Times New Roman"><br>
<br>
<br>
<br>
</font><font size=3 face="Arial"><br>
<br>
Hi,</font><font size=3 face="Times New Roman"> </font><font size=3 face="Arial"><br>
I created a layer that renders pie chart with 4 classes.</font><font size=3 face="Times New Roman">
</font><font size=3 face="Arial"><br>
<br>
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.</font><font size=3 face="Times New Roman">
</font><font size=3 face="Arial"><br>
How can I remove the slices with null value?</font><font size=3 face="Times New Roman">
</font><font size=3 face="Arial"><br>
<br>
I tried using EXPRESSION without success. I specified > 0 since I think
"is not null" is not supported</font><font size=3 face="Times New Roman">
</font><font size=3 face="Arial"><br>
CLASS</font><font size=3 face="Times New Roman"> </font><font size=3 face="Arial"><br>
       NAME "Cri"</font><font size=3 face="Times New Roman">
</font><font size=3 face="Arial"><br>
       EXPRESSION ([cri] > 0)</font><font size=3 face="Times New Roman">
</font><font size=3 face="Arial"><br>
       STYLE</font><font size=3 face="Times New Roman">
</font><font size=3 face="Arial"><br>
               SIZE [cri]</font><font size=3 face="Times New Roman">
</font><font size=3 face="Arial"><br>
               COLOR 215 48 39</font><font size=3 face="Times New Roman">
</font><font size=3 face="Arial"><br>
       END</font><font size=3 face="Times New Roman"> </font><font size=3 face="Arial"><br>
END<br>
<br>
thanks for your help,</font><font size=3 face="Times New Roman"> </font><font size=3 face="Arial"><br>
Steve</font><font size=3 face="Times New Roman"> </font><font size=3 face="Courier New">_______________________________________________<br>
mapserver-users mailing list</font><font size=3 color=blue face="Courier New"><u><br>
</u></font><a href="mailto:mapserver-users@lists.osgeo.org"><font size=3 color=blue face="Courier New"><u>mapserver-users@lists.osgeo.org</u></font></a><font size=3 color=blue face="Courier New"><u><br>
</u></font><a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users"><font size=3 color=blue face="Courier New"><u>http://lists.osgeo.org/mailman/listinfo/mapserver-users</u></font></a><font size=3 face="Times New Roman"><br>
<br>
</font>
<br>
<br>
<br>