2 Replies Latest reply: Aug 12, 2016 10:47 AM by Logesh Jayaraman RSS

    Calculation on fly

    Logesh Jayaraman

      I had set the measure title and titles as false but still the title is showing as  =Count(session_id)



        app.visualization.create('kpi',

              ["=Count(session_id)"],

              {"showTitles":"false","showMeasureTitle":"false","textAlign": "center" }

          ).then(function (visual) {

              visual.show('QV01');

          });-

       

      How to fix it ?

        • Re: Calculation on fly
          Aiham Azmeh

          Hi,

           

          Try to just remove the double quotes for the boolean values:

          "showMeasureTitle":"false" => "showMeasureTitle":false

           

          app.visualization.create('kpi',

                  ["=Count(session_id)"],

                  {"showTitles":false,"showMeasureTitle":false,"textAlign": "center" }

              ).then(function (visual) {

                  visual.show('QV01');

              });


          Hope this helps,