# Analytics_Histogram

Source: https://swapcard.dev/organizer/content-api/graphql-event-api-schema/objects/analytics-histogram


const [open, setOpen] = useState(startOpen);
  return (
    <details {...(open ? { open: true } : {})} className="details" style={{ border:'none', boxShadow:'none', background:'var(--ifm-background-color)' }}>
      <summary
        onClick={(e) => {
          e.preventDefault();
          setOpen((open) => !open);
        }}
        style={{ listStyle:'none' }}
      >
      {open ? dataOpen : dataClose}
      </summary>
      {open && children}
    </details>
  );
};

No description

```graphql
type Analytics_Histogram {
  belowCount: Int!
  aboveCount: Int!
  bins: [Analytics_HistogramBin!]!
}
```

### Fields

#### [<code style={{ fontWeight: 'normal' }}>Analytics_Histogram.<b>belowCount</b></code>](#)<Bullet />[`Int!`](/organizer/content-api/graphql-event-api-schema/scalars/int) <Badge class="badge badge--secondary" text="non-null"/> <Badge class="badge badge--secondary" text="scalar"/> 
> 
> 
> 
> 

#### [<code style={{ fontWeight: 'normal' }}>Analytics_Histogram.<b>aboveCount</b></code>](#)<Bullet />[`Int!`](/organizer/content-api/graphql-event-api-schema/scalars/int) <Badge class="badge badge--secondary" text="non-null"/> <Badge class="badge badge--secondary" text="scalar"/> 
> 
> 
> 
> 

#### [<code style={{ fontWeight: 'normal' }}>Analytics_Histogram.<b>bins</b></code>](#)<Bullet />[`[Analytics_HistogramBin!]!`](/organizer/content-api/graphql-event-api-schema/objects/analytics-histogram-bin) <Badge class="badge badge--secondary" text="non-null"/> <Badge class="badge badge--secondary" text="object"/> 
> 
> 
> 
> 

### Member Of

[`Analytics_Connection`](/organizer/content-api/graphql-event-api-schema/objects/analytics-connection)  <Badge class="badge badge--secondary" text="object"/><Bullet />[`Analytics_ConnectionReceive`](/organizer/content-api/graphql-event-api-schema/objects/analytics-connection-receive)  <Badge class="badge badge--secondary" text="object"/>
