add label to voltage and data plot

Improvement to data plot, labels are put on both side of the plot,
implementation is still awkward because of SVG reference, will need
clean up.