vlad,
  set data [ns_chartdir image $chart]
  i got this line from one of your examples... is it possible to output the value of data which i think is the binary data of the chart from an adp page...
  because im stuck in the same situation... just like in tgdchart i cant output the image from  a variable.. when i used the ns_writebinary it only outputs the chart only. it didnt include text and form elements..
TIA