Jump to content
Software FX Community

Zoomin For ActiveX Objects


User (Legacy)

Recommended Posts

Two things:

1) the history of this newsgroup is very useful to me, and I wish you would

stop clearing it out every few days.

2) The following sample code does not work . It doesn't zoom in

appropriately. Oddly, if you change it from object generation to image

generation the zooming works.

<!-- Include this file so we can use all the ChartFX constants -->

<!-- #include virtual="/Include/CfxIE.inc" -->

<%

Set chart = Server.CreateObject("ChartFX.WebServer")

' The samples look better in white

chart.RgbBk = RGB(255,255,255)

chart.Rgb2DBk = RGB(255,255,255)

Chart.OpenDataEx COD_VALUES,1,10

For i = 0 to 9

Chart.Value(i) = i

Next

Chart.CloseData COD_VALUES

chart.Scrollable = True

chart.ZoomIn 2,2,8,8

%>

<%= chart.GetHtmlTag("500","350","ActiveX") %>

Link to comment
Share on other sites

1) Our newsgroup server is not set-up to clear postings (at least

intentionally). If you are using Outlook express try the following

- Right click the newsgroup

- Select Properties - Local File and Click Reset

- Right click again the newsgroup

- Select Synchronization Settings - All Messages

- Select the newsgroup (the first 300 messages will be downloaded)

- Click the headers button in the Outlook a couple of times, OE will

download 300 new messages each time

2) We are not saving the zoom information as part of the CHW file, in the

meantime you may have to write code at the client level to execute the

chart.Zoom at the client

--

Regards

JC

Software FX Support

"Michael Kolodenko" <mkolodenko@hotmail.com> wrote in message

news:p$A#ueR1BHA.2108@webserver1.softwarefx.com...

> Two things:

>

> 1) the history of this newsgroup is very useful to me, and I wish you

would

> stop clearing it out every few days.

>

> 2) The following sample code does not work . It doesn't zoom in

> appropriately. Oddly, if you change it from object generation to image

> generation the zooming works.

>

> <!-- Include this file so we can use all the ChartFX constants -->

> <!-- #include virtual="/Include/CfxIE.inc" -->

> <%

> Set chart = Server.CreateObject("ChartFX.WebServer")

>

> ' The samples look better in white

> chart.RgbBk = RGB(255,255,255)

> chart.Rgb2DBk = RGB(255,255,255)

>

> Chart.OpenDataEx COD_VALUES,1,10

> For i = 0 to 9

> Chart.Value(i) = i

> Next

> Chart.CloseData COD_VALUES

>

> chart.Scrollable = True

>

>

> chart.ZoomIn 2,2,8,8

>

>

>

> %>

> <%= chart.GetHtmlTag("500","350","ActiveX") %>

>

>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...