Dojox charting themes

857
2
Jump to solution
06-07-2017 04:48 AM
AndreiLuca
New Contributor II

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 !

Tags (2)
0 Kudos
1 Solution

Accepted Solutions
KellyHutchins
Esri Frequent Contributor

Made a few modifications - here's a bin showing it working with one of your themes: 

JS Bin - Collaborative JavaScript Debugging 

View solution in original post

2 Replies
KellyHutchins
Esri Frequent Contributor

Made a few modifications - here's a bin showing it working with one of your themes: 

JS Bin - Collaborative JavaScript Debugging 

AndreiLuca
New Contributor II

Thank you Kelly 

0 Kudos