Skip to content
Twinnoverse
  • Documentation
Twinnoverse
Search
  • About
  • Blog
  • Contact
  • DigitalTwinSelection
  • Documentation
  • Home – twinnoverse – digital twin

Getting Started

  • Protected: Welcome to Twinnoverse!
  • Protected: Quick Start: Your First 3D Real-Time Scene in 5 Minutes

Asset Management

  • Protected: Uploading and Preparing 3D Models
  • Protected: Using the Asset Editor
  • Protected: Supported 3D Formats & Best Practices

Datasource Management

  • Protected: Datasource Types Explained
  • Protected: Setting Up an API Ingest Datasource
  • Protected: Understanding API Keys & Security

Widget System

  • Creating Alerts
  • Adding Widgets to a 3D Asset
  • Widget Library Reference
    • LineChart Widget
    • BarChart Widget
    • DoubleData Widget
    • Single Data Widget

The Scene Engine

  • How to navigate the 3D scene
  • Scene Editor vs. Scene Viewer
  • Building a Scene in the Editor

Developer & API

  • Ingest API Reference

Usecase & Examples

  • Data Connectors
    • from Excel TO 3D visualization
  • Usecases
    • pharmacetical manifactre shop floor
View Categories
  • Home
  • Docs
  • Widget System
  • Widget Library Reference
  • BarChart Widget

BarChart Widget

2 min read

Purpose: The BarChart widget is used to visualize a dataset containing multiple categories and their corresponding numerical values. It is ideal for comparing values across different items at a single point in time, such as the output of several machines.

Table Of Contents
  • Anatomy
  • Configuration Settings
  • Data Schema
  • Use Cases

Anatomy #

  • Title: The name of the chart.
  • Bars: A series of vertical bars where the height of each bar represents its value.
  • X-Axis: Displays the labels for each category.
  • Y-Axis: Displays the scale for the values.

Configuration Settings #

When adding a BarChart widget in the Asset Editor, you will be presented with the following settings.

GroupSettingUI ControlDescription
DatasourceDatasourceDropdownThe datasource to stream data from.
Data KeyText InputThe top-level key in your JSON payload that contains the nested object with your chart data.
DisplayTitleText InputThe display name shown at the top of the chart.
Data MappingLabels KeyText InputThe key inside the nested object that points to the array of strings for the X-axis labels. Defaults to "labels".
Values KeyText InputThe key inside the nested object that points to the array of numbers for the bar values. Defaults to "values".
Alerts––Not supported yet.
Floating Icon––Not supported yet.

Data Schema #

The BarChart widget expects the payload to contain a key (matching the widget’s Data Key) that points to a nested JSON object. This object must contain two arrays: one for labels and one for values. The arrays must have the same number of elements.

Example:

  • Data Key: "production_output"
  • Labels Key: "machines"
  • Values Key: "units_per_hour"

Expected JSON Payload:

{
  "production_output": {
    "machines": ["Machine A", "Machine B", "Machine C"],
    "units_per_hour": [112, 124, 98]
  }
}

Use Cases #

  • Comparing the production output of multiple factory lines.
  • Visualizing error counts by category.
  • Showing inventory levels for a set of products.
Updated on October 14, 2025

What are your Feelings

  • Happy
  • Normal
  • Sad

Share This Article :

  • Facebook
  • X
  • LinkedIn
  • Pinterest
LineChart WidgetDoubleData Widget

Powered by BetterDocs

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Table of Contents
  • Anatomy
  • Configuration Settings
  • Data Schema
  • Use Cases

Menu

  • Documentation
Email

Copyright © 2025 Twinnoverse