Conditional expression

I have 2 charts where I want the 0 as not to be seen.
this is a chart above 0
transform: "return x >= 0 ? x : 0 ;"

this one is a chart below 0
transform: "return x < 0 ? x : 0;"

As told, I don’t want the 0 to be seen. How do I change the code ?