I am trying to render a Frappe Chart of type
percentage on a custom doctype. However, it seems
frappe.ui.form.Dashboard can only create a
line graph or a
Something like this -
I achieved this
percentage chart by injecting the code for the chart within the
refresh trigger of this doctype. I think what I am doing here seems a bit of a hack. My code fails to render this chart while routing from another doctype into this one. Otherwise everything works as expected.
I was wondering whether there is a better of doing this?