Tube Gauge

  • Last update:January 13, 2025
  • Overview

    Version

    Report Server Version

    11.0

    Application Scenario

    The tube gauge looks like a test tube with scales (representing the measure) and progress lines (representing the progress).

    You can use the tube gauge to directly display the progress or actual situation of an indicator, as shown in the following figure.

    image 28.png

    Chart Feature

    Advantage: The tube gauge shows the progress or actual situation of multiple indicators intuitively, mainly used for showing the progress or proportion of an indicator.

    Disadvantage: You cannot use the tube gauge to analyze data based on time categories, and individual charts cannot be compared for analysis.

    Attribute Description

    Type

    Select Tube Gauge as Type on the right attribute panel after the gauge inserting, as shown in the following figure.

    image 29.png

    Data

    For details about basic data settings, see Data.

    Category Name: The category name corresponding to the percentage.

    Pointer Value: A part of the numerator in the percentage calculation, which needs to be combined with the minimum value under the coordinate axis to form the numerator.

    Target Value: A part of the denominator in the percentage calculation, which needs to be combined with the minimum value under the coordinate axis to form the denominator.

    iconNote:
    Percentage calculation formula: (Pointer Value - Minimum Value)/(Target Value - Minimum Value), where the minimum value refers to the minimum value set for the coordinate axis. For details, see the explanation of Style.

    image 30.png

    Style

    For details about the style design of the tube gauge, see Chart Style.

    Series

    The series settings of the tube gauge under Style > Series are different from those of the basic style and are introduced separately.

    1. Color

    • Default Color Style is Solid Color, and default Color Section is Category. The gauge displays colors according to Color Scheme for different categories.

    image 31.png

    • When Color Style is set to Solid Color, and Color Section is set to Value, you need to set Scale/Color. The gauge displays the color of the gauge ring according to the scale value. Scale/Color is set to Auto by default, and the first three colors in the color scheme are taken to fit the interval colors of scale 0~1/3, 1/3~2/3, and 2/3~1 respectively. When you select Custom as Scale/Color, you can set certain colors for values in certain ranges.

    image 34.png

    • When Gradient Color is selected for Color Style, each category of the gauge displays the same gradient effect.

    image 35.png

    2. Layout

    • Sort Orientation: You can control the direction of Tube Gauge which can be set to Vertical or Horizontal. The default setting is Vertical.

    • Pointer: The pointer refers to the color of the ring icon at the frontend of the progress bar, which is transparent by default.

    • Scale Bar: You can control the background color of the tube scale bar, and the default color is light gray.

    • Length: You can control the length of the tube gauge, divided into automatic and fixed types.

    • Chute Width: You can control the width of the internal chute.

    image 36.png

    Label

    1. Label supports the change of Text Orientation.

    If Sort Orientation under Style > Series of Tube Gauge is set to Horizontal, the Layout setting will be displayed under Style > Label of the tube gauge, and you can set Text Orientation of the label. When you select Vertical as Text Orientation, the text will be rotated +90°.

    The following figure shows the effect.

    image 39.png

    2. Label supports Center display.

    When Tube Gauge series is set to Vertical for Layout, Percentage Label and Value Label support Center display, as shown in the following figure.

    image 40.png

    The following figure shows the effect of Center of labels.

    image 6.png

    Axis

    • Axis Label: You can control whether the axis labels are displayed or hidden.

    • Character: You can set font, characters, color, italics, bold, and other properties.

    • Custom Minimum Value: After selecting, you can customize the minimum value. This value is related to the numerator and denominator. The percentage calculation formula is: (Pointer Value - Minimum Value)/(Target Value - Minimum Value).

    • Custom Main Unit: You can define the main unit by inputting the formula.

    • Custom Minor Unit: You can define the minor unit and you can input formula.

    • Main Tick: You can set the color of the main tick, and the default color is light gray.

    • Minor Tick: You can set the color of the minor tick, and the default color is light gray.

    • Axis Label Format: You can select Common (default value) or Custom.

    iconNote:
    Only the minimum value can be set, no maximum value.

    image 41.png

    Special Effect

    For details about the Special Effect setting of the gauge, see Special Effects.

    iconNote:
    The Special Effect settings of Tube Gauge do not have Condition Display.

    Example

    Report Design

    Data Preparation

    Create a general report and create a data query named ds1. The SQL statement is:

    select Product.Category_name, SUM(Inventory_quantity) as Inventory from Product, Category

    where Product.CategoryID = Category.CategoryID and Category_name in ('Seafood', 'Deserts', 'Beverage')

    group by Product.Category_name

    image 42.png

    Component Design

    Merge required cells, select the merged cell, click the Insert Chart icon on the upper toolbar, select Tube Gauge, and click OK, as shown in the following figure.

    image 43.png

    Data Binding

    Select Dataset Data as Data Source, ds1 as Dataset, Category_name as Category Name, kc as Pointer Value, Custom as Target Value, and set Target Value to 800, as shown in the following figure.

    image 44.png

    Style Setting

    Set Style as needed. Here, Title is set, Label does not display Target Value, Sort Orientation in Series is set to Vertical, and Pointer of Series is set to white, as shown in the following figure.

    image 48.png

    Effect Display

    PC

    Save the template and click Pagination Preview. The section "Application Scenario" shows the effect.

    Mobile Terminal

    The report can be previewed on both the DataAnalyst app and the HTML5 terminal. The following figure shows the effect.

    4926547cdb6d272d4b6b791d9960e37.jpg

    Template Download

    For details, you can click to download the template Tube Gauge.cpt.

    Attachment List


    Theme: Chart
    Already the First
    Already the Last
    • Helpful
    • Not helpful
    • Only read

    滑鼠選中內容,快速回饋問題

    滑鼠選中存在疑惑的內容,即可快速回饋問題,我們將會跟進處理。

    不再提示

    9s后關閉

    Get
    Help
    Online Support
    Professional technical support is provided to quickly help you solve problems.
    Online support is available from 9:00-12:00 and 13:30-17:30 on weekdays.
    Page Feedback
    You can provide suggestions and feedback for the current web page.
    Pre-Sales Consultation
    Business Consultation
    Business: international@fanruan.com
    Support: support@fanruan.com
    Page Feedback
    *Problem Type
    Cannot be empty
    Problem Description
    0/1000
    Cannot be empty

    Submitted successfully

    Network busy