added svg as a getter
merged in barchart