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

Message ListMessage List     Post MessagePost Message

  FinanceChart and updateViewPort
Posted by PeterW on Dec-26-2016 07:50
Hi,

I have created a very simple program to test scrolling in the FinanceChart. The drawing of the FinanceChart with a viewport is all fine.

Once the m_financechart.updateViewPort(true,true) function is fired it drops into the event handler and within the ChartViewer the function c->getChartMetrics() fails with an access violation.

I can build all the demo scrolling apps and have based the program on the Simple Scrolling demo.

Thanks

  Re: FinanceChart and updateViewPort
Posted by PeterW on Dec-26-2016 08:05
All sorted. As usual simple problem. After searching the forum I saw a comment about an object going out of scope.