{
  "name": "legend-section",
  "version": "20.0.2",
  "jetVersion": "^20.0.2",
  "pack": "oj-c",
  "type": "composite",
  "dependencyScope": "runtime",
  "license": "https://opensource.org/licenses/UPL",
  "implements": [
    "CLegendSectionElement"
  ],
  "subcomponentType": "data",
  "description": "The oj-c-legend-section element is used to declare properties for legend sections.",
  "displayName": "LegendSection",
  "main": "oj-c/legend-section",
  "help": "oj-c.LegendSection.html",
  "status": [
    {
      "type": "candidate",
      "since": "17.0.0"
    }
  ],
  "extension": {
    "catalog": {
      "category": "Visualizations"
    }
  },
  "propertyLayout": [
    {
      "propertyGroup": "common",
      "items": [
        "text"
      ]
    }
  ],
  "since": "15.0.0",
  "properties": {
    "text": {
      "type": "string",
      "description": "The title of the legend section.",
      "displayName": "Text",
      "help": "#text",
      "translatable": true,
      "value": ""
    }
  },
  "methods": {
    "setProperty": {
      "description": "Sets a property or a single subproperty for complex properties and notifies the component of the change, triggering a corresponding event.",
      "help": "#setProperty",
      "params": [
        {
          "name": "property",
          "description": "The property name to set. Supports dot notation for subproperty access.",
          "type": "string"
        },
        {
          "name": "value",
          "description": "The new value to set the property to.",
          "type": "any"
        }
      ],
      "return": "void"
    },
    "getProperty": {
      "description": "Retrieves the value of a property or a subproperty.",
      "help": "#getProperty",
      "params": [
        {
          "name": "property",
          "description": "The property name to get. Supports dot notation for subproperty access.",
          "type": "string"
        }
      ],
      "return": "any"
    },
    "setProperties": {
      "description": "Performs a batch set of properties.",
      "help": "#setProperties",
      "params": [
        {
          "name": "properties",
          "description": "An object containing the property and value pairs to set.",
          "type": "object"
        }
      ],
      "return": "void"
    }
  }
}