User (Legacy) Posted October 8, 2001 Report Share Posted October 8, 2001 Hello, I Link to comment Share on other sites More sharing options...
Software FX Posted October 8, 2001 Report Share Posted October 8, 2001 I tested the following code and it works fine. Please note that I am setting the number of decimals on the X axis to be 2 (you may need this). <% Set chart = Server.CreateObject("ChartFX.WebServer") Chart.OpenDataEx COD_VALUES,1,3 Chart.OpenDataEx COD_XVALUES,1,3 Chart.ValueEx(0,0) = 10 Chart.ValueEx(0,1) = 8 Chart.ValueEx(0,2) = 4 Chart.XValueEx(0,0) = 1 Chart.XValueEx(0,1) = 1.5 Chart.XValueEx(0,2) = 2.5 Chart.CloseData COD_XVALUES Chart.CloseData COD_VALUES Chart.Gallery = SCATTER Chart.Chart3D = False Chart.Axis(AXIS_X).Decimals = 2 Chart.URL(0) = "DrillDownParam.asp" Chart.URLOptions = CHART_URL_JUMP OR CHART_URL_PARAM or CHART_URL_GLOBAL Chart.URLParamMask ="Answer=%x" ' This line is required if generating active charts ' Chart.DblClk CHART_URLCLK,0 %> <%= chart.GetHtmlTag("500","350","Image") %> I have tested this code with both images and active chart and it seems to work in all cases, please let me know if you are doing something different in your code or if this sample behaves differently in your machine. Regards, JC "Carina Daunfeldt" <carina@quicknet.se> wrote in message news:icRiq19TBHA.1444@webserver1.softwarefx.com... > Hello, > > I Link to comment Share on other sites More sharing options...
User (Legacy) Posted October 9, 2001 Author Report Share Posted October 9, 2001 Hello, Now I know what my mistake was, I used a BAR chart ... Thanks anyway Carina Link to comment Share on other sites More sharing options...
Software FX Posted October 9, 2001 Report Share Posted October 9, 2001 I have not personally tried with URLParamMask it but if you use %X (note that it should be uppercase) we will output the X value in the tipmask/URLParamMask even if the gallery type does not support X values Regards, JC "Carina Daunfeldt" <carina@quicknet.se> wrote in message news:GAp11bJUBHA.1276@webserver1.softwarefx.com... > Hello, > > Now I know what my mistake was, I used a BAR chart ... > > Thanks anyway > > Carina > > Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.