How to change the default limit in components

For the limit functionality, unset limits default to 100:


You can get around this by setting the limit in the loadData function that’s in your emb.ts file, so for example if you don’t want to give the user an option to adjust the limit via an input, you could do something like:

   results: loadData({
        from: inputs.ds,
        limit: 5000,
        dimensions: [inputs.xAxis],
        measures: [inputs.metric],
      }),

But if you do have an input that allows the end user to set their own limit, you could do:

     results: loadData({
        from: inputs.ds,
        limit: inputs.limit || 5000,
        dimensions: [inputs.xAxis],
        measures: [inputs.metric],
      }),