Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
20
Problem loading multiple Charts in multiple Divs
posted

Good day, my problem is that I have an application with VS, C # and MVC 4. I'm trying to load different charts one for each div I have, I'm trying to do with the sigueinte javaScript way:

$("#ChartColumn").load("<%= Url.Action("ChartColumn","Indicador") %>?pstrIdDepto=" + 1);
$("#ChartProduccion").load("<%= Url.Action("ChartColumn","Indicador") %>?pstrIdDepto=" + 1);


After the description go to the problem, which is that you are loading all divs to do. Load, loading one, two, or three, indifferently and not always the same, the only thing that is always loaded first.

Can you give me a help with this?

Parents
No Data
Reply Children
No Data