Software FX Posted September 8, 2000 Report Share Posted September 8, 2000 IIS is giving you an error "Wrong number of arguments or invalid property assignment" because the Value property expects one parameter while ValueEx expects two (note that in the lines previous to 663 you are using ValueEx. We posted a sample called OHLC and Volume in the "Combined Types" section of our samples area. Regards, Juan Cegarra Software FX, Inc. support.softwarefx.com -----Original Message----- From: bambang priambodo [mailto:bambang@agrakom.com] Posted At: Tuesday, August 22, 2000 4:39 PM Posted To: Server Conversation: HILOWCLOSE AND LINES Subject: Re: HILOWCLOSE AND LINES Hi, Here's my code to create HILOWCLOSE and LINES Chart strSQL = "SELECT open_price, high, low, last, volume, to_char(the_date_time,'dd-mon') AS dTgl " & _ "FROM " & txtTable & _ " WHERE stock_code='" & stock_code & "' AND " & txtBetween ... Set AdoRS = Server.CreateObject("adodb.recordset") adoRs.Open strSQL, Conn, 3,3 nPoints = adoRs.RecordCount if Not AdoRs.EOF then Set Chart = Server.CreateObject("ChartFX.WebServer") set ChartFX = Server.CreateObject("ChartFX.WebServer") ' General Settings Chart.Gallery = OPENHILOWCLOSE ... for j=0 to nPoints-1 ChartFX.valueEx(OHLC_OPEN, j) = AdoRs("open_price") ChartFX.valueEx(OHLC_HIGH, j) = AdoRs("high") ChartFX.valueEx(OHLC_LOW, j) = AdoRs("low") ChartFX.valueEx(OHLC_CLOSE, j)= AdoRs("last") ChartFX.Value(4,j) = AdoRs("volume") next ChartFX. CloseData COD_VALUES Chart.Series(4).Galley = BAR Chart.Series(4).YAxis = AXIS_Y2 ... end if but when i ran it, it proccess an error message like this Microsoft VBScript runtime error '800a01c2' Wrong number of arguments or invalid property assignment: 'Value' /quote_research/charts/index.asp, line 663 what's wrong with my code? thank's "Juan C. Cegarra" <JuanC@softwarefx.com> wrote in message news:JnjXJEEDAHA.1560@sfxserver.softwarefx.com... Create a chart with 4 series, assign 3 of the series as HILOWCLOSE gallery and the fourth as lines. Regards, Juan Cegarra Software FX, Inc. support.softwarefx.com -----Original Message----- From: bambang priambodo [mailto:bambang@agrakom.com] Posted At: Sunday, August 20, 2000 6:42 AM Posted To: Server Conversation: HILOWCLOSE AND LINES Subject: HILOWCLOSE AND LINES How to build a chart with hilowclose and lines in one image? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.