{
  "name": "line-chart-item",
  "version": "20.0.2",
  "jetVersion": "^20.0.2",
  "pack": "oj-c",
  "type": "composite",
  "dependencyScope": "runtime",
  "license": "https://opensource.org/licenses/UPL",
  "implements": [
    "CLineChartItemElement"
  ],
  "subcomponentType": "data",
  "description": "The oj-c-line-chart-item element is used to declare item properties",
  "displayName": "LineChartItem",
  "main": "oj-c/line-chart-item",
  "help": "oj-c.LineChartItem.html",
  "status": [
    {
      "type": "candidate",
      "since": "17.0.0"
    }
  ],
  "extension": {
    "catalog": {
      "category": "Visualizations"
    }
  },
  "since": "16.0.0",
  "properties": {
    "seriesId": {
      "type": "string",
      "description": "The id for the series the item belongs to.",
      "displayName": "Series Id",
      "help": "#seriesId"
    },
    "groupId": {
      "type": "Array<string>",
      "description": "The array of ids for the groups the item belongs to",
      "displayName": "Group Id",
      "help": "#groupId"
    },
    "value": {
      "type": "number",
      "description": "The value of the data item.",
      "displayName": "Value",
      "help": "#value"
    },
    "x": {
      "type": "string",
      "description": "The x value of the data item.",
      "displayName": "X",
      "help": "#x"
    },
    "color": {
      "type": "string",
      "description": "The color of the data item.",
      "displayName": "Color",
      "help": "#color"
    },
    "markerDisplayed": {
      "type": "string",
      "description": "Defines whether the data marker is displayed.",
      "displayName": "Marker Displayed",
      "help": "#markerDisplayed",
      "enumValues": [
        "auto",
        "off",
        "on"
      ]
    },
    "markerShape": {
      "type": "string",
      "description": "The shape of the data markers.",
      "displayName": "Marker Shape",
      "help": "#markerShape",
      "enumValues": [
        "auto",
        "square",
        "circle",
        "diamond",
        "human",
        "plus",
        "star",
        "triangleDown",
        "triangleUp"
      ]
    },
    "markerSize": {
      "type": "number",
      "description": "The size of the data markers.",
      "displayName": "Marker Size",
      "help": "#markerSize"
    },
    "categories": {
      "type": "Array<string>",
      "description": "An optional array of category strings corresponding to this data item.",
      "displayName": "Categories",
      "help": "#categories"
    },
    "drilling": {
      "type": "string",
      "description": "Whether drilling is enabled for the data item.",
      "displayName": "Drilling",
      "help": "#drilling",
      "enumValues": [
        "off",
        "inherit",
        "on"
      ]
    },
    "shortDesc": {
      "type": "string",
      "description": "The description of this object.",
      "displayName": "Short Desc",
      "help": "#shortDesc"
    },
    "label": {
      "type": "string|Array<string>",
      "description": "The label for the data item.",
      "displayName": "Label",
      "help": "#label"
    }
  },
  "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"
    }
  }
}