GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  CHART::CLICKER::DATA::RANGE (3)

.ds Aq ’

NAME

Chart::Clicker::Data::Range - A range of Data

CONTENTS

VERSION

version 2.88

SYNOPSIS



  use Chart::Clicker::Data::Range;

  my $range = Chart::Clicker::Data::Range->new({
    lower => 1,
    upper => 10
  });



DESCRIPTION

Chart::Clicker::Data::Range implements a range of values.

ATTRIBUTES

    lower

Set/Get the lower bound for this Range

    max

Set/Get the maximum value allowed for this Range. This value should only be set if you want to EXPLICITLY set the upper value.

    min

Set/Get the minimum value allowed for this Range. This value should only be set if you want to EXPLICITLY set the lower value.

    upper

Set/Get the upper bound for this Range

    ticks

The number of ticks to be displayed for this range.

METHODS

    add

Adds the specified range to this one. The lower is reduced to that of the provided one if it is lower, and the upper is ADDED to this range’s upper.

    combine

Combine this range with the specified so that this range encompasses the values specified. For example, adding a range with an upper-lower of 1-10 with one of 5-20 will result in a combined range of 1-20.

    contains ($value)

Returns true if supplied value falls within this range (inclusive). Otherwise returns false.

    span

Returns the span of this range, or UPPER - LOWER.

AUTHOR

Cory G Watson <gphat@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2014 by Cold Hard Code, LLC.

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

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 CHART::CLICKER::DATA::RANGE (3) 2014-04-01

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.