User (Legacy) Posted June 13, 2003 Report Share Posted June 13, 2003 I am looping through data to build the pie chart (see below) but do not understand the documentation when it comes to adding Parameters to the URL. The lines below (marked by *) are the lines where I loop through my recordset to populate the parameters, but only one (the first in the loop) URL is created and used by all sections on the pie chart. I tried moving the chart.URL(0) into the loop and replaced it with chart.URL(YCounter-1) but then no links were created at all. Any assistance or pointers would be much appreciated. chart.OpenDataEx COD_VALUES,1,3 for YCounter = 1 to benefit.rows benefit.row = YCounter If benefit.Value("BEN-USED") <> "0.00" then Chart.Value(Ycounter-1) = benefit.Value("BEN-USED") End If next chart.CloseData COD_VALUES chart.URL(0) = "/claims.asp" chart.URLOptions = CHART_URL_JUMP Or CHART_URL_GLOBAL Or CHART_URL_PARAM * for YCounter = 1 to benefit.rows * benefit.row = YCounter * If benefit.Value("BEN-USED") <> "0.00" then * chart.URLParamMask = "Value="&benefit.Value("BEN-USED") * End If * next chart.ImgTags = "BORDER=0" Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.