15
Views
4
Comments
Solved
HighChart X Axis dynamic change
Question

Hi All


I have column chart,in which the x-axis labels will change dynamically based on the filters.

Eg:When Region is selected-->Labels will be as shown in picture.

When Department is selected--> Labels will be D1,D2,D3.


When i do the change in filter, im getting the values of selected filter, but the labels are not get reflected in that chart.


But it show correct label after toggling between different container.


So i need to refresh the chart it seems, can anyone help me out how the refresh chart or particular container/not the whole page.



Rank: #12097
Solution

Prasad Rao wrote:

Hi,

Its working for me (Check the attached module). Can you upload a sample for debugging.

Regards.

 thanks for your response.


I have created two containers. Whenever change in filter, i have toggled between the container. so it get refreshed.

By refreshing it, i got the labels


 

Rank: #111

Hi,

Are you having this issue in traditional or reactive?

Regards.

Rank: #12097

hi @prasad,


Its reactive app

Rank: #111

Hi,

Its working for me (Check the attached module). Can you upload a sample for debugging.

Regards.

ChartReactive.oml