fixed layouting of legend and chart area