I am using the Popup sample code for code learning.
Instead of the dojox/charting/themes/Dollar I created my own two themes and uploaded them on a web server:
http://test-themes.sensomarket.com/themes/
But I can not manage to link the themes to my charts.
When I add these lines the script stops working:
require(["themes/hea",
"themes/wat"],
function(hea, wat)
chart1.setTheme(hea);
chart2.setTheme(wat);
My code is available here on JS BIN.
I successfully tested the themes in localhost.
But how do I link them from a web server?
Thank you !
Solved! Go to Solution.
Made a few modifications - here's a bin showing it working with one of your themes:
Made a few modifications - here's a bin showing it working with one of your themes:
Thank you Kelly