Forum Discussion
3 Replies
Replies have been turned off for this discussion
- HarryCloud Apps
Hello gayatrishahane ,
You can limit the labels in X-axis using below script. This script shows every 10th label in X-axis.
widget.on('processresult', function(se, ev){ ev.result.xAxis.tickInterval = 10 })
Please let me know if you have any questions
Always here to help,
Harry from QBeeQ
[email protected]
www.qbeeq.pl - Sijo1995Cloud Apps
Hi gayatrishahane ,
Please use this script and read this link-https://community.sisense.com/t5/embed-analytics/define-widget-navigator-scroll-position-left-or-right/m-p/4809#M123
var displayBars = 10; widget.on('beforeviewloaded', function ( ev, args ) { args.options.navigator.enabled = true; //args.options.xAxis.max=args.options.series[0].data.length; //args.options.xAxis.max=6; var maxBarCount = (args.options.series[0].data.length - 1); args.options.xAxis.min= maxBarCount - displayBars + 1; args.options.xAxis.max= maxBarCount });
Thanks
Sijo