[Charts Mobile] [Charts Mobile] - Error when data is refreshed

Forge Component
(6)
Published on 12 Jul by OutSystems R&D
6 votes
Published on 12 Jul by OutSystems R&D

Hi all,

I'm getting an error when value from DataPoint is refreshed.

The error is: 


Somebody has an ideia to solve this?

My chart is inside a block and the refresh is executed with OnParametersChanged client action.

Thanks,

Renan Roos.

Renan, are you still having this issue? If you are, you might need to share your .oml if possible so we can have better insight into the problem.

Hanno wrote:

Renan, are you still having this issue? If you are, you might need to share your .oml if possible so we can have better insight into the problem.

Hi Hanno,


Thanks for the answer.

Yes, I still having this issue.

I can't send the .oml because I'm developing in a corporate enviroment.

In the browser console, I saw that there's a javascript error. See the image below:


Regards, 

Renan Roos.

So what that error means is that "chartdata.series[j]" does not have a "data" property or "chartdata.series[j]" is not defined, i.e. null.

I'm confused by the logic there... 

Let me try something a bit later today and I will get back to you.

Renan

I have managed to fairly easily recreate a similar error by using the Sample Data app's data and just trying to draw a chart from that.

I will dig more...

There might be the simple case of the data sets not being of the same dimensions as J mentioned here: https://www.outsystems.com/forums/discussion/41294/bar-chart-not-displaying-labels-in-the-right-order/#Post148519