User (Legacy) Posted January 10, 2005 Report Share Posted January 10, 2005 Hi, the following code works in the core ChartFX for windows product: For Each p In ps Chart1.Legend(n) = Format(p.Date, "dd MMM yyyy") Chart1.Value(0, n) = p.Price Chart1.Value(1, n) = p.Volume * 0.001 n += 1 Next The dates on the X axis are correctly displayed. However, when using financial chart the dates start fom 31/12/1899 no matter what the real p.Date is. Thanks Bojan Kuhar Link to comment Share on other sites More sharing options...
Software FX Posted January 10, 2005 Report Share Posted January 10, 2005 Can you please specify which product you are referring to ? From your posting it is not clear whether you are talking about Chart FX for .NET of Chart FX Client/Server (COM). Also, have you check the samples for the Financial Extension ? Dates must be passed as X-Values not as string labels. -- FP Software FX Link to comment Share on other sites More sharing options...
User (Legacy) Posted January 12, 2005 Author Report Share Posted January 12, 2005 Thanks, XValues works. However, legend(n)= works in Chart Fx .NET Windows Forms 6.2. "SoftwareFX Support" <noreply@softwarefx.com> wrote in message news:oB9BSnz9EHA.1580@webserver3.softwarefx.com... > Can you please specify which product you are referring to ? > > From your posting it is not clear whether you are talking about Chart FX > for .NET of Chart FX Client/Server (COM). > > Also, have you check the samples for the Financial Extension ? Dates must > be passed as X-Values not as string labels. > > -- > FP > Software FX > Link to comment Share on other sites More sharing options...
Software FX Posted January 12, 2005 Report Share Posted January 12, 2005 Correct. They show up in Chart FX 6.2 but they cease to be dates and becomes just strings. Chart FX Financial needs them as dates (X-Values) in order to provide the advanced features included with the extension. -- FP Software FX Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.