style chart and enforce text limits