addGraph method

bool addGraph()

Implementation

bool addGraph(){
	_curIndex = _infoNum;
	_infoNum++;

	if( _info.length <= _curIndex ){
		_info.add( _ClipGraphInfo() );
	} else {
		_info[_curIndex] = _ClipGraphInfo();
	}

	_info[_curIndex]._draw = true;

	_info[_curIndex]._mode = ClipGlobal.graphModeRect;

	_info[_curIndex]._expr1 = "";
	_info[_curIndex]._expr2 = "";

	_info[_curIndex]._ans = [];
	_info[_curIndex]._ansNum.set( 0 );

	setLogScaleX( 10.0 );
	setLogScaleY( 10.0 );

	// 各種フラグ
	_info[_curIndex]._isLogScaleX = false;
	_info[_curIndex]._isLogScaleY = false;

	return true;
}