User (Legacy) Posted June 17, 2003 Report Share Posted June 17, 2003 I have an chart that takes its data from a web service.... There's a slight delay from the time the control appears to when the data is loaded, so I've cleared the data in the chart as the default displays garbage data that might confuse our users, when I do this it simply displays "No Data Available".... which is fine I'd however I'd prefer to customise this text to something like "Please wait loading data..." is there a way to do this ? TIA Michael Link to comment Share on other sites More sharing options...
Software FX Posted June 18, 2003 Report Share Posted June 18, 2003 Yes. Any string displayed by Chart FX can be changed by changing the string table. This is mostly done when localizing Chart FX to another language but it can also by used to change a particular string like in this case. In particular the entry you will be interested in reads as follows: NoData=No Data Available To change this string, you use the SetMessageText method as follows: chart1.SetMessageText("NoData","Please wait loading data..."); For a list of all possible string table entries, check out the documentation on SetMessageText. -- FP Software FX, Inc. Link to comment Share on other sites More sharing options...
User (Legacy) Posted June 19, 2003 Author Report Share Posted June 19, 2003 Thanks for the info however... I could not find any information regarding the keys that can be passed to this method. A complete list of keys would be very handy. This is really a separate issue but our application uses a web service for localisation (not satellite assemblies). So I have a need to programmatically localise text displayed in chart fx, this SetMessageText function might be ideal for that purpose. "SoftwareFX Support" <support@softwarefx.com> wrote in message news:M10%235TaNDHA.1728@webserver1.softwarefx.com... > Yes. Any string displayed by Chart FX can be changed by changing the string > table. > > This is mostly done when localizing Chart FX to another language but it can > also by used to change a particular string like in this case. > > In particular the entry you will be interested in reads as follows: > > NoData=No Data Available > > To change this string, you use the SetMessageText method as follows: > > chart1.SetMessageText("NoData","Please wait loading data..."); > > For a list of all possible string table entries, check out the documentation > on SetMessageText. > > -- > FP > Software FX, Inc. > > Link to comment Share on other sites More sharing options...
Software FX Posted June 19, 2003 Report Share Posted June 19, 2003 I pointed you to the list, check out the API help file for SetMessageText. The is list is right there. -- FP Software FX, Inc. Link to comment Share on other sites More sharing options...
User (Legacy) Posted June 20, 2003 Author Report Share Posted June 20, 2003 OK.... There was no documentation for the keys in my local chartfx help however the documentation on your web site does. Thanks. "SoftwareFX Support" <support@softwarefx.com> wrote in message news:FrLfxqmNDHA.3180@webserver1.softwarefx.com... > I pointed you to the list, check out the API help file for SetMessageText. > The is list is right there. > > -- > 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.