Business charts - custom chart

I’d like to know if there’s a way to add a custom chart to apache echarts / business charts similar to what can be done in Apache ECharts?
I’ve tried to create one, but when calling this function:
var rectShape = echarts.graphic.clipRectByRect()
I get an error:
"echarts is not defined"
I’m trying to move this graph to Grafana:

Can you help me please?

there is an apache echart plugin for grafana

and grafana also has the state timeline panel:

https://play.grafana.org/d/qD-rVv6Mz/6-state-timeline-and-status-history?orgId=1

Yes, but the state timeline doesn’t offer enough customization options as I need (for example, I need to add vertical lines at certain points). I’m creating such a chart using Business Charts (actually, the older version is called Apache Echarts), but while going through the plugin documentation, I can’t find options for creating custom charts.

https://play.grafana.org/d/000000010/annotations?orgId=1