User (Legacy) Posted October 23, 2003 Report Share Posted October 23, 2003 If I drag a chart onto a webform and enter thr following code, the XAxis data is ignore and is always set to 1,2,3,... (sorry about the formatting). This is almost verbatim from the API docs. Can someone please tell me what I'm doing wrong? Thanks Chart1.OpenData(SoftwareFX.ChartFX.COD.Values, 2, 5); Chart1.OpenData(SoftwareFX.ChartFX.COD.XValues, 2, 5); for (int i = 0;i<=1;i++) for(int j = 0;j<=4;j++) { Chart1.Value[i,j] = (i+1) * j; Chart1.XValue[i,j] = -10*(i+1)*j; } Chart1.CloseData(SoftwareFX.ChartFX.COD.XValues); Chart1.CloseData(SoftwareFX.ChartFX.COD.Values); Link to comment Share on other sites More sharing options...
Software FX Posted October 23, 2003 Report Share Posted October 23, 2003 What type of chart (Bar, Lines ?). Some chart types like Bars, Hi-Low-Close, etc, don't support X-Values. -- FP Software FX, Inc. Link to comment Share on other sites More sharing options...
User (Legacy) Posted October 23, 2003 Author Report Share Posted October 23, 2003 I've tried lines, bars, and areas. My ultimate goal is to plot time series information, but my date/times were showing the same behavior (all starting at 1/1/1900). "SoftwareFX Support" <support@softwarefx.com> wrote in message news:9$yOSmXmDHA.1544@WEBSERVER1... > What type of chart (Bar, Lines ?). Some chart types like Bars, Hi-Low-Close, > etc, don't support X-Values. > > -- > FP > Software FX, Inc. > > Link to comment Share on other sites More sharing options...
Software FX Posted October 24, 2003 Report Share Posted October 24, 2003 Of the ones you mentioned Bars if the only type that doesn't support X-Values. Please attach a screen shot of the problem. Or even better export the chart to a binary file and post it this way we can tell which setting is giving you this undesired result. -- FP Software FX, Inc. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.