2 Replies Latest reply: Sep 21, 2017 9:26 PM by Sebastian Servat RSS

    Getting data from chart hypercube

    Maxime Dumas

      Hi,

       

      I am trying to get the raw data from the chart model. For most of the charts, the data gets filled into qHyperCube.qDataPages. But for widgets such as stacked barcharts and tables, it always stays empty.

       

      I tried getting the data using the QTable api, using:

       

              var table = qlik.table(model);
              var listener = function () {
                  console.log("data binded");
              };
              table.OnData.bind(listener);
      
      
      
      

       

      But the listener is never called.

       

      Is there another way of getting the data for those widgets?

       

      Thanks!