There are 540 Labels on xAxis, but the 270th Label is special, I want to modify it`s format. Like the pictrue:
// code
DoubleArray timeStamps1 = r.getDateSeries(270, Chart::chartTime(2011, 1, 1, 9, 15), 30);
DoubleArray timeStamps2 = r.getDateSeries(270, Chart::chartTime(2011, 1, 1, 13, 0, 30), 30);
double time[540];
memcpy(time, timeStamps1.data, sizeof(double)*timeStamps1.len);
memcpy(time+270, timeStamps2.data, sizeof(double)*timeStamps2.len);
DoubleArray timeStamps(time, 541);
c->xAxis()->setLabels(timeStamps, "{value|hh:nn}");
c->xAxis()->setLabelStep(30);
|