Jump to content
  • Vehicle Loading Mod for Spotfire®


    Version 1.0.1, released February 2021

    exchange_-_screenshot_vertical_line_chart_mod_for_tibco_spotfirer_1.0.0_2.png.59870ea11a526d3b0016a195a14e2dc3.png

    This mod is a graphical representation of cargo loading in transportation and logistics, showing percentage loading of a vehicle capacity and with the ability to show state of cab or cargo doors open or closed.

    image.thumb.png.1bb575c5389669ab028cea3769c2f39c.png

    Data Requirements

    Every mod handles missing, corrupted and/or inconsistent data in different ways. It is advised to always review how the data is visualized.

    To make the vehicle loading mod work properly, the underlying data must be formatted in a certain way. The data must exist in a single table. 

    Setting Up the Mod

    Specify the data table with marking and filters as usual. This mod does not support marking within the visualization so set the Marking property to (None).

    Set the Consignment Units property. This value should be the total number of units to be loaded on the vehicle.  

    Optionally set the Order by property, which will determine what order the data will be rendered.

    Set the Vehicle Capacity  property, which represents the number of units the vehicle can carry. This must be at the same scale as the Consignment Units property. For example, the vehicle may have a Consignment Units value of 250 units and a capacity of 500 units, it will be 50% loaded.

    Optionally set the Cab Open property. This must be a boolean value. If set to True then the cab doors will be displayed in an open state.

    Optionally set the Cargo Open property. This must be a boolean value. If set to True then the cargo doors will be displayed in an open state.

    Select a column for the Color by property. This will determine the color of the cells in the vehicle using standard Spotfire color picker.

    At this point the chart should render. 

    Configuring the Mod

    There is no further configuration for this mod.

    Using the Mod

    Once the chart is configured and has data provided it will render a loading representation of your vehicle.

    Building the Project

    In a terminal window:

    • npm install
    • npm start

    In a new terminal window:

    • npm run server

    Help and Support

    This Mod is not supported by Spotfire® Support.
    In the event of issues or to suggest features and enhancements, submit an issue in the Mod's GitHub repository.
    For general questions about Mods, please post a question in the Forum for Extensions & Mods to make it visible and routed to the appropriate team(s) to respond.

    More Information About Spotfire® Mods


    User Feedback

    Recommended Comments

    There are no comments to display.


×
×
  • Create New...