I'm using CFastLineSeries for extra speed, and everything works well when adding points where the x value is increasing.
When I add values where the x value is decreasing, nothing gets shown until another 'event' happens (e.g. new tools created, or screen manually repainted).
Is there a fix for this?
I'm using TeeChart V5 ActiveX under VC 6.
Neil
FastLine not redrawing
Hi Neil,
which code are you using ? I cannot reproduce the problem here. Could you please tell me the steps to reproduce it or send me a simple example ?
which code are you using ? I cannot reproduce the problem here. Could you please tell me the steps to reproduce it or send me a simple example ?
Pep Jorge
http://support.steema.com
http://support.steema.com
Hi Neil,
yes, I've received it. The problem is in the :
void CGraphTestView::OnTimer(UINT nIDEvent)
Make sure you set the sort order of the valuelists to none, e.g.
#endif // EVENTMARKER
if(m_pData >= &data[_countof(data)-1])
{
m_Direction = -1;
m_Series = m_cChart.Series(m_cChart.AddSeries(lineType));
m_Series.GetXValues().SetOrder(loNone);
m_Series.GetYValues().SetOrder(loNone);
#ifdef FASTLINE
yes, I've received it. The problem is in the :
void CGraphTestView::OnTimer(UINT nIDEvent)
Make sure you set the sort order of the valuelists to none, e.g.
#endif // EVENTMARKER
if(m_pData >= &data[_countof(data)-1])
{
m_Direction = -1;
m_Series = m_cChart.Series(m_cChart.AddSeries(lineType));
m_Series.GetXValues().SetOrder(loNone);
m_Series.GetYValues().SetOrder(loNone);
#ifdef FASTLINE
Pep Jorge
http://support.steema.com
http://support.steema.com