# What's the Best Practice for the Automatic Granularity Pickers?

**URL:** <https://community.embeddable.com/t/whats-the-best-practice-for-the-automatic-granularity-pickers/147>\
**Category:** FAQs\
**Created:** [September 10, 2025, 8:22am UTC](https://community.embeddable.com/t/whats-the-best-practice-for-the-automatic-granularity-pickers/147 "2025-09-10T08:22:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chris-Embeddable](https://dub1.discourse-cdn.com/flex013/user_avatar/community.embeddable.com/chris-embeddable/32/24_2.png) [@Chris-Embeddable](https://community.embeddable.com/u/Chris-Embeddable)\
**Post date:** [September 10, 2025, 8:22am UTC](https://community.embeddable.com/t/whats-the-best-practice-for-the-automatic-granularity-pickers/147/1 "2025-09-10T08:22:35Z")

</div>

Whenever you choose a time-series Dimension, a granularity picker also shows up automatically. This behavior is intended to replace the previous need to define a granularity input in your `emb.ts` file. If you have built custom components that use granularity inputs, you have two options:

1. **Our suggested choice** - remove the granularity input and use the automatic granularity instead. This may require you to move from passing `dimensions` and `measures` separately to `loadData` and instead use `select` - see [the loadData documentation](https://docs.embeddable.com/development/loading-data) for examples.
2. The alternate choice - on your dimension definition in the `emb.ts` file, you can add `hideGranularity: true` to the `config` property to disable the automatic granularity. Here’s a full example:

```auto
    {
      name: 'xAxis',
      type: 'dimension',
      label: 'X-Axis',
      config: {
        dataset: 'ds',
        supportedTypes: ['time'],
        hideGranularity: true,
      },
      category: 'Chart data',
    },

```
