我正在尝试在我的角度项目中添加Amchart时间线图
import { Component, OnInit, NgZone } from '@angular/core';
import * as am4core from "@amcharts/amcharts4/core";
import * as am4charts from "@amcharts/amcharts4/charts";
import * as am4plugins_timeline from "@amcharts/amcharts4/timeline"; // <-------------
import am4themes_animated from "@amcharts/amcharts4/themes/animated";
导入am4plugins_timeline时出现错误! 谢谢
答案 0 :(得分:2)
import * as am4plugins_timeline from "@amcharts/amcharts4/plugins/timeline";