Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

LabWindows/CVI Graph and Strip Chart Y-Axis Names Do Not Rotate When Using Certain Fonts

Primary Software: LabWindows/CVI Development Systems>>Full Development System
Primary Software Version: 8.5
Primary Software Fixed Version: N/A
Secondary Software: LabWindows/CVI Run-Time Engine

Problem:
I have a LabWindows/CVI 7.1 application that I upgraded to LabWindows/CVI 8.1. The application contains a graph control which has a y-axis name. In the LabWindows/CVI 7.1 application, the axis name was rotated at 90 degrees which is the expected behavior. However, the LabWindows/CVI 8.1 version of this application doesn't rotate the text and keeps the text at 0 degrees. Thus some of my text is cut-off. What's going on and how do I get my y-axis name to rotate back up to 90 degrees?

Solution:
Between LabWindows/CVI 7.1 and 8.0 the implementation of how the y-axis names were rotated changed. Certain fonts don't accept being created with an angle of rotation. The list of known fonts that do not support rotation include:
  • Courier
  • MS Sans Serif
  • Fixedsys
  • NIEditorMetaFont

Controls that use rotated text include:

  • Graph and strip chart controls that have y-axis labels and names
  • Tab controls with the tab location on the left or right
  • Text Messages with the ATTR_TEXT_ANGLE attribute.

The workaround is to use fonts other than the ones listed above.

Related Links:

Attachments:





Report Date: 07/18/2007
Last Updated: 11/20/2007
Document ID: 49UBTMIO

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit