Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
rbartley
Specialist II
Specialist II

Switching off continuous scale through Sense Visualization API

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-p...

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

0 Replies