canvas:

Don't draw labels if they are empty
Merge pull request #469 from qinfchen/fixLabel

canvas: don't draw labels if they are empty