AnsweredAssumed Answered

Dojox charting themes

Question asked by AndreiLuca2 on Jun 7, 2017
Latest reply on Jun 8, 2017 by AndreiLuca2

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 !

Outcomes