GoogleChart.

Dependents:   GoogleChart_TestProgram

Axis.cpp

Committer:
shintamainjp
Date:
2010-08-17
Revision:
0:ded8a44ff71f

File content as of revision 0:ded8a44ff71f:

/**
 * GoogleChart API interface driver. (Version 0.0.1)
 *
 * Copyright (C) 2010 Shinichiro Nakamura (CuBeatSystems)
 * http://shinta.main.jp/
 */

#include "Axis.h"

Axis::Axis(int number, Type type) : number(number), type(type), rangeStart(0), rangeEnd(100) {}

Axis::~Axis() {}

int Axis::getNumber() const {
    return number;
}

void Axis::setType(Axis::Type type) {
    Axis::type = type;
}

Axis::Type Axis::getType() const {
    return type;
}

void Axis::setRangeStart(int rangeStart) {
    Axis::rangeStart = rangeStart;
}

int Axis::getRangeStart() const {
    return rangeStart;
}

void Axis::setRangeEnd(int rangeEnd) {
    Axis::rangeEnd = rangeEnd;
}

int Axis::getRangeEnd() const {
    return rangeEnd;
}