I finished this today and did the following
~="<img width=500 height=300 src='ttps://mysite.quickbase.com/Chart/chart.aspx?realmhost=mysite.quickbase.com&dbid=xxxxxxxx&qid=30&generate=image'\/>"~
The part that got me was putting mysite in the realm host. I imagine you found an answer by now.