Adding static SVG drawing functions for charts