09-12-2008 03:28 PM
I am creating graphs using the Report Generation Toolkit and I have most of the formatting down. The Help says to refer to the Microsoft Graph documentation for more information about number formatting. I haven't been able to find the documentation or any help on the forums.
Has anyone done this before?
09-15-2008 12:04 PM
Hi,
Can you be more specific as to exactly what kind of number formating you need more information on? I believe the help is referring to the help sections in Microsoft Excel and Word that deal with graphs and thier number format.
09-15-2008 03:47 PM
09-16-2008 12:54 PM - edited 09-16-2008 12:55 PM
Hi,
The choices for number format can be any of the common formats seen in the picture below (this comes from Office 2007, but you can find the equivalent Number property tab in any of the previous Microsoft Office application editions.)
If you need a more custom numeric definition, you can create a "custom" format in the same style as the Custom option in the Numeric properties tab pictured above. For example, for a numeric with 2 digits of precision, I believe the string should be "#,##0.00". Of course, your milege may vary, and experimentation is always warranted. But basically, putting any entry in the tab pictured above, or a similar variation, should work. You may also search the Microsoft Office help for a document "Create or delete a custom number format." It exists in the Office 2007 Documentation, but may be absent in previous editions.
09-17-2008 08:00 AM
09-18-2008 10:32 AM - edited 09-18-2008 10:34 AM
My intention was not to explain how to change the format in Excel, but to note that the same strings used in excel to format numbers, can be used as an input to the report generation VI "Excel Set Graph Font." Note that in the following graph
The Y axis is formatted "0.00". The following block diagram was used to generate this graph. Changing the constant string input to the VI will change the number format. Any string found in the "Format Cells" property page in excel can be used in LabVIEW as an input. You can also use the custom string formats to gain flexibility.
I hope this clears up the miscommunication.
09-24-2008 07:55 AM
Thanks, that works.
Bert
08-11-2009 03:46 AM
Hi
The vi shown above uses the excel set graph font to apply temp(c) to the y-axis. how is this done what is the flag which says add this text to the y-axis. I would like to add an x-axis, a y-axis and a title and not sure how
cheers
08-11-2009 05:30 AM
Ok
I have worked out by sticking a title in to xlCategory I can get the x-axis and by sticking the graph title in insert graph vi I can get a graph title.
Using the above figure is there a way of rotating temp (c)?