-
PedroFerrJune 5, 2017 at 1:56 pm #8003
Hi there!
Before all, congratulations! What a product you have made…
I bought the “complete” packege and have made a few tests/customization on your free package, the Radial Progress one.
Now I pretend to use Mobile App graphs, at the same page.
A lot of conflicts are arising…If both “D3” and “Vizuly_core” JS files are minimized, how can I avoid conflict between these pair of files, I have to cal on any Vizuly package?
Thank you!
Pedro FerreiravizulyJune 5, 2017 at 2:02 pm #8004Hello Pedro,
Thank you for the kind words.
I am not completely sure I understand the issue. It sounds like you may be pointing to two different minimized versions of vizuly and d3.js? If so, you should just be able to point to one set of libraries and then include what ever source files you need from either project. In the case of the Mobile App, there are some specific components in the scripts directory you need to reference.
Perhaps you can be more specific on the exact files that are causing problems?
Thanks,
Tom
PedroFerrJune 5, 2017 at 2:32 pm #8005Hi 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!
PedrovizulyJune 5, 2017 at 4:36 pm #8007Hi Pedro,
You uncovered an out-of-sync issue with the core library and that is why you are having these problems. I honestly never thought someone would want to combine the mobile app with other components, but glad you did.
So I went through and recompiled all the libraries for all the components up to the latest version we have here – which is actually more streamlined than the older code.
In order to get things running correctly you will want to re-download your “complete” package from the website. It will have all the latest files. With that you will only need to include the vizuly_radialprogress.min.js in the mobile app to get everything working correctly.
In case you made modifications to the original source code files and you want to keep them, all you will need to do is do a global string replace on those files and change anything that is “vizuly.util” to “vizuly.core.util” and that should get things running.
Sorry for the conflict in the core files.
Let me know if you have any further issues.
Tom
FernandoJune 6, 2017 at 1:43 am #8008Hi Tom.
Many thanks!
I’m dying to test it.How can I re-download the zip file?
On my (enterprise) account (from where I bought it) it notices “Sorry, this download has expired Go to shop”.If any private message is needed for you to send me instructions, please use “PedroFerr” mail account one.
Thank you!
vizulyJune 6, 2017 at 9:49 am #8009Hello Pedro,
I can’t seem to find your order number in out system so I can re-activate the download. You can email me at [email protected] with your order number and date the order was placed, and I can extend the download period.
Tom
PedroFerrJune 6, 2017 at 10:39 am #8010Hi Tom!
Just great!
We’ll go from there, so.Thank you!
Today we are closing the office, but tomorrow I’ll mail you, first thing.You’re the man!
Pedro -
|
You must be logged in to reply to this topic.