Just do    value ? value : 0:

On Sat, Apr 7, 2018, 4:32 AM jeroen gees <i...@lasercontrol.be> wrote:

> Hi,
>
> I made a website where you can check measured points.
> Sometimes we are not able to do this measurement and then the value is
> empty.
> If this empty value is on the end of a session, google charts doesn't
> display (no error)
> ex. ['Session' ,'Test1','Test2'], ['1' ,0.001,0.002],['2' ,0.004,]
>
> But if the empty value is not on the end of the session there is no
> problem.
> ex. ['Session' ,'Test1','Test2'], ['1' ,0.001,0.002],['2' ,,0.004]
>
> I'm working with the current version.
>
> Can somebody help me?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Visualization API" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/30a841f3-6b9d-464a-ab16-12ce92a9cfca%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/30a841f3-6b9d-464a-ab16-12ce92a9cfca%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CA%2BXm44J8n73rqD7s%3DQbQ_QrQvK%3Dm7JBZdi-O2fR-XA6a_PWG3g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to