Bar Chart

  • Last update:January 09, 2025
  • Overview

    Version

    Report Server Version

    11.0

    Application Scenario

    The bar chart displays data sizes through the height or length of bars with the same width.

    The bar chart displays and compares data sizes, and shows the proportional difference between data clearly, as shown in the following figure.

    image 1.png

    Chart Feature

    Advantage: The chart shows the data sizes by the lengths of the bars, making it easier for you to compare the differences among various groups of data.

    Disadvantage: The chart is unsuitable for displaying large datasets.

    Example

    Data Preparation

    Choose File > New General Report in the upper left corner of the designer, and create a dataset ds1. The database query statement is as follows:

    SELECT Product.Category_name, Inventory_quantity, Order_quantity, Reorder_quantity FROM Product, Category

    WHERE Product.CategoryID = Category.CategoryID AND Product.Category_name != 'Daily necessities'

    ORDER BY Category_Name. image 4.png

    Chart Insertion

    Merge required cells, click the Insert Chart icon on the upper toolbar, and select Bar Chart, as shown in the following figure. /

    image 5.png

    Chart Design

    Select the chart, click the Cell Element icon on the right property panel, and set the attributes (Type, Data, Style, and Special Effect) for the chart.

    Chart Type

    Select the cell where the chart is located and choose Cell Element > Type to view and select the chart type.

    image 6.png

    Data Binding

    1. Select the chart and choose Cell Element > Data on the right property panel.

    2. Bind the data in the Dataset. Select ds1 for Dataset, Category_Name for Category, Field Name for Series Name (Inventory_Quantity and Order_Quantity fields), and Sum for Summary.

    image 7.png

    Style Setting

    Select the chart, choose Cell Element > Style > Title, enter Bar Chart in the Text, and set the rest settings by default, as shown in the following figure.

    image 8.png

    Effect Display

    PC

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

    Mobile Terminal

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

    e936402fdf94c91be38061457793099.jpg

    Template Download

    For details, you can click to download the template Bar Chart.cpt.

    Attachment List


    Theme: Chart
    • Helpful
    • Not helpful
    • Only read

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

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

    不再提示

    10s後關閉

    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