Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Use tcl\tk to draw a chart

Status
Not open for further replies.

EastAgent

Programmer
May 9, 2002
1
CN
i use a canvas to manipulate a large amount of data,about 3000 to 100000 record.i want to draw the each plot on the canvas.But a big problem is that i cant let the canvas display the each plot and line it had just created.It is very hard to understand that the canvas must wait till all the plot (maybe 50000 plots ) had been created then display them all.
The result is that it dosen't work at all.The system memory was rapidly used up.So what shall i do?
 
Have you checked out the BLT extension? BLT provides both a graph and a barchart widget for plotting data. They're both extremely flexible and efficient, much more so than trying to use a canvas. For more information about BLT, check out the Tcl'ers Wiki ( specifically the "BLT" page, the BLT homepage, and its SourceForge project page, - Ken Jones, President
Avia Training and Consulting
866-TCL-HELP (866-825-4357) US Toll free
415-643-8692 Voice
415-643-8697 Fax
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top