Adding user text boxes on a chart
Posted: Thu Oct 13, 2005 8:40 pm
Is there a way to add text boxes to a chart and let the user type info, scale them, edit them, and move them around? I may want them to be able to add several on the same chart. I want them to be printed when the chart gets printed so I'm hoping it will be a part of theTchart control.
I see where I can programmatically use the annotation tool and I suppose I could ask for the text in a seperate process then display it with the annotation tool. I'm not sure how to resize and position it once its on the chart. I'd like the user to be able to drag the text around and delete it with the mouse.
Maybe there is something in the documentation that I missed. If anyone has a sample in VB or some other ideas which might help, I'd appreciate it.
David
VB6, Tchart 6
I see where I can programmatically use the annotation tool and I suppose I could ask for the text in a seperate process then display it with the annotation tool. I'm not sure how to resize and position it once its on the chart. I'd like the user to be able to drag the text around and delete it with the mouse.
Maybe there is something in the documentation that I missed. If anyone has a sample in VB or some other ideas which might help, I'd appreciate it.
David
VB6, Tchart 6