Skip to content

Commit

Permalink
Completed the documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
davorg committed Jul 27, 2017
1 parent 3cb5348 commit a69c1e3
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions lib/SVG/Timeline.pm
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,6 @@ as a decimal fraction of the bar height).
=cut

# Size of the vertical gap between bars (as a fraction of a bar)
has bar_spacing => (
is => 'ro',
isa => 'Num',
Expand All @@ -216,7 +215,6 @@ has bar_spacing => (
=cut

# The colour that the decade lines are drawn on the chart
has decade_line_colour => (
is => 'ro',
isa => 'Str',
Expand All @@ -228,7 +226,6 @@ timeline bars.
=cut

# The colour that the bars are outlined
has bar_outline_colour => (
is => 'ro',
isa => 'Str',
Expand Down Expand Up @@ -285,6 +282,8 @@ sub units_per_year {

=head2 draw_grid
Method to draw the underlying grid.
=cut

sub draw_grid{
Expand Down Expand Up @@ -330,6 +329,8 @@ sub draw_grid{

=head2 draw
Method to draw the timeline.
=cut

sub draw {
Expand Down Expand Up @@ -373,6 +374,8 @@ sub draw {

=head2 min_year
Returns the minimum year from all the events in the timeline.
=cut

sub min_year {
Expand All @@ -384,6 +387,8 @@ sub min_year {

=head2 max_year
Returns the maximum year from all the events in the timeline.
=cut

sub max_year {
Expand All @@ -395,6 +400,8 @@ sub max_year {

=head2 years
The number of years that all the events in the timeline span.
=cut

sub years {
Expand Down

0 comments on commit a69c1e3

Please sign in to comment.