0 Replies Latest reply: Sep 14, 2016 7:28 AM by Richard Bartley RSS

    Switching off continuous scale through Sense Visualization API

    Richard Bartley

      Hi all,

       

      Does anyone know how to switch off the continuous scale in the Qlik Sense Visualization API (or other).  The problem is that, by default, when creating a linechart visualization on the fly, the x-axis format of a numeric dimension is in ###,#K format.

       

      In Qlik Sense, there is a check box which allows the user to un-select this.  However, this option does not appear in the properties list of the linechart visualization:

       

      https://help.qlik.com/en-US/sense-developer/3.0/Subsystems/APIs/Content/VisualizationAPI/linechart-properties.htm

       

      Even though there is a boolean logarithmic property for the measureAxis property, there is not a continuous property under the dimensionAxis property.

       

      I tried adding a line to the properties anyway, just in case it was an undocumented feature, but it did not work.

       

      {

      ...,

      dimensionAxis:{"continuous":false}

       

      }

       

      Any ideas how I can get a six digit number appear as a six digit number rather than with a ...K?    I tried using the num() function, but this does not work in native Sense (when the continuous option is checked) or through the API.

       

      Any help would be greatly received.

       

      Richard