commit 7b652e116a01b6f3ff3b672f24a9cae29c24ff83
parent 1f75918dcc8e50673f35f982f92b624d24c8ec3a
Author: Kyle Milz <kyle@getaddrinfo.net>
Date: Mon, 27 Apr 2015 19:10:30 -0600
pc_html: render series labels in sans-serif
Diffstat:
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/pc_html b/pc_html
@@ -403,7 +403,7 @@ sub make_svg
}
# show retailer name along the start of the path
- $anchor->text(class => "chart_series_text", fill => "#$color"
+ $anchor->text(class => "chart_retailer_text", fill => "#$color"
)->tag("textPath", -href => "#path_$retailer_id"
)->tag("tspan", "dy" => "-5")->cdata($retailer);
}
diff --git a/pricechart.css b/pricechart.css
@@ -107,8 +107,9 @@ p {
stroke-width: 3;
}
-.chart_series_text {
+.chart_retailer_text {
font-size: 0.6em;
+ font-family: sans-serif;
text-decoration: bold;
}