[{"data":1,"prerenderedAt":2205},["ShallowReactive",2],{"navigation":3,"\u002Fdashboards\u002Fwidgets\u002Fdistribution-and-relation":773,"\u002Fdashboards\u002Fwidgets\u002Fdistribution-and-relation-surround":2200},[4,28,63,85,103,112,269,355,453,485,506,542,576,594,647,669,693,721,747],{"title":5,"path":6,"stem":7,"children":8,"icon":27},"Getting Started","\u002Fgetting-started","01.getting-started\u002F01.index",[9,11,15,19,23],{"title":10,"path":6,"stem":7},"Introduction",{"title":12,"path":13,"stem":14},"Installation","\u002Fgetting-started\u002Finstallation","01.getting-started\u002F02.installation",{"title":16,"path":17,"stem":18},"Quickstart with AI","\u002Fgetting-started\u002Fquickstart-with-ai","01.getting-started\u002F03.quickstart-with-ai",{"title":20,"path":21,"stem":22},"Quickstart by Hand","\u002Fgetting-started\u002Fquickstart-by-hand","01.getting-started\u002F04.quickstart-by-hand",{"title":24,"path":25,"stem":26},"The Admin","\u002Fgetting-started\u002Fadmin-tour","01.getting-started\u002F05.admin-tour","i-lucide-rocket",{"title":29,"icon":30,"path":31,"stem":32,"children":33,"page":62},"Concepts","i-lucide-lightbulb","\u002Fconcepts","02.concepts",[34,38,42,46,50,54,58],{"title":35,"path":36,"stem":37},"PostgreSQL First","\u002Fconcepts\u002Fpostgresql-first","02.concepts\u002F01.postgresql-first",{"title":39,"path":40,"stem":41},"Resources","\u002Fconcepts\u002Fresources","02.concepts\u002F02.resources",{"title":43,"path":44,"stem":45},"Users and Roles","\u002Fconcepts\u002Fusers-and-roles","02.concepts\u002F03.users-and-roles",{"title":47,"path":48,"stem":49},"Permissions","\u002Fconcepts\u002Fpermissions","02.concepts\u002F04.permissions",{"title":51,"path":52,"stem":53},"Drafts and Publishing","\u002Fconcepts\u002Fdrafts-and-publishing","02.concepts\u002F05.drafts-and-publishing",{"title":55,"path":56,"stem":57},"Audit and Events","\u002Fconcepts\u002Faudit-and-events","02.concepts\u002F06.audit-and-events",{"title":59,"path":60,"stem":61},"Object Access","\u002Fconcepts\u002Fobject-access","02.concepts\u002F07.object-access",false,{"title":64,"icon":65,"path":66,"stem":67,"children":68,"page":62},"App","i-lucide-app-window","\u002Fapp","03.app",[69,73,77,81],{"title":70,"path":71,"stem":72},"The App","\u002Fapp\u002Foverview","03.app\u002F01.overview",{"title":74,"path":75,"stem":76},"DataViews","\u002Fapp\u002Fdataviews","03.app\u002F02.dataviews",{"title":78,"path":79,"stem":80},"Dashboards","\u002Fapp\u002Fdashboards","03.app\u002F03.dashboards",{"title":82,"path":83,"stem":84},"Arrange menu","\u002Fapp\u002Farrange-menu","03.app\u002F04.arrange-menu",{"title":86,"icon":87,"path":88,"stem":89,"children":90,"page":62},"Database","i-lucide-database","\u002Fdatabase","04.database",[91,95,99],{"title":92,"path":93,"stem":94},"Tables","\u002Fdatabase\u002Ftables","04.database\u002F01.tables",{"title":96,"path":97,"stem":98},"Views","\u002Fdatabase\u002Fviews","04.database\u002F02.views",{"title":100,"path":101,"stem":102},"Functions","\u002Fdatabase\u002Ffunctions","04.database\u002F03.functions",{"title":104,"icon":105,"path":106,"stem":107,"children":108,"page":62},"SQL Console","i-lucide-square-terminal","\u002Fsql-console","05.sql-console",[109],{"title":104,"path":110,"stem":111},"\u002Fsql-console\u002Foverview","05.sql-console\u002F01.overview",{"title":74,"icon":113,"path":114,"stem":115,"children":116,"page":62},"i-lucide-layout-list","\u002Fdataviews","06.dataviews",[117,121,125,129,183,214],{"title":118,"path":119,"stem":120},"Overview","\u002Fdataviews\u002Foverview","06.dataviews\u002F01.overview",{"title":122,"path":123,"stem":124},"Creating a DataView","\u002Fdataviews\u002Fcreating","06.dataviews\u002F02.creating",{"title":126,"path":127,"stem":128},"Publishing","\u002Fdataviews\u002Fpublishing","06.dataviews\u002F03.publishing",{"title":130,"icon":131,"path":132,"stem":133,"children":134,"page":62},"Types","i-lucide-shapes","\u002Fdataviews\u002Ftypes","06.dataviews\u002F04.types",[135,139,143,147,151,155,159,163,167,171,175,179],{"title":136,"path":137,"stem":138},"Table","\u002Fdataviews\u002Ftypes\u002Ftable","06.dataviews\u002F04.types\u002F01.table",{"title":140,"path":141,"stem":142},"Cards","\u002Fdataviews\u002Ftypes\u002Fcards","06.dataviews\u002F04.types\u002F02.cards",{"title":144,"path":145,"stem":146},"Kanban","\u002Fdataviews\u002Ftypes\u002Fkanban","06.dataviews\u002F04.types\u002F03.kanban",{"title":148,"path":149,"stem":150},"Calendar","\u002Fdataviews\u002Ftypes\u002Fcalendar","06.dataviews\u002F04.types\u002F04.calendar",{"title":152,"path":153,"stem":154},"Gantt","\u002Fdataviews\u002Ftypes\u002Fgantt","06.dataviews\u002F04.types\u002F05.gantt",{"title":156,"path":157,"stem":158},"Map","\u002Fdataviews\u002Ftypes\u002Fmap","06.dataviews\u002F04.types\u002F06.map",{"title":160,"path":161,"stem":162},"Tree","\u002Fdataviews\u002Ftypes\u002Ftree","06.dataviews\u002F04.types\u002F07.tree",{"title":164,"path":165,"stem":166},"Form","\u002Fdataviews\u002Ftypes\u002Fform","06.dataviews\u002F04.types\u002F08.form",{"title":168,"path":169,"stem":170},"Master-detail","\u002Fdataviews\u002Ftypes\u002Fmaster-detail","06.dataviews\u002F04.types\u002F09.master-detail",{"title":172,"path":173,"stem":174},"Settings","\u002Fdataviews\u002Ftypes\u002Fsettings","06.dataviews\u002F04.types\u002F10.settings",{"title":176,"path":177,"stem":178},"Custom","\u002Fdataviews\u002Ftypes\u002Fcustom","06.dataviews\u002F04.types\u002F11.custom",{"title":180,"path":181,"stem":182},"External Frame","\u002Fdataviews\u002Ftypes\u002Fexternal-frame","06.dataviews\u002F04.types\u002F12.external-frame",{"title":172,"icon":184,"path":185,"stem":186,"children":187,"page":62},"i-lucide-settings-2","\u002Fdataviews\u002Fsettings","06.dataviews\u002F05.settings",[188,192,196,199,202,206,210],{"title":189,"path":190,"stem":191},"General","\u002Fdataviews\u002Fsettings\u002Fgeneral","06.dataviews\u002F05.settings\u002F01.general",{"title":193,"path":194,"stem":195},"Data","\u002Fdataviews\u002Fsettings\u002Fdata","06.dataviews\u002F05.settings\u002F02.data",{"title":96,"path":197,"stem":198},"\u002Fdataviews\u002Fsettings\u002Fviews","06.dataviews\u002F05.settings\u002F03.views",{"title":164,"path":200,"stem":201},"\u002Fdataviews\u002Fsettings\u002Fform","06.dataviews\u002F05.settings\u002F04.form",{"title":203,"path":204,"stem":205},"Actions","\u002Fdataviews\u002Fsettings\u002Factions","06.dataviews\u002F05.settings\u002F05.actions",{"title":207,"path":208,"stem":209},"Security","\u002Fdataviews\u002Fsettings\u002Fsecurity","06.dataviews\u002F05.settings\u002F06.security",{"title":211,"path":212,"stem":213},"Versions","\u002Fdataviews\u002Fsettings\u002Fversions","06.dataviews\u002F05.settings\u002F07.versions",{"title":215,"icon":216,"path":217,"stem":218,"children":219,"page":62},"Design Form","i-lucide-pencil-ruler","\u002Fdataviews\u002Fdesign-form","06.dataviews\u002F06.design-form",[220,223,257,261,265],{"title":118,"path":221,"stem":222},"\u002Fdataviews\u002Fdesign-form\u002Foverview","06.dataviews\u002F06.design-form\u002F01.overview",{"title":224,"icon":131,"path":225,"stem":226,"children":227,"page":62},"Widgets","\u002Fdataviews\u002Fdesign-form\u002Fwidgets","06.dataviews\u002F06.design-form\u002F02.widgets",[228,231,234,238,242,246,250,254],{"title":224,"path":229,"stem":230},"\u002Fdataviews\u002Fdesign-form\u002Fwidgets\u002Foverview","06.dataviews\u002F06.design-form\u002F02.widgets\u002F01.overview",{"title":164,"path":232,"stem":233},"\u002Fdataviews\u002Fdesign-form\u002Fwidgets\u002Fform","06.dataviews\u002F06.design-form\u002F02.widgets\u002F02.form",{"title":235,"path":236,"stem":237},"Inputs","\u002Fdataviews\u002Fdesign-form\u002Fwidgets\u002Finputs","06.dataviews\u002F06.design-form\u002F02.widgets\u002F03.inputs",{"title":239,"path":240,"stem":241},"Display","\u002Fdataviews\u002Fdesign-form\u002Fwidgets\u002Fdisplay","06.dataviews\u002F06.design-form\u002F02.widgets\u002F04.display",{"title":243,"path":244,"stem":245},"Embeds","\u002Fdataviews\u002Fdesign-form\u002Fwidgets\u002Fembeds","06.dataviews\u002F06.design-form\u002F02.widgets\u002F05.embeds",{"title":247,"path":248,"stem":249},"Layout","\u002Fdataviews\u002Fdesign-form\u002Fwidgets\u002Flayout","06.dataviews\u002F06.design-form\u002F02.widgets\u002F06.layout",{"title":251,"path":252,"stem":253},"Overlays","\u002Fdataviews\u002Fdesign-form\u002Fwidgets\u002Foverlays","06.dataviews\u002F06.design-form\u002F02.widgets\u002F07.overlays",{"title":203,"path":255,"stem":256},"\u002Fdataviews\u002Fdesign-form\u002Fwidgets\u002Factions","06.dataviews\u002F06.design-form\u002F02.widgets\u002F08.actions",{"title":258,"path":259,"stem":260},"Variables","\u002Fdataviews\u002Fdesign-form\u002Fvariables","06.dataviews\u002F06.design-form\u002F03.variables",{"title":262,"path":263,"stem":264},"Code","\u002Fdataviews\u002Fdesign-form\u002Fcode","06.dataviews\u002F06.design-form\u002F04.code",{"title":266,"path":267,"stem":268},"Formulas","\u002Fdataviews\u002Fdesign-form\u002Fformulas","06.dataviews\u002F06.design-form\u002F05.formulas",{"title":78,"icon":270,"path":271,"stem":272,"children":273,"page":62},"i-lucide-layout-dashboard","\u002Fdashboards","07.dashboards",[274,277,281,285,332],{"title":118,"path":275,"stem":276},"\u002Fdashboards\u002Foverview","07.dashboards\u002F01.overview",{"title":278,"path":279,"stem":280},"Creating a Dashboard","\u002Fdashboards\u002Fcreating","07.dashboards\u002F02.creating",{"title":282,"path":283,"stem":284},"Editor","\u002Fdashboards\u002Feditor","07.dashboards\u002F03.editor",{"title":224,"icon":286,"path":287,"stem":288,"children":289,"page":62},"i-lucide-chart-bar","\u002Fdashboards\u002Fwidgets","07.dashboards\u002F04.widgets",[290,293,297,301,305,309,313,317,321,324,328],{"title":224,"path":291,"stem":292},"\u002Fdashboards\u002Fwidgets\u002Foverview","07.dashboards\u002F04.widgets\u002F01.overview",{"title":294,"path":295,"stem":296},"Editing a Widget","\u002Fdashboards\u002Fwidgets\u002Fediting-a-widget","07.dashboards\u002F04.widgets\u002F02.editing-a-widget",{"title":298,"path":299,"stem":300},"Indicators","\u002Fdashboards\u002Fwidgets\u002Findicators","07.dashboards\u002F04.widgets\u002F03.indicators",{"title":302,"path":303,"stem":304},"Comparison","\u002Fdashboards\u002Fwidgets\u002Fcomparison","07.dashboards\u002F04.widgets\u002F04.comparison",{"title":306,"path":307,"stem":308},"Trend","\u002Fdashboards\u002Fwidgets\u002Ftrend","07.dashboards\u002F04.widgets\u002F05.trend",{"title":310,"path":311,"stem":312},"Proportion","\u002Fdashboards\u002Fwidgets\u002Fproportion","07.dashboards\u002F04.widgets\u002F06.proportion",{"title":314,"path":315,"stem":316},"Distribution and Relation","\u002Fdashboards\u002Fwidgets\u002Fdistribution-and-relation","07.dashboards\u002F04.widgets\u002F07.distribution-and-relation",{"title":318,"path":319,"stem":320},"Maps","\u002Fdashboards\u002Fwidgets\u002Fmaps","07.dashboards\u002F04.widgets\u002F08.maps",{"title":92,"path":322,"stem":323},"\u002Fdashboards\u002Fwidgets\u002Ftables","07.dashboards\u002F04.widgets\u002F09.tables",{"title":325,"path":326,"stem":327},"Visualization and Insertion","\u002Fdashboards\u002Fwidgets\u002Fvisualization-and-insertion","07.dashboards\u002F04.widgets\u002F10.visualization-and-insertion",{"title":329,"path":330,"stem":331},"SQL Conventions","\u002Fdashboards\u002Fwidgets\u002Fsql-conventions","07.dashboards\u002F04.widgets\u002F11.sql-conventions",{"title":172,"icon":184,"path":333,"stem":334,"children":335,"page":62},"\u002Fdashboards\u002Fsettings","07.dashboards\u002F05.settings",[336,339,342,345,349,352],{"title":189,"path":337,"stem":338},"\u002Fdashboards\u002Fsettings\u002Fgeneral","07.dashboards\u002F05.settings\u002F01.general",{"title":258,"path":340,"stem":341},"\u002Fdashboards\u002Fsettings\u002Fvariables","07.dashboards\u002F05.settings\u002F02.variables",{"title":193,"path":343,"stem":344},"\u002Fdashboards\u002Fsettings\u002Fdata","07.dashboards\u002F05.settings\u002F03.data",{"title":346,"path":347,"stem":348},"Share","\u002Fdashboards\u002Fsettings\u002Fshare","07.dashboards\u002F05.settings\u002F04.share",{"title":207,"path":350,"stem":351},"\u002Fdashboards\u002Fsettings\u002Fsecurity","07.dashboards\u002F05.settings\u002F05.security",{"title":211,"path":353,"stem":354},"\u002Fdashboards\u002Fsettings\u002Fversions","07.dashboards\u002F05.settings\u002F06.versions",{"title":356,"icon":357,"path":358,"stem":359,"children":360,"page":62},"Workflows","i-lucide-workflow","\u002Fworkflows","08.workflows",[361,364,368,371,393,432],{"title":118,"path":362,"stem":363},"\u002Fworkflows\u002Foverview","08.workflows\u002F01.overview",{"title":365,"path":366,"stem":367},"Creating a Workflow","\u002Fworkflows\u002Fcreating","08.workflows\u002F02.creating",{"title":282,"path":369,"stem":370},"\u002Fworkflows\u002Feditor","08.workflows\u002F03.editor",{"title":372,"icon":373,"path":374,"stem":375,"children":376,"page":62},"Triggers","i-lucide-zap","\u002Fworkflows\u002Ftriggers","08.workflows\u002F04.triggers",[377,381,385,389],{"title":378,"path":379,"stem":380},"Manual","\u002Fworkflows\u002Ftriggers\u002Fmanual","08.workflows\u002F04.triggers\u002F01.manual",{"title":382,"path":383,"stem":384},"Database Event","\u002Fworkflows\u002Ftriggers\u002Fdatabase-event","08.workflows\u002F04.triggers\u002F02.database-event",{"title":386,"path":387,"stem":388},"Schedule","\u002Fworkflows\u002Ftriggers\u002Fschedule","08.workflows\u002F04.triggers\u002F03.schedule",{"title":390,"path":391,"stem":392},"Webhook","\u002Fworkflows\u002Ftriggers\u002Fwebhook","08.workflows\u002F04.triggers\u002F04.webhook",{"title":394,"icon":357,"path":395,"stem":396,"children":397,"page":62},"Steps","\u002Fworkflows\u002Fsteps","08.workflows\u002F05.steps",[398,401,405,408,412,416,420,424,428],{"title":193,"path":399,"stem":400},"\u002Fworkflows\u002Fsteps\u002Fdata","08.workflows\u002F05.steps\u002F01.data",{"title":402,"path":403,"stem":404},"Control","\u002Fworkflows\u002Fsteps\u002Fcontrol","08.workflows\u002F05.steps\u002F02.control",{"title":262,"path":406,"stem":407},"\u002Fworkflows\u002Fsteps\u002Fcode","08.workflows\u002F05.steps\u002F03.code",{"title":409,"path":410,"stem":411},"Integration","\u002Fworkflows\u002Fsteps\u002Fintegration","08.workflows\u002F05.steps\u002F04.integration",{"title":413,"path":414,"stem":415},"Communication","\u002Fworkflows\u002Fsteps\u002Fcommunication","08.workflows\u002F05.steps\u002F05.communication",{"title":417,"path":418,"stem":419},"Files","\u002Fworkflows\u002Fsteps\u002Ffiles","08.workflows\u002F05.steps\u002F06.files",{"title":421,"path":422,"stem":423},"Documents","\u002Fworkflows\u002Fsteps\u002Fdocuments","08.workflows\u002F05.steps\u002F07.documents",{"title":425,"path":426,"stem":427},"Composition","\u002Fworkflows\u002Fsteps\u002Fcomposition","08.workflows\u002F05.steps\u002F08.composition",{"title":429,"path":430,"stem":431},"Values","\u002Fworkflows\u002Fsteps\u002Fvalues","08.workflows\u002F05.steps\u002F09.values",{"title":172,"icon":184,"path":433,"stem":434,"children":435,"page":62},"\u002Fworkflows\u002Fsettings","08.workflows\u002F06.settings",[436,439,443,446,449],{"title":189,"path":437,"stem":438},"\u002Fworkflows\u002Fsettings\u002Fgeneral","08.workflows\u002F06.settings\u002F01.general",{"title":440,"path":441,"stem":442},"Trigger","\u002Fworkflows\u002Fsettings\u002Ftrigger","08.workflows\u002F06.settings\u002F02.trigger",{"title":207,"path":444,"stem":445},"\u002Fworkflows\u002Fsettings\u002Fsecurity","08.workflows\u002F06.settings\u002F03.security",{"title":211,"path":447,"stem":448},"\u002Fworkflows\u002Fsettings\u002Fversions","08.workflows\u002F06.settings\u002F04.versions",{"title":450,"path":451,"stem":452},"Runs","\u002Fworkflows\u002Fsettings\u002Fruns","08.workflows\u002F06.settings\u002F05.runs",{"title":417,"icon":454,"path":455,"stem":456,"children":457,"page":62},"i-lucide-files","\u002Ffiles","09.files",[458,461,465,469,473,477,481],{"title":118,"path":459,"stem":460},"\u002Ffiles\u002Foverview","09.files\u002F01.overview",{"title":462,"path":463,"stem":464},"Uploading","\u002Ffiles\u002Fuploading","09.files\u002F02.uploading",{"title":466,"path":467,"stem":468},"File Details","\u002Ffiles\u002Ffile-details","09.files\u002F03.file-details",{"title":470,"path":471,"stem":472},"Editing Files","\u002Ffiles\u002Fediting-files","09.files\u002F04.editing-files",{"title":474,"path":475,"stem":476},"Using Files in Tables","\u002Ffiles\u002Fusing-files-in-tables","09.files\u002F05.using-files-in-tables",{"title":478,"path":479,"stem":480},"Image Transformations","\u002Ffiles\u002Fimage-transformations","09.files\u002F06.image-transformations",{"title":482,"path":483,"stem":484},"Who Can See a File","\u002Ffiles\u002Fwho-can-see-a-file","09.files\u002F07.who-can-see-a-file",{"title":486,"icon":487,"path":488,"stem":489,"children":490,"page":62},"Templates","i-lucide-file-text","\u002Ftemplates","10.templates",[491,494,498,502],{"title":118,"path":492,"stem":493},"\u002Ftemplates\u002Foverview","10.templates\u002F01.overview",{"title":495,"path":496,"stem":497},"Emails","\u002Ftemplates\u002Femails","10.templates\u002F02.emails",{"title":499,"path":500,"stem":501},"PDF","\u002Ftemplates\u002Fpdf","10.templates\u002F03.pdf",{"title":503,"path":504,"stem":505},"System Emails","\u002Ftemplates\u002Fsystem-emails","10.templates\u002F04.system-emails",{"title":507,"icon":508,"path":509,"stem":510,"children":511,"page":62},"Users","i-lucide-users","\u002Fusers","11.users",[512,516,520,524,528],{"title":513,"path":514,"stem":515},"Managing Users","\u002Fusers\u002Fmanaging-users","11.users\u002F01.managing-users",{"title":517,"path":518,"stem":519},"A User's Page","\u002Fusers\u002Fa-users-page","11.users\u002F02.a-users-page",{"title":521,"path":522,"stem":523},"API Tokens","\u002Fusers\u002Fapi-tokens","11.users\u002F03.api-tokens",{"title":525,"path":526,"stem":527},"Sessions","\u002Fusers\u002Fsessions","11.users\u002F04.sessions",{"title":529,"icon":530,"path":531,"stem":532,"children":533,"page":62},"Insights","i-lucide-chart-line","\u002Fusers\u002Finsights","11.users\u002F05.insights",[534,538],{"title":535,"path":536,"stem":537},"Sign-ins","\u002Fusers\u002Finsights\u002Fsign-ins","11.users\u002F05.insights\u002F01.sign-ins",{"title":539,"path":540,"stem":541},"Activity","\u002Fusers\u002Finsights\u002Factivity","11.users\u002F05.insights\u002F02.activity",{"title":543,"icon":544,"path":545,"stem":546,"children":547,"page":62},"Roles","i-lucide-shield-check","\u002Froles","12.roles",[548,552,556,560,564,568,572],{"title":549,"path":550,"stem":551},"Creating a Role","\u002Froles\u002Fcreating-a-role","12.roles\u002F01.creating-a-role",{"title":553,"path":554,"stem":555},"Granting Permissions","\u002Froles\u002Fgranting-permissions","12.roles\u002F02.granting-permissions",{"title":557,"path":558,"stem":559},"Row Filters","\u002Froles\u002Frow-filters","12.roles\u002F03.row-filters",{"title":561,"path":562,"stem":563},"Payload Checks","\u002Froles\u002Fpayload-checks","12.roles\u002F04.payload-checks",{"title":565,"path":566,"stem":567},"Members","\u002Froles\u002Fmembers","12.roles\u002F05.members",{"title":569,"path":570,"stem":571},"Access Reviews","\u002Froles\u002Faccess-reviews","12.roles\u002F06.access-reviews",{"title":573,"path":574,"stem":575},"Delegated Administration","\u002Froles\u002Fdelegated-administration","12.roles\u002F07.delegated-administration",{"title":577,"icon":578,"path":579,"stem":580,"children":581,"page":62},"Logs","i-lucide-scroll-text","\u002Flogs","13.logs",[582,586,590],{"title":583,"path":584,"stem":585},"Audit Log","\u002Flogs\u002Faudit-log","13.logs\u002F01.audit-log",{"title":587,"path":588,"stem":589},"An Entry","\u002Flogs\u002Fan-entry","13.logs\u002F02.an-entry",{"title":591,"path":592,"stem":593},"Where Else It Shows","\u002Flogs\u002Fwhere-else-it-shows","13.logs\u002F03.where-else-it-shows",{"title":595,"icon":596,"path":597,"stem":598,"children":599,"page":62},"Data API","i-lucide-braces","\u002Fdata-api","14.data-api",[600,603,607,611,615,619,623,627,631,635,639,643],{"title":118,"path":601,"stem":602},"\u002Fdata-api\u002Foverview","14.data-api\u002F01.overview",{"title":604,"path":605,"stem":606},"Authentication","\u002Fdata-api\u002Fauthentication","14.data-api\u002F02.authentication",{"title":608,"path":609,"stem":610},"Reading","\u002Fdata-api\u002Freading","14.data-api\u002F03.reading",{"title":612,"path":613,"stem":614},"Filtering","\u002Fdata-api\u002Ffiltering","14.data-api\u002F04.filtering",{"title":616,"path":617,"stem":618},"Aggregating","\u002Fdata-api\u002Faggregating","14.data-api\u002F05.aggregating",{"title":620,"path":621,"stem":622},"Writing","\u002Fdata-api\u002Fwriting","14.data-api\u002F06.writing",{"title":624,"path":625,"stem":626},"Nested Writes","\u002Fdata-api\u002Fnested-writes","14.data-api\u002F07.nested-writes",{"title":628,"path":629,"stem":630},"Transactions","\u002Fdata-api\u002Ftransactions","14.data-api\u002F08.transactions",{"title":632,"path":633,"stem":634},"Calling Functions","\u002Fdata-api\u002Fcalling-functions","14.data-api\u002F09.calling-functions",{"title":636,"path":637,"stem":638},"OpenAPI","\u002Fdata-api\u002Fopenapi","14.data-api\u002F10.openapi",{"title":640,"path":641,"stem":642},"Routes","\u002Fdata-api\u002Froutes","14.data-api\u002F11.routes",{"title":644,"path":645,"stem":646},"A client, end to end","\u002Fdata-api\u002Fa-client","14.data-api\u002F12.a-client",{"title":172,"icon":648,"path":649,"stem":650,"children":651,"page":62},"i-lucide-settings","\u002Fsettings","15.settings",[652,655,659,662,665],{"title":189,"path":653,"stem":654},"\u002Fsettings\u002Fgeneral","15.settings\u002F01.general",{"title":656,"path":657,"stem":658},"Access","\u002Fsettings\u002Faccess","15.settings\u002F02.access",{"title":207,"path":660,"stem":661},"\u002Fsettings\u002Fsecurity","15.settings\u002F03.security",{"title":595,"path":663,"stem":664},"\u002Fsettings\u002Fdata-api","15.settings\u002F04.data-api",{"title":666,"path":667,"stem":668},"Features","\u002Fsettings\u002Ffeatures","15.settings\u002F05.features",{"title":670,"icon":671,"path":672,"stem":673,"children":674,"page":62},"User Profile","i-lucide-circle-user","\u002Fuser-profile","16.user-profile",[675,679,682,686,690],{"title":676,"path":677,"stem":678},"My Account","\u002Fuser-profile\u002Fmy-account","16.user-profile\u002F01.my-account",{"title":525,"path":680,"stem":681},"\u002Fuser-profile\u002Fsessions","16.user-profile\u002F02.sessions",{"title":683,"path":684,"stem":685},"Tokens","\u002Fuser-profile\u002Ftokens","16.user-profile\u002F03.tokens",{"title":687,"path":688,"stem":689},"Preferences","\u002Fuser-profile\u002Fpreferences","16.user-profile\u002F04.preferences",{"title":539,"path":691,"stem":692},"\u002Fuser-profile\u002Factivity","16.user-profile\u002F05.activity",{"title":694,"icon":695,"path":696,"stem":697,"children":698,"page":62},"AI Agents","i-lucide-bot","\u002Fai-agents","17.ai-agents",[699,702,705,709,713,717],{"title":118,"path":700,"stem":701},"\u002Fai-agents\u002Foverview","17.ai-agents\u002F01.overview",{"title":683,"path":703,"stem":704},"\u002Fai-agents\u002Ftokens","17.ai-agents\u002F02.tokens",{"title":706,"path":707,"stem":708},"MCP Server","\u002Fai-agents\u002Fmcp-server","17.ai-agents\u002F03.mcp-server",{"title":710,"path":711,"stem":712},"Recipes","\u002Fai-agents\u002Frecipes","17.ai-agents\u002F04.recipes",{"title":714,"path":715,"stem":716},"Tools","\u002Fai-agents\u002Ftools","17.ai-agents\u002F05.tools",{"title":718,"path":719,"stem":720},"llms.txt","\u002Fai-agents\u002Fllms-txt","17.ai-agents\u002F06.llms-txt",{"title":722,"icon":723,"path":724,"stem":725,"children":726,"page":62},"Operations","i-lucide-server","\u002Foperations","18.operations",[727,731,735,739,743],{"title":728,"path":729,"stem":730},"Deployment","\u002Foperations\u002Fdeployment","18.operations\u002F01.deployment",{"title":732,"path":733,"stem":734},"PostgreSQL","\u002Foperations\u002Fpostgresql","18.operations\u002F02.postgresql",{"title":736,"path":737,"stem":738},"Public URL, Proxy and CORS","\u002Foperations\u002Fpublic-url-proxy-cors","18.operations\u002F03.public-url-proxy-cors",{"title":740,"path":741,"stem":742},"Backup and Restore","\u002Foperations\u002Fbackup-restore","18.operations\u002F04.backup-restore",{"title":744,"path":745,"stem":746},"Upgrading","\u002Foperations\u002Fupgrading","18.operations\u002F05.upgrading",{"title":748,"icon":749,"path":750,"stem":751,"children":752,"page":62},"Reference","i-lucide-library","\u002Freference","19.reference",[753,757,761,765,769],{"title":754,"path":755,"stem":756},"Query Language","\u002Freference\u002Fquery-language","19.reference\u002F01.query-language",{"title":758,"path":759,"stem":760},"Errors","\u002Freference\u002Ferrors","19.reference\u002F02.errors",{"title":762,"path":763,"stem":764},"Admin API","\u002Freference\u002Fadmin-api","19.reference\u002F03.admin-api",{"title":766,"path":767,"stem":768},"Authentication API","\u002Freference\u002Fauth-api","19.reference\u002F04.auth-api",{"title":770,"path":771,"stem":772},"Environment Variables","\u002Freference\u002Fenvironment","19.reference\u002F05.environment",{"id":774,"title":314,"admin":775,"body":776,"description":2193,"extension":2194,"links":2195,"meta":2196,"navigation":2197,"path":315,"seo":2198,"stem":316,"__hash__":2199},"docs\u002F07.dashboards\u002F04.widgets\u002F07.distribution-and-relation.md","a Dashboard › a widget › Edit",{"type":777,"value":778,"toc":2187},"minimark",[779,783,788,793,796,863,866,920,931,984,989,992,1003,1109,1281,1290,1294,1297,1340,1343,1373,1379,1384,1387,1394,1472,1596,1605,1609,1619,1690,1700,1758,1810,1820,1825,1828,1836,1973,2154,2163,2167,2183],[780,781,782],"p",{},"These widgets show where values concentrate: on a grid of two categories, on the days of the year, or as points placed by two numbers.",[784,785],"screenshot",{"caption":786,"id":787},"Orders by weekday and hour as a heatmap, visits per day as a calendar, and technicians' orders against hours as a scatter.","dashboard-widgets-distribution",[789,790,792],"h2",{"id":791},"heatmap","Heatmap",[780,794,795],{},"A grid of two categories, such as weekday × hour or branch × month, each cell colored by its value.",[797,798,799,815],"table",{},[800,801,802],"thead",{},[803,804,805,809,812],"tr",{},[806,807,808],"th",{},"Role",[806,810,811],{},"Takes",[806,813,814],{},"Unset",[816,817,818,830,841,852],"tbody",{},[803,819,820,824,827],{},[821,822,823],"td",{},"X",[821,825,826],{},"the columns, in the query's order (dates sorted)",[821,828,829],{},"the first column that isn't a number; a number, such as an hour, only by hand",[803,831,832,835,838],{},[821,833,834],{},"Y",[821,836,837],{},"the rows, in the query's order (dates sorted)",[821,839,840],{},"the next column that isn't a number",[803,842,843,846,849],{},[821,844,845],{},"Value",[821,847,848],{},"each cell's value",[821,850,851],{},"the first number column",[803,853,854,857,860],{},[821,855,856],{},"Tooltip",[821,858,859],{},"more columns in a cell's tooltip",[821,861,862],{},"none",[780,864,865],{},"When Acme's customers report problems, over the last 90 days:",[867,868,873],"pre",{"className":869,"code":870,"language":871,"meta":872,"style":872},"language-sql shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","SELECT to_char(reported_at, 'Dy') AS weekday,\n       to_char(reported_at, 'HH24') AS hour,\n       count(*) AS orders\nFROM work_orders\nWHERE reported_at >= now() - interval '90 days'\nGROUP BY 1, 2, extract(isodow FROM reported_at)\nORDER BY extract(isodow FROM reported_at), 2\n","sql","",[874,875,876,884,890,896,902,908,914],"code",{"__ignoreMap":872},[877,878,881],"span",{"class":879,"line":880},"line",1,[877,882,883],{},"SELECT to_char(reported_at, 'Dy') AS weekday,\n",[877,885,887],{"class":879,"line":886},2,[877,888,889],{},"       to_char(reported_at, 'HH24') AS hour,\n",[877,891,893],{"class":879,"line":892},3,[877,894,895],{},"       count(*) AS orders\n",[877,897,899],{"class":879,"line":898},4,[877,900,901],{},"FROM work_orders\n",[877,903,905],{"class":879,"line":904},5,[877,906,907],{},"WHERE reported_at >= now() - interval '90 days'\n",[877,909,911],{"class":879,"line":910},6,[877,912,913],{},"GROUP BY 1, 2, extract(isodow FROM reported_at)\n",[877,915,917],{"class":879,"line":916},7,[877,918,919],{},"ORDER BY extract(isodow FROM reported_at), 2\n",[780,921,922,923,926,927,930],{},"A missing cell stays empty. For zeros, build the grid with ",[874,924,925],{},"generate_series"," and ",[874,928,929],{},"LEFT JOIN"," the data to it.",[797,932,933,942],{},[800,934,935],{},[803,936,937,940],{},[806,938,939],{},"Setting",[806,941],{},[816,943,944,952,960,968,976],{},[803,945,946,949],{},[821,947,948],{},"Color",[821,950,951],{},"the scale's hue, from the background to it; unset, the theme's primary",[803,953,954,957],{},[821,955,956],{},"Thresholds",[821,958,959],{},"fixed color bands instead of a scale, with their legend",[803,961,962,965],{},[821,963,964],{},"Show values",[821,966,967],{},"each cell's number written in it",[803,969,970,973],{},[821,971,972],{},"Format, Compact number, Show legend",[821,974,975],{},"how values read; the scale's legend",[803,977,978,981],{},[821,979,980],{},"On click",[821,982,983],{},"what a click on a cell does",[780,985,986],{},[874,987,988],{},"HEATMAP",[780,990,991],{},"A grid of two categories (day × hour, branch × month), each cell colored by its value; a missing cell stays empty.",[780,993,994,998,999,1002],{},[995,996,997],"strong",{},"Size",": 6 × 4 of the 12-column grid, at least 4 × 3 · ",[995,1000,1001],{},"Also",": thresholds, events, export",[797,1004,1005,1022],{},[800,1006,1007],{},[803,1008,1009,1011,1013,1015,1018,1020],{},[806,1010,193],{},[806,1012,262],{},[806,1014,811],{},[806,1016,1017],{},"Required",[806,1019,814],{},[806,1021],{},[816,1023,1024,1047,1067,1088],{},[803,1025,1026,1030,1035,1038,1041,1044],{},[821,1027,1028],{},[995,1029,823],{},[821,1031,1032],{},[874,1033,1034],{},"x",[821,1036,1037],{},"category, time",[821,1039,1040],{},"yes",[821,1042,1043],{},"first",[821,1045,1046],{},"The columns - in the query's order (a date sorted). Defaults to the first column that isn't a number; a number (an hour) only by hand.",[803,1048,1049,1053,1058,1060,1062,1064],{},[821,1050,1051],{},[995,1052,834],{},[821,1054,1055],{},[874,1056,1057],{},"y",[821,1059,1037],{},[821,1061,1040],{},[821,1063,1043],{},[821,1065,1066],{},"The rows - in the query's order (a date sorted). Defaults to the next column that isn't a number; a number (a weekday) only by hand.",[803,1068,1069,1073,1078,1081,1083,1085],{},[821,1070,1071],{},[995,1072,845],{},[821,1074,1075],{},[874,1076,1077],{},"value",[821,1079,1080],{},"number",[821,1082,1040],{},[821,1084,1043],{},[821,1086,1087],{},"Each cell's value. Defaults to the first number column.",[803,1089,1090,1094,1099,1102,1104,1106],{},[821,1091,1092],{},[995,1093,856],{},[821,1095,1096],{},[874,1097,1098],{},"tooltip",[821,1100,1101],{},"category, number, time",[821,1103],{},[821,1105,862],{},[821,1107,1108],{},"More columns shown in a mark's tooltip, with their titles and formats. Optional.",[797,1110,1111,1127],{},[800,1112,1113],{},[803,1114,1115,1118,1120,1123,1125],{},[806,1116,1117],{},"Property",[806,1119,262],{},[806,1121,1122],{},"Section",[806,1124,429],{},[806,1126],{},[816,1128,1129,1148,1168,1187,1209,1231,1253],{},[803,1130,1131,1135,1140,1143,1145],{},[821,1132,1133],{},[995,1134,948],{},[821,1136,1137],{},[874,1138,1139],{},"color",[821,1141,1142],{},"appearance",[821,1144],{},[821,1146,1147],{},"The scale's hue, from the background to it - unset, the theme's primary. Thresholds draw fixed bands instead.",[803,1149,1150,1155,1160,1163,1165],{},[821,1151,1152],{},[995,1153,1154],{},"Format",[821,1156,1157],{},[874,1158,1159],{},"displayFormat",[821,1161,1162],{},"format",[821,1164],{},[821,1166,1167],{},"How its numbers read - a displayFormat pattern: \"$ #,##0\", \"#,##0.00\", \"0.0 %\" (% never multiplies: 85 reads 85.0 %), \"0.0 h\", \"CURRENCY:ARS\". Unset: the value column's own (its presentation), else the locale's.",[803,1169,1170,1175,1180,1182,1184],{},[821,1171,1172],{},[995,1173,1174],{},"Compact number",[821,1176,1177],{},[874,1178,1179],{},"compact",[821,1181,1162],{},[821,1183],{},[821,1185,1186],{},"Abbreviates large numbers - 11.6M, 2.4K - keeping the format's text and decimals (\"$ #,##0\" + compact: $ 1.3M). Unset: on, unless a format applies (its own or its column's).",[803,1188,1189,1193,1198,1200,1206],{},[821,1190,1191],{},[995,1192,964],{},[821,1194,1195],{},[874,1196,1197],{},"showValues",[821,1199,1142],{},[821,1201,1202,1203],{},"default ",[874,1204,1205],{},"false",[821,1207,1208],{},"Each cell's number written in it.",[803,1210,1211,1216,1221,1223,1228],{},[821,1212,1213],{},[995,1214,1215],{},"Show legend",[821,1217,1218],{},[874,1219,1220],{},"showLegend",[821,1222,1142],{},[821,1224,1202,1225],{},[874,1226,1227],{},"true",[821,1229,1230],{},"The series' (or slices') names, beside the chart.",[803,1232,1233,1237,1242,1244,1246],{},[821,1234,1235],{},[995,1236,956],{},[821,1238,1239],{},[874,1240,1241],{},"thresholds",[821,1243,1241],{},[821,1245],{},[821,1247,1248,1249,1252],{},"Colors by value, in order: ",[877,1250,1251],{},"{color: \"red\"}, {from: 60, color: \"amber\"}, {from: 80, color: \"green\"}"," - the first, without from, the base. from: a number, {column} (the widget's row) or {variable} (a NUMBER or SELECT variable). Wins over Color. On a heatmap, bands of those colors with their legend.",[803,1254,1255,1259,1264,1267,1269],{},[821,1256,1257],{},[995,1258,980],{},[821,1260,1261],{},[874,1262,1263],{},"click",[821,1265,1266],{},"events",[821,1268],{},[821,1270,1271,1272,1276,1277,1280],{},"What a click on a mark does: {action: \"FILTER\", variable, value} sets a variable of this dashboard; {action: \"DATAVIEW\", dataview, filter} opens a DataView filtered (the where grammar); {action: \"DASHBOARD\", dashboard, variables, tab}; {action: \"RECORD\", dataview, pk}; {action: \"URL\", url, newTab, inEmbeds}. Values are formulas over ",[1273,1274],"binding",{"value":1275},"row.\u003Ccolumn>"," (_ columns too) and ",[1273,1278],{"value":1279},"vars.\u003Cname>","; targets by id. hint: the tooltip's last line. On a heatmap, a cell.",[867,1282,1284],{"className":869,"code":1283,"language":871,"meta":872,"style":872},"SELECT (ARRAY['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'])[d] AS weekday, lpad(h::text, 2, '0') AS hour, (random() * 100)::int AS readings FROM generate_series(1, 7) AS d, generate_series(0, 23) AS h ORDER BY d, h\n",[874,1285,1286],{"__ignoreMap":872},[877,1287,1288],{"class":879,"line":880},[877,1289,1283],{},[789,1291,1293],{"id":1292},"calendar-heatmap","Calendar heatmap",[780,1295,1296],{},"Every day of a year colored by its value: a year per row, as many of the latest three as fit. On a phone, the latest months that fit, with a notice when some are left out. Day and month names follow the viewer's language, and the week starts on the viewer's first day.",[797,1298,1299,1309],{},[800,1300,1301],{},[803,1302,1303,1305,1307],{},[806,1304,808],{},[806,1306,811],{},[806,1308,814],{},[816,1310,1311,1322,1331],{},[803,1312,1313,1316,1319],{},[821,1314,1315],{},"Date",[821,1317,1318],{},"the day",[821,1320,1321],{},"the first date column",[803,1323,1324,1326,1329],{},[821,1325,845],{},[821,1327,1328],{},"the day's value",[821,1330,851],{},[803,1332,1333,1335,1338],{},[821,1334,856],{},[821,1336,1337],{},"more columns in a day's tooltip",[821,1339,862],{},[780,1341,1342],{},"Visits scheduled per day:",[867,1344,1346],{"className":869,"code":1345,"language":871,"meta":872,"style":872},"SELECT scheduled_start::date AS day, count(*) AS visits\nFROM visits\nWHERE scheduled_start >= now() - interval '1 year'\nGROUP BY 1\nORDER BY 1\n",[874,1347,1348,1353,1358,1363,1368],{"__ignoreMap":872},[877,1349,1350],{"class":879,"line":880},[877,1351,1352],{},"SELECT scheduled_start::date AS day, count(*) AS visits\n",[877,1354,1355],{"class":879,"line":886},[877,1356,1357],{},"FROM visits\n",[877,1359,1360],{"class":879,"line":892},[877,1361,1362],{},"WHERE scheduled_start >= now() - interval '1 year'\n",[877,1364,1365],{"class":879,"line":898},[877,1366,1367],{},"GROUP BY 1\n",[877,1369,1370],{"class":879,"line":904},[877,1371,1372],{},"ORDER BY 1\n",[780,1374,1375,1378],{},[874,1376,1377],{},"scheduled_start::date"," cuts days in the viewer's time zone. Its settings are a heatmap's: Color, Thresholds, Format, Compact number, Show legend and On click (a click on a day).",[780,1380,1381],{},[874,1382,1383],{},"CALENDAR",[780,1385,1386],{},"Every day of a year colored by its value - a year per row, the latest three.",[780,1388,1389,1391,1392,1002],{},[995,1390,997],{},": 12 × 3 of the 12-column grid, at least 6 × 3 · ",[995,1393,1001],{},[797,1395,1396,1412],{},[800,1397,1398],{},[803,1399,1400,1402,1404,1406,1408,1410],{},[806,1401,193],{},[806,1403,262],{},[806,1405,811],{},[806,1407,1017],{},[806,1409,814],{},[806,1411],{},[816,1413,1414,1435,1454],{},[803,1415,1416,1420,1425,1428,1430,1432],{},[821,1417,1418],{},[995,1419,1315],{},[821,1421,1422],{},[874,1423,1424],{},"date",[821,1426,1427],{},"time",[821,1429,1040],{},[821,1431,1043],{},[821,1433,1434],{},"The day. Defaults to the first date column.",[803,1436,1437,1441,1445,1447,1449,1451],{},[821,1438,1439],{},[995,1440,845],{},[821,1442,1443],{},[874,1444,1077],{},[821,1446,1080],{},[821,1448,1040],{},[821,1450,1043],{},[821,1452,1453],{},"Each day's value. Defaults to the first number column.",[803,1455,1456,1460,1464,1466,1468,1470],{},[821,1457,1458],{},[995,1459,856],{},[821,1461,1462],{},[874,1463,1098],{},[821,1465,1101],{},[821,1467],{},[821,1469,862],{},[821,1471,1108],{},[797,1473,1474,1488],{},[800,1475,1476],{},[803,1477,1478,1480,1482,1484,1486],{},[806,1479,1117],{},[806,1481,262],{},[806,1483,1122],{},[806,1485,429],{},[806,1487],{},[816,1489,1490,1506,1522,1538,1556,1575],{},[803,1491,1492,1496,1500,1502,1504],{},[821,1493,1494],{},[995,1495,948],{},[821,1497,1498],{},[874,1499,1139],{},[821,1501,1142],{},[821,1503],{},[821,1505,1147],{},[803,1507,1508,1512,1516,1518,1520],{},[821,1509,1510],{},[995,1511,1154],{},[821,1513,1514],{},[874,1515,1159],{},[821,1517,1162],{},[821,1519],{},[821,1521,1167],{},[803,1523,1524,1528,1532,1534,1536],{},[821,1525,1526],{},[995,1527,1174],{},[821,1529,1530],{},[874,1531,1179],{},[821,1533,1162],{},[821,1535],{},[821,1537,1186],{},[803,1539,1540,1544,1548,1550,1554],{},[821,1541,1542],{},[995,1543,1215],{},[821,1545,1546],{},[874,1547,1220],{},[821,1549,1142],{},[821,1551,1202,1552],{},[874,1553,1227],{},[821,1555,1230],{},[803,1557,1558,1562,1566,1568,1570],{},[821,1559,1560],{},[995,1561,956],{},[821,1563,1564],{},[874,1565,1241],{},[821,1567,1241],{},[821,1569],{},[821,1571,1248,1572,1574],{},[877,1573,1251],{}," - the first, without from, the base. from: a number, {column} (the widget's row) or {variable} (a NUMBER or SELECT variable). Wins over Color. On a calendar, bands of those colors with their legend.",[803,1576,1577,1581,1585,1587,1589],{},[821,1578,1579],{},[995,1580,980],{},[821,1582,1583],{},[874,1584,1263],{},[821,1586,1266],{},[821,1588],{},[821,1590,1271,1591,1276,1593,1595],{},[1273,1592],{"value":1275},[1273,1594],{"value":1279},"; targets by id. hint: the tooltip's last line. On a calendar, a day.",[867,1597,1599],{"className":869,"code":1598,"language":871,"meta":872,"style":872},"SELECT d::date AS day, (random() * 20)::int AS visits FROM generate_series(date '2026-01-01', date '2026-12-31', interval '1 day') AS d\n",[874,1600,1601],{"__ignoreMap":872},[877,1602,1603],{"class":879,"line":880},[877,1604,1598],{},[789,1606,1608],{"id":1607},"scatter-and-bubbles","Scatter and bubbles",[780,1610,1611,1612,1614,1615,1618],{},"Points placed by two numbers. With ",[995,1613,997],{},", bubbles; with ",[995,1616,1617],{},"Group",", a series per group.",[797,1620,1621,1631],{},[800,1622,1623],{},[803,1624,1625,1627,1629],{},[806,1626,808],{},[806,1628,811],{},[806,1630,814],{},[816,1632,1633,1642,1652,1661,1672,1681],{},[803,1634,1635,1637,1640],{},[821,1636,823],{},[821,1638,1639],{},"a number; a date by hand",[821,1641,851],{},[803,1643,1644,1646,1649],{},[821,1645,834],{},[821,1647,1648],{},"a number",[821,1650,1651],{},"the next number column",[803,1653,1654,1656,1659],{},[821,1655,997],{},[821,1657,1658],{},"a bubble's size: its radius grows with the square root, from 6 to 40 pixels",[821,1660,862],{},[803,1662,1663,1666,1669],{},[821,1664,1665],{},"Label",[821,1667,1668],{},"each point's name in its tooltip",[821,1670,1671],{},"the first column that isn't a number",[803,1673,1674,1676,1679],{},[821,1675,1617],{},[821,1677,1678],{},"by hand: a series per value, colored by the column's presentation",[821,1680,862],{},[803,1682,1683,1685,1688],{},[821,1684,856],{},[821,1686,1687],{},"more columns in a point's tooltip",[821,1689,862],{},[780,1691,1692,1693,1696,1697,1699],{},"Each technician's orders against hours worked this month, a series per branch: choose ",[874,1694,1695],{},"branch"," for ",[995,1698,1617],{},".",[867,1701,1703],{"className":869,"code":1702,"language":871,"meta":872,"style":872},"SELECT u.name AS technician,\n       count(DISTINCT te.work_order) AS orders,\n       round(sum(te.minutes) \u002F 60.0, 1) AS hours,\n       b.code AS branch\nFROM time_entries te\nJOIN technicians t ON t.id = te.technician\nJOIN totalbase.users u ON u.id = t.\"user\"\nJOIN branches b ON b.id = t.branch\nWHERE te.started_at >= date_trunc('month', now())\nGROUP BY u.name, b.code\n",[874,1704,1705,1710,1715,1720,1725,1730,1735,1740,1746,1752],{"__ignoreMap":872},[877,1706,1707],{"class":879,"line":880},[877,1708,1709],{},"SELECT u.name AS technician,\n",[877,1711,1712],{"class":879,"line":886},[877,1713,1714],{},"       count(DISTINCT te.work_order) AS orders,\n",[877,1716,1717],{"class":879,"line":892},[877,1718,1719],{},"       round(sum(te.minutes) \u002F 60.0, 1) AS hours,\n",[877,1721,1722],{"class":879,"line":898},[877,1723,1724],{},"       b.code AS branch\n",[877,1726,1727],{"class":879,"line":904},[877,1728,1729],{},"FROM time_entries te\n",[877,1731,1732],{"class":879,"line":910},[877,1733,1734],{},"JOIN technicians t ON t.id = te.technician\n",[877,1736,1737],{"class":879,"line":916},[877,1738,1739],{},"JOIN totalbase.users u ON u.id = t.\"user\"\n",[877,1741,1743],{"class":879,"line":1742},8,[877,1744,1745],{},"JOIN branches b ON b.id = t.branch\n",[877,1747,1749],{"class":879,"line":1748},9,[877,1750,1751],{},"WHERE te.started_at >= date_trunc('month', now())\n",[877,1753,1755],{"class":879,"line":1754},10,[877,1756,1757],{},"GROUP BY u.name, b.code\n",[797,1759,1760,1768],{},[800,1761,1762],{},[803,1763,1764,1766],{},[806,1765,939],{},[806,1767],{},[816,1769,1770,1778,1786,1794,1802],{},[803,1771,1772,1775],{},[821,1773,1774],{},"Series",[821,1776,1777],{},"per Group value: its name and color; unset, the Group column's presentation",[803,1779,1780,1783],{},[821,1781,1782],{},"Axes",[821,1784,1785],{},"the X and Y axes' title, minimum, maximum, logarithmic scale and format; unset minimum fits the data",[803,1787,1788,1791],{},[821,1789,1790],{},"Reference lines",[821,1792,1793],{},"a line on the Y axis (or the X one) at a number, a statistic, a column or a variable; bands",[803,1795,1796,1799],{},[821,1797,1798],{},"Zoom",[821,1800,1801],{},"sliders under and beside the chart, the wheel or a pinch",[803,1803,1804,1807],{},[821,1805,1806],{},"Format, Compact number, Color, Show legend, On click",[821,1808,1809],{},"as other charts'",[1811,1812,1813],"note",{},[780,1814,1815,1816,1819],{},"A histogram has no widget of its own: bucket the values in SQL with ",[874,1817,1818],{},"width_bucket"," and draw them as a Bar chart.",[780,1821,1822],{},[874,1823,1824],{},"SCATTER",[780,1826,1827],{},"Points by two numbers - with Size, bubbles; with Group, a series per group.",[780,1829,1830,1832,1833,1835],{},[995,1831,997],{},": 6 × 4 of the 12-column grid, at least 3 × 3 · ",[995,1834,1001],{},": series, thresholds, events, zoom, export",[797,1837,1838,1854],{},[800,1839,1840],{},[803,1841,1842,1844,1846,1848,1850,1852],{},[806,1843,193],{},[806,1845,262],{},[806,1847,811],{},[806,1849,1017],{},[806,1851,814],{},[806,1853],{},[816,1855,1856,1875,1894,1914,1935,1955],{},[803,1857,1858,1862,1866,1868,1870,1872],{},[821,1859,1860],{},[995,1861,823],{},[821,1863,1864],{},[874,1865,1034],{},[821,1867,1080],{},[821,1869,1040],{},[821,1871,1043],{},[821,1873,1874],{},"Defaults to the first number column; a date chosen by hand.",[803,1876,1877,1881,1885,1887,1889,1891],{},[821,1878,1879],{},[995,1880,834],{},[821,1882,1883],{},[874,1884,1057],{},[821,1886,1080],{},[821,1888,1040],{},[821,1890,1043],{},[821,1892,1893],{},"Defaults to the next number column.",[803,1895,1896,1900,1905,1907,1909,1911],{},[821,1897,1898],{},[995,1899,997],{},[821,1901,1902],{},[874,1903,1904],{},"size",[821,1906,1080],{},[821,1908],{},[821,1910,862],{},[821,1912,1913],{},"Each point's size (radius by its square root, 6 to 40 px) - bubbles. Optional.",[803,1915,1916,1920,1925,1928,1930,1932],{},[821,1917,1918],{},[995,1919,1665],{},[821,1921,1922],{},[874,1923,1924],{},"label",[821,1926,1927],{},"category",[821,1929],{},[821,1931,1043],{},[821,1933,1934],{},"Each point's name in its tooltip. Defaults to the first column that isn't a number.",[803,1936,1937,1941,1946,1948,1950,1952],{},[821,1938,1939],{},[995,1940,1617],{},[821,1942,1943],{},[874,1944,1945],{},"group",[821,1947],{},[821,1949],{},[821,1951,862],{},[821,1953,1954],{},"A series per value of this column, colored by its presentation. Optional.",[803,1956,1957,1961,1965,1967,1969,1971],{},[821,1958,1959],{},[995,1960,856],{},[821,1962,1963],{},[874,1964,1098],{},[821,1966,1101],{},[821,1968],{},[821,1970,862],{},[821,1972,1108],{},[797,1974,1975,1989],{},[800,1976,1977],{},[803,1978,1979,1981,1983,1985,1987],{},[806,1980,1117],{},[806,1982,262],{},[806,1984,1122],{},[806,1986,429],{},[806,1988],{},[816,1990,1991,2007,2023,2040,2058,2076,2094,2112,2133],{},[803,1992,1993,1997,2001,2003,2005],{},[821,1994,1995],{},[995,1996,1154],{},[821,1998,1999],{},[874,2000,1159],{},[821,2002,1162],{},[821,2004],{},[821,2006,1167],{},[803,2008,2009,2013,2017,2019,2021],{},[821,2010,2011],{},[995,2012,1174],{},[821,2014,2015],{},[874,2016,1179],{},[821,2018,1162],{},[821,2020],{},[821,2022,1186],{},[803,2024,2025,2029,2033,2035,2037],{},[821,2026,2027],{},[995,2028,948],{},[821,2030,2031],{},[874,2032,1139],{},[821,2034,1142],{},[821,2036],{},[821,2038,2039],{},"A palette hue for its marks - unset, the theme's primary.",[803,2041,2042,2046,2050,2052,2056],{},[821,2043,2044],{},[995,2045,1215],{},[821,2047,2048],{},[874,2049,1220],{},[821,2051,1142],{},[821,2053,1202,2054],{},[874,2055,1227],{},[821,2057,1230],{},[803,2059,2060,2064,2069,2071,2073],{},[821,2061,2062],{},[995,2063,1774],{},[821,2065,2066],{},[874,2067,2068],{},"series",[821,2070,2068],{},[821,2072],{},[821,2074,2075],{},"Per Group value: {label, color}. Unset: the Group column's presentation (its CHECK list's labels and colors).",[803,2077,2078,2082,2087,2089,2091],{},[821,2079,2080],{},[995,2081,1782],{},[821,2083,2084],{},[874,2085,2086],{},"axes",[821,2088,2086],{},[821,2090],{},[821,2092,2093],{},"{x: {title, min, max, log, displayFormat}, y: {...}} - unset min fits the data.",[803,2095,2096,2100,2105,2107,2109],{},[821,2097,2098],{},[995,2099,1790],{},[821,2101,2102],{},[874,2103,2104],{},"references",[821,2106,1241],{},[821,2108],{},[821,2110,2111],{},"Lines and bands on the value axis: {type: \"line\", value: a number | average | min | max | median | {column} | {variable}, label, color, series?} or {type: \"band\", from, to, label, color}. Labels read in the axis' format. On a scatter, axis: \"x\" or \"y\" (default y).",[803,2113,2114,2118,2122,2124,2126],{},[821,2115,2116],{},[995,2117,980],{},[821,2119,2120],{},[874,2121,1263],{},[821,2123,1266],{},[821,2125],{},[821,2127,1271,2128,1276,2130,2132],{},[1273,2129],{"value":1275},[1273,2131],{"value":1279},"; targets by id. hint: the tooltip's last line. On a scatter, a point.",[803,2134,2135,2139,2144,2147,2151],{},[821,2136,2137],{},[995,2138,1798],{},[821,2140,2141],{},[874,2142,2143],{},"zoom",[821,2145,2146],{},"zoomExport",[821,2148,1202,2149],{},[874,2150,1205],{},[821,2152,2153],{},"Bars under and beside the chart, and the wheel or a pinch, to zoom into a range of x and y.",[867,2155,2157],{"className":869,"code":2156,"language":871,"meta":872,"style":872},"SELECT * FROM (VALUES ('Ana', 12, 3500, 42000, 'GOLD'), ('Luis', 30, 2100, 63000, 'BLACK'), ('Marta', 7, 5200, 36400, 'GOLD'), ('Pedro', 18, 2900, 52200, 'PLATINUM')) AS t(customer, visits, avg_ticket, spent, level)\n",[874,2158,2159],{"__ignoreMap":872},[877,2160,2161],{"class":879,"line":880},[877,2162,2156],{},[789,2164,2166],{"id":2165},"next-steps","Next steps",[2168,2169,2170,2177],"ul",{},[2171,2172,2173,2176],"li",{},[2174,2175,318],"a",{"href":319},": points on a street map.",[2171,2178,2179,2182],{},[2174,2180,294],{"href":2181},"\u002Fdashboards\u002Fwidgets\u002Fediting-a-widget#data",": choosing a role's column by hand.",[2184,2185,2186],"style",{},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":872,"searchDepth":880,"depth":886,"links":2188},[2189,2190,2191,2192],{"id":791,"depth":886,"text":792},{"id":1292,"depth":886,"text":1293},{"id":1607,"depth":886,"text":1608},{"id":2165,"depth":886,"text":2166},"Heatmap, Calendar heatmap, and Scatter and bubbles.","md",null,{},true,{"title":314,"description":2193},"zcFyT0r4oF6OS3Yk4x0upLemVfIwggq0BLUw4t3djoA",[2201,2203],{"title":310,"path":311,"stem":312,"description":2202,"children":-1},"Pie, Donut, Funnel, Treemap and Sunburst.",{"title":318,"path":319,"stem":320,"description":2204,"children":-1},"A map of points from a query.",1792339963703]