Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Get chart values in extension

Hi,

I am trying to get values from a Qlikview chart in a script.js of an extenison. I am using the Data property of chart object to get values. I can get the values from a Straight or Pivot table, but not from any other chart type. The Data array exists for Straight table or Pivot table and hence I can loop through the array to get the data. But the array does not exist for other type of charts. The length of the Data array is 0. Can someone explain how I can get data from charts other than Straight or Pivot tables?

Below is the way I am reading the data from a chart in the extension. For my testing, I display the length of the object data array. For a straight or pivot table, I get a valid length but when I convert the chart from a table to any other chart, I get the length as 0.

Capture.PNG

Thanks,

Samanth

0 Replies