Add several functions to clean svg file writing.
Separate channel A and Chanel B charts..
Add labels to axes.
Use DC sampling mode with 500mv range..