Skip to content

Commit

Permalink
Add --pie-start-angle for bad pun
Browse files Browse the repository at this point in the history
  • Loading branch information
Max Maischein committed Apr 16, 2011
1 parent d184af0 commit 3539fbb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions bin/ffeedflotr.pl
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ =head1 OPTIONS
'xlen:s' => \my $xlen,
'title|t:s' => \my $title,
'type:s' => \my $chart_type,
'pie-start-angle:s' => \my $start_angle,
'fill' => \my $fill,
'time' => \my $time,
'timeformat:s' => \my $timeformat,
Expand Down Expand Up @@ -196,6 +197,7 @@ sub plot {

if ($chart_type eq 'pie') {
$series->{pie}->{show} = 1;
$series->{pie}->{startAngle} = $pie_start_angle;
};

$lines->{fill} = $fill;
Expand Down
1 change: 1 addition & 0 deletions t/pacman.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0,75,25
2 changes: 1 addition & 1 deletion template/ffeedflotr.htm
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
steps:false
},
grid: { hoverable: true, clickable: true },
series: { pie: { show: false }}
series: { pie: { show: false, startAngle: 0 }}
};

function setupPlot(plotData) {
Expand Down

0 comments on commit 3539fbb

Please sign in to comment.