generate width for exported images

exportWidth(max_width_in, numelement, lenperchart)

Arguments

max_width_in

max width

numelement

number of planned elements

lenperchart

height per element