Change Axis/Series Data Limitation

Comments

6 comments

  • Avatar
    Jim Thomas

    Shani - works great on Scatter charts, but does not resolve the "Too many ticks" issue on Bar charts.  See screen shot attached.  Do you have one for that?  Thanks, Jim




    Sisense-Too Many Ticks error.png
    0
    Comment actions Permalink
  • Avatar
    shani adani

    Jim,

    You can try to change the w.style.dataLimits.categoriesCapacity  parameter also.

    It should do the work.

    0
    Comment actions Permalink
  • Avatar
    Jim Thomas

    Shani,

    Added it.  Script is now:

    widget.on('beforequery', function(w,args){
        w.style.dataLimits.categoriesCapacityX = 5000;// Or any other number
        w.style.dataLimits.categoriesCapacityY = 5000; // Or any other number
        w.style.dataLimits.seriesCapacity = 5000; // Or any other number
        w.style.dataLimits.categoriesCapacity  = 5000;
    });

     

    Unfortunately it did not resolve the issue.  Note that this issue occurs on drill.  Wouldn't have thought that matters, but wanted to mention.

    Regards, Jim

    0
    Comment actions Permalink
  • Avatar
    Jim Thomas

    Shani,

    Has this been resolved for v6.7.1 for scatter diagrams?  It's not working for me.  In my particular instance, both the series and number of categories are exceeded.

    Thanks, Jim

    0
    Comment actions Permalink
  • Avatar
    Oxana Noa Umansky

    Hi Jim,

    We've tried the script in 6.7.1 and looks like it's working as expected. Are you still experiencing the issue? Can you share more info to help us troubleshoot? 

    0
    Comment actions Permalink
  • Avatar
    Jim Thomas

    Oxana - Using the script above I get the following error on a scatter.  Thanks - Jim

    0
    Comment actions Permalink

Please sign in to leave a comment.