The code is as follows:
What I see on the view:
What I see in the result of the print:
I am not sure which other properties I can set when I instanciate the Print widget. Neither the colors on the map, nor the legend or the scale bar looks anything like what I see on the view. What am I missing?
Any help is greatly appreciated.