QCustomPlot Discussion and Comments

How to set QString for x axis tick labelsReturn to overview

Hello,
I have data related with hours like:
14:05:02 -> 40
14:05:15 -> 50
14:05:23 -> 60
14:05:47 -> 70

time is in x axis and values are in y axis. But how can I set time(time is QString) for x axis.
I used

ui->plot->graph(0)->setData(x, y);
but I get this error:
error: no matching function for call to 'QCPGraph::setData(QVector<QString>&, QVector<int>&)'

And when will you release 1.0.0?

sorry for my English

I solved my problem looking your setupBarChartDemo.

You need to convert time from a string to a double:

const QString sformat="hh:mm:ss"; //Generate Date
QDateTime dateTime = QDateTime::fromString( QString, sformat );
double timeSeconds = dateTime.toTime_t();