| ||
Introducing SharpPlot Your First Chart Recent Updates Sample Charts Tutorials General Tutorials Chart Tutorials SharpPlot Class Properties Methods Structures Enumerations Glossaries Active Charts VectorMath Class DBUtil Class Get SharpPlot Download SharpPlot Buying SharpPlot SharpPlot Support Upgrading from GraPL Release notes |
Reference > Style examples > No wrapping No wrappingApplies to most text items – wrapping to the ‘natural’ margins is turned off. // Turn off wrapping on heading and legend sp.Heading = "This text would normally be wrapped at the paper edge"; sp.Subheading = "This text would normally be wrapped at the chart margins"; sp.HeadingStyle = HeadingStyles.NoWrap; sp.SetKeyText(new string[] {"Data points are here","Fitted trend is here too"}); sp.KeyStyle = KeyStyles.Vertical|KeyStyles.NoWrap; Depending on the output medium chosen, this may result in text being clipped at either edge of the chart. |