Skip to main content

DashboardChartDetail

No description

type DashboardChartDetail {
publicId: String!
name: String!
description: String!
source: String!
query: String!
viz: String!
version: Int!
folderId: Long
tagIds: [Long!]!
preview: String
previewAt: String
createdBy: Long
updatedBy: Long
createdAt: String!
updatedAt: String!
focusId: Long!
}

Fields​

DashboardChartDetail.publicId ● String! non-null scalar​

DashboardChartDetail.name ● String! non-null scalar​

DashboardChartDetail.description ● String! non-null scalar​

DashboardChartDetail.source ● String! non-null scalar​

JSON of where the SQL runs: {"kind":"honeybase"} | {"kind":"orgdb"} | {"kind":"integration","integrationId":N}.

DashboardChartDetail.query ● String! non-null scalar​

JSON of the query: {"kind":"sql", "sql": "... {{param}} ... [[AND ... {{param}}]]", "parameters": [{name, type, required, default?}]}.

DashboardChartDetail.viz ● String! non-null scalar​

JSON of the chart config (chart-viz.schema.json): {type, x?, y?, series?, xType?, timeGrain?, stacked?, horizontal?, sort?, limit?, yFormat?, title?, drill?, xAxis?, yAxis?, y2?, y2Axis?, legend?, colors?, thresholds?, tableRules?}; an axis is {show?, title?, min?, max?, scale?: linear|log|pow, exponent?}, a legend {show?, position?: top|bottom|left|right}; colors maps a series or slice to a colour; thresholds [{op, value, color}] colour a number (first match); tableRules [{scope: row|cell, column, op, value?, color}] tint a table (first match); op is gt|gte|lt|lte|eq|neq|contains|empty|not_empty and a colour is a theme name (chart-1..chart-5, red, amber, green, blue, gray) or #rrggbb.

DashboardChartDetail.version ● Int! non-null scalar​

DashboardChartDetail.folderId ● Long scalar​

DashboardChartDetail.tagIds ● [Long!]! non-null scalar​

DashboardChartDetail.preview ● String scalar​

JSON snapshot behind the library's mini chart, {columns, rows (at most 50), truncated, filterValues}; written by the server on runs with the chart's default parameters only. Null when the chart never ran on its defaults.

DashboardChartDetail.previewAt ● String scalar​

DashboardChartDetail.createdBy ● Long scalar​

DashboardChartDetail.updatedBy ● Long scalar​

DashboardChartDetail.createdAt ● String! non-null scalar​

DashboardChartDetail.updatedAt ● String! non-null scalar​

DashboardChartDetail.focusId ● Long! non-null scalar​

The id a Barry message names this chart by when the chart editor is the turn's focus (sendChatMessage focusKind chart, focusId).

Member Of​

DashboardChartUpdateResult object ● DashboardMutations object ● DashboardQueries object