Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

Rotate value pairs names

Hi,
we are currently programatically trying to create a bar plot with one X-label for each bar. To achieve this we are using a CNiGraph and CNiValuePairs to add text labels.
Our problem is the length of the labels. We would need to have them printed vertically under the bars. Right now they end up overlapping each other making them unreadable. How can this be done?
The attached code snippet illustrates the problem by creating a simple bar plot and adding long text labels along the X-axis.

Regards,

Per
0 Kudos
Message 1 of 3
(3,278 Views)
Hi Per,

Unfortunately there really isn't anyway to change the alignment of the axis labels. The only work around is to use Free Text Labels, which obviously isn't ideal.
Sorry for the inconvenience.

Dan Weiland
Applications Engineer
National Instruments
www.ni.com/support
Dan Weiland
0 Kudos
Message 2 of 3
(3,265 Views)

Hi Dan,

I think such a feature would be highly desirable for the ValuePairs. It would enable the graph to output bar graphs with similar feature set as MS Excel and be used in statistic and other non-engineering areas. 

I'll try the Free text labels and how far I'll get.

Thanks,

Per 

0 Kudos
Message 3 of 3
(3,258 Views)