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
FAQ Downloads Calendar Search Mark Forums Read

Tips and Tricks Share helpful modeling ideas

Reply
 
Thread Tools Display Modes
  #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: 1168
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.
Reply With Quote
The Following 3 Users Say Thank You to Phil BoBo For This Useful Post:
Lars-Olof Leven (08-10-2011), Luciano (08-11-2011), 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: 445
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
Reply With Quote
The Following 5 Users Say Thank You to Kris Geisberger For This Useful Post:
Jason Lightfoot (08-12-2011), Lars-Olof Leven (08-11-2011), Phil BoBo (08-12-2011), Steven Hamoen (08-12-2011), 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: 83
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
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump

Similar Threads
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. The time now is 11:44 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.
Copyright 1993-2018 FlexSim Software Products, Inc.