Skip to Content
avatar image
Former Member

Dinamic Image size on Smartforms

Hi Masters....

how can I set dynamically the size for an image????

example... I'm creating a graphic and somes bars will be biger than others... so I want to use only one image and use it, 3 or 4 times, and set the size dynamically...

it's possible???

Regards...

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Mar 17, 2008 at 08:10 PM

    I think you can't use dynamic images.

    I believe the only way to do something like that is to upload all the images you need to use, and then show each one based on your conditions.

    Regards,

    Andrés Sarcevic.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      yes, that's a solution, but... it's for a bar chart, so i'd need 100 images :S

      I Found a TIP in other website, but couldn't understand it..

      here's the text...

      Here's a neat trick for using the table node to create dynamic bar charts and graphs in Smart Forms.

      - The chart x- and y-axon and any other statical part of the chart needs to be created in a BMP and loaded via the GRAPH node.

      - The variable/dynamic part in a bar chart has to be created with the table node.

      - Each bar is represented by a separate window with table node.

      - This table node has two line-types (one solid color and one blank.)

      - Set the line spacing for the text used inside the linetypes to very small (5 TW)

      - Do not display any text inside the table, just the background color will do (solid or blank.)

      - As a table grows top-down, the blank line-types need to go first, then the solid line-types.

      - In similar fashion, the bar value can be displayed just above the bar by creating a seperate window with table node on top of the bar window. Adjust the positions to get appropriate result.

      - Use the Templates node (in their own window) to display the x- and y-axis values.

      if somebode understand it... please Help me 😀

      Bye and THX..