{
  "$schema": "https://ai.syncfusion.com/schema/registry-item.json",
  "name": "chart-default",
  "framework": "angular",
  "type": "registry:component",
  "component": "Chart",
  "variant": "default",
  "dependencies": [
    "@syncfusion/ej2-angular-charts"
  ],
  "description": "Multi-series line chart tracking crude steel volumes by country from 2016-2024 via ChartAllModule.",
  "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/angular/llms.txt",
    "skillPack": "syncfusion/angular-ui-components-skills",
    "docs": "https://ai.syncfusion.com/gallery/angular/chart-default.md"
  },
  "files": [
    {
      "target": "src/components/chart-default/chart.component.html",
      "content": "<div class=\"chart-container\" style=\"padding: 70px; margin: 0 auto;\">\n  <ejs-chart id=\"chart-container\" [primaryXAxis]=\"primaryXAxis\" [primaryYAxis]=\"primaryYAxis\" [chartArea]=\"chartArea\"\n    [width]=\"width\" [title]=\"title\" [subTitle]=\"subTitle\" [tooltip]=\"tooltip\" [legendSettings]=\"legendSettings\"\n    [annotations]=\"annotations\" (load)=\"load($event)\">\n    <e-series-collection>\n      <e-series [dataSource]=\"vietnamData\" type=\"Line\" xName=\"x\" yName=\"y\" name=\"Vietnam\" width=\"2\"\n        [marker]=\"circleMarker\" [labelSettings]=\"labelSettings\"></e-series>\n\n      <e-series [dataSource]=\"indonesiaData\" type=\"Line\" xName=\"x\" yName=\"y\" name=\"Indonesia\" width=\"2\"\n        [marker]=\"triangleMarker\" [labelSettings]=\"labelSettings\"></e-series>\n\n      <e-series [dataSource]=\"franceData\" type=\"Line\" xName=\"x\" yName=\"y\" name=\"France\" width=\"2\"\n        [marker]=\"diamondMarker\" [labelSettings]=\"labelSettings\"></e-series>\n\n      <e-series [dataSource]=\"polandData\" type=\"Line\" xName=\"x\" yName=\"y\" name=\"Poland\" width=\"2\"\n        [marker]=\"rectangleMarker\" [labelSettings]=\"labelSettings\"></e-series>\n\n      <e-series [dataSource]=\"mexicoData\" type=\"Line\" xName=\"x\" yName=\"y\" name=\"Mexico\" width=\"2\"\n        [marker]=\"pentagonMarker\" [labelSettings]=\"labelSettings\"></e-series>\n    </e-series-collection>\n  </ejs-chart>\n\n</div>"
    },
    {
      "target": "src/components/chart-default/chart.component.ts",
      "content": "import { Component } from '@angular/core';\nimport { Browser } from '@syncfusion/ej2-base';\nimport {\n  ChartAllModule,\n  ILoadedEventArgs,\n  ChartTheme\n} from '@syncfusion/ej2-angular-charts';\n\ninterface ChartPoint {\n  x: number;\n  y: number;\n}\n\n@Component({\n  selector: 'app-chart',\n  standalone: true,\n  imports: [ChartAllModule],\n  templateUrl: './chart.component.html'\n})\nexport class ChartComponent {\n  public vietnamData: ChartPoint[] = [\n    { x: 2016, y: 7.8 },\n    { x: 2017, y: 10.3 },\n    { x: 2018, y: 15.5 },\n    { x: 2019, y: 17.5 },\n    { x: 2020, y: 19.5 },\n    { x: 2021, y: 23.0 },\n    { x: 2022, y: 20.0 },\n    { x: 2023, y: 19.0 },\n    { x: 2024, y: 22.1 }\n  ];\n\n  public indonesiaData: ChartPoint[] = [\n    { x: 2016, y: 4.8 },\n    { x: 2017, y: 5.2 },\n    { x: 2018, y: 6.2 },\n    { x: 2019, y: 7.8 },\n    { x: 2020, y: 9.3 },\n    { x: 2021, y: 14.3 },\n    { x: 2022, y: 15.6 },\n    { x: 2023, y: 16.0 },\n    { x: 2024, y: 17.0 }\n  ];\n\n  public franceData: ChartPoint[] = [\n    { x: 2016, y: 14.6 },\n    { x: 2017, y: 15.5 },\n    { x: 2018, y: 15.4 },\n    { x: 2019, y: 14.4 },\n    { x: 2020, y: 11.6 },\n    { x: 2021, y: 13.9 },\n    { x: 2022, y: 12.1 },\n    { x: 2023, y: 10.0 },\n    { x: 2024, y: 10.8 }\n  ];\n\n  public polandData: ChartPoint[] = [\n    { x: 2016, y: 8.9 },\n    { x: 2017, y: 10.3 },\n    { x: 2018, y: 10.8 },\n    { x: 2019, y: 9.0 },\n    { x: 2020, y: 7.9 },\n    { x: 2021, y: 8.5 },\n    { x: 2022, y: 7.4 },\n    { x: 2023, y: 6.4 },\n    { x: 2024, y: 7.1 }\n  ];\n\n  public mexicoData: ChartPoint[] = [\n    { x: 2016, y: 19.0 },\n    { x: 2017, y: 20.0 },\n    { x: 2018, y: 20.2 },\n    { x: 2019, y: 18.4 },\n    { x: 2020, y: 16.8 },\n    { x: 2021, y: 18.5 },\n    { x: 2022, y: 18.4 },\n    { x: 2023, y: 16.3 },\n    { x: 2024, y: 13.7 }\n  ];\n\n  public primaryXAxis: Object = {\n    valueType: 'Double',\n    interval: 1,\n    minimum: 2016,\n    maximum: 2024,\n    majorGridLines: { width: 0 },\n    edgeLabelPlacement: 'Shift'\n  };\n\n  public primaryYAxis: Object = {\n    title: 'Volume in million metric tons',\n    minimum: 0,\n    maximum: 25,\n    interval: 5,\n    labelFormat: '{value}%',\n    lineStyle: { width: 0 },\n    majorTickLines: { width: 0 }\n  };\n\n  public chartArea: Object = {\n    border: { width: 0 }\n  };\n\n  public circleMarker: Object = {\n    visible: true,\n    width: 7,\n    height: 7,\n    isFilled: true,\n    shape: 'Circle'\n  };\n\n  public triangleMarker: Object = {\n    visible: true,\n    width: 6,\n    height: 6,\n    isFilled: true,\n    shape: 'Triangle'\n  };\n\n  public diamondMarker: Object = {\n    visible: true,\n    width: 7,\n    height: 7,\n    isFilled: true,\n    shape: 'Diamond'\n  };\n\n  public rectangleMarker: Object = {\n    visible: true,\n    width: 5,\n    height: 5,\n    isFilled: true,\n    shape: 'Rectangle'\n  };\n\n  public pentagonMarker: Object = {\n    visible: true,\n    width: 7,\n    height: 7,\n    isFilled: true,\n    shape: 'Pentagon'\n  };\n\n  public tooltip: Object = {\n    enable: true,\n    shared: true,\n    format: '${series.name}: <b>${point.y}%</b>'\n  };\n\n  public legendSettings: Object = {\n    visible: true,\n    enableHighlight: true\n  };\n\n  public labelSettings: Object = {\n    visible: true\n  }\n\n  public annotations: Object[] = [];\n\n  public title = 'Annual Crude Steel Production by Country (2016–2024)';\n  public subTitle = 'Source: wikipedia.org\"';\n  public width = Browser.isDevice ? '100%' : '75%';\n\n  public load(args: ILoadedEventArgs): void {\n    const selectedTheme = location.hash.split('/')[1];\n    const theme = selectedTheme ? selectedTheme : 'Material';\n    args.chart.theme = (theme.charAt(0).toUpperCase() + theme.slice(1))\n      .replace(/-dark/i, 'Dark')\n      .replace(/contrast/i, 'Contrast') as ChartTheme;\n  }\n}\n"
    }
  ]
}