Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
45
PrintChart Method prints "14:12:..." instead of "14:12:45"
posted

I have a LineChart which i want to print out. The Line and the Y-Axis is printed correctly, but the labels of the X-Axis (TimeScaleAxis) is printed without the last two digits (i.e "14:12:..." instead of "14:12:45"). I tried already to modify the Extent-property, the FontSize of the labels, the ItemFormatString-property or the padding-property, but unfortunately nothing worked. If i save my Chart as a JPEG-File, the picture looks correct! Only if i want to print it, the problem occurs.

Does somebody has an idea, how to fix my problem?


Parents
  • 28496
    Verified Answer
    Offline posted

    sounds like a problem with measuring strings using the printer's graphics.  feel free to submit this as a bug (by contacting Infragistics Developer Support).  you can probably work around the problem by setting Axis.X.Labels.Layout.Behavior = None. 

    you might also be able to fix it by changing the orientation of the labels (maybe using a rotation of 1 or 91 instead of 0 or 90).

Reply Children
No Data