qt - what is the difference between QCPFinancial and QCPGraph? -
i have realtime , big(> milions point) graph. class should use: qcpgraph
or qcpfinancial
?
advantages , disadvantages of each?
they 2 different types of graphs. don't think there advantage of 1 on other. depends on want represent in graph.
a plottable representing financial stock chart.
plottable represents time series data binned intervals, used stock charts. 2 common representations ohlc (open-high-low-close) bars , candlesticks can set viasetchartstyle
.
a plottable representing graph in plot.
graphs used display single-valued data. single-valued means there should 1 data point per unique key coordinate. in other words, graph can't have loops. if want plot non-single-valued curves, rather useqcpcurve
plottable.
see this example simple qcpgraph.
or this example qcpfinancial.
Comments
Post a Comment