# Chart::Mountain Class Reference

Mountain class derived class for Chart to implement mountain type of plots. More...

Inheritance diagram for Chart::Mountain:

[legend]
Collaboration diagram for Chart::Mountain:

[legend]

List of all members.

## Private Functions
private | _draw_data
| draw the data
private array | _find_y_range ()
| Find minimum and maximum value of y data sets.

## Detailed Description

Mountain class derived class for Chart to implement mountain type of plots.

Some Mountain chart details:

The effective y data value for a given x point and dataset is the sum of the actual y data values of that dataset and all datasets "below" it (i.e., with higher dataset indexes).

If the y data value in any dataset is undef or negative for a given x, then all datasets are treated as missing for that x.

The y minimum is always forced to zero.

To avoid a dataset area "cutting into" the area of the dataset below it, the y pixel for each dataset point will never be below the y pixel for the same point in the dataset below the dataset.

## Member Function Documentation

private array Chart::Mountain::_find_y_range | ( |  | ) |

Find minimum and maximum value of y data sets.

Returns:
  ( min, max, flag_all_integers )

Reimplemented from Chart::Base.

The documentation for this class was generated from the following file:

- Chart/Mountain.pm