mySecondY = theSecondY;
}
+/*!
+ Get second Y
+*/
+bool Plot2d_ViewFrame::getSecondY()
+{
+ return mySecondY;
+}
+
/*!
Erase presentation
*/
}
setCurveType( aPCurve, myCurveType );
aPCurve->setData( curve->horData(), curve->verData(), curve->nbPoints() );
+ if ( mySecondY )
+ aPCurve->setYAxis( QwtPlot::yRight );
}
updateTitles();
if ( update )
}
aPCurve->setTitle( curve->getVerTitle() );
aPCurve->setVisible( true );
+ aPCurve->setYAxis( mySecondY ? QwtPlot::yRight : QwtPlot::yLeft );
if ( update )
myPlot->replot();
}
QString getTitle( ObjectType type ) const;
void setSecondY( const bool& theSecondY );
+ bool getSecondY();
bool isTitleChangedByUser( const ObjectType type );
void forgetLocalUserChanges( const ObjectType type );