[HighChartsComponent] Charts disappear on ajax refresh

Forge Component
(28)
Published on 2016-08-30 by J.
28 votes
Published on 2016-08-30 by J.

Hi,

I have a page where data is being fed dynamically to a set of charts. On refreshing the data set and running an ajax refresh on the charts container, all graphs disappear.

Funny enough they reappear if I resize the window or open the inspector.

What am I missing here?


Thanks in advance.

Hugo Pires wrote:

Hi,

I have a page where data is being fed dynamically to a set of charts. On refreshing the data set and running an ajax refresh on the charts container, all graphs disappear.

Funny enough they reappear if I resize the window or open the inspector.

What am I missing here?


Thanks in advance.

In case anyone out there encouters this issue, the problem is having a chart inside a container without a defined width. In this specific case I just had to remove the class OSInline from the container where the graphs were in.