some style fixes for the charts
passing the component into the modal view