Commit 7f7219c4 authored by Stefan Gerlach's avatar Stefan Gerlach

default vertical axis label rotation set to 90 degree

parent f4f93181
......@@ -158,7 +158,7 @@ void Axis::init() {
d->title->graphicsItem()->setFlag(QGraphicsItem::ItemIsMovable, false);
d->title->graphicsItem()->setAcceptHoverEvents(false);
d->title->setText(this->name());
if (d->orientation == AxisVertical) d->title->setRotationAngle(270);
if (d->orientation == AxisVertical) d->title->setRotationAngle(90);
d->titleOffsetX = Worksheet::convertToSceneUnits(2, Worksheet::Point); //distance to the axis tick labels
d->titleOffsetY = Worksheet::convertToSceneUnits(2, Worksheet::Point); //distance to the axis tick labels
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment