Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Creating dynamic graphics?

Featured Replies

  • Newbies

Hi -

Just wondering if there's any way to create a graphic which is addressable.

For example, I have a calculation that results in "58%" and I want a "progress bar" to show at that calculation result.

Is there any way to do this?

thx

Andrew

Edited by Guest

You need a global with your graphic, I normally just use one pixel of color and expand it so I can make my fields any size and not worry about the graphic distorting on rezize.

Then you have a series of calcs where the result is a container, the more detailed you want your bar to be then the more fields you create. In this example my progress bar will grow and shrink in quarters.

Qtr_1 = case(calcresult ≤ 25, graphic, "")

Qtr_2 = case(calcresult > 25, graphic, "")

Qtr_3 = case(calcresult > 50, graphic, "")

Qtr_4 = case(calcresult > 75, graphic, "")

You might have to add a "and not isempty(calcresult)" if the graphic shows up when calcresult is 0 or empty. You can write a hundred of these calcs in no time to get an exact measurement. The you just lay the fields out next to each other on the layout.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.