The issue has been closed
import { Chart } from "@antv/g2";

const getOneDayChartItems = this.lightTimeVos;
this.chart = new Chart({
container: this.basicColumnChartProp.container,
width: this.basicColumnChartProp.width,
height: this.basicColumnChartProp.height
});
this.chart.source(getOneDayChartItems);
this.chart
.line()
.position("month*tem")
.color("city");
this.chart.guide().rect([5, "min"], [7, "max"]); // 6ζ - 8ζζδ½ζΈ©εΊ¦
this.chart.render();
posted by cxb068396 almost 3 years ago