NAME

Chart::Clicker::Axis::DateTime - An X or Y Axis using DateTime

VERSION

version 2.90

SYNOPSIS

  my $axis = Chart::Clicker::Axis::DateTime->new;

DESCRIPTION

A temporal Axis. Requires DateTime and DateTime::Set. Inherits from Axis, so check the methods there as well. Expects that times will be in unix format.

ATTRIBUTES

format

Set/Get the formatting string used to format the DateTime. See DateTime's strftime.

time_zone

Set/Get the time zone to use when creating DateTime objects! Accepts an object or a string ('America/Chicago').

METHODS

format_value

Formats the value using DateTime's strftime.

AUTHOR

Cory G Watson <gphat@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2016 by Cory G Watson.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.