Cannot read property 'pe' of null

33 views
Skip to first unread message

John Clark

unread,
Oct 4, 2018, 11:02:47 AM10/4/18
to Google Visualization API
I'm getting this error when rendering a histogram with only one value. Oddly, it works fine (and has for some time) with more than one value. The results are coming from a database so I don't know what to expect and usually involve multiple values, so it isn't a problem. Since the message is vague, I'm not sure how to fix it. Anyone?

Detlef Demeter

unread,
Oct 5, 2018, 5:40:28 AM10/5/18
to Google Visualization API
I have the same issue, but with multiple values, when they are identical. For Example my value array looks like [9,9,9,9,9].

John Clark

unread,
Oct 5, 2018, 9:09:33 AM10/5/18
to Google Visualization API
Detlef,

I have seen that with identical values, too - not always. ???

Daniel LaLiberte

unread,
Oct 5, 2018, 9:42:08 AM10/5/18
to Google Visualization API
I'm not seeing a problem with either a single row or just two rows with identical domain values.  Maybe the problem involves some other options. Can you build a jsfiddle that demonstrates the problem?

--
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-visualizati...@googlegroups.com.
To post to this group, send email to google-visua...@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/5f718226-8521-4c5f-88ce-5a6c503cf9c4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--

John Clark

unread,
Oct 5, 2018, 1:38:01 PM10/5/18
to Google Visualization API
Thanks, Daniel.

Here is a jsfiddle that throws the error: https://jsfiddle.net/jm_clark/t9wchx2f/

and here is one that is almost identical (just a few more values) that loads just fine: https://jsfiddle.net/jm_clark/1qx9rc6a/2/ 

Any advice is appreciated.


On Friday, October 5, 2018 at 9:42:08 AM UTC-4, Daniel LaLiberte wrote:
I'm not seeing a problem with either a single row or just two rows with identical domain values.  Maybe the problem involves some other options. Can you build a jsfiddle that demonstrates the problem?

On Fri, Oct 5, 2018 at 9:09 AM John Clark <m...@jmclark.net> wrote:
Detlef,

I have seen that with identical values, too - not always. ???

On Friday, October 5, 2018 at 5:40:28 AM UTC-4, Detlef Demeter wrote:
I have the same issue, but with multiple values, when they are identical. For Example my value array looks like [9,9,9,9,9].

On Thursday, October 4, 2018 at 5:02:47 PM UTC+2, John Clark wrote:
I'm getting this error when rendering a histogram with only one value. Oddly, it works fine (and has for some time) with more than one value. The results are coming from a database so I don't know what to expect and usually involve multiple values, so it isn't a problem. Since the message is vague, I'm not sure how to fix it. Anyone?

--
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+unsub...@googlegroups.com.

Daniel LaLiberte

unread,
Oct 5, 2018, 4:45:01 PM10/5/18
to Google Visualization API
Thanks.  I was missing that the have only one resulting bucket.  I thought it was only one domain value in your datatable.  There are actually two problems here, both of which I have fixed.  

I am debating now whether to push out an update to v46, probably Monday.   This will also include several fixes to problems with the date-time axis generation that people have reported.  

On Fri, Oct 5, 2018 at 1:38 PM John Clark <m...@jmclark.net> wrote:
Thanks, Daniel.

Here is a jsfiddle that throws the error: https://jsfiddle.net/jm_clark/t9wchx2f/

and here is one that is almost identical (just a few more values) that loads just fine: https://jsfiddle.net/jm_clark/1qx9rc6a/2/ 

Any advice is appreciated.


On Friday, October 5, 2018 at 9:42:08 AM UTC-4, Daniel LaLiberte wrote:
I'm not seeing a problem with either a single row or just two rows with identical domain values.  Maybe the problem involves some other options. Can you build a jsfiddle that demonstrates the problem?

On Fri, Oct 5, 2018 at 9:09 AM John Clark <m...@jmclark.net> wrote:
Detlef,

I have seen that with identical values, too - not always. ???

On Friday, October 5, 2018 at 5:40:28 AM UTC-4, Detlef Demeter wrote:
I have the same issue, but with multiple values, when they are identical. For Example my value array looks like [9,9,9,9,9].

On Thursday, October 4, 2018 at 5:02:47 PM UTC+2, John Clark wrote:
I'm getting this error when rendering a histogram with only one value. Oddly, it works fine (and has for some time) with more than one value. The results are coming from a database so I don't know what to expect and usually involve multiple values, so it isn't a problem. Since the message is vague, I'm not sure how to fix it. Anyone?

--
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-visualizati...@googlegroups.com.

--
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-visualizati...@googlegroups.com.

To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.

For more options, visit https://groups.google.com/d/optout.


--
Reply all
Reply to author
Forward
0 new messages