Chart Data

  • Last update:February 10, 2025
  • Overview

    Version

    Report Server Version

    Functional Change

    11.0

    Version 11.0 restructured the logic for chart data retrieval. If there are any changes in chart effects after upgrading to version 11.0, see Chart Data Source Compatibility Plugin for more information.

    Function Description

    This document will provide a detailed introduction to the general settings of Chart Data. Special data settings () for certain charts will be explained in other corresponding documents.

    Chart Data settings mainly include two aspects, as shown in the following figure.

    • Data Source: You can set the data for the chart, which is a required setting.

    • Data Filter: You can filter the data of category and series of the chart, which is an optional setting.

    image 1.png

    Data Source

    You can select Dataset Data or Cell Data as Data Source. Display the chart by selecting fields of Dataset Data or Cell Data for Category, Series Name, and Series Value.

    When displayed, all basic charts will prompt the positions of Category and Series in the designer to help you understand the differences between each chart category and series.

    iconNote:
    Generally, X Axis represents the category, the graphics displays the series, the legend displays the text, and Y Axis represents the values of the series under the category.

    Taking the bar chart as an example, after you insert a bar chart in the template, the positions of the category and series will be prompted with explanatory text, as shown in the following figure.

    image 2.png

    Dataset Data

    Dataset Data: The data of the chart comes directly from the dataset. For details about setting methods, see Dataset as Chart Data Source.

    Cell Data

    Cell Data: The data of the chart comes from cells, which is commonly used when data needs to be calculated and cannot be directly used from the dataset. For details about setting methods, see Cell Data as Chart Data Source.

    Summary Mode Adjustment

    After selecting Field Value, you can set Summary for the value field. The default is Sum, and it can be set to: First, Last, Sum, Average, Maximum, Minimum, Count, as shown in the following figure.

    image 3.png

    Data Filter

    Filtering Category/Series Data

    You can separately filter the data of Category or Series in Data Filter, and the settings for Category and Series are the same, as shown in the following figure.

    image 4.png

    Using Needed Records Only

    Use Needed Records Only is deselected by default. After selecting it, First text box will be displayed. Enter a number x, which indicates that only the first x records will be recorded.

    Merging Rest Items as Others

    When Merge Rest Items as Others is selected, the data of the remaining category or series will be summarized, and the name of the category or series will be set as Others; when Merge Rest Items as Others is deselected, the remaining category or series will not be displayed.

    For example, choose Data Filter > Category, set the needed records to 2 and select Merge Rest Items as Others. The following figure shows the effect.

    image 7.png

    Hide If Null

    • When the category is null, it will not be displayed. The null category refers to all values of the series under the category being null.

    • When the series is null, it will not be displayed. The null series refers to all values of a series being null.

    iconNote:
    When all items are selected, null data will be removed before data filtering and merging. For example, there are 10 series and the first 5 are selected to be displayed while the remaining 5 are merged as Others, and Hide if Null is selected. If the third category is null, the displayed categories will be 12456, and Others.

    Supplement: Data Filter in Multi-Category Axes

    For Column Chart with Multi-Category Axes, the basis for data filter is the underlying data.

    For example, the column chart contains two categories: product and region. Product is considered as the underlying data, while region is the parent-level data of salesperson. The following figure shows the preview effect.

    The same category name exists in the underlying data.

    image 8.png

    You can filter the first two data of the category and merge the remaining items as Others. The following figure shows the effect.

    The first two categories of the underlying data are Apple Juice and Milk. After filtering, the two categories will be selected and then classified based on the region.

    image 9.png

    If all category names in the underlying data are different, for example, in the following figure, the underlying data is Salesperson.

    image 10.png

    In this case, the first two categories of the underlying data are Mike and Mike 2, so the remaining categories will be merged as Others and then classified based on the region. The following figure shows the effect.

    image 11.png

     

    Display

    The Display of chart data refers to the display value of Category or Series Name, which is often used to change the unit of the category or series.

    The Display methods include Data Dictionary and Formula Format, as shown in the following figure.

    iconNote:
    When using hyperlinks to pass parameters to charts, it is the actual value of the chart that is passed.

    image 12.png

    Supplement: Display of Cell Data

    When you select Cell Data as Data Source for the chart, the data obtained is the display value of the cell. Therefore, when you set Display for the chart, the actual value of the chart data needs to be set using the display value of the cell.

    For example, in the built-in GettingStarted.cpt template, set Display for the cell B4 which contains the salesperson. You can set Sun Lin to display as Sun Lin 2, as shown in the following figure.

    image 13.png

    In this case, Actual Value should be set to Sun Lin 2 in Data Dictionary, as shown in the following figure.

    image 14.png

    Attachment List


    Theme: Chart
    • 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