Threshold setting panel using text panel with HTML

Hi all,

I’d like to create a control panel to edit thresholds of each graph panel in the same dashboard.
I’m trying to realize it using text panel with HTML.
However, I don’t know how to edit the thresholds using HTML.
(I can edit them only from edit page of each graph)

Is there any way to create control panels to edit the options of the graph panels?