Component Format Painter

  • Last update:November 08, 2024
  • Overview

    Application Scenario

    When creating a dashboard, you need to unify the component styles.

    Utilizing the format painter tool, you can efficiently apply the style of one component to others to ensure stylistic consistency and enhance aesthetics. This approach can boost the efficiency of style adjustments significantly.

    组件格式刷-指标卡1.gif

    Function Description

    Format painter usage specifications:

    • Operation within a single dashboard: The format painter only supports copying and pasting the format within a single dashboard. The format painter does not support copying a format from components in the current dashboard and pasting the format to the components in other dashboards.

    • Consistency of component types: The format painter can only be applied to the format of components of the same type. For example, copy the format of one table component and paste the format to another table component or apply the format of one KPI card to another by the format painter. Expand to view the introduction of component types.

    Click to expand...


    Type Classification
    Specific Components

    Table

    Group table, cross table, and detail table

    Column chart

    Partitioned column chart, stacked column chart, multi-series column chart, and comparative column chart

    Dot chart

    Scatter chart, bubble chart, mini chart, and point map

    Line chart

    Partitioned line chart, multi-series line chart, polyline radar chart, and flow map

    Rectangular block

    Rectangular tree, waterfall chart, and multi-level pie chart

    Pie chart

    Pie chart, and rose chart

    Text

    KPI card, word cloud, and color table

    Heatmap point

    Heat map, and heatmap

    Area

    Range area chart

    Fill map

    Area map

    Funnel chart

    Funnel chart

    Gauge

    Gauge

    Box chart

    Box chart

    Flow map

    Sankey chart

    • When the same style configuration items exist in the source chart and the target chart, the style of the former can be applied to the latter. The configuration range of the format painter includes table properties,     component styles, and value axis settings.

    Click to expand...

    Style
    Unsupported Configuration Items of the Format Painter

    Chart property

    Rectangular block - multi-level pie chart

    Gauge - type selection

    Gauge - target value setting

    Component type

    Summary row

    Legend

    Interaction property

    Value axis settings

    Value axis display range - custom axis range

    Axis title name

    Procedure

    Download the sample data: Office Supplies Data.xlsx.

    Apply the style of Regional Sales Performance to Product Sales Performance.

    Data Preparation

    Create an analysis subject, and upload the sample data, as shown in the following figure.

    组件格式刷GIF.gif

    Creating a Component

    1. Use Area, Sales, Profit, and Quantity to create a group table to display regional sales, as shown in the following figure.

    1.png

    2. Set the table style.

    >Table Font: Align the indicators in the table body to the left.

    Style: Select Style 2, and set the theme color to #b7d2b6.

    2.png

    3. Use Product Name, Sales, and Profit to create a group table to display the product sales, as shown in the following figure.

    3.png

    Copying the Style by the Format Painter

    Click the Add Dashboard button, and drag the two components you created to the dashboard, as shown in the following figure.

    组件格式刷GIF-2.gif

    Click the component, select Format Painter to copy the current component style, and then select the component to which you want to apply the component style, as shown in the following figure.

    组件格式刷GIF-3.gif

    Usage Rules and Restrictions of the Format Painter

    Only Suitable for KPI Cards with the Same Number of Columns

    The format painter can only be used to copy and paste styles when the number of columns in each row of the KPI cards is the same.

    Assume that you have three KPI components with the column configurations as follows:

    • Component 1: The splitting method is 2:1.

    • Component 2: The splitting method is 2:1.

    • Component 3: The splitting method is 1:2.

    Copy the style of component 1 by the format painter. The style of component 1 can be applied to component 2, but not to component 3.

    4.png

    Unable to Copy and Paste the Condition Style of the Field Style by the Format Painter

    You cannot copy and paste the field style that has been set with condition style by the format painter.

    If the color of a field is dynamically set based on specific conditions (for example, the value of the field), you cannot copy this style and paste it to other components by the format painter.

    Example 1: Add conditions to shape styles. When the region is Northwest, a circle is displayed in the row where the Area Northwest is located. This style setting cannot be copied and pasted to other components by the format painter.

    5.png

    Example 2: Customize the graphic properties to different colors based on different sales ranges. This color style cannot be copied and pasted to other components by the format painter.

    6.png

    Rules for Transferring Properties and Styles

    Transferring Properties and Styles by Order

    When you copy and paste the format style of a multi-dimensional and multi-indicator component by the format painter, the chart properties of the fields of the source component will be applied to the fields of the target component according to the order of the fields of the source component. When the fields of the source component are used up, the transferring process will restart from the first field and continue until all fields of the target component are applied with the format.

    Transferring Styles Between Components with the Same Attribute Configuration

    To copy properties and styles from one component and paste the styles to the other component by the format painter, the two components must be set with the same configurations of the corresponding attributes.

    If the dimension fields are configured in the color property in two components, the style can be transferred by the format painter. If no fields are configured in one of the components, or if one of the components is configured with a different type of field (such as an indicator field), you cannot apply the style to the other component by the format painter.

    Component A
    Component B
    The indicator field is dragged into the Color bar.

    7.png

    If the indicator field is dragged into the Color bar of component B, the configuration of the field is the same as that of component A.

    The color property of component A can be applied to component B by the format painter.

    8.png

    If the dimension field is dragged into the Color bar of component B, the configuration of the field in component B will not be the same as that of component A.

    The color property of component A cannot be applied to component B by the format painter.

    9.png

    If no fields are dragged into the Color bar in component B, the configuration of the field in component B will be inconsistent with that of component A.

    The color property of component A cannot be applied to component B by the format painter.

    10.png

    Customizing the Transfer Rules of the Chart Style

    Rules for customizing the format painter of the chart: Match the same type of graphics.

    If the source component contains graphics of a specific type, you can apply the styles of these graphics to the same type of graphics in the target component by the format painter.

    If no charts of the same type in the target component match the charts of the source component, you cannot apply any chart styles to the target component by the format painter.

    附件列表


    主题: Creating a Visual Component
    • Helpful
    • Not helpful
    • Only read

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

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

    不再提示

    7s后關閉

    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