commit eb9cd70cc2ab8fc283f81866a00d31e343f02737
parent 8c519f7e0917419268c196310ed7aac723ba70e1
Author: Kyle Milz <kyle@getaddrinfo.net>
Date: Sat, 4 Apr 2015 19:02:08 -0600
gen_svg: hyperlink the retailers name
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gen_svg b/gen_svg
@@ -169,7 +169,7 @@ while (my ($manufacturer, $part_num) = $parts_sth->fetchrow_array()) {
}
# show retailer name along the start of the path
- $svg->text(class => "chart_series_text", fill => "#$color"
+ $anchor->text(class => "chart_series_text", fill => "#$color"
)->tag("textPath", -href => "#path_$retailer_id"
)->tag("tspan", "dy" => "-5")->cdata($retailer);