Set per-series visualization bindings on each chartDatasetConfigs[] item.
That includes xAxis, yAxis, yAxisOperation, dateField, dateFormat, conditions, formula, and legend.
legend is chart-specific label text. If you omit it, Chartbrew falls back to the dataset name.
The layout of the chart - in the format of react-grid-layout. If not provided, will be automatically calculated based on existing charts in the project.
{"docsConfig":{"theme":"almond","$schema":"https://mintlify.com/docs.json","name":"Chartbrew Docs","colors":{"primary":"#048BDE","light":"#048BDE","dark":"#048BDE"},"logo":{"light":"https://mintcdn.com/chartbrew/0NOw1Ayq_SxHOzrD/logo/cb_logo_black.svg?fit=max\u0026auto=format\u0026n=0NOw1Ayq_SxHOzrD\u0026q=85\u0026s=3024a993202614eb42a5c8a5b2aec8fd","dark":"https://mintcdn.com/chartbrew/0NOw1Ayq_SxHOzrD/logo/cb_logo_white.svg?fit=max\u0026auto=format\u0026n=0NOw1Ayq_SxHOzrD\u0026q=85\u0026s=aa2da3b58a34c7a58fea1102149777c2"},"favicon":"https://mintcdn.com/chartbrew/YPArDehzXjtype0O/favicon.png?fit=max\u0026auto=format\u0026n=YPArDehzXjtype0O\u0026q=85\u0026s=3d8d07bd5c4cf5be4811910caa27cd44","api":{"playground":{"display":"interactive","proxy":false},"mdx":{"server":"http://localhost:4021"}},"navbar":{"links":[{"href":"https://github.com/chartbrew/chartbrew/issues","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.chartbrew.com"}},"footer":{"socials":{"x":"https://x.com/chartbrew","github":"https://github.com/chartbrew","linkedin":"https://linkedin.com/company/chartbrew"}},"seo":{"metatags":{"title":"Chartbrew Docs","og:title":"Chartbrew Docs","description":"Chartbrew Documentation - Learn how to automate your reporting with Chartbrew.","og:description":"Chartbrew Documentation - Learn how to automate your reporting with Chartbrew.","og:type":"website","og:image":"https://chartbrew-static.b-cdn.net/og_images/chartbrew-docs-start-building-light-a42d794d30dc957d.png","og:image:width":"1200","og:image:height":"630","og:image:alt":"Chartbrew docs. Start building. Blue and orange pixel artwork on a light background.","og:url":"https://docs.chartbrew.com","twitter:card":"summary_large_image","twitter:title":"Chartbrew Docs","twitter:description":"Chartbrew Documentation - Learn how to automate your reporting with Chartbrew.","twitter:image":"https://chartbrew-static.b-cdn.net/og_images/chartbrew-docs-start-building-light-a42d794d30dc957d.png","twitter:image:alt":"Chartbrew docs. Start building. Blue and orange pixel artwork on a light background.","twitter:site":"@chartbrew"},"indexing":"navigable"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Website","icon":"globe","href":"https://chartbrew.com"},{"anchor":"Community","icon":"Discord","href":"https://discord.gg/KwGEbFk"},{"anchor":"Blog","icon":"newspaper","href":"https://chartbrew.com/blog"},{"anchor":"GitHub","icon":"github","href":"https://github.com/chartbrew/chartbrew"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"chartbrew","hasAudioNarration":false,"actualSubdomain":"chartbrew","customDomains":["docs.chartbrew.com"],"gitSource":{"type":"github","owner":"chartbrew","repo":"chartbrew-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae9918dcaad68307571345f","clientVersion":"0.0.4087","searchFilterCounts":[{"language":"default","tag":"API Reference","count":60},{"language":"default","tag":"Documentation","count":22},{"language":"default","tag":"Charts","count":13},{"language":"default","tag":"Dashboards","count":10},{"language":"default","tag":"Connections","count":8},{"language":"default","tag":"Datasets","count":8},{"language":"default","tag":"Deployment","count":8},{"language":"default","tag":"Data Requests","count":7},{"language":"default","tag":"Chart-Dataset Configs","count":4},{"language":"default","tag":"Data API","count":4}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[],"page":{"pagePath":"api-reference/endpoint/charts/quick-create","slug":"/api-reference/endpoint/charts/quick-create","pageMetadata":{"title":"Quick Create Chart","description":"Quick create a chart with all its chart dataset configs in one API call","openapi":"POST /project/{project_id}/chart/quick-create","href":"/api-reference/endpoint/charts/quick-create"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Quick create a chart with all its chart dataset configs in one API call\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,..._provideComponents(),...props.components},{Note}=_components;if(!Note)_missingMdxReference(`Note`,true);return _jsxs(_Fragment,{children:[_jsx(Note,{children:_jsxs(_components.p,{children:[`Set per-series visualization bindings on each `,_jsx(_components.code,{children:`chartDatasetConfigs[]`}),` item.\nThat includes `,_jsx(_components.code,{children:`xAxis`}),`, `,_jsx(_components.code,{children:`yAxis`}),`, `,_jsx(_components.code,{children:`yAxisOperation`}),`, `,_jsx(_components.code,{children:`dateField`}),`, `,_jsx(_components.code,{children:`dateFormat`}),`, `,_jsx(_components.code,{children:`conditions`}),`, `,_jsx(_components.code,{children:`formula`}),`, and `,_jsx(_components.code,{children:`legend`}),`.`]})}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`legend`}),` is chart-specific label text. If you omit it, Chartbrew falls back to the dataset name.`]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Quick Create Chart","description":"Quick create a chart with all its chart dataset configs in one API call","openapi":"POST /project/{project_id}/chart/quick-create","href":"/api-reference/endpoint/charts/quick-create"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"description":"Quick create a chart with all its chart dataset configs in one API call","parameters":["95c9274b-1cfc-4214-a17e-cd067512409e"],"requestBody":"1db9b573-f9e4-4287-a4e9-2f3033406567","responses":{"200":"390620a8-9670-433d-bd18-11e37b3bed60","400":"1b7a3eab-1e7e-4157-b9fe-0eaa69ec2e9f","401":"59140483-0484-4ee3-8c8b-a2b8cb48ae7d","403":"4ef3c77c-7c23-4596-bd55-5659bd6c04c0"},"security":["4e7895c0-7284-4b86-9d8a-7fe873845dc2"],"method":"post","type":"path","servers":["2fd09360-46b3-487c-aec9-66d90ebb01ff"],"path":"/project/{project_id}/chart/quick-create","baseUrlOptions":["https://api.chartbrew.com"],"title":"","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated","disableProxy":true},"dependencies":{"parameters":{"95c9274b-1cfc-4214-a17e-cd067512409e":{"name":"project_id","in":"path","description":"ID of the project","required":true,"schema":{"type":"string","isRequired":true,"description":"ID of the project","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["project_id","name","type"],"description":"Create a chart with all its chart dataset configs in one API call. Per-series bindings belong in each chartDatasetConfigs item.","properties":{"project_id":{"type":"integer","description":"ID of the project","isRequired":true,"uniqueKey":"project_id","typeLabel":"integer"},"name":{"type":"string","description":"Name of the chart","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"type":{"type":"string","description":"The type of chart","enum":["line","bar","horizontalBar","pie","doughnut","radar","polar","table","kpi","avg","gauge","matrix","markdown"],"isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"subType":{"type":"string","description":"The sub-type of chart, currently only AddTimeseries is supported for accumulating timeseries data","uniqueKey":"subType","typeLabel":"string"},"public":{"type":"boolean","default":false,"description":"Whether the chart is public","uniqueKey":"public","typeLabel":"boolean"},"shareable":{"type":"boolean","default":false,"description":"Whether the chart is shareable","uniqueKey":"shareable","typeLabel":"boolean"},"displayLegend":{"type":"boolean","default":false,"description":"Whether to display the chart.js legend","uniqueKey":"displayLegend","typeLabel":"boolean"},"pointRadius":{"type":"integer","description":"0 to hide, integer value to set the point radius","uniqueKey":"pointRadius","typeLabel":"integer"},"dataLabels":{"type":"boolean","default":false,"description":"Whether to display the data labels on each data point on the chart","uniqueKey":"dataLabels","typeLabel":"boolean"},"startDate":{"type":"string","format":"date-time","description":"Used to inject a fixed start date into the chart","uniqueKey":"startDate","typeLabel":"string\u003cdate-time>"},"endDate":{"type":"string","format":"date-time","description":"Used to inject a fixed end date into the chart","uniqueKey":"endDate","typeLabel":"string\u003cdate-time>"},"dateVarsFormat":{"type":"string","description":"The format of the date variables in the chart","uniqueKey":"dateVarsFormat","typeLabel":"string"},"includeZeros":{"type":"boolean","default":true,"description":"Whether to include zero-valued data points in the chart","uniqueKey":"includeZeros","typeLabel":"boolean"},"currentEndDate":{"type":"boolean","default":false,"description":"Whether to use the current end date as the end date for the chart - this moves the start date to match the original period length","uniqueKey":"currentEndDate","typeLabel":"boolean"},"fixedStartDate":{"type":"boolean","default":false,"description":"Whether to force the start date to remain fixed","uniqueKey":"fixedStartDate","typeLabel":"boolean"},"timeInterval":{"type":"string","default":"day","enum":["second","minute","hour","day","week","month","year"],"description":"The time interval of the chart","uniqueKey":"timeInterval","typeLabel":"enum\u003cstring>"},"autoUpdate":{"type":"integer","description":"The interval in seconds at which the chart should be automatically updated","uniqueKey":"autoUpdate","typeLabel":"integer"},"draft":{"type":"boolean","default":true,"description":"Whether the chart is a draft and should be hidden from dashboard viewers","uniqueKey":"draft","typeLabel":"boolean"},"mode":{"type":"string","default":"chart","enum":["chart","kpichart"],"description":"Chart mode shows just the chart, kpichart shows a KPI on top of the chart.","uniqueKey":"mode","typeLabel":"enum\u003cstring>"},"maxValue":{"type":"integer","description":"Cap the maximum shown value on the chart","uniqueKey":"maxValue","typeLabel":"integer"},"minValue":{"type":"integer","description":"Cap the minimum shown value on the chart","uniqueKey":"minValue","typeLabel":"integer"},"disabledExport":{"type":"boolean","description":"Whether to disable the export button for the chart","uniqueKey":"disabledExport","typeLabel":"boolean"},"onReport":{"type":"boolean","default":true,"description":"Whether to display the chart on the report","uniqueKey":"onReport","typeLabel":"boolean"},"xLabelTicks":{"type":"string","default":"default","enum":["default","half","third","fourth","showAll"],"description":"How many ticks to display on the x-axis","uniqueKey":"xLabelTicks","typeLabel":"enum\u003cstring>"},"stacked":{"type":"boolean","default":false,"description":"Whether to stack the chart - only works for bar charts","uniqueKey":"stacked","typeLabel":"boolean"},"horizontal":{"type":"boolean","default":false,"deprecated":true,"description":"Legacy compatibility input. Use type horizontalBar for horizontal comparison charts.","uniqueKey":"horizontal","typeLabel":"boolean"},"showGrowth":{"type":"boolean","default":false,"description":"Whether to show the growth percentage at the top of the chart","uniqueKey":"showGrowth","typeLabel":"boolean"},"invertGrowth":{"type":"boolean","default":false,"description":"When negative growth is meant to be positive and vice versa","uniqueKey":"invertGrowth","typeLabel":"boolean"},"layout":{"type":"object","description":"The layout of the chart - in the format of react-grid-layout. If not provided, will be automatically calculated based on existing charts in the project.","additionalProperties":{"type":"array","items":{"type":"number","uniqueKey":"layout.additionalProperties.items.[INDEX]","typeLabel":"number"},"uniqueKey":"layout.additionalProperties","typeLabel":"number[]"},"uniqueKey":"layout","typeLabel":"object"},"isLogarithmic":{"type":"boolean","default":false,"description":"Whether to use a logarithmic scale for the y-axis","uniqueKey":"isLogarithmic","typeLabel":"boolean"},"content":{"type":"string","description":"The content used for type=markdown","uniqueKey":"content","typeLabel":"string"},"ranges":{"type":"object","description":"The ranges to display on the chart - only works for gauge charts","properties":{"ranges":{"type":"array","items":{"type":"object","properties":{"min":{"type":"number","uniqueKey":"ranges.ranges.items.[INDEX].min","typeLabel":"number"},"max":{"type":"number","uniqueKey":"ranges.ranges.items.[INDEX].max","typeLabel":"number"},"label":{"type":"string","uniqueKey":"ranges.ranges.items.[INDEX].label","typeLabel":"string"}},"uniqueKey":"ranges.ranges.items.[INDEX]","typeLabel":"object"},"uniqueKey":"ranges.ranges","typeLabel":"object[]"}},"uniqueKey":"ranges","typeLabel":"object"},"dashedLastPoint":{"type":"boolean","default":false,"description":"Whether to dash the last point on the chart - only works for line charts","uniqueKey":"dashedLastPoint","typeLabel":"boolean"},"defaultRowsPerPage":{"type":"integer","default":10,"description":"Default number of rows per page for table charts","uniqueKey":"defaultRowsPerPage","typeLabel":"integer"},"chartDatasetConfigs":{"type":"array","description":"Array of chart dataset configs to create with the chart. The chart_id will be automatically set.","items":{"type":"object","description":"Chart dataset config to create. chart_id is automatically set. Per-chart bindings such as xAxis, yAxis, dateField, and conditions belong here.","required":["dataset_id"],"properties":{"dataset_id":{"type":"integer","description":"ID of the dataset to bind to the chart","isRequired":true,"uniqueKey":"chartDatasetConfigs.items.[INDEX].dataset_id","typeLabel":"integer"},"xAxis":{"type":"string","description":"Chart-specific x-axis or dimension field using traversal syntax - root[].field","uniqueKey":"chartDatasetConfigs.items.[INDEX].xAxis","typeLabel":"string"},"xAxisOperation":{"type":"string","description":"Chart-specific x-axis operation","uniqueKey":"chartDatasetConfigs.items.[INDEX].xAxisOperation","typeLabel":"string"},"yAxis":{"type":"string","description":"Chart-specific y-axis or metric field using traversal syntax - root[].field","uniqueKey":"chartDatasetConfigs.items.[INDEX].yAxis","typeLabel":"string"},"yAxisOperation":{"type":"string","description":"Chart-specific operation to perform on the y-axis - none, sum, avg, min, max, count","enum":["none","count","count_unique","sum","avg","min","max"],"uniqueKey":"chartDatasetConfigs.items.[INDEX].yAxisOperation","typeLabel":"enum\u003cstring>"},"dateField":{"type":"string","description":"Chart-specific date field using traversal syntax. Specifies which field should be used for date filtering.","uniqueKey":"chartDatasetConfigs.items.[INDEX].dateField","typeLabel":"string"},"dateFormat":{"type":"string","description":"Chart-specific date format to use for date filtering. e.g YYYY-MM-DD","uniqueKey":"chartDatasetConfigs.items.[INDEX].dateFormat","typeLabel":"string"},"conditions":{"type":"array","description":"Chart-specific conditions layered on top of the dataset","items":{"type":"object","properties":{"id":{"type":"string","uniqueKey":"chartDatasetConfigs.items.[INDEX].conditions.items.[INDEX].id","typeLabel":"string"},"field":{"type":"string","description":"Field using traversal syntax - root[].field","uniqueKey":"chartDatasetConfigs.items.[INDEX].conditions.items.[INDEX].field","typeLabel":"string"},"operator":{"type":"string","enum":["is","isNot","greaterThan","lessThan","greaterThanOrEqual","lessThanOrEqual","contains","notContains","isNull","isNotNull"],"description":"Comparison operator","uniqueKey":"chartDatasetConfigs.items.[INDEX].conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"value":{"type":"string","uniqueKey":"chartDatasetConfigs.items.[INDEX].conditions.items.[INDEX].value","typeLabel":"string"},"displayValues":{"type":"boolean","description":"Whether to display the values in the dropdown UI","uniqueKey":"chartDatasetConfigs.items.[INDEX].conditions.items.[INDEX].displayValues","typeLabel":"boolean"}},"uniqueKey":"chartDatasetConfigs.items.[INDEX].conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"chartDatasetConfigs.items.[INDEX].conditions","typeLabel":"object[]"},"formula":{"type":"string","description":"The formula (e.g {val / 100}) used to transform the data points values. Can be used to pre-(a)pend strings to numbers too £{val}","uniqueKey":"chartDatasetConfigs.items.[INDEX].formula","typeLabel":"string"},"datasetColor":{"type":"string","description":"The color of the dataset","uniqueKey":"chartDatasetConfigs.items.[INDEX].datasetColor","typeLabel":"string"},"fillColor":{"type":"string","description":"The color of the dataset fill","uniqueKey":"chartDatasetConfigs.items.[INDEX].fillColor","typeLabel":"string"},"fill":{"type":"boolean","default":false,"description":"Whether to fill the dataset","uniqueKey":"chartDatasetConfigs.items.[INDEX].fill","typeLabel":"boolean"},"multiFill":{"type":"boolean","default":false,"description":"Useful for the UI to prompt the user to select multiple colors for the dataset","uniqueKey":"chartDatasetConfigs.items.[INDEX].multiFill","typeLabel":"boolean"},"legend":{"type":"string","description":"The chart-specific legend label for this dataset. If not provided, will fall back to the dataset name.","uniqueKey":"chartDatasetConfigs.items.[INDEX].legend","typeLabel":"string"},"pointRadius":{"type":"integer","description":"Point radius for the dataset","uniqueKey":"chartDatasetConfigs.items.[INDEX].pointRadius","typeLabel":"integer"},"excludedFields":{"type":"array","items":{"type":"string","uniqueKey":"chartDatasetConfigs.items.[INDEX].excludedFields.items.[INDEX]","typeLabel":"string"},"description":"The fields to exclude from the dataset - used for tables","uniqueKey":"chartDatasetConfigs.items.[INDEX].excludedFields","typeLabel":"string[]"},"sort":{"type":"string","enum":["asc","desc"],"description":"The sort order of the dataset","uniqueKey":"chartDatasetConfigs.items.[INDEX].sort","typeLabel":"enum\u003cstring>"},"columnsOrder":{"type":"array","items":{"type":"string","uniqueKey":"chartDatasetConfigs.items.[INDEX].columnsOrder.items.[INDEX]","typeLabel":"string"},"description":"The order of the columns in the dataset - used for tables","uniqueKey":"chartDatasetConfigs.items.[INDEX].columnsOrder","typeLabel":"string[]"},"order":{"type":"number","default":1,"description":"The order of the dataset in the chart","uniqueKey":"chartDatasetConfigs.items.[INDEX].order","typeLabel":"number"},"maxRecords":{"type":"integer","description":"The maximum number of records to display in the dataset","uniqueKey":"chartDatasetConfigs.items.[INDEX].maxRecords","typeLabel":"integer"},"goal":{"type":"integer","description":"The goal of the dataset - used to display a progress bar for KPIs","uniqueKey":"chartDatasetConfigs.items.[INDEX].goal","typeLabel":"integer"},"configuration":{"type":"object","description":"Additional configuration options for the dataset. Currently used to give values to variables.","properties":{"variables":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"Variable name from DataRequest VariableBinding","uniqueKey":"chartDatasetConfigs.items.[INDEX].configuration.variables.items.[INDEX].name","typeLabel":"string"},"value":{"oneOf":[{"type":"string","description":"Override value (string, number, etc.)","uniqueKey":"chartDatasetConfigs.items.[INDEX].configuration.variables.items.[INDEX].value.oneOf.0","typeLabel":"string"},{"type":"number","description":"Override value (string, number, etc.)","uniqueKey":"chartDatasetConfigs.items.[INDEX].configuration.variables.items.[INDEX].value.oneOf.1","typeLabel":"number"},{"type":"boolean","description":"Override value (string, number, etc.)","uniqueKey":"chartDatasetConfigs.items.[INDEX].configuration.variables.items.[INDEX].value.oneOf.2","typeLabel":"boolean"}],"uniqueKey":"chartDatasetConfigs.items.[INDEX].configuration.variables.items.[INDEX].value","typeLabel":"string | number | boolean"}},"uniqueKey":"chartDatasetConfigs.items.[INDEX].configuration.variables.items.[INDEX]","typeLabel":"object"},"uniqueKey":"chartDatasetConfigs.items.[INDEX].configuration.variables","typeLabel":"object[]"}},"uniqueKey":"chartDatasetConfigs.items.[INDEX].configuration","typeLabel":"object"}},"uniqueKey":"chartDatasetConfigs.items.[INDEX]","typeLabel":"object"},"uniqueKey":"chartDatasetConfigs","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"project_id":123,"name":"\u003cstring>","subType":"\u003cstring>","public":false,"shareable":false,"displayLegend":false,"pointRadius":123,"dataLabels":false,"startDate":"2023-11-07T05:31:56Z","endDate":"2023-11-07T05:31:56Z","dateVarsFormat":"\u003cstring>","includeZeros":true,"currentEndDate":false,"fixedStartDate":false,"timeInterval":"day","autoUpdate":123,"draft":true,"mode":"chart","maxValue":123,"minValue":123,"disabledExport":true,"onReport":true,"xLabelTicks":"default","stacked":false,"horizontal":false,"showGrowth":false,"invertGrowth":false,"layout":{},"isLogarithmic":false,"content":"\u003cstring>","ranges":{"ranges":[{"min":123,"max":123,"label":"\u003cstring>"}]},"dashedLastPoint":false,"defaultRowsPerPage":10,"chartDatasetConfigs":[{"dataset_id":123,"xAxis":"\u003cstring>","xAxisOperation":"\u003cstring>","yAxis":"\u003cstring>","dateField":"\u003cstring>","dateFormat":"\u003cstring>","conditions":[{"id":"\u003cstring>","field":"\u003cstring>","value":"\u003cstring>","displayValues":true}],"formula":"\u003cstring>","datasetColor":"\u003cstring>","fillColor":"\u003cstring>","fill":false,"multiFill":false,"legend":"\u003cstring>","pointRadius":123,"excludedFields":["\u003cstring>"],"columnsOrder":["\u003cstring>"],"order":1,"maxRecords":123,"goal":123,"configuration":{"variables":[{"name":"\u003cstring>","value":"\u003cstring>"}]}}]}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"390620a8-9670-433d-bd18-11e37b3bed60":{"description":"Created chart with all chart dataset configs","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","uniqueKey":"id","typeLabel":"string"},"name":{"type":"string","uniqueKey":"name","typeLabel":"string"},"type":{"type":"string","enum":["line","bar","horizontalBar","pie","doughnut","radar","polar","table","kpi","avg","gauge","matrix","markdown"],"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"subType":{"type":"string","uniqueKey":"subType","typeLabel":"string"},"preparedDataUpdatedAt":{"oneOf":[{"type":"string","format":"date-time","readOnly":true,"description":"Time of the last durable prepared snapshot.","uniqueKey":"preparedDataUpdatedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","readOnly":true,"description":"Time of the last durable prepared snapshot.","uniqueKey":"preparedDataUpdatedAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"preparedDataUpdatedAt","typeLabel":"string\u003cdate-time> | null"},"render":{"type":"object","readOnly":true,"required":["configuration","renderer","stale","version"],"properties":{"version":{"type":"integer","enum":[1],"example":1,"isRequired":true,"uniqueKey":"render.version","typeLabel":"enum\u003cinteger>"},"renderer":{"type":"string","enum":["echarts","native"],"description":"Runtime renderer for the generated chart configuration.","isRequired":true,"uniqueKey":"render.renderer","typeLabel":"enum\u003cstring>"},"configuration":{"type":"object","description":"Ephemeral ECharts option or native view data generated from PreparedData.","isRequired":true,"uniqueKey":"render.configuration","typeLabel":"object"},"stale":{"type":"boolean","description":"True when this is a last-known render while source data refreshes.","isRequired":true,"uniqueKey":"render.stale","typeLabel":"boolean"},"generatedAt":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"render.generatedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"render.generatedAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"render.generatedAt","typeLabel":"string\u003cdate-time> | null"},"updatedAt":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"render.updatedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"render.updatedAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"render.updatedAt","typeLabel":"string\u003cdate-time> | null"},"metadata":{"type":"object","description":"Renderer-neutral series, metric, category, warning, and time-range metadata.","uniqueKey":"render.metadata","typeLabel":"object"},"tabularData":{"type":"object","description":"Renderer-neutral chart-as-shown data used for exports.","uniqueKey":"render.tabularData","typeLabel":"object"}},"uniqueKey":"render","typeLabel":"object"},"project_id":{"type":"string","uniqueKey":"project_id","typeLabel":"string"},"public":{"type":"boolean","uniqueKey":"public","typeLabel":"boolean"},"shareable":{"type":"boolean","uniqueKey":"shareable","typeLabel":"boolean"},"ChartDatasetConfigs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","uniqueKey":"ChartDatasetConfigs.items.[INDEX].id","typeLabel":"string\u003cuuid>"},"chart_id":{"type":"integer","uniqueKey":"ChartDatasetConfigs.items.[INDEX].chart_id","typeLabel":"integer"},"dataset_id":{"type":"integer","uniqueKey":"ChartDatasetConfigs.items.[INDEX].dataset_id","typeLabel":"integer"},"xAxis":{"type":"string","description":"Chart-specific x-axis or dimension field using traversal syntax - root[].field","uniqueKey":"ChartDatasetConfigs.items.[INDEX].xAxis","typeLabel":"string"},"xAxisOperation":{"type":"string","description":"Chart-specific x-axis operation","uniqueKey":"ChartDatasetConfigs.items.[INDEX].xAxisOperation","typeLabel":"string"},"yAxis":{"type":"string","description":"Chart-specific y-axis or metric field using traversal syntax - root[].field","uniqueKey":"ChartDatasetConfigs.items.[INDEX].yAxis","typeLabel":"string"},"yAxisOperation":{"type":"string","description":"Chart-specific operation to perform on the y-axis - none, sum, avg, min, max, count","uniqueKey":"ChartDatasetConfigs.items.[INDEX].yAxisOperation","typeLabel":"string"},"dateField":{"type":"string","description":"Chart-specific date field using traversal syntax. Specifies which field should be used for date filtering.","uniqueKey":"ChartDatasetConfigs.items.[INDEX].dateField","typeLabel":"string"},"dateFormat":{"type":"string","description":"Chart-specific date format to use for date filtering. e.g YYYY-MM-DD","uniqueKey":"ChartDatasetConfigs.items.[INDEX].dateFormat","typeLabel":"string"},"conditions":{"type":"array","description":"Chart-specific conditions layered on top of the dataset","items":{"type":"object","properties":{"id":{"type":"string","uniqueKey":"ChartDatasetConfigs.items.[INDEX].conditions.items.[INDEX].id","typeLabel":"string"},"field":{"type":"string","description":"Field using traversal syntax - root[].field","uniqueKey":"ChartDatasetConfigs.items.[INDEX].conditions.items.[INDEX].field","typeLabel":"string"},"operator":{"type":"string","enum":["is","isNot","greaterThan","lessThan","greaterThanOrEqual","lessThanOrEqual","contains","notContains","isNull","isNotNull"],"description":"Comparison operator","uniqueKey":"ChartDatasetConfigs.items.[INDEX].conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"value":{"type":"string","uniqueKey":"ChartDatasetConfigs.items.[INDEX].conditions.items.[INDEX].value","typeLabel":"string"},"displayValues":{"type":"boolean","description":"Whether to display the values in the dropdown UI","uniqueKey":"ChartDatasetConfigs.items.[INDEX].conditions.items.[INDEX].displayValues","typeLabel":"boolean"}},"uniqueKey":"ChartDatasetConfigs.items.[INDEX].conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"ChartDatasetConfigs.items.[INDEX].conditions","typeLabel":"object[]"},"formula":{"type":"string","uniqueKey":"ChartDatasetConfigs.items.[INDEX].formula","typeLabel":"string"},"datasetColor":{"type":"string","uniqueKey":"ChartDatasetConfigs.items.[INDEX].datasetColor","typeLabel":"string"},"fillColor":{"type":"string","uniqueKey":"ChartDatasetConfigs.items.[INDEX].fillColor","typeLabel":"string"},"fill":{"type":"boolean","default":false,"uniqueKey":"ChartDatasetConfigs.items.[INDEX].fill","typeLabel":"boolean"},"multiFill":{"type":"boolean","default":false,"uniqueKey":"ChartDatasetConfigs.items.[INDEX].multiFill","typeLabel":"boolean"},"legend":{"type":"string","uniqueKey":"ChartDatasetConfigs.items.[INDEX].legend","typeLabel":"string"},"pointRadius":{"type":"integer","uniqueKey":"ChartDatasetConfigs.items.[INDEX].pointRadius","typeLabel":"integer"},"excludedFields":{"type":"array","items":{"type":"string","uniqueKey":"ChartDatasetConfigs.items.[INDEX].excludedFields.items.[INDEX]","typeLabel":"string"},"uniqueKey":"ChartDatasetConfigs.items.[INDEX].excludedFields","typeLabel":"string[]"},"sort":{"type":"string","uniqueKey":"ChartDatasetConfigs.items.[INDEX].sort","typeLabel":"string"},"columnsOrder":{"type":"array","items":{"type":"string","uniqueKey":"ChartDatasetConfigs.items.[INDEX].columnsOrder.items.[INDEX]","typeLabel":"string"},"uniqueKey":"ChartDatasetConfigs.items.[INDEX].columnsOrder","typeLabel":"string[]"},"order":{"type":"integer","default":0,"uniqueKey":"ChartDatasetConfigs.items.[INDEX].order","typeLabel":"integer"},"maxRecords":{"type":"integer","uniqueKey":"ChartDatasetConfigs.items.[INDEX].maxRecords","typeLabel":"integer"},"goal":{"type":"integer","uniqueKey":"ChartDatasetConfigs.items.[INDEX].goal","typeLabel":"integer"},"configuration":{"type":"object","description":"Additional configuration options for the dataset. Currently used to give values to variables.","properties":{"variables":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"Variable name from DataRequest VariableBinding","uniqueKey":"ChartDatasetConfigs.items.[INDEX].configuration.variables.items.[INDEX].name","typeLabel":"string"},"value":{"oneOf":[{"type":"string","description":"Override value (string, number, etc.)","uniqueKey":"ChartDatasetConfigs.items.[INDEX].configuration.variables.items.[INDEX].value.oneOf.0","typeLabel":"string"},{"type":"number","description":"Override value (string, number, etc.)","uniqueKey":"ChartDatasetConfigs.items.[INDEX].configuration.variables.items.[INDEX].value.oneOf.1","typeLabel":"number"},{"type":"boolean","description":"Override value (string, number, etc.)","uniqueKey":"ChartDatasetConfigs.items.[INDEX].configuration.variables.items.[INDEX].value.oneOf.2","typeLabel":"boolean"}],"uniqueKey":"ChartDatasetConfigs.items.[INDEX].configuration.variables.items.[INDEX].value","typeLabel":"string | number | boolean"}},"uniqueKey":"ChartDatasetConfigs.items.[INDEX].configuration.variables.items.[INDEX]","typeLabel":"object"},"uniqueKey":"ChartDatasetConfigs.items.[INDEX].configuration.variables","typeLabel":"object[]"}},"uniqueKey":"ChartDatasetConfigs.items.[INDEX].configuration","typeLabel":"object"}},"uniqueKey":"ChartDatasetConfigs.items.[INDEX]","typeLabel":"object"},"uniqueKey":"ChartDatasetConfigs","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"\u003cstring>","name":"\u003cstring>","type":"line","subType":"\u003cstring>","preparedDataUpdatedAt":"2023-11-07T05:31:56Z","render":{"version":1,"renderer":"echarts","configuration":{},"stale":true,"generatedAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z","metadata":{},"tabularData":{}},"project_id":"\u003cstring>","public":true,"shareable":true,"ChartDatasetConfigs":[{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","chart_id":123,"dataset_id":123,"xAxis":"\u003cstring>","xAxisOperation":"\u003cstring>","yAxis":"\u003cstring>","yAxisOperation":"\u003cstring>","dateField":"\u003cstring>","dateFormat":"\u003cstring>","conditions":[{"id":"\u003cstring>","field":"\u003cstring>","operator":"is","value":"\u003cstring>","displayValues":true}],"formula":"\u003cstring>","datasetColor":"\u003cstring>","fillColor":"\u003cstring>","fill":false,"multiFill":false,"legend":"\u003cstring>","pointRadius":123,"excludedFields":["\u003cstring>"],"sort":"\u003cstring>","columnsOrder":["\u003cstring>"],"order":0,"maxRecords":123,"goal":123,"configuration":{"variables":[{"name":"\u003cstring>","value":"\u003cstring>"}]}}]}}},"exampleType":"generated"}},"exampleType":"generated"},"1b7a3eab-1e7e-4157-b9fe-0eaa69ec2e9f":{"description":"Error response","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","uniqueKey":"message","typeLabel":"string"},"error":{"type":"string","uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>","error":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"59140483-0484-4ee3-8c8b-a2b8cb48ae7d":{"description":"Not authorized","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","uniqueKey":"message","typeLabel":"string"},"error":{"type":"string","uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>","error":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"4ef3c77c-7c23-4596-bd55-5659bd6c04c0":{"description":"Access denied","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","uniqueKey":"message","typeLabel":"string"},"error":{"type":"string","uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>","error":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"4e7895c0-7284-4b86-9d8a-7fe873845dc2":{"bearerAuth":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"2fd09360-46b3-487c-aec9-66d90ebb01ff":{"url":"https://api.chartbrew.com"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"chartbrew","siteName":"Chartbrew Docs","title":"Chartbrew Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-04-14T08:34:20.657Z","originalFileLocation":"api-reference/endpoint/charts/quick-create.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Quick create a chart with all its chart dataset configs in one API call\">\u003cmeta data-mint-head name=\"application-name\" content=\"Chartbrew Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/chartbrew/TDgfP0iapcicMV_Z/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/chartbrew/TDgfP0iapcicMV_Z/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/chartbrew/TDgfP0iapcicMV_Z/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/chartbrew/TDgfP0iapcicMV_Z/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/chartbrew/TDgfP0iapcicMV_Z/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/chartbrew/TDgfP0iapcicMV_Z/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/chartbrew/TDgfP0iapcicMV_Z/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/chartbrew/TDgfP0iapcicMV_Z/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/chartbrew/TDgfP0iapcicMV_Z/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Chartbrew Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Chartbrew Documentation - Learn how to automate your reporting with Chartbrew.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Chartbrew Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.chartbrew.com/api-reference/endpoint/charts/quick-create\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://chartbrew-static.b-cdn.net/og_images/chartbrew-docs-start-building-light-a42d794d30dc957d.png\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Chartbrew Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Chartbrew Documentation - Learn how to automate your reporting with Chartbrew.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://chartbrew-static.b-cdn.net/og_images/chartbrew-docs-start-building-light-a42d794d30dc957d.png\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/chartbrew/TDgfP0iapcicMV_Z/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Chartbrew Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#048BDE\">\u003cmeta data-mint-head name=\"og:image:alt\" content=\"Chartbrew docs. Start building. Blue and orange pixel artwork on a light background.\">\u003cmeta data-mint-head name=\"twitter:image:alt\" content=\"Chartbrew docs. Start building. Blue and orange pixel artwork on a light background.\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.chartbrew.com/api-reference/endpoint/charts/quick-create\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/endpoint/charts/quick-create.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.chartbrew.com/#organization\",\"name\":\"Chartbrew Docs\",\"url\":\"https://docs.chartbrew.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/chartbrew/0NOw1Ayq_SxHOzrD/logo/cb_logo_black.svg?fit=max\u0026auto=format\u0026n=0NOw1Ayq_SxHOzrD\u0026q=85\u0026s=3024a993202614eb42a5c8a5b2aec8fd\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.chartbrew.com#website\",\"name\":\"Chartbrew Docs\",\"url\":\"https://docs.chartbrew.com\",\"publisher\":{\"@id\":\"https://docs.chartbrew.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.chartbrew.com/api-reference/endpoint/charts/quick-create#webpage\",\"url\":\"https://docs.chartbrew.com/api-reference/endpoint/charts/quick-create\",\"name\":\"Quick Create Chart\",\"description\":\"Quick create a chart with all its chart dataset configs in one API call\",\"dateModified\":\"2026-04-14T08:34:20.657Z\",\"isPartOf\":{\"@id\":\"https://docs.chartbrew.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.chartbrew.com/api-reference/endpoint/charts/quick-create#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.chartbrew.com/api-reference/endpoint/charts/quick-create#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Charts\",\"item\":\"https://docs.chartbrew.com/api-reference/endpoint/charts/info\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Quick Create Chart\",\"item\":\"https://docs.chartbrew.com/api-reference/endpoint/charts/quick-create\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.chartbrew.com/api-reference/endpoint/charts/quick-create#apireference\",\"headline\":\"Quick Create Chart\",\"name\":\"Quick Create Chart\",\"description\":\"Quick create a chart with all its chart dataset configs in one API call\",\"url\":\"https://docs.chartbrew.com/api-reference/endpoint/charts/quick-create\",\"mainEntityOfPage\":{\"@id\":\"https://docs.chartbrew.com/api-reference/endpoint/charts/quick-create#webpage\"},\"image\":\"https://chartbrew-static.b-cdn.net/og_images/chartbrew-docs-start-building-light-a42d794d30dc957d.png\",\"dateModified\":\"2026-04-14T08:34:20.657Z\",\"publisher\":{\"@id\":\"https://docs.chartbrew.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.chartbrew.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Chartbrew Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Chartbrew Docs","nav":{"global":{"anchors":[{"anchor":"Website","icon":"globe","href":"https://chartbrew.com"},{"anchor":"Community","icon":"Discord","href":"https://discord.gg/KwGEbFk"},{"anchor":"Blog","icon":"newspaper","href":"https://chartbrew.com/blog"},{"anchor":"GitHub","icon":"github","href":"https://github.com/chartbrew/chartbrew"}]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API Reference","groups":[{"group":"API Documentation","pages":[{"title":"Introduction","href":"/api-reference/introduction"}]},{"group":"Guides","pages":[{"title":"Create a chart from scratch","href":"/api-reference/guides/create-chart"},{"title":"Use the Data API","href":"/api-reference/guides/data-api"}]},{"group":"Data API","pages":[{"title":"Get dataset data","openapi":"GET /api/v1/teams/{team_id}/datasets/{dataset_id}/data","href":"/api-reference/endpoint/data-api/get-dataset-data"},{"title":"Query dataset data","openapi":"POST /api/v1/teams/{team_id}/datasets/{dataset_id}/data","href":"/api-reference/endpoint/data-api/query-dataset-data"},{"title":"Get chart data","openapi":"GET /api/v1/projects/{project_id}/charts/{chart_id}/data","href":"/api-reference/endpoint/data-api/get-chart-data"},{"title":"Query chart data","openapi":"POST /api/v1/projects/{project_id}/charts/{chart_id}/data","href":"/api-reference/endpoint/data-api/query-chart-data"}]},{"group":"Teams","pages":[{"title":"Get Team","openapi":"GET /team/{team_id}","href":"/api-reference/endpoint/team/get"},{"title":"Create Team","openapi":"POST /team","href":"/api-reference/endpoint/team/create"},{"title":"Get User Teams","openapi":"GET /team","href":"/api-reference/endpoint/team/get-user-teams"},{"title":"Update Team","openapi":"PUT /team/{team_id}","href":"/api-reference/endpoint/team/update"}]},{"group":"Dashboards","pages":[{"title":"What is a Dashboard?","href":"/api-reference/endpoint/dashboards/info"},{"title":"Get a dashboard","openapi":"GET /project/{id}","href":"/api-reference/endpoint/dashboards/get"},{"title":"List all dashboards","openapi":"GET /project/team/{team_id}","href":"/api-reference/endpoint/dashboards/list"},{"title":"Create a dashboard","openapi":"POST /project","href":"/api-reference/endpoint/dashboards/create"},{"title":"Update a Dashboard","openapi":"PUT /project/{id}","href":"/api-reference/endpoint/dashboards/update"},{"title":"Delete a dashboard","openapi":"DELETE /project/{id}","href":"/api-reference/endpoint/dashboards/delete"},{"title":"Create Dashboard Share Policy","openapi":"POST /project/{id}/share/policy","href":"/api-reference/endpoint/dashboards/create-share-policy"},{"title":"Update Dashboard Share Policy","openapi":"PUT /project/{id}/share/policy/{policy_id}","href":"/api-reference/endpoint/dashboards/update-share-policy"},{"title":"Delete Dashboard Share Policy","openapi":"DELETE /project/{id}/share/policy/{policy_id}","href":"/api-reference/endpoint/dashboards/delete-share-policy"},{"title":"Generate Dashboard Share Token","openapi":"POST /project/{id}/share/token","href":"/api-reference/endpoint/dashboards/generate-share-token"}]},{"group":"Connections","pages":[{"title":"What is a Connection?","href":"/api-reference/endpoint/connections/info"},{"title":"List connections","openapi":"GET /team/{team_id}/connections","href":"/api-reference/endpoint/connections/list"},{"title":"Get a connection","openapi":"GET /team/{team_id}/connections/{connection_id}","href":"/api-reference/endpoint/connections/get"},{"title":"Create a connection","openapi":"POST /team/{team_id}/connections","href":"/api-reference/endpoint/connections/create"},{"title":"Update a connection","openapi":"PUT /team/{team_id}/connections/{connection_id}","href":"/api-reference/endpoint/connections/update"},{"title":"Delete a connection","openapi":"DELETE /team/{team_id}/connections/{connection_id}","href":"/api-reference/endpoint/connections/delete"},{"title":"Update connection files","openapi":"POST /team/{team_id}/connections/{connection_id}/files","href":"/api-reference/endpoint/connections/update-files"},{"title":"Test a connection","openapi":"GET /team/{team_id}/connections/{connection_id}/test","href":"/api-reference/endpoint/connections/test"}]},{"group":"Datasets","pages":[{"title":"What is a Dataset?","href":"/api-reference/endpoint/datasets/info"},{"title":"List datasets","openapi":"GET /team/{team_id}/datasets","href":"/api-reference/endpoint/datasets/list"},{"title":"Get a dataset","openapi":"GET /team/{team_id}/datasets/{dataset_id}","href":"/api-reference/endpoint/datasets/get"},{"title":"Quick Create","openapi":"POST /team/{team_id}/datasets/quick-create","href":"/api-reference/endpoint/datasets/quick-create"},{"title":"Create a dataset","openapi":"POST /team/{team_id}/datasets","href":"/api-reference/endpoint/datasets/create"},{"title":"Update a dataset","openapi":"PUT /team/{team_id}/datasets/{dataset_id}","href":"/api-reference/endpoint/datasets/update"},{"title":"Delete a dataset","openapi":"DELETE /team/{team_id}/datasets/{dataset_id}","href":"/api-reference/endpoint/datasets/delete"},{"title":"Fetch dataset data","openapi":"GET /team/{team_id}/datasets/{dataset_id}/request","href":"/api-reference/endpoint/datasets/fetch-dataset-data"}]},{"group":"Data Requests","pages":[{"title":"What is a Data Request?","href":"/api-reference/endpoint/datarequests/info"},{"title":"Create a Data Request","openapi":"POST /team/{team_id}/datasets/{dataset_id}/dataRequests","href":"/api-reference/endpoint/datarequests/create"},{"title":"Get Dataset Data Requests","openapi":"GET /team/{team_id}/datasets/{dataset_id}/dataRequests","href":"/api-reference/endpoint/datarequests/list"},{"title":"Update a Data Request","openapi":"PUT /team/{team_id}/datasets/{dataset_id}/dataRequests/{id}","href":"/api-reference/endpoint/datarequests/update"},{"title":"Run a Data Request","openapi":"POST /team/{team_id}/datasets/{dataset_id}/dataRequests/{id}/request","href":"/api-reference/endpoint/datarequests/run"},{"title":"Create a Variable Binding","openapi":"POST /team/{team_id}/datasets/{dataset_id}/dataRequests/{id}/variableBindings","href":"/api-reference/endpoint/datarequests/create-variablebinding"},{"title":"Update a Variable Binding","openapi":"PUT /team/{team_id}/datasets/{dataset_id}/dataRequests/{id}/variableBindings/{variable_id}","href":"/api-reference/endpoint/datarequests/update-variablebinding"}]},{"group":"Charts","pages":[{"title":"What is a Chart?","href":"/api-reference/endpoint/charts/info"},{"title":"Get a chart","openapi":"GET /project/{project_id}/chart/{id}","description":"Returns a specific chart by ID","href":"/api-reference/endpoint/charts/get"},{"title":"Quick Create Chart","openapi":"POST /project/{project_id}/chart/quick-create","href":"/api-reference/endpoint/charts/quick-create"},{"title":"Create a chart","openapi":"POST /project/{project_id}/chart","description":"Creates a new chart in the project","href":"/api-reference/endpoint/charts/create"},{"title":"Query a chart","openapi":"POST /project/{project_id}/chart/{id}/query","href":"/api-reference/endpoint/charts/query"},{"title":"Render chart image","openapi":"POST /project/{project_id}/chart/{chart_id}/image","href":"/api-reference/endpoint/charts/render-image"},{"title":"Delete a chart","openapi":"DELETE /project/{project_id}/chart/{id}","href":"/api-reference/endpoint/charts/delete"},{"title":"Get Chart for Sharing","openapi":"GET /chart/share/{share_string}","href":"/api-reference/endpoint/charts/share-chart"},{"title":"Create Chart Share Policy","openapi":"POST /project/{project_id}/chart/{id}/share/policy","href":"/api-reference/endpoint/charts/create-share-policy"},{"title":"Update Chart Share Policy","openapi":"PUT /project/{project_id}/chart/{chart_id}/share/policy/{policy_id}","href":"/api-reference/endpoint/charts/update-chart-share-policy"},{"title":"Delete Chart Share Policy","openapi":"DELETE /project/{project_id}/chart/{chart_id}/share/policy/{policy_id}","href":"/api-reference/endpoint/charts/delete-chart-share-policy"},{"title":"Generate Chart Share Token","openapi":"POST /project/{project_id}/chart/{id}/share/token","href":"/api-reference/endpoint/charts/generate-share-token"}]},{"group":"Chart-Dataset Configs","pages":[{"title":"What is a Chart-Dataset Config?","href":"/api-reference/endpoint/chartdatasetconfigs/info"},{"title":"Create a chart config","openapi":"POST /project/{project_id}/chart/{id}/chart-dataset-config","href":"/api-reference/endpoint/chartdatasetconfigs/create"},{"title":"Update a chart config","openapi":"PUT /project/{project_id}/chart/{id}/chart-dataset-config/{cdc_id}","href":"/api-reference/endpoint/chartdatasetconfigs/update"},{"title":"Delete a chart config","openapi":"DELETE /project/{project_id}/chart/{id}/chart-dataset-config/{cdc_id}","href":"/api-reference/endpoint/chartdatasetconfigs/delete"}]}]}]},"basePath":"","title":"Chartbrew Docs","buildId":"dpl_FWZhTb2vab28gFGFH4ojka6qEznQ","deploymentId":"dpl_FWZhTb2vab28gFGFH4ojka6qEznQ","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-CBsVopKK.js","utils-DZAk68jJ.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-D32AYZrP.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-D_A5_cny.js","snippetPresets-xNRfS9th.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","Page-Dr40SSJq.js","ApiExamples-BIB25-tq.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CydJ4w4j.js","shallow-CYPBeQSG.js","getApiPlaygroundDisplay-A5xJVBOu.js","CodeSnippet-BVRTgi3m.js","CodeSnippets-DjD6BSlt.js","getPastedJson-D4V4JyrR.js","icon-uhcnG22T.js","MethodPill-CM-ZQdGH.js","DuplicateIcon-B_WnOiNf.js","createIcon-CJsb8utt.js","DynamicMarkdown-D-2HDKEp.js","SectionHeading-KP5xmMgQ.js","axios-vUo_bRtp.js","Markdown-D_k0dg6k.js","clsx-DK3K4Z1S.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-DE3EVdvd.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-fN9H9n9g.js"]}