User (Legacy) Posted October 19, 2006 Report Share Posted October 19, 2006 Is there a way to turn off the showing of the "No Data Available" message you get when you have an instance of the chart control with no data? If not is there a way I can localize that string? Thanks, Mark Attachments.zip Link to comment Share on other sites More sharing options...
Software FX Posted October 20, 2006 Report Share Posted October 20, 2006 What do you want to show instead ? Like any other string in Chart FX it will be localized if you provide resources for another language. Also, the SetMessageText method can be used to change a particular string. For example: chart.SetMessageText("NoData","Empty Chart"); -- Francisco Padron www.chartfx.com Link to comment Share on other sites More sharing options...
User (Legacy) Posted October 20, 2006 Author Report Share Posted October 20, 2006 Thanks for the reply. I´d like to just turn it off so when there is no data no text shows. I´ll try changing the mesasge to an empty string,. If the message shows then I have to get it localized for every language our product supports, it´s much easier to just not show the message. Mark "SoftwareFX Support" <noreply@softwarefx.com> wrote in message news:cHdlm6E9GHA.340@webserver3.softwarefx.com... > What do you want to show instead ? > > Like any other string in Chart FX it will be localized if you provide > resources for another language. > > Also, the SetMessageText method can be used to change a particular string. > For example: > > chart.SetMessageText("NoData","Empty Chart"); > > -- > Francisco Padron > www.chartfx.com > Link to comment Share on other sites More sharing options...
Software FX Posted October 20, 2006 Report Share Posted October 20, 2006 You should know that we provide localization for most languages. Please check the Globalization folder in your Chart FX Installation Folder. You will not only get that string localized but all the Chart FX UI. -- Francisco Padron www.chartfx.com Link to comment Share on other sites More sharing options...
User (Legacy) Posted December 15, 2006 Author Report Share Posted December 15, 2006 I have just about the exact opposite question. What do I need to do to get the No Data Message instead of a chart being displayed with "sample data"? "SoftwareFX Support" <noreply@softwarefx.com> wrote in message news:fJkYmTH9GHA.332@webserver3.softwarefx.com... > You should know that we provide localization for most languages. > > Please check the Globalization folder in your Chart FX Installation > Folder. > > You will not only get that string localized but all the Chart FX UI. > > -- > Francisco Padron > www.chartfx.com > Link to comment Share on other sites More sharing options...
Software FX Posted December 15, 2006 Report Share Posted December 15, 2006 Simply call: Chart.Data.Clear(); -- Francisco Padron www.chartfx.com Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.