Making the width and height of ChartView the same size as the project window (640x480) allows the text to display in full. Assuming you're not restricted on the size of your ChartView of course.
@SGaist
Ah, yes, I do mean adding to already visible widget parent/layout, so that's why I don't need to.
So, I'm not criticising @jsulm's code, but where he has added new QLabel(this, "Some text"); the this is the QMainWindow, which will be shown, so he didn't need to put in the label->show();, right?