I want to create svg rectangles dynamically with javascript. Those rectangles should be kind of a 2D diagramm bar filled with multiple background colors just like so:
Does there exist any shape for svg which can handle multiple background colors ? I do not want to use multiple rectangles and try to position them...
Event better would be if there would exist kind of a stackpanel where I can put into child elements...
because then I would like to bind those elements to knockoutjs.