Hello, I am making a Chart with custom type and it requires you to have a Chart Source so I build one and created a js file. For testing purposes, I created a frappe chart JS script. However, I don’t have an html container for the chart to render. I can’t also find a way in the documentation on how to do it.
My question is, how can you add an html file or html container in the Chart Source?
Tried also the ff:
- Used render_template() but Template not found, with this test I created an html inside Chart Source folder. This one’s working on Doctypes I don’t know if it’s just restricted with Chart->Chart Source
- DOM(just for testing): I directly inserted an element in frappe template property and used render().
PS: This is purely Frappe and will be Integrated in a Dashboard. Trying Custom Chart because the Chart I’m building is complex so
basic built-in aggregation and Chart->Report source will not suffice. Thank you.