I have a TChart on a PropertyPage. I want to add the capability to resize the chart by clicking on the corners (or border) of the chart panel and then dragging the corner (or border) to resize the panel. Is there an example that I can use?
Thanks.
Resizing chart by dragging
Hi,
what about using the Selector Tool, setting the AllowResize to true ?
tchart1.Tools.Items(0).asSelector.AllowResizeChart = True
what about using the Selector Tool, setting the AllowResize to true ?
tchart1.Tools.Items(0).asSelector.AllowResizeChart = True
Pep Jorge
http://support.steema.com
http://support.steema.com
Hi Danila,
to change the size of the ActiveX object with vbScript you will have to use the standard ms techniques, like :
to change the size of the ActiveX object with vbScript you will have to use the standard ms techniques, like :
Code: Select all
Sub Window_Onload()
Set obj = document.all("TChart1")
obj.style.pixelWidth = screen.width
obj.style.pixelHeight = screen.height
FillChart()
End Sub
Pep Jorge
http://support.steema.com
http://support.steema.com