Jump to content
Software FX Community

why don't show scrollbar


User (Legacy)

Recommended Posts

the following is the code that I use for creating a Char:

Dim Rate1, Rate2, Reporte, Choice, Name, Query

' Create object Chart FX

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

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

' Init object ChartFX

with cfxin

.RGBBk = CHART_TRANSPARENT Or RGB(192,192,192)

.ChartType = LINES

.Chart3D = False

.Scrollable = True

.ToolBar = True

.ToolBarObj.RemoveItems 2,9

.ToolBarObj.RemoveItems 1,13

.ToolBarObj.RemoveItems 2,17

end with

Set BackCmdList = cfxin.Commands(CFX_ID_CM_BACKGROUND)

with BackCmdList

.RemoveSubCommand(0)

.RemoveSubCommand(0)

.RemoveSubCommand(0)

.RemoveSubCommand(0)

.RemoveSubCommand(2)

end with

' General Settings

' cfxIn.TypeMask = &H6C80001& ' &H6880401&

cfxIn.Style = &HFF6FFFFB&

cfxIn.MarkerShape = 0

' Axis Settings

with cfxIn.Axis(0)

.TickMark = -32767

.Format = "#,##0"

.Max = Rate1

.Min = 0

.Step = .Max / 8

.Title = "Kbits"

end with

with cfxIn.Axis(2)

.TickMark = -32767

.Format = "hh:mm tt"

.Font.Name = Arial

.Font.Size = 6.5

.LabelAngle = 90

.Title = "Tiempo"

end with

... html code ...

... <%= cfxIn.GetHtmlTag(675,350) %>

what's wrong on this code, becuase the scroll bar on X axis don't show

Link to comment
Share on other sites

1) Are you generating an image or an ActiveX ? I can't tell by the code

because your GetHtmlData is set to "Auto".

If you are generating an image, no scrollbars will be available for obvious

reasons.

2) How many points are you passing ? A scrollbar will appear only when there

is no space to display the points.

--

FP

Software FX, Inc.

Link to comment
Share on other sites

1)On IE dont show the scroll bar, on Mozilla and Netscape show like a graph

and know those browser don't have the capacity to interact with ActiveX

controls, the choice for use "Auto" is our clients use any browser.

2)The total points that show is according period time, every hour all

clients generate 24 points, 12 for input broandband use and 12 for output

broandband use, recorded on MS SQL 2000 Server. The periods that the client

consulting are:

24 hours = 288 points

48 hours = 576 points

1 week = 2016 points

30 days = 8640 points

1 month = since 8064 to 8928

3 months aprox. 25920 points

This month = since 288 to 8928 points according to date (1st day of the

month to Todat)

and choice date, that can be more that 3 months or only days

How you see the minimum points are 288 and the maximun can be over 25920.

Please tell me was is wrong.

----- Original Message -----

From: "SoftwareFX Support" <support@softwarefx.com>

Newsgroups: chartfx.internet.55.client

Sent: Wednesday, January 28, 2004 10:31 AM

Subject: Re: why don't show scrollbar

> 1) Are you generating an image or an ActiveX ? I can't tell by the code

> because your GetHtmlData is set to "Auto".

>

> If you are generating an image, no scrollbars will be available for

obvious

> reasons.

>

> 2) How many points are you passing ? A scrollbar will appear only when

there

> is no space to display the points.

>

> --

> FP

> Software FX, Inc.

>

>

Link to comment
Share on other sites

Here is example of the result of the previos code:, the cfxin1 is the

result, the cfxin2 is the result when apply the zoom tool, the scroll bar is

not show.

what is wrong on the code

"SoftwareFX Support" <support@softwarefx.com> wrote in message

news:FLiLdwb5DHA.2336@webserver3.softwarefx.com...

> 1) Are you generating an image or an ActiveX ? I can't tell by the code

> because your GetHtmlData is set to "Auto".

>

> If you are generating an image, no scrollbars will be available for

obvious

> reasons.

>

> 2) How many points are you passing ? A scrollbar will appear only when

there

> is no space to display the points.

>

> --

> FP

> Software FX, Inc.

>

>

Link to comment
Share on other sites

Here is example of the result of the previos code:, the cfxin1 is the

result, the cfxin2 is the result when apply the zoom tool, the scroll bar is

not show.

what is wrong on the code

"SoftwareFX Support" <support@softwarefx.com> wrote in message

news:FLiLdwb5DHA.2336@webserver3.softwarefx.com...

> 1) Are you generating an image or an ActiveX ? I can't tell by the code

> because your GetHtmlData is set to "Auto".

>

> If you are generating an image, no scrollbars will be available for

obvious

> reasons.

>

> 2) How many points are you passing ? A scrollbar will appear only when

there

> is no space to display the points.

>

> --

> FP

> Software FX, Inc.

>

>

Link to comment
Share on other sites

So sorry, how can I deterrmine the DataPath property, I don't undesrtand

what do you want, I send all the files refered to made this page

"SoftwareFX Support" <support@softwarefx.com> wrote in message

news:qSfX9bd5DHA.2336@webserver3.softwarefx.com...

> Please do a View - Source, check the name of the file referenced by

DataPath

> and post a copy of that file.

>

> I can use this file to reproduce your chart here and hopefully determine

why

> you are getting this behavior.

>

> --

> FP

> Software FX

>

>

Link to comment
Share on other sites

Here are the all code that previos Images, I don't understand how i get the

DataPath

"SoftwareFX Support" <support@softwarefx.com> wrote in message

news:qSfX9bd5DHA.2336@webserver3.softwarefx.com...

> Please do a View - Source, check the name of the file referenced by

DataPath

> and post a copy of that file.

>

> I can use this file to reproduce your chart here and hopefully determine

why

> you are getting this behavior.

>

> --

> FP

> Software FX

>

>

Link to comment
Share on other sites

Here are the all code that previos Images, I don't understand how i get the

DataPath

"SoftwareFX Support" <support@softwarefx.com> wrote in message

news:qSfX9bd5DHA.2336@webserver3.softwarefx.com...

> Please do a View - Source, check the name of the file referenced by

DataPath

> and post a copy of that file.

>

> I can use this file to reproduce your chart here and hopefully determine

why

> you are getting this behavior.

>

> --

> FP

> Software FX

>

>

Link to comment
Share on other sites

Here are the files, one for inbound and the other for outbound

"SoftwareFX Support" <support@softwarefx.com> wrote in message

news:%23I4Tq6n5DHA.144@webserver3.softwarefx.com...

> To obtain the file:

>

> 1) Hit the page containing the chart

> 2) Look for the <OBJECT> tag pointing to Chart FX

> 3) Look for the DataPath property

> 4) Locate this file in your server (.CHW).

>

> --

> FP

> Software FX

>

>

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...