49
Views
1
Comments
[HighChartsComponent] Charts disappear on ajax refresh
Question
highchartscomponent
Web icon
Forge asset by The 2 J's

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.

UserImage.jpg
Hugo Pires

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.


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.