Source
399
399
bool update = req->update( );
400
400
401
401
auto cache = ppcache(index);
402
402
if (x.size( ) > 0) {
403
403
bool ok = false;
404
404
auto a = PMS::axis(x, &ok);
405
405
if (ok) cache->setXAxis(a,dataindex);
406
406
}
407
407
if (y.size( ) > 0) {
408
408
bool ok = false;
409
-
auto a = PMS::axis(x, &ok);
409
+
auto a = PMS::axis(y, &ok);
410
410
if (ok) cache->setYAxis(a,dataindex);
411
411
}
412
412
if (xdata.size( ) > 0) {
413
413
bool ok = false;
414
414
auto dc = PMS::dataColumn(xdata, &ok);
415
415
if (ok) cache->setXDataColumn(dc,dataindex);
416
416
}
417
417
if (ydata.size( ) > 0) {
418
418
bool ok = false;
419
419
auto dc = PMS::dataColumn(ydata, &ok);