scale

defines the scale configuration of Bullet Graph

object|boolean scale;

Example

webix.ui({
    view:"bullet", 
    id:"b1",
    minRange:0, 
    maxRange:120,
    value:40, 
    scale: {                         step:20                  }                        });

Related samples

Details

The scale property allows defining the step and template for scale values.

  • The default scale config is:
scale:{ 
    step:10
}
  • You can specify a template for displaying scale values as follows:
webix.ui({
    view:"bullet", 
    id:"b1",
    minRange:0, 
    maxRange:120,
    value:40,   
    scale: { 
        step:20,
        template:"#value#%"           }
});
  • To disable the scale, set the scale config option to false.
See also
  • Articles
  • Back to top