| **Navigation:**  [[abc library reference.htm|ABC Library Reference]] > GraphClass > GraphClass Methods >====== DiagramText (create diagram name text with prompts) ====== | [[diagramnametext create diagram name text .htm|{{btn_prev_n.gif|Previous page}}]][[abc library reference.htm|{{btn_home_n.gif|Return to chapter overview}}]][[diagramnametext create diagram name text .htm|{{btn_next_n.gif|Next page}}]] | | || **DiagramText(**// showtext// **)** {{blk2blue.jpg|blk2blue.jpg}} | **DiagramText** | Forms the full text of a diagram's name | | //Showtext// | Enable or suppress text to be returned. Default is TRUE. | The **DiagramText** method forms the full text of a diagram's name. This includes any special prompt information attached to the diagram name. A diagram name is the text name assigned to a given set of the graph control's data points. The //showtext// parameter defaults to returning the diagram name text. If the //showtext// Boolean value is set to FALSE, an empty string value is returned. **Return Data Type:**     STRING **Implementation:** The **DiagramText** method is called from any method that needs to update or refresh a graph control's textual elements. **See Also:**     [[toshowvalues show all composite text to all graph targets .htm|ToShowValues]], [[alltext return full graph text information .htm|AllText]] [[diagramnametext create diagram name text .htm|DiagramNameText]]