{
  "$schema": "https://ai.syncfusion.com/schema/registry-item.json",
  "name": "chart-zooming",
  "framework": "vue",
  "type": "registry:component",
  "component": "Chart",
  "variant": "zooming",
  "dependencies": [
    "@syncfusion/ej2-vue-charts"
  ],
  "description": "Chart explores dense data using date-time zooming, a scrollbar, and tooltip.",
  "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-zooming.md"
  },
  "files": [
    {
      "target": "src/components/chart-zooming/Chart.vue",
      "content": "<template>\n  <div>\n    <div class=\"control-section\">\n      <div align=\"center\">\n        <ejs-chart\n          style=\"display: block; width: 100%\"\n          :chartArea=\"chartArea\"\n          :width=\"width\"\n          align=\"center\"\n          id=\"chart-zooming\"\n          :primaryXAxis=\"primaryXAxis\"\n          :legendSettings=\"legend\"\n          :tooltip=\"tooltip\"\n          :margin=\"margin\"\n          :titleStyle=\"titleStyle\"\n          :zoomSettings=\"zoomSettings\"\n          :title=\"title\"\n          :primaryYAxis=\"primaryYAxis\"\n        >\n          <e-series-collection>\n            <e-series\n              :dataSource=\"series\"\n              type=\"Line\"\n              xName=\"x\"\n              yName=\"y\"\n              :animation=\"animation\"\n            />\n          </e-series-collection>\n        </ejs-chart>\n      </div>\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  Zoom,\n  DateTime,\n  ScrollBar,\n  Tooltip,\n  Highlight\n} from '@syncfusion/ej2-vue-charts';\nimport { zoomingChartData } 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      series: zoomingChartData,\n      primaryXAxis: {\n        valueType: 'DateTime',\n        majorGridLines: { width: 0 },\n        majorTickLines: { width: 0 },\n        scrollbarSettings: {\n          enableZoom: false,\n          position: 'Bottom'\n        }\n      },\n      primaryYAxis: {\n        title: 'Temperature Anomaly (°C)',\n        intervalType: 'Months',\n        labelFormat: '{value}°C',\n        enableScrollbarOnZooming: false,\n        majorTickLines: { width: 0 },\n        lineStyle: { width: 0 }\n      },\n      legend: {\n        visible: false\n      },\n      animation: { enable: true },\n      zoomSettings: {\n        enableSelectionZooming: true,\n        enableMouseWheelZooming: true,\n        enableDeferredZooming: false,\n        enableScrollbar: true,\n        mode: 'X',\n        enablePinchZooming: true,\n        enableAnimation: true,\n        showToolbar: true,\n        toolbarPosition: { y: -60, draggable: true }\n      },\n      chartArea: {\n        border: { width: 0 }\n      },\n      tooltip: {\n        header: '<b>${point.x}</b>',\n        showNearestTooltip: true,\n        enable: true,\n        format: 'Temperature: <b>${point.y}</b>',\n        enableHighlight: true\n      },\n      margin: { top: 20 },\n      width: Browser.isDevice ? '100%' : '80%',\n      border: { width: 2 },\n      title: Browser.isDevice\n        ? 'Monthly Temperature Anomalies'\n        : 'Global Warming: Monthly Temperature Anomalies',\n      titleStyle: { textAlignment: Browser.isDevice ? 'Near' : 'Center' }\n    };\n  },\n  provide() {\n    return {\n      chart: [LineSeries, DateTime, Zoom, ScrollBar, Tooltip, Highlight]\n    };\n  }\n};\n</script>\n"
    }
  ]
}