ASE Home Page Products Download Purchase Support About ASE
ChartDirector General
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  using qt on stock chart: simplifying things
Posted by Gal on Jul-14-2012 00:07
hello,

I have a simple QVector of OHLC where OHLC is:

class OHLC
{
public:
  double timeAsDouble, o, c, h, l;
  QdateTime timeInQtDateTime
};

this vector gets filled from a webservice, I want to display the data as a candlestick chart.
can anyone provide me a simple snippet to do this using the QChartViewer given in thee qt
demos?

many thanks,
G