{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,

  "name": "tdg/chart",
  "title": "Chart",
  "category": "widgets",
  "description": "Display a chart using data in a Google sheet.",
  "keywords": [ "besan block", "graph", "data" ],

  "attributes": {
    "data": {
      "type": "string",
      "default": ""
    },
    "column": {
      "type": "string",
      "default": "A"
    },
    "type": {
      "type": "string",
      "default": "bar-vertical"
    },
    "title": {
      "type": "string",
      "default": ""
    },
    "caption": {
      "type": "string",
      "default": ""
    },
    "color": {
      "type": "string",
      "default": "#000000"
    }
  },

  "example": {}
}