{
  "$schema": "https://ai.syncfusion.com/schema/registry-item.json",
  "name": "chart-line",
  "framework": "vue",
  "type": "registry:component",
  "component": "Chart",
  "variant": "line",
  "dependencies": [
    "@syncfusion/ej2-vue-charts"
  ],
  "description": "Line chart compares annual crude steel production by country across recent years.",
  "meta": {
    "essentialStudioRelease": "2026 Volume 3 (v35.1.37)",
    "license": "commercial-or-community",
    "licenseNote": "The Syncfusion package is licensed. The composition in this file is source you own and edit. See https://ai.syncfusion.com/licensing.md",
    "requiresLicenseKey": true,
    "requiresServerEndpoint": false,
    "platformIndex": "https://ai.syncfusion.com/vue/llms.txt",
    "skillPack": "syncfusion/vue-ui-components-skills",
    "docs": "https://ai.syncfusion.com/gallery/vue/chart-line.md"
  },
  "files": [
    {
      "target": "src/components/chart-line/Chart.vue",
      "content": "<template>\n  <div class=\"control-section\">\n    <div align=\"center\">\n      <ejs-chart\n        style=\"display: block\"\n        align=\"center\"\n        id=\"chartcontainer\"\n        :title=\"title\"\n        :subTitle=\"subTitle\"\n        :primaryXAxis=\"primaryXAxis\"\n        :primaryYAxis=\"primaryYAxis\"\n        :tooltip=\"tooltip\"\n        :chartArea=\"chartArea\"\n        :width=\"width\"\n        :legendSettings=\"legend\"\n      >\n        <e-series-collection>\n          <e-series\n            :dataSource=\"seriesData\"\n            type=\"Line\"\n            xName=\"Period\"\n            yName=\"Viet_Growth\"\n            name=\"Vietnam\"\n            opacity=\"1\"\n            width=\"2\"\n            :marker=\"circleMarker\"\n            :labelSettings=\"labelSettings\"\n          />\n          <e-series\n            :dataSource=\"seriesData\"\n            type=\"Line\"\n            xName=\"Period\"\n            yName=\"Can_Growth\"\n            name=\"Indonesia\"\n            opacity=\"1\"\n            width=\"2\"\n            :marker=\"triangleMarker\"\n            :labelSettings=\"labelSettings\"\n          />\n          <e-series\n            :dataSource=\"seriesData\"\n            type=\"Line\"\n            xName=\"Period\"\n            yName=\"Mal_Growth\"\n            name=\"France\"\n            opacity=\"1\"\n            width=\"2\"\n            :marker=\"diamondMarker\"\n            :labelSettings=\"labelSettings\"\n          />\n          <e-series\n            :dataSource=\"seriesData\"\n            type=\"Line\"\n            xName=\"Period\"\n            yName=\"Egy_Growth\"\n            name=\"Poland\"\n            opacity=\"1\"\n            width=\"2\"\n            :marker=\"rectangleMarker\"\n            :labelSettings=\"labelSettings\"\n          />\n          <e-series\n            :dataSource=\"seriesData\"\n            type=\"Line\"\n            xName=\"Period\"\n            yName=\"Ind_Growth\"\n            name=\"Mexico\"\n            opacity=\"1\"\n            width=\"2\"\n            :marker=\"pentagonMarker\"\n            :labelSettings=\"labelSettings\"\n          />\n        </e-series-collection>\n      </ejs-chart>\n    </div>\n  </div>\n</template>\n\n<script lang=\"ts\">\nimport { Browser } from '@syncfusion/ej2-base';\nimport {\n  ChartComponent,\n  SeriesDirective,\n  SeriesCollectionDirective,\n  LineSeries,\n  Legend,\n  Tooltip,\n  DateTime,\n  Category,\n  Highlight,\n  SeriesLabel\n} from '@syncfusion/ej2-vue-charts';\nimport { lineChartData } from '../datasource/chart-data';\n\nexport default {\n  components: {\n    'ejs-chart': ChartComponent,\n    'e-series-collection': SeriesCollectionDirective,\n    'e-series': SeriesDirective\n  },\n  data() {\n    return {\n      seriesData: lineChartData,\n      primaryXAxis: {\n        valueType: 'Double',\n        edgeLabelPlacement: 'Shift',\n        majorGridLines: { width: 0 }\n      },\n      primaryYAxis: {\n        title: 'Volume in million metric tons',\n        minimum: 0,\n        maximum: 25,\n        interval: 5,\n        lineStyle: { width: 0 },\n        majorTickLines: { width: 0 }\n      },\n      chartArea: {\n        border: { width: 0 },\n        margin: { bottom: 12 }\n      },\n      width: Browser.isDevice ? '100%' : '75%',\n      circleMarker: { visible: true, height: 7, width: 7, shape: 'Circle', isFilled: true },\n      triangleMarker: { visible: true, height: 6, width: 6, shape: 'Triangle', isFilled: true },\n      diamondMarker: { visible: true, height: 7, width: 7, shape: 'Diamond', isFilled: true },\n      rectangleMarker: { visible: true, height: 5, width: 5, shape: 'Rectangle', isFilled: true },\n      pentagonMarker: { visible: true, height: 7, width: 7, shape: 'Pentagon', isFilled: true },\n      labelSettings: { visible: true },\n      tooltip: {\n        enable: true,\n        enableHighlight: true,\n        showNearestTooltip: true,\n        header: '<b>${series.name}</b>',\n        format: '${point.x} : <b>${point.y}M</b>'\n      },\n      legend: { visible: true, enableHighlight: true },\n      title: 'Annual Crude Steel Production by Country (2016–2024)',\n      subTitle: 'Source: wikipedia.org'\n    };\n  },\n  provide() {\n    return {\n      chart: [LineSeries, Legend, Tooltip, Category, DateTime, Highlight, SeriesLabel]\n    };\n  }\n};\n</script>\n"
    }
  ]
}