# Vega chart Only 11 data are visible

**URL:** <https://discuss.elastic.co/t/vega-chart-only-11-data-are-visible/320949>\
**Category:** Kibana\
**Tags:** vega\
**Created:** [December 10, 2022, 1:55pm UTC](https://discuss.elastic.co/t/vega-chart-only-11-data-are-visible/320949 "2022-12-10T13:55:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cusis\_Eel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cusis_eel/32/106504_2.png) [@Cusis\_Eel](https://discuss.elastic.co/u/Cusis_Eel)\
**Post date:** [December 10, 2022, 1:55pm UTC](https://discuss.elastic.co/t/vega-chart-only-11-data-are-visible/320949/1 "2022-12-10T13:55:50Z")

</div>

![image](https://us1.discourse-cdn.com/elastic/original/3X/5/7/57839a64ade8ef2c19d455550eb2e5283cdf7cf3.png)

There are dozens of data, but only 11 are visible.

```auto
{
  $schema: https://vega.github.io/schema/vega-lite/v4.json
 
  data: 
    {
      url: {
        %context%: true
        %timefield%: input_date
        index: vega_05
        body: { 
        
        
        }
      }
      format: {
        property: hits.hits
      }
    }
  

  mark: bar
    encoding: {
      "x": {
        "field": "_source.start",
        "type" : "ordinal",

      },
      "x2": {
        "field": "_source.end",
        "type" : "ordinal",
      },
      "y": {
        "field": "_source.name",
        "type" : "nominal",
      }
    }
}

```

Here is Json

```auto
{
    "input_date" : "2022-12-01T00:00:00.000Z",
    "start" : "01:00",
    "end" : "01:01",
}

```

I has this json data 00:00 ~ 23:59 of everyday.  
I want all this data to be shown.(Maybe the width will get tight)  
Please help this  
Thanks

---

<div class="post-metadata">

**Author:** ![Cusis\_Eel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cusis_eel/32/106504_2.png) [@Cusis\_Eel](https://discuss.elastic.co/u/Cusis_Eel)\
**Post date:** [December 10, 2022, 11:53pm UTC](https://discuss.elastic.co/t/vega-chart-only-11-data-are-visible/320949/2 "2022-12-10T23:53:57Z")

</div>

I solved this issue by myself.

```auto
        body: { 
          size: 1440 // <<
        }

```

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [January 7, 2023, 11:54pm UTC](https://discuss.elastic.co/t/vega-chart-only-11-data-are-visible/320949/3 "2023-01-07T23:54:30Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
