Tip

Dynamic bar charts in Smart Forms

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.

    Requires Free Membership to View

This was first published in May 2006

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.