#include "Axis_p.h" namespace YSG { Q_Ptr_cpp(Axis) PROP_P(Axis, int, numberPrecision) PROP_P(Axis, double, coordStart) PROP_P(Axis, double, coordLength) void Axis::set_coordRange(Range range){ INIT_SET(AbsAxis) sc->coordStart = range.lower; sc->coordLength = range.upper - range.lower; } Axis::Builder::Builder(Plot* plot, Qt::Orientation orientation) { this->plot = plot; this->orientation = orientation; } Axis* Axis::Builder::build() { Axis* ret = new Axis(); Axis::BuilderT::set(ret); return ret; } }