layout and legend for charts
layout and legend for charts