取消
显示结果 
搜索替代 
您的意思是: 

excel graph report

Hi there,

 

I need some help ...I  want to make an EXCEL report using report generation toolkit.I need to insert graph (pressure vs time) in the report. Can I set the x-axis scale? I have try Set Graph Scale.vi. It is only allowed me to set the y-axis scale...pls help...thanks

 

 

0 项奖励
1 条消息(共 7 条)
4,650 次查看

Yes you can set the x-axis scale.

 

Place another Set Graph Scale.vi on the block diagram and instead of selecting xlValue select xlCategory.

Brian
2 条消息(共 7 条)
4,628 次查看
when I change it to xlcategory there is error occured? is there any example that using the excel set graph scale.vi??
0 项奖励
3 条消息(共 7 条)
4,602 次查看

I tried changing your graph type from xlLine to xlXYScatterLines but I still get the same error.

 

Error -2146827284 occurred at Exception occured in Microsoft Excel: OLEObjects method of Worksheet class failedHelp Path is C:\Program Files\Microsoft Office\Office10\1033\xlmain10.chm and context 0 in NI_ReportGenerationToolkit.lvlib:Excel_Set_Chart_Colors.vi->NI_Excel.lvclass:Excel Set Graph Colors.vi->graph%20report[1].vi

This error code is undefined. No one has provided a description for this code, or you might have wired a number that is not an error code to the error code input.

 

It took me a while to become efficient at using report generation toolkit especially the graph functions.

 

I have attached one of my routines that sets the scale of the x and y axis.

Brian
0 项奖励
4 条消息(共 7 条)
4,576 次查看
Can you save this example as version 8.5?
0 项奖励
5 条消息(共 7 条)
4,529 次查看

Hi Brian,

I cannot open your vi.Can you save it as ver8.2 please..... thanks

0 项奖励
6 条消息(共 7 条)
4,504 次查看
0 项奖励
7 条消息(共 7 条)
4,486 次查看