Jump to content
Software FX Community

Chart Refreshing disappearing problem


User (Legacy)

Recommended Posts

Hi, 

When the page loads I discovered that my charts are dissapearing (not every

time) .

They will dissapear aswell (each time) if I press ALT key after page loads

and appear again if I simply resize the browser.

Don't have a problem with CfxIE Sample pages - so I assume it must be my

code or?

Why is this happening?

Can anybody help?

Thanks,

Vlad

System Info:

CfxIESrv3.5 (wth the latest pathches)

CfxIE client cab ver 3.5.37.2

ASP Code:

<%

.

.

.

.

Cash = RS("Cash")

Receivable = RS("Receivable")

Payable = RS("Payable")

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

chart.RgbBk = &H80000000&

chart.Rgb2DBk = &H80000000&

chart.Type = BAR OR CT_LEGEND OR CT_EACHBAR

chart.OpenDataEx COD_VALUES, 1, 3

chart.ThisSerie = 0

chart.Value(0) = Cash

chart.Value(1) = Receivable

chart.Value(2) = Payable

chart.Legend(0) = "Cash"

chart.Legend(1) = "Receivable"

chart.Legend(2) = "Payable"

chart.CloseData COD_VALUES

chart.OpenDataEx COD_COLORS,3,0

chart.Color(0) = RGB(57,57,123)

chart.Color(1) = RGB(0,123,123)

chart.Color(2) = RGB(182,0,0)

chart.CloseData COD_COLORS

Max = CLng(Cash)

Chart.ToolPos(CTOOL_LEGEND) = CTP_BOTTOM

Chart.ToolSize(CTOOL_LEGEND) = CHART_ML(0,50)

chart.Adm(1) = Round(Max)

Chart.LegStyle = CL_HIDEXLEG

Chart.AxisType(0) = CFXFMT_NUMBER

Chart.DecimalsNum(CD_ALL) = 0

Chart.Fonts(CHART_LEGENDFT) = CF_ARIAL Or 8

Chart.BottomGap = 10

Chart.TopGap = 10

%>

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...