2 Replies Latest reply: Aug 10, 2016 10:59 AM by Richard Bartley RSS

    How can the measure and dimension labels be set in the Qlik Sense Mashup API?

    Richard Bartley

      Hello everyone,

       

      How can the measure and dimension labels be set in the Qlik Sense API?  I have looked in the API reference and ound the "show" property of dimensionAxis but I cannot see any properties that refer to label values themselves.  For example, here's an excerpt from my .js file

       

      app.visualization.create('barchart',["COUNTRY","=AVG({<TOTAL_FLAG={0}>}BASELINE_DATA)"],

          {

          "title":"On the fly barchart",

          "color":{"auto":false,"mode":"byDimension","singleColor":3},

          "dimensionAxis":{"show":"labels"},

          "measureAxis":{"show":"labels"}

          }

          ).then(function(barchart){

          barchart.show("QV01");

          });


      Thanks in advance.


      Richard