# getDashboardChart

> Function getDashboardChart in pulumi-logtail.

<!-- Generated from the pulumi-logtail SDK. -->

Function getDashboardChart in pulumi-logtail.

Invoke token: `logtail:index/getDashboardChart:getDashboardChart`.

## Example

Only required arguments are set. A string in angle brackets stands in for that argument. Any other value is an option or example written in the SDK description.

```ts
import * as logtail from "pulumi-logtail"

const result = await logtail.getDashboardChart({
  dashboardId: "<dashboardId>",
  name: "<name>",
})
```

`getDashboardChartOutput` accepts Input values and returns `Output` of the same result.

## Arguments

| Property      | Type     | Required | Description |
| ------------- | -------- | -------- | ----------- |
| `dashboardId` | `string` | yes      |             |
| `name`        | `string` | yes      |             |

## Result

| Property      | Type                       | Always present | Description |
| ------------- | -------------------------- | -------------- | ----------- |
| `chartType`   | `string`                   | yes            |             |
| `createdAt`   | `string`                   | yes            |             |
| `dashboardId` | `string`                   | yes            |             |
| `description` | `string`                   | yes            |             |
| `h`           | `number`                   | yes            |             |
| `id`          | `string`                   | yes            |             |
| `name`        | `string`                   | yes            |             |
| `queries`     | `GetDashboardChartQuery[]` | yes            |             |
| `settings`    | `string`                   | yes            |             |
| `updatedAt`   | `string`                   | yes            |             |
| `w`           | `number`                   | yes            |             |
| `x`           | `number`                   | yes            |             |
| `y`           | `number`                   | yes            |             |

## `GetDashboardChartQuery`

Output object `GetDashboardChartQuery`. Fields below belong to this object.

| Property         | Type     | Always present | Description |
| ---------------- | -------- | -------------- | ----------- |
| `id`             | `number` | no             |             |
| `name`           | `string` | no             |             |
| `queryType`      | `string` | no             |             |
| `sourceVariable` | `string` | no             |             |
| `sqlQuery`       | `string` | no             |             |
| `staticText`     | `string` | no             |             |
| `whereCondition` | `string` | no             |             |
