visual_object_array_tip
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
visual_object_array_tip [2021/07/22 13:02] – [The solution] emozolyak | visual_object_array_tip [2022/01/16 15:14] (current) – ↷ Links adapted because of a move operation 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Object array visualization tip ====== | ====== Object array visualization tip ====== | ||
- | There is a limit in the dashboard object size due to certain performance issues. Sometimes users need a very big and rich dasboard visualization, | + | There is a limit in the dashboard object size due to certain performance issues |
In this cases, some optimization trick maybe used. | In this cases, some optimization trick maybe used. | ||
Line 8: | Line 8: | ||
=== Example 1 - coke furnaces complex === | === Example 1 - coke furnaces complex === | ||
Along the raw of ~60 furnaces, a process state needed to be shown in the furnace place, from both sides, which means ~120 graphical objects. | Along the raw of ~60 furnaces, a process state needed to be shown in the furnace place, from both sides, which means ~120 graphical objects. | ||
- | {{ :: | + | {{ network: |
=== Example 2 - big drying furnace === | === Example 2 - big drying furnace === | ||
There is an array of burners inside the furnace, each of the burner requires a set of binary indicators, which require a huge amount of visualization elements. | There is an array of burners inside the furnace, each of the burner requires a set of binary indicators, which require a huge amount of visualization elements. | ||
- | {{ :: | + | {{ network: |
==== The solution ==== | ==== The solution ==== | ||
Line 19: | Line 19: | ||
The solution was to pack all the elements into one string object, with each character reflecting the state of the respective process object. | The solution was to pack all the elements into one string object, with each character reflecting the state of the respective process object. | ||
- | The idea is shown on the following gif image: | + | The idea is shown on the following gif images: |
- | {{ : | + | {{ network: |
+ | |||
+ | {{ network: | ||
== The code which makes the trick == | == The code which makes the trick == | ||
Line 62: | Line 64: | ||
</ | </ | ||
+ | |||
+ | Using the font size and spacing adjusment in the lua script you can get necessary dimensions of this object. | ||
visual_object_array_tip.1626958972.txt.gz · Last modified: 2021/07/22 13:02 by emozolyak