Fixed svg export for charts