ATTENTION

This FlexSim Community Forum is read-only. Please post any new questions, ideas, or discussions to our new community (we call it Answers) at https://answers.flexsim.com/. Our new Question & Answer site brings a modern, mobile-friendly interface and more focus on getting answers quickly. There are a few differences between how our new Q&A community works vs. a classic, threaded-conversation-style forum like the one below, so be sure to read our Answers Best Practices.


flexsim.com

Go Back   FlexSim Community Forum > FlexSim Software > Tips and Tricks
Downloads

Tips and Tricks Share helpful modeling ideas

  #1  
Old 08-09-2011
Phil BoBo's Avatar
Phil BoBo Phil BoBo is offline
Flexsim Development
 
Join Date: Jan 2008
Posts: 756
Downloads: 109
Uploads: 18
Thanks: 385
Thanked 1,483 Times in 525 Posts
Rep Power: 1174
Phil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond repute
Default Custom GUI: Graph OnDraw

The basic things that you can do to the graph gui widget are documented in the manual in Miscellaneous Concepts > View Attributes Reference. The various attributes are described under the subheading "Graph," and the next three subheadings explain what you can do to various types of graphs.

If you want to get fancy, then you can write your own OnDraw code for the graph widget and use commands such as drawpie(), drawtext(), and drawrect() to draw your own custom graph.

Last edited by Phil BoBo; 11-19-2014 at 05:57 PM.
The Following 3 Users Say Thank You to Phil BoBo For This Useful Post:
mark.gormley (08-10-2011)
  #2  
Old 08-11-2011
Kris Geisberger Kris Geisberger is offline
Flexsim Canada, Forum Moderator
 
Join Date: Aug 2007
Location: Canada
Posts: 209
Downloads: 54
Uploads: 1
Thanks: 99
Thanked 389 Times in 133 Posts
Rep Power: 451
Kris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud of
Default

Below are some more GUI examples created using the OnDraw approach that Phil presented.

Heat Map
http://www.flexsim.com/community/for...ead.php?t=1864

State Bar Chart
http://www.flexsim.com/community/for...read.php?t=409
The Following 5 Users Say Thank You to Kris Geisberger For This Useful Post:
Vadim Fooks (05-16-2013)
  #3  
Old 05-16-2013
KvThiel KvThiel is offline
Flexsim User
 
Join Date: Jan 2013
Posts: 12
Downloads: 3
Uploads: 0
Thanks: 2
Thanked 0 Times in 0 Posts
Rep Power: 89
KvThiel is on a distinguished road
Default

One question about the heatmap example.

I try to understand all the references in this model to create my own GUI. But I have some questions:
Where does the viewfocus: @/container refer to ?
Where can I find this container in the Tree ?

Kind regards,

KvThiel


Thread Thread Starter Forum Replies Last Post
Custom Console Phil BoBo User Development 6 12-12-2011 04:19 AM
Show global variable as line graph in Recorder Congshi Wang Q&A 1 12-08-2010 01:22 AM
Need Example Graph in a UI ( With the Graph Control) Gleny Rodriguez Q&A 2 06-09-2010 08:31 AM
GUI State Graph Anthony Timmiss Q&A 6 01-26-2009 02:30 AM
State Graph in Model Control GUI Tom David Q&A 4 11-21-2007 12:50 AM


All times are GMT -6.
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Copyright 1993-2018 FlexSim Software Products, Inc.