Successfully!

Error!

Chart Introduction

  • Last update:  2023-05-29
  • I. Overview

    This tutorial showcases the ways to configure 6 types of charts that are commonly used in reports.

    1) Pie chart

    2) Column chart

    3) Line chart

    E2350873-F861-4A27-B550-CF4EC4E75B58.GIF

    4) Combination chart

    293E284C-91D7-4E8F-96EC-7694F22AB7EA.GIF

    5) Bar chart

    6) Gauge

    You will learn
    • Page setup

    • Pie chart

      • Set labels outside pie

      • Pre-define chart colors

      • Set inner radius to make a doughnut chart

      • Set chart background

      • Set tooltip box

      • Set labels to display values in percentage

      • Switch to rose chart

    • Column chart

      • Set rounded corners

      • Set styles of axis labels

      • Add an alert line

    • Line chart

      • Set series using field names

      • Set line styles and marker styles

    • Combination chart

      • Customize chart combination

      • Add a Y Axis

      • Set Y Axis for different charts

      • Add titles for axis

    • Bar chart

      • Set the label position

      • Remove bar borders

    • Gauge

      • Customize the max value of the plate

    II. Page setup

    1. Select [Template] > [Page Setup] and choose the Orientation as [Landscape]


    2. Adjust the zoom ratio and the dashed lines indicate the page boundaries

    III. Pie chart

    1. Click [Insert] > [Float Element] > [Insert Chart] and choose [Pie]


    2. Create a dataset [ds1]

    1) Create a new DB query dataset.

    2) Drag table [Sales_Volume].

    3) Preview the dataset.

    [Product] can be used to set chart series since it stores categorical data. [Sales_Volume] be used to set chart value since it stores numeric data.


    3. Set chart data according to the picture below

    Preview, and you can see a pie chart with default style settings.

    B89D10BF-7EB7-48A1-9809-C98230FED7A2.GIF


    4. Customize chart title using formula

    Snag_865466a.png


    5. Change the position of the legend

    Snag_865748f.png


    6. Set the label

    1) Let the label to show Series (i.e. product) and Value (i.e. sales volume).

    2) Set the position as [Outside Pie].

    Snag_865acb6.png


    7. Customize chart color in [Server] > [Chart Predefined Color]

    1) Customize 6 colors: #7fc8ea, #b5e3e6, #47bace, #00686b, #8f81b4, #625ba1.

    2) Name the color scheme as [sample].

    3) Refer to Predefined Style for detailed methods.

    Snag_865ff79.png


    8. Set series color and inner radius

    1) Select the predefined [sample] as series color.

    2) Set the percentage of inner radius as 60% to realize the effect of doughnut chart.

    Snag_871bcb9.png


    9. Set the border styles of the chart area and color of chart background

    1) For chart background, select [color] and click [More Color].

    2) In the Select Color panel, click the [Custom] tab and use color code #ebf2f7.

    1607393159143412.png


    10. Set the tooltip

    1) Let the tooltip to display Series (i.e. product) and Value (i.e. sales volume).

    2) Set border styles of tooltip box including line style, color and rounded corner.

    Snag_871f52e.png

    3) Set the background color of tooltip box as black and set the opacity as 40.

    4) Set the display position of tooltip box as [Follow Mouse].


    11. Preview the doughnut chart

    53E919EE-BBE7-48FA-84D0-8A9370D7A66B.GIF


    12. Set the label

    Let the label to display Series (i.e. product) and Percentage (i.e. sales volume in percentage).

    Preview.

    3B287929-25F5-4C08-ABD5-515B3DFB2B7C (1).GIF


    13. Create a rose chart

    Right-click to copy the doughnut chart.

    912196E8-9778-4157-9E6A-982F19106F38.GIF

    Switch the chart type to [Rose Chart] directly in the right panel.

    Snag_d1275c9.png


    14. Preview the rose chart

    9E524024-95A6-4CF7-95CC-6302D5126500.GIF

    IV. Column chart

    1. Right-click to copy a chart and switch the chart type to [Column]

     Snag_d3e6519.png  


    2. Set chart data

    Set [Salesperson] as Category, and this means the X-Axis represents salespersons.


    3. Do not show title and change the position of the legend


    4. Set the series styles

    1) Set series color using [sample].

    2) Change Style from [Gradient] to [Default]; in other words, the color will not change gradually.

    3) Set rounded corners.

    Snag_d3fb4bb.png 


    5. Edit the X-Axis

    1) Set a rotation angle for labels on the X-Axis.

    2) The X-Axis represents salesperson so the rotation enables the names of salespersons to be fully displayed.

    Snag_d408440.png


    6. Add an alert line

    1) Click [+] to add an alert line

    2) Set Alert Line:

            Position: Y-Axis

            Value: =500

            Line Style: dashed line

            Color: #e5715a

    3) Alert Text:

            Position: Right

            Font: Arial

            Size: 11

            Color: #e5715a

    Snag_12dc1f25.png


    7. Preview the column chart with an alert line

    E817DB4B-6933-4A25-B525-D828DD2C4C91.GIF


    8. Copy the column chart and switch to [Stacked Column]

    Snag_d4a7991.png


    9. Set the label

    1) Let the label only displays value (i.e. sales volume) in Percentage and set the Position as [Center].

    Snag_d4bdea0 (1).png

    2) Set the format of percentage as #0%, and this means only preserve the integer part。

    59121463-E1BD-4FFA-830C-C38ADE59AFBC.GIF


    10. Set the series styles

    1) Set Style as [Default].

    2) Set Fixed Column Width as [Yes] and input 35.

    Snag_d519034.png


    11. Set a rotation angel for labels along X-Axis

    Snag_d51b7a2.png


    12. Zoom out the designer and change the chart size according to the page boundaries

    Snag_d5ac0ed.png

    Preview the stacked column chart.

    55837C6B-10D0-419C-998E-5A5D1E5E6A4A.GIF

    V. Line chart

    1. Create a new dataset [ds2]

    1) Create a new DB query dataset

    2) Input the SQL:

    SELECT Time([Time]) AS Hour,A.* FROM flow AS A

    3) Preview the dataset. 

    [Hour] can be used to set Category while [Inflow_rate] and [Outflow_rate] can be used to set Series.


    2. Copy a chart and switch to [Line]

    Snag_d899331.png


    3. Set chart data

    1) Dataset: [ds2], Category: [Hour].

    2) Choose [Enable Field Name] for setting the series.

    3) Click [+] to add two fields and choose [Inflow_rate] and [Outflow_rate] as Field Name.

    C2DE4D52-159F-4281-8CF4-914D69659315.GIF

    4) Rename Series to ‘Inflow Rate’ and ‘Outflow Rate’.

    C5A9AAC1-7D74-48EE-A21D-895942A54C28.GIF

    Snag_d89cb97.png


    4. Set chart title and the legend


    5. Set series styles

    1) Set the Display of Line as [Curve Line].

    2) Set the Type of Marker as circle and input radius as 2.5.

    Snag_d825fee.png


    6. Set the axis styles

    1) Change the font size of labels along X-Axis.

    2) Set a rotation angle for the labels.

    Snag_135c3ea5.png


    7. Preview the line chart

    E2350873-F861-4A27-B550-CF4EC4E75B58.GIF

    VI. Combination chart

    1. Copy the chart and switch to [Combination]

    Customize the combination as line chat and an area chart.

    Snag_e195726.png


    2. Set chart data

    1) Set dataset as [ds2] and choose [Enable Field Name] for setting the series.

    2) Set the series:

        a) Line chart: select [Inflow_rate] as Field Name and rename series as ‘Inflow Rate’.

        b) Area chart: select [Outflow_rate] as Field Name and rename series as ‘Outflow Rate’.


    3. Not show chart title and change the position of the legend


    4. Add a Y-Axis and set the Axis Label Position as [Right]


    5. Set series styles of the line chart

    1) Set Color as the predefined [sample].

    2) Select [Line] and set Line Style as [Vertical].

    Snag_ed116f1.png

    3) Scroll down the panel and click [+] to add a [Stack and Axis].

    4) Set [Stack and Axis1]:

        Display: Choose the first [Y Axis] for Y-Axis and keep other settings as default.

        Common Condition: Series Index Equal to 1.

    5) The condition let the first series in the line chart use the first Y-Axis (the left-aligned one).

    Snag_edbd5ad.png


    6. Set series styles of the area chart

    1) Select [Line] and set Line Style as [Vertical] as well.

    Snag_ed131cc.png

    2) Scroll down the panel and click [+] to add a [Stack and Axis].

    3) Set [Stack and Axis1]:

        Display: Choose [Y Axis2] for Y-Axis and keep other settings as default.

        Common Condition: Series Index Equal to 1.

    4) The condition let the first series in the area chart use Y-Axis2 (the right-aligned one).

    Snag_edc1de1.png


    7. Set axis styles

    1) Add a rotation angle for labels along the X-Axis.

    2) Add titles for the 2 Y-Axis respectively.


    8. Preview the combination chart

    293E284C-91D7-4E8F-96EC-7694F22AB7EA.GIF

    VII. Bar chart

    1. Copy a chart and switch to [Bar]

    Snag_ee7644b.png


    2. Set the chart data


    3. Set chart title and the legend


    4. Set the label

    1) Let the labels only display Value (i.e. sales volume).

    2) Set the position of labels as [Outside] the bars.


    5. Set the series styles

    1) Set the series color as the predefined [sample].

    2) Set the border of bars as [None].


    6. Preview the bar chart

    VIII. Gauge

    1. Copy a chart and switch to [Gauge]


    2. Create an embedded dataset


    3. Set chart data

    Snag_f16f0b8.png


    4. Set chart title

    Snag_f16c497.png


    5. Customize the Max Value of the plate as 300


    6. Set the tooltip


    7. Preview the gauge

    8277F59C-61FD-484D-8D8B-B65404035580.GIF


    Attachment List


    Theme: Chart
    • Helpful
    • Not helpful
    • Only read

    Doc Feedback