Showing results for 
Search instead for 
Did you mean: 

Define Widget Navigator Scroll Position left or Right

9 - Travel Pro
9 - Travel Pro

This Script is used for Navigator Scroll Position left or Right.

The following widget script will default the navigation scroller to the maximum position. 
Configure the script via the displayBars variable. This is the number of bars that will be displayed. 
var displayBars = 10;

widget.on('beforeviewloaded', function ( ev, args ) {
  args.options.navigator.enabled = true;
        var maxBarCount = (args.options.series[0].data.length - 1);
        args.options.xAxis.min= maxBarCount - displayBars + 1;
        args.options.xAxis.max= maxBarCount




Community Toolbox

Recommended links to assist you in optimizing your community experience:

Developers Group:

Product Feedback Forum:

Need additional support?:

Submit a Support Request

The Legal Stuff

Have a question about the Sisense Community?

Email [email protected]