User (Legacy) Posted November 18, 1999 Report Share Posted November 18, 1999 Hi When I loaded the following asp page, IE(5.0) crashes. This asp code creates a 6 series ('Candle and Stacked Bar') chart. Your help is highly appreciated. <%@ Language=VBScript %> <HTML> <HEAD> </HEAD> <BODY> <!-- #include virtual="/Include/CfxIE.inc" --> <% Set Chart1 = Server.CreateObject("ChartFX.WebServer") ' General Settings Chart1.AllowDrag = FALSE Chart1.AllowEdit = FALSE Chart1.AllowResize = FALSE Chart1.AxesStyle = CAS_FLATFRAME Chart1.Chart3D = FALSE Chart1.RGBBk = RGB(63, 122, 122) Chart1.Scrollable = FALSE Chart1.Volume = 9 ' Axis settings Chart1.Axis(AXIS_Y).Decimals = 2 Chart1.Axis(AXIS_Y).AutoScale = TRUE ' Axis settings Chart1.Axis(AXIS_Y2).Decimals = 0 Chart1.Axis(AXIS_Y2).AutoScale = TRUE ' x axis labels garcia Chart1.Axis(AXIS_X).LabelValue = TRUE Chart1.Axis(AXIS_X).Label(0) = "11/03/1999 11:03" Chart1.Axis(AXIS_X).Label(1) = "11/03/1999 11:04" Chart1.Axis(AXIS_X).Label(2) = "11/03/1999 11:05" Chart1.Axis(AXIS_X).Label(3) = "11/03/1999 11:06" Chart1.Stacked = CHART_STACKED100 ' This code allows ChartFX to know how many series the chart will have Chart1.OpenDataEx COD_VALUES,6,COD_UNKNOWN ' 1st candle Chart1.ValueEx(0,0) = 100.00 Chart1.ValueEx(1,0) = 110.00 Chart1.ValueEx(2,0) = 120.90 Chart1.ValueEx(3,0) = 130.00 Chart1.ValueEx(4,0) = 100000 Chart1.ValueEx(5,0) = 1000 ' 2nd candle Chart1.ValueEx(0,1) = 100.00 Chart1.ValueEx(1,1) = 110.00 Chart1.ValueEx(2,1) = 120.90 Chart1.ValueEx(3,1) = 130.00 Chart1.ValueEx(4,1) = 120000 Chart1.ValueEx(5,1) = 1000 ' 3rd candle Chart1.ValueEx(0,2) = 100.00 Chart1.ValueEx(1,2) = 110.00 Chart1.ValueEx(2,2) = 120.90 Chart1.ValueEx(3,2) = 130.00 Chart1.ValueEx(4,2) = 155600 Chart1.ValueEx(5,2) = 1000 ' 2nd candle Chart1.ValueEx(0,3) = 100.00 Chart1.ValueEx(1,3) = 110.00 Chart1.ValueEx(2,3) = 120.90 Chart1.ValueEx(3,3) = 130.00 Chart1.ValueEx(4,3) = 90000 Chart1.ValueEx(5,3) = 1000 Chart1.CloseData COD_VALUES ' settings for volume bar chart Chart1.Series(4).Gallery = BAR Chart1.Series(5).Gallery = BAR ' volume info on Y2 axis Chart1.Series(4).YAxis = AXIS_Y2 Chart1.Series(5).YAxis = AXIS_Y2 Chart1.Series(0).Stacked = false Chart1.Series(1).Stacked = false Chart1.Series(2).Stacked = false Chart1.Series(3).Stacked = false Chart1.Series(4).Stacked = False Chart1.Series(5).Stacked = TRUE 'stack to prev series Chart1.OpenDataEx COD_COLORS,6,0 Chart1.Color(0) = RGB(0,255,0) Chart1.Color(1) = RGB(255,0,0) Chart1.Color(2) = RGB(0,0,0) Chart1.Color(3) = RGB(0,0,0) Chart1.Color(4) = RGB(255,255,0) Chart1.Color(5) = RGB(255,0,0) Chart1.CloseData COD_COLORS %> <%= Chart1.GetHtmlTag(670,441,"Auto","Chart1") %> </BODY> </HTML> Link to comment Share on other sites More sharing options...
User (Legacy) Posted November 18, 1999 Author Report Share Posted November 18, 1999 Hi When I loaded the following asp page, IE(5.0) crashes. This asp code creates a 6 series ('Candle and Stacked Bar') chart. Your help is highly appreciated. <%@ Language=VBScript %> <HTML> <HEAD> </HEAD> <BODY> <!-- #include virtual="/Include/CfxIE.inc" --> <% Set Chart1 = Server.CreateObject("ChartFX.WebServer") ' General Settings Chart1.AllowDrag = FALSE Chart1.AllowEdit = FALSE Chart1.AllowResize = FALSE Chart1.AxesStyle = CAS_FLATFRAME Chart1.Chart3D = FALSE Chart1.RGBBk = RGB(63, 122, 122) Chart1.Scrollable = FALSE Chart1.Volume = 9 ' Axis settings Chart1.Axis(AXIS_Y).Decimals = 2 Chart1.Axis(AXIS_Y).AutoScale = TRUE ' Axis settings Chart1.Axis(AXIS_Y2).Decimals = 0 Chart1.Axis(AXIS_Y2).AutoScale = TRUE ' x axis labels garcia Chart1.Axis(AXIS_X).LabelValue = TRUE Chart1.Axis(AXIS_X).Label(0) = "11/03/1999 11:03" Chart1.Axis(AXIS_X).Label(1) = "11/03/1999 11:04" Chart1.Axis(AXIS_X).Label(2) = "11/03/1999 11:05" Chart1.Axis(AXIS_X).Label(3) = "11/03/1999 11:06" Chart1.Stacked = CHART_STACKED100 ' This code allows ChartFX to know how many series the chart will have Chart1.OpenDataEx COD_VALUES,6,COD_UNKNOWN ' 1st candle Chart1.ValueEx(0,0) = 100.00 Chart1.ValueEx(1,0) = 110.00 Chart1.ValueEx(2,0) = 120.90 Chart1.ValueEx(3,0) = 130.00 Chart1.ValueEx(4,0) = 100000 Chart1.ValueEx(5,0) = 1000 ' 2nd candle Chart1.ValueEx(0,1) = 100.00 Chart1.ValueEx(1,1) = 110.00 Chart1.ValueEx(2,1) = 120.90 Chart1.ValueEx(3,1) = 130.00 Chart1.ValueEx(4,1) = 120000 Chart1.ValueEx(5,1) = 1000 ' 3rd candle Chart1.ValueEx(0,2) = 100.00 Chart1.ValueEx(1,2) = 110.00 Chart1.ValueEx(2,2) = 120.90 Chart1.ValueEx(3,2) = 130.00 Chart1.ValueEx(4,2) = 155600 Chart1.ValueEx(5,2) = 1000 ' 2nd candle Chart1.ValueEx(0,3) = 100.00 Chart1.ValueEx(1,3) = 110.00 Chart1.ValueEx(2,3) = 120.90 Chart1.ValueEx(3,3) = 130.00 Chart1.ValueEx(4,3) = 90000 Chart1.ValueEx(5,3) = 1000 Chart1.CloseData COD_VALUES ' settings for volume bar chart Chart1.Series(4).Gallery = BAR Chart1.Series(5).Gallery = BAR ' volume info on Y2 axis Chart1.Series(4).YAxis = AXIS_Y2 Chart1.Series(5).YAxis = AXIS_Y2 Chart1.Series(0).Stacked = false Chart1.Series(1).Stacked = false Chart1.Series(2).Stacked = false Chart1.Series(3).Stacked = false Chart1.Series(4).Stacked = False Chart1.Series(5).Stacked = TRUE 'stack to prev series Chart1.OpenDataEx COD_COLORS,6,0 Chart1.Color(0) = RGB(0,255,0) Chart1.Color(1) = RGB(255,0,0) Chart1.Color(2) = RGB(0,0,0) Chart1.Color(3) = RGB(0,0,0) Chart1.Color(4) = RGB(255,255,0) Chart1.Color(5) = RGB(255,0,0) Chart1.CloseData COD_COLORS %> <%= Chart1.GetHtmlTag(670,441,"Auto","Chart1") %> </BODY> </HTML> Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.