-
PedroFerrJune 5, 2017 at 2:32 pm #8005
Hi Tom! Thnks for the quick reply!
Well…. things are a bit sunny.
If you instantiate Mobile App first, before Radial Progress… you’re almos there.Let me start from the beginning.
First thing I had Radial Progress running smooth as a baby.
These are the needed files/libraries to load:<!-- Vizuly RADIAL CORE files: --> <!-- --> <script src="js/home_graph_d3.min.js"></script> <!-- --> <!-- --> <script src="js/home_graph_vizuly_core.min.js"></script> <!-- --> <!-- Vizuly RADIAL lib files: --> <script src="js/home_graph_vizuly_radialprogress.min.js"></script> <!-- Application of Vizuly lib into this home page: --> <script src="js/home_graph_radialprogress_test.js"></script>
Then I got a crush on Mobile App and bought it! Great stuff!
So, as I wanted to use it on the saem HTML page where Radial Progress is, I added the “new” libraries to be loaded:<!-- Vizuly APP-DEMO CORE files: --> <!-- --> <script src="js/home_graph_vizuly_mobile-app_LIBS/d3.min_04_30_15.js"></script> <!-- --> <!-- --> <script src="js/home_graph_vizuly_mobile-app_LIBS/vizuly_core.min.js"></script> <!-- --> <!-- Vizuly APP-DEMO lib files: --> <!-- debug source scripts: start --> <script src="js/home_graph_vizuly_mobile-app_scroller.js"></script> <script src="js/home_graph_vizuly_mobile-app_pop_menu.js"></script> <script src="js/home_graph_vizuly_mobile-app_linearea_mobile_theme.js"></script> <script src="js/home_graph_vizuly_mobile-app_linearea_mobile.js"></script> <script src="js/home_graph_vizuly_mobile-app_main.js"></script> <script src="js/home_graph_vizuly_mobile-app_measure.js"></script> <!-- debug source scripts: end --> <script> window.onload = function (e) { // Check to see whether we are on a mobile display mobile = isMobile(); .... </script>
And there’s a lot of conflicts, particularly when “update” functions are called here:
// Main update routine function update() { zoom.size([listWidth,listHeight]); //updateHeader(); //updateScroller(); //updateCharts(); //updateLabels(); }
@ “… mobile-app_main.js”.
If I comment those lines, and load FIRST all libraries concerning Mobile App, I get no errors, yes! But… off course… as I am not “updating” Mobile App… no Mobile App I have!
😀I’ve tryed all possible combinations on loading first/last of the pair “D3″/”Vizuly core” for each of the 2 Graph app of yours.
And nothing.I hope I can get them both to work at teh same page.
Thanks for any help!
PedroYou must be logged in to reply to this topic.
© 2024 — vizuly.io