Im not sure if u can do that programatically, so why u dont use arcmap for having a layer with multiple factors?.
Most of the time u need to use more than 1 layer to represent different kind of things, for example temperature and wind Also , maybe u will need to have a dynamic layer for showing more than 1 factor at the time in the legend, in that way u can have 2 or more layers in the same service.