Para::Frame::SVG_Chart

pie_chart_svg

my $svg = pie_chart_svg( $parts );

 $parts   A list of parts, where each part is a hash-ref of:
   value
   label
   color

bar_chart_svg

my $svg = bar_chart_svg( $parts, label_func => \&sec_to_str, label => 'Header of all!', ); $parts A list of parts, where each part is a hash-ref of: value label color

Properties can be: line_w bar_max_h grid_y_lines text_margin font_size_factor label_func label

curve_chart_svg

my $svg = curve_chart_svg( $parts, %props );