Hi,

I wanted to implement that the user can choose between an absolute time labeling and a relative one to the start of plotted data. So it's obvious to use the setTickerOrigin() and set it to the first key of the first data point.
But after doing so, the displayed Label is still referenced to 0 as origin... (> 17'000 days labeled)
To mention is that the origin is really set, I checked the value in debug mode.

Does anybody have a clue what the problem might be?

    if(abs)
        ui->mainPlot->xAxis->setTicker(absoluteAxis);
    else
    {
        relativeAxis->setTickOrigin(maxXRange.first);
        ui->mainPlot->xAxis->setTicker(relativeAxis);
    }

    ui->mainPlot->layer("axes")->replot();