Changing Dashboard Images

InetSoft's dashboard software gives users the ability to add images to a dashboard display images such as company logos or illustrative icons. The drag and drop designer gives visualization creators the ability to apply corporate design templates and control layouts to the pixel. View the example below to learn more about the Style Intelligence solution.

View 2-min Dashboard Demo
Register for Pricing
top ranked BI
Read how InetSoft was rated #1 for user adoption in G2 Crowd's user survey-based index.

You can dynamically set the image file (gif, jpg, etc.) of an image component using a variable or an expression. Follow the steps below:

  1. Add an image element into the Viewsheet. Right-click and select the 'Properties' option. This opens the 'Image Properties' dialog box.
  2. Select the Advanced tab and select 'Dynamic Image Selection'.
  3. From the drop-down menu, select 'Expression' or 'Variable', depending on the mechanism you wish to use to set the image property.
  4. If you choose 'Expression', click the 'Formula Editor' button, and add a script in the text area. A typical script might take the following form:

  5.     
        if(condition) {
        'image1.gif';
        } else {
        'image2.gif';
        }
    

    You can specify an image by the uploaded image name (e.g., 'image1.gif') or a resource path on the server (e.g., '/library/image1.gif').

  6. Click 'OK' to close the Formula Editor, and then click the 'OK' to close the 'Image Properties' dialog box.

The Image component now displays the specified image file.

Previous: Accessing Dashboard Data