GuiChartContol for irr

Post those lines of code you feel like sharing or find what you require for your project here; or simply use them as tutorials.
Post Reply
dalerank2
Posts: 121
Joined: Thu Dec 03, 2009 7:41 am

GuiChartContol for irr

Post by dalerank2 »

I have written a chart viewer for my project, estimate this.
Image
Image
Image
Image
Image

Possibilities:
1. Chart drawing
2. zoom(mouse action)
3. Axies with label (left, top, right, bootom)
4. Legend
5. Border
6. Line serie with color
7. Serie moving
8. Undo zoom

Source may download here
dalerank2
Posts: 121
Joined: Thu Dec 03, 2009 7:41 am

Howto

Post by dalerank2 »

Code: Select all

	
chart_ = new CChartCtrl( Environment, 
			parent, 
			ID, 
			rectangle );
chart_->SetVisible(true);
chart_->GetBottomAxis()->SetAutomatic( true );
chart_->GetLeftAxis()->SetAutomatic( true );
Frank Dodd
Posts: 208
Joined: Sun Apr 02, 2006 9:20 pm

Post by Frank Dodd »

Thanks for posting this, it looks very useful. In game network/fps graphs spring to mind. Also charts for resource management games etc.

Nice job.
Post Reply