problem with [QCandlestickSeries]
-
QCandlestickSeries *candkes = new QCandlestickSeries;
candkes->append(.....
chartView->chart()->addSeries(candkes);
candkes->attachAxis(axisX);
candkes->attachAxis(axisY);
....
....
candkes->setVisible(0);setVisible it is not working
can anyone help me -
QCandlestickSeries *candkes = new QCandlestickSeries;
candkes->append(.....
chartView->chart()->addSeries(candkes);
candkes->attachAxis(axisX);
candkes->attachAxis(axisY);
....
....
candkes->setVisible(0);setVisible it is not working
can anyone help me@AlekHorak said in problem with [QCandlestickSeries]:
candkes->setVisible(0);
setVisible it is not working
can anyone help me"not working"? Do you perhaps intend
candkes->setVisible(true);
, or ... ? -
so this is working but candles are stil visible on chart.
qDebug() << "B" << candkes->isVisible(); candkes->setVisible(0); qDebug() << "A" << candkes->isVisible();
out:
B true
A false@AlekHorak
Worth a try ofhide()
instead ofsetVisible(0)
, just in case that works instead? -
@AlekHorak
OK, last thought. Does it happen with another series type, or can you refresh the whole chart after you've changed visibility? -
@AlekHorak
OK, last thought. Does it happen with another series type, or can you refresh the whole chart after you've changed visibility?@JNBarchan said in problem with [QCandlestickSeries]:
@AlekHorak
[...] or can you refresh the whole chart after you've changed visibility? -
@JNBarchan said in problem with [QCandlestickSeries]:
@AlekHorak
[...] or can you refresh the whole chart after you've changed visibility? -
@AlekHorak Fair enough. Sorry I couldn't help. Clearly needs a candlestick Qt expert!