Draw a vertical line representing the current date in amcharts gantt chart?
问题 *Draw a vertical line in Current month. here the sample code * https://codepen.io/anon/pen/PgELdM * and this is what I want to achieve * https://ibb.co/XjVn4WC console.log("thank you"); 回答1: You can use axis guides to draw single lines beneath the chart. E.g. var range = dateAxis.axisRanges.create(); range.date = new Date("2016-03-14"); range.grid.stroke = am4core.color("red"); range.grid.strokeWidth = 2; range.grid.strokeOpacity = 1; Demo: https://codepen.io/team/amcharts/pen