switch makesvgchart over to take two structure addresses to allow user set attributes and data