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

Message ListMessage List     Post MessagePost Message

  How to is able viewport control in ChartDirector 7.0 (ASP/COM/VB Edition) for VB ?
Posted by C.H. Gim on Sep-18-2022 17:14
Is it support viewport control without ViewPortControl Control ?

  Re: How to is able viewport control in ChartDirector 7.0 (ASP/COM/VB Edition) for VB ?
Posted by C.H. Gim on Sep-19-2022 12:11
It is for the financeChart.
And, I have found the VB.NET demo, it is 'Interactive Financial Chart'.
Thanks!!

  Re: How to is able viewport control in ChartDirector 7.0 (ASP/COM/VB Edition) for VB ?
Posted by Peter Kwan on Sep-19-2022 19:34
Hi C.H. Gim,

ChartDirector for ASP/COM/VB supports viewport. It is demonstrated in the zooming and scrolling examples:

https://www.advsofteng.com/doc/cdcom.htm#zoomscrollintro.htm
https://www.advsofteng.com/doc/cdcom.htm#zoomscrolldemo.htm

However, ChartDirector for ASP/COM/VB does not have the ViewPortControl for VB6. The ViewPortControl is a control to manipulate the viewport. You can always use other controls to manipulate the viewport, such as the chart itself (you can drag a rectangle on the chart to zoom in), scrollbar, arrow buttons, sliders, etc. They are demonstrate in the sample code that comes with ChartDirector. There is also a "concentric rectangle control" demonstrated in "Zooming and Scrolling Demonstration (2) (Windows)", which is in fact a preliminary version of the ViewPortControl.

https://www.advsofteng.com/doc/cdcom.htm#zoomscrolldemo2.htm

Best Regards
Peter Kwan

  Re: How to is able viewport control in ChartDirector 7.0 (ASP/COM/VB Edition) for VB ?
Posted by C.H. Gim on Sep-23-2022 14:49
Hi Peter,
Thank you. I am doing follow your suggestions to control viewport of the FinanceChart. And, I have finished almost, but, extra points make me a troubles.
Needed more tries!

With best regards,


Alauddin