Currently downloading of graph in svg works fine for white background but when a different background is used, only a part of the graph is covered. Make necessary changes such that graphs downloaded as svg can also have different backgrounds similar to png and jpeg.