Have you tried to use the "cell by cell" option in NPrinting for the chart?
If the exact value (to create your reference) is always populated in the same location in your chart (CH101) it might be the better option instead of dragging and dropping the whole chart itself into the excel template. This will alleviate your issue of the chart expanding since you are grabbing the "cell of data" that you need.
Thanks for your reply.
I tried the same as suggested by you but i am not able to get the correct values from the cell instead it is giving the name of the cell which we put while adding the cell.It will be of great help if you can provide me some example of it with screenshots.
However i am able to get the exact cell value of a chart by using an excel function INDIRECT().
If we need any cell value from a chart we need to get the reference from the preview of the excel as the chart gets expanded there and use the INDIRECT() function.
If the A2 value gets generated in the preview and after the chart expansion, we can use the following to get the value
=INDIRECT("Sheet2!A2") in the desired cell. Here i needed in different sheet so i used Sheet2.
Not sure why you need INDIRECT here. =INDIRECT("Sheet2!A2") is the same as =Sheet2!A2
To give a simple example:
Cell A5 contains the formula =INDIRECT(A2). The value in cell A2 is the string B3 so the result in cell A5 is the value of cell B3 which is 10. So, INDIRECT() returns the reference specified by a text string. Both =INDIRECT("A2") and =A2 will return the text string B3.
If you upload a small project (NSQ, QVW & Excel Template) showing what you currently get and a sample Excel file showing what you want, someone here will assist.
HTH - Daniel.
Thanks for your reply.
Since INDIRECT() function is used to create a reference that won't change if row or columns are inserted in the worksheet. So we will use the reference in the template of the cells of the charts after doing the preview so that we can get the exact value of the cells in the charts, it wont get change even after doing the preview.
The only concern i am facing is the same thing i am not able to do by using "Importing cell values from QlikView objects" as described in the below link.