sergeiz Posted March 8, 2010 Report Share Posted March 8, 2010 Hi, Can anyone tell me why "\n" is not working in following code Chart1.ToolTipFormat = "Channel: %L \n Growth: %x%% \n CAGR: %v%%"; Here is what I want to have: Channel: Grocery Growth: 5% CAGR: 2% But instead it all shows up on 1 line. Thanks in advance. Quote Link to comment Share on other sites More sharing options...
rocioZ Posted March 9, 2010 Report Share Posted March 9, 2010 Please try the following lines of code: chart1.ToolTips = true ; const string maskString = "Channel: " + "%L" + "\nGrowth: " + "%x%%" + "\nGAGR: " + "%v%%" ; chart1.ToolTipFormat = maskString; Quote Link to comment Share on other sites More sharing options...
sergeiz Posted March 9, 2010 Author Report Share Posted March 9, 2010 Thanks for suggestion, rocioZ. I realized that it works the way I had it in IE 6. It's Firefox 3.0.18 that doesn't work. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.