Chart processing method and device, computer equipment and storage medium

By responding to user operations in the graphical user interface, drawing and updating drill-down interactive components, it solves the problem of drill-down requirements for various chart data and improves user experience and data analysis depth.

CN118656003APending Publication Date: 2024-09-17NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410718439.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-04
Publication Date
2024-09-17

AI Technical Summary

Technical Problem

The existing technology is difficult to meet the data drill-down requirements of various charts, resulting in deficiencies in the user experience of using charts.

Method used

Display the target chart through the graphical user interface, respond to the user's drill-down operation, obtain the operation location information, determine the target location of the drill-down interactive component, and draw and display the drill-down interactive component, including multiple drill-down dimensions, and update the chart in response to the user's selection .

Benefits of technology

It realizes users’ data drill-down requirements for various charts, improves chart usage experience, and enhances the depth and flexibility of data analysis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118656003A
    Figure CN118656003A
Patent Text Reader

Abstract

The embodiment of the invention discloses a chart processing method and device, computer equipment and a storage medium. According to the scheme, the target chart is displayed through the graphical user interface, the operation position information corresponding to the drill-down operation is obtained in response to the drill-down operation for the target chart, then the target position of the drill-down interaction assembly to be drawn is determined on the basis of the operation position information, and the drill-down interaction assembly is drawn and displayed on the basis of the target position, the drill-down interaction component comprises a plurality of drill-down dimensions, and finally, in response to a selection operation for a target drill-down dimension in the drill-down interaction component, updating and displaying the target chart based on the target drill-down dimension. According to the method, the drill-down operation is detected, and the drill-down interaction component is customized and drawn and displayed according to the position corresponding to the drill-down operation, so that the data drill-down of the target chart is realized based on the operation on the drill-down interaction component, and therefore, the data drill-down requirements of a user on various charts can be met, and the chart use experience of the user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a chart processing method, apparatus, computer equipment and storage medium. Background Art

[0002] At present, data analysis has a wide range of application scenarios, providing users with convenient and fast data integration and display functions, thereby assisting decision makers in making efficient decisions. On this basis, the data drill-down of chart data can help users quickly switch between different data statistical dimensions and data observation perspectives.

[0003] In the related art, the charts that support the data drill-down function are mainly matrix tree charts and sunburst charts. The UI interaction for data drill-down is mainly to click on a specific dimension, then refresh the entire chart to display the drilled-down data. However, as the types of charts increase, it is unable to meet the demand for data drill-down on more charts. Summary of the invention

[0004] The embodiments of the present application provide a chart processing method, apparatus, computer equipment and storage medium, which can meet the user's demand for data drilling down on various charts, thereby improving the user's chart usage experience.

[0005] The present application provides a method for processing a chart, including:

[0006] Displaying target charts via a graphical user interface;

[0007] In response to a drill-down operation on the target chart, acquiring operation position information corresponding to the drill-down operation;

[0008] Based on the operation position information, determining a target position of a drill-down interaction component to be drawn;

[0009] Based on the target position, drawing and displaying the drill-down interaction component, wherein the drill-down interaction component includes a plurality of drill-down dimensions;

[0010] In response to a selection operation on a target drill-down dimension in the drill-down interaction component, the target chart is updated and displayed based on the target drill-down dimension.

[0011] Accordingly, the embodiment of the present application further provides a chart processing device, including:

[0012] A first display unit, configured to display a target chart via a graphical user interface;

[0013] A first acquisition unit, configured to, in response to a drill-down operation on the target chart, acquire operation position information corresponding to the drill-down operation;

[0014] A first determining unit, configured to determine a target position of a drill-down interactive component to be drawn based on the operation position information;

[0015] A drawing unit, configured to draw and display the drill-down interaction component based on the target position, wherein the drill-down interaction component includes a plurality of drill-down dimensions;

[0016] The first updating unit is configured to update and display the target chart based on the target drill-down dimension in response to a selection operation on the target drill-down dimension in the drill-down interaction component.

[0017] Correspondingly, an embodiment of the present application further provides a computer device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes any of the chart processing methods provided in the embodiments of the present application.

[0018] Correspondingly, an embodiment of the present application further provides a storage medium, which stores a plurality of instructions, and the instructions are suitable for loading by a processor to execute the above-mentioned chart processing method.

[0019] The embodiment of the present application displays the target chart through a graphical user interface, and in response to a drill-down operation on the target chart, obtains the operation position information corresponding to the drill-down operation, and then determines the target position of the drill-down interactive component to be drawn based on the operation position information, and draws and displays the drill-down interactive component based on the target position, wherein the drill-down interactive component includes multiple drill-down dimensions, and finally, in response to a selection operation on the target drill-down dimension in the drill-down interactive component, updates and displays the target chart based on the target drill-down dimension. By detecting the drill-down operation, the drill-down interactive component is custom drawn and displayed according to the position corresponding to the drill-down operation, so that the data drill-down of the target chart is realized based on the operation of the drill-down interactive component, thereby satisfying the user's data drill-down needs for a variety of charts, thereby improving the user's chart usage experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0021] Figure 1 A flowchart of a chart processing method provided in an embodiment of the present application.

[0022] Figure 2 A schematic diagram of an application scenario of a chart processing method provided in an embodiment of the present application.

[0023] Figure 3 A schematic diagram of an application scenario of another chart processing method provided in an embodiment of the present application.

[0024] Figure 4 A schematic diagram of an application scenario of another chart processing method provided in an embodiment of the present application.

[0025] Figure 5 A schematic diagram of an application scenario of another chart processing method provided in an embodiment of the present application.

[0026] Figure 6 A schematic diagram of an application scenario of another chart processing method provided in an embodiment of the present application.

[0027] Figure 7 A schematic diagram of an application scenario of another chart processing method provided in an embodiment of the present application.

[0028] Figure 8 A schematic diagram of an application scenario of another chart processing method provided in an embodiment of the present application.

[0029] Fig. 9 A schematic diagram of an application scenario of another chart processing method provided in an embodiment of the present application.

[0030] Fig.10 A schematic diagram of an application scenario of another chart processing method provided in an embodiment of the present application.

[0031] Fig.11 A schematic diagram of an application scenario of another chart processing method provided in an embodiment of the present application.

[0032] Fig.12 A schematic diagram of an application scenario of another chart processing method provided in an embodiment of the present application.

[0033] Fig.13 A structural block diagram of a chart processing device provided in an embodiment of the present application.

[0034] Fig.14 A schematic diagram of the structure of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0035] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this application.

[0036] The embodiments of the present application provide a method, device, storage medium and computer equipment for processing a chart. Specifically, the method for processing a chart in the embodiments of the present application can be executed by a computer device, wherein the computer device can be a terminal or a server. The terminal can be a terminal device such as a smart phone, a tablet computer, a laptop computer, a touch screen, a personal computer (PC), a personal digital assistant (PDA), etc. The server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms.

[0037] For example, the computer device may be a terminal that can display a target chart through a graphical user interface; in response to a drill-down operation on the target chart, obtain operation position information corresponding to the drill-down operation; based on the operation position information, determine a target position of a drill-down interaction component to be drawn; based on the target position, draw and display the drill-down interaction component, wherein the drill-down interaction component includes multiple drill-down dimensions; in response to a selection operation on a target drill-down dimension in the drill-down interaction component, update and display the target chart based on the target drill-down dimension.

[0038] Based on the above problems, the embodiments of the present application provide a first chart processing method, apparatus, computer equipment and storage medium, which can meet the user's demand for data drill-down on various charts, thereby improving the user's chart usage experience.

[0039] It should be noted that the description order of the following embodiments is not intended to limit the preferred order of the embodiments.

[0040] The embodiment of the present application provides a chart processing method, which can be executed by a terminal or a server. The embodiment of the present application is described by taking the chart processing method executed by a terminal as an example.

[0041] See also Figure 1 , Figure 1 A flowchart of a chart processing method provided in an embodiment of the present application is shown below.

[0042] 101. Displaying a target chart through a graphical user interface.

[0043] In an embodiment of the present application, a graphical user interface is provided by a terminal device, and the graphical user interface can display a target chart.

[0044] Among them, charts are a way to display data intuitively, which can help users better understand the relationship and trend between data. Charts can include many types, such as column charts, bar charts, pie charts, line charts, etc.

[0045] The target chart refers to a chart generated based on the user's current data analysis needs, which can be used to help the user understand the relationship between the currently analyzed data.

[0046] The target chart may be a chart that supports data drill-down. Data drill-down is a data visualization technology that allows users to further analyze and explore more detailed data features by clicking or selecting specific data points or areas in a chart.

[0047] In the embodiment of the present application, the target chart can be generated through the data analysis platform. The user can enter the data analysis platform through the terminal device, and then generate the target chart through the user's operation and chart configuration in the data analysis platform.

[0048] Among them, the data analysis platform can be used as a technical platform to support data analysis and business decision-making in various institutions such as enterprises and organizations. The main functions of the data analysis platform may include: data integration, data processing, data analysis, and data visualization.

[0049] Data integration refers to the ability of the data analysis platform to integrate data from various data sources, including databases, files, APIs (Application Program Interface), etc., to meet the diverse data needs of enterprises;

[0050] Data processing refers to the data analysis platform providing data identification, filtering, merging and other processing functions to reduce the overall number of events and allow users to reassign relevant attributes of event information as needed;

[0051] Data analysis refers to event correlation analysis and audit analysis. The data analysis platform can comprehensively consider the possible relationships between various events, analyze the relevant elements in the events, and finally display the analysis results in the form of alarms;

[0052] Data visualization means that the data analysis platform provides a wealth of visualization tools and methods, through which users can intuitively display the analysis results in the form of charts, graphs, etc., so as to better understand and communicate the analysis results.

[0053] Among them, the front-end engineering of the data analysis platform is mainly developed based on the React technology stack, using the AntDesign component library as the visual component of the web page, and the G2Plot chart library as the chart component required for data analysis.

[0054] Among them, React technology is a JavaScript library for building user interfaces;

[0055] AntDesign component library is a UI design language and component library. It provides a wealth of reusable components to help developers quickly build beautiful, efficient and easy-to-maintain front-end interfaces; G2Plot chart library is a powerful, easy-to-use, and well-scalable statistical chart library that can help developers draw high-quality statistical charts at minimal cost. G2Plot provides a variety of chart types, including but not limited to line charts, bar charts, scatter charts, pie charts, radar charts, etc., which can meet the needs of various data analysis scenarios. At the same time, G2Plot also supports a wealth of interactive functions, such as zooming, dragging, data filtering, etc., allowing users to analyze and explore data more conveniently.

[0056] Among them, the process of making a chart using G2Plot can include: first, you need to import online resources from the official website of G2Plot, then create a chart container, and import data. The data source format of G2Plot is usually a JSON array, and each element of the array is a standard JSON object. After the data is loaded, you can customize the chart by configuring the coordinate system, adding data, setting color mapping, adding legends, setting axis styles, and adding interactions.

[0057] In some embodiments, in order to enable the drawn chart to support the data drill-down function, the step of "displaying the target chart through the graphical user interface" may include the following operations:

[0058] In response to the chart generation request, obtaining target data and chart configuration information corresponding to the chart generation request;

[0059] Get the preset drill-down interaction logic;

[0060] The target chart is rendered and displayed in the graphical user interface based on the drill-down interaction logic, target data, and chart configuration information.

[0061] The chart generation request refers to a request for generating a chart through instructions generated by a user's operation on a data analysis platform.

[0062] Among them, the user's operation on the data analysis platform refers to the initialization operation that triggers the drawing of the chart, which may include: selecting an analysis model, selecting a target data table, configuring appropriate indicators and dimensions, selecting the type of chart to present the data, etc.

[0063] Among them, the analysis model refers to the selection of different data analysis scenarios and analysis methods, such as event analysis, retention analysis, funnel analysis, distribution analysis, etc.; the target data table refers to the source of data, such as the daily table of user active data, in which the data fields contained in the table can be used for subsequent analysis, such as date, channel, platform, number of active accounts, number of active roles and other fields, which can be used as dimensions or indicators for analysis; dimension refers to the attribute or variable used to divide, group and classify data in data analysis; indicator refers to the metric used to measure and evaluate specific attributes or performance of data; the above operations are necessary before the data analysis platform generates visual charts.

[0064] For example, when an initialization operation of a user in a data analysis platform is detected, it can be determined that a chart generation request is triggered, and the chart generation request includes operation information corresponding to the initialization operation, that is, target data and chart configuration information.

[0065] Among them, the target data refers to the target data table selected by the user; the chart configuration information may include the analysis model selected by the user, the configured indicators and dimensions, and the selected chart type, etc.

[0066] In an embodiment of the present application, the drill-down interaction logic is used to support the data drill-down function of the chart, that is, the drill-down operation on the chart can be monitored through the drill-down interaction logic. When the drill-down operation is detected, the data drill-down function of the chart can be implemented according to the drill-down operation.

[0067] In some embodiments, the drill-down interaction logic can be implemented using the event monitoring mechanism of the chart library. The event monitoring mechanism of the chart library is an important interactive function that allows developers to monitor and process various events on the chart. This mechanism enables the chart to not only display data statically, but also respond and update dynamically according to user operations.

[0068] The steps of using the event monitoring mechanism may include: first determining the event type to be monitored, then registering an event monitor for each event type, and writing the corresponding event processing logic in the callback function of the event monitor. Thus, during the application process, when the corresponding event type is monitored by the registered event monitor, the corresponding event processing logic can be triggered and executed.

[0069] Among them, the event listener is a callback function, which will be automatically called when the corresponding event is triggered. In the callback function, developers can write their own logic to handle events, such as updating chart data, displaying prompt boxes, executing animations, etc.

[0070] In the embodiment of the present application, the events that need to be monitored in the drill-down interaction logic may be mouse operation events in the chart area, which may include: mousein, mousemove, mouseout, etc.

[0071] Among them, mousein indicates that the mouse pointer enters the chart area; mousemove indicates that the mouse pointer moves within the chart area; mouseout indicates that the mouse pointer moves out of the chart area. Among them, the mouse pointer is also the position identifier corresponding to the mouse operation on the graphical user interface.

[0072] When registering a listener for a mouse operation event in a chart area, the event processing logic written in the callback function of the event listener may include: obtaining the data item on the chart corresponding to the mouse operation event and the mouse operation end position.

[0073] Specifically, the drill-down interaction logic is implemented as follows: when a mouse operation event in the chart area is monitored, the data item on the chart corresponding to the mouse operation and the end position of the mouse operation are obtained.

[0074] Among them, rendering and displaying the target chart on the graphical user interface based on the drill-down interaction logic, target data and chart configuration information can include: reading the default configuration information of the data analysis platform, merging the default configuration information with the chart configuration information, updating to obtain the final chart configuration, initializing the chart instance based on the target data, and finally drawing and rendering the target chart through G2Plot, displaying it on the graphical user interface, and configuring the drill-down interaction logic for the target chart.

[0075] The process of G2Plot drawing and rendering a target chart may include: first, preparing target data, creating a chart instance according to the target data, then setting the chart configuration, performing data mapping, creating a chart component, and rendering the chart.

[0076] In some embodiments, in order to avoid wasting resources, before the step of “obtaining the preset drill-down interaction logic”, the method may further include the following operations:

[0077] Determine whether to enable the drill-down function based on the chart configuration information;

[0078] If you need to enable the drill-down function, execute the steps to obtain the preset drill-down interaction logic.

[0079] Among them, the drill-down function is not needed in some specific business scenarios. Therefore, it is necessary to determine whether the current target chart to be drawn needs to enable the drill-down function.

[0080] Specific business scenarios may include chart types such as pie charts, scatter plots, Sankey diagrams, eight-way charts, and funnel charts, because drilling down on these charts does not make sense. These charts were originally designed to display intuitive information and relationships rather than provide in-depth hierarchical structures. If drill-down operations are required, other types of charts are usually selected, such as bar charts, line charts, and tree charts, which can better support the needs of hierarchical structures and drill-down analysis.

[0081] Among them, determining whether it is necessary to enable the drill-down function based on the chart configuration information may include: judging whether the target chart to be drawn belongs to a specific business scenario based on the chart type selected by the user in the chart configuration information; if not, determining that the drill-down function needs to be enabled, and then triggering the step of obtaining the preset drill-down interaction logic, that is, the data drill-down function can be configured for the target chart according to the drill-down interaction logic.

[0082] In some embodiments, if the target chart to be drawn belongs to a specific business scenario, it is determined that the drill-down function does not need to be enabled. At this time, the target chart can be drawn and displayed according to a conventional chart drawing method.

[0083] 102. In response to a drill-down operation on a target chart, obtain operation position information corresponding to the drill-down operation.

[0084] The drill-down operation may be used to trigger data drill-down on a target chart, and the drill-down operation may include a triggering operation in the target chart.

[0085] The operation position information may include position coordinates corresponding to the operation position of the drill-down operation.

[0086] In some embodiments, the target chart may include multiple data items. To meet the user's data drill-down requirements, the step of "obtaining operation position information corresponding to the drill-down operation in response to the drill-down operation on the target chart" may include the following operations:

[0087] In response to a trigger operation on at least one of the multiple data items, a first position coordinate of an end position of the trigger operation on the graphical user interface is acquired to obtain operation position information.

[0088] In a chart, data items refer to the specific values ​​or data points used to build a chart. These data items are usually extracted from data sources (such as databases, spreadsheets, or CSV files) and represented graphically in a chart to more intuitively show the patterns and trends of the data.

[0089] For example, in a bar chart: each bar represents a data item, and the height of the bar represents the value of the data item.

[0090] The triggering operation for at least one of the multiple data items may include multiple types, such as a click operation for a single data item, or a box selection operation for more than two data items.

[0091] Among them, a click operation on a single data item can trigger data drilling down on the single data item; a frame line operation on more than two data items can trigger data drilling down on more than two data items.

[0092] The first position coordinate refers to the end position of the trigger operation, which is the position coordinate in the first coordinate system corresponding to the graphical user interface.

[0093] The first coordinate system corresponding to the graphical user interface refers to a coordinate system with the upper left vertex of the graphical user interface as the coordinate origin.

[0094] For example, see Figure 2 , Figure 2 A schematic diagram of an application scenario of a chart processing method provided in an embodiment of the present application. Figure 2 In the graphical user interface shown, a target chart is displayed. The target chart can be a bar chart. The multiple rectangular columns in the bar chart represent multiple data items in the target chart. Each data item can represent a date, for example, 5-01 (that is, May 1), 5-02, 5-03, 5-04, 5-05, 5-06, and 5-07. The numerical value on the right side corresponding to the height of each rectangular column represents the value corresponding to each data item.

[0095] For example, if the target chart is a user retention data table, the value corresponding to each date data item represents the user retention amount on that date.

[0096] When it is detected that the user clicks the data item 5-07 with the mouse, the mouse click position can be obtained, and the first position coordinates of the click position in the first coordinate system of the graphical user interface can be determined, which can be used as the operation position information.

[0097] For another example, see Figure 3 , Figure 3 A schematic diagram of another application scenario of a diagram processing method provided in an embodiment of the present application. Figure 3 In the graphical user interface shown, a target chart is displayed. When it is detected that the user uses the mouse to select the three data items 5-05, 5-06, and 5-07, the position of the mouse when the selection operation ends can be obtained, and the first position coordinates of the position in the first coordinate system of the graphical user interface can be determined, which can be used as the operation position information.

[0098] Among them, in response to a trigger operation on at least one data item among multiple data items, the chart area mouse operation events can be monitored through the drill-down interaction logic configured for the target chart. When the chart area mouse operation events are monitored, it is determined that a trigger operation on at least one data item among the multiple data items is detected.

[0099] In some embodiments, after a drill-down operation is detected, data items corresponding to the drill-down operation may be collected, and the collected data items and operation location information may be stored in the application global data state manager. If no drill-down operation is detected, the mouse event may continue to be monitored.

[0100] Among them, the data state manager runs through the entire life cycle of the application and is responsible for managing and organizing the global data state and logic changes.

[0101] 103. Determine a target position of a drill-down interactive component to be drawn based on the operation position information.

[0102] The target position refers to the position coordinates of the reference point for drawing and displaying the drill-down interactive component, which is determined from the second coordinate system corresponding to the target chart. The reference point can be used to correspond to the center point of the drill-down interactive component.

[0103] In some embodiments, in order to implement the custom drawing and display of the drill-down interactive component, the step of “determining the target position of the drill-down interactive component to be drawn based on the operation position information” may include the following operations:

[0104] calculating a second position coordinate of the target chart on the graphical user interface;

[0105] According to the first position coordinates and the second position coordinates, the third position coordinates of the drill-down interaction component to be drawn on the target chart are determined to obtain the target position.

[0106] The second position coordinate refers to the position coordinate of the upper left vertex of the target chart in the first coordinate system corresponding to the graphical user interface.

[0107] Among them, calculating the second position coordinates of the target chart on the graphical user interface may include: calculating a first distance value between the target chart and the top of the graphical user interface, and determining a coordinate value on the Y axis of the first coordinate system according to the first distance value; and calculating a second distance value between the target chart and the left side of the graphical user interface, and determining a coordinate value on the X axis of the first coordinate system according to the second distance value, and then obtaining the second position coordinates according to the coordinate value on the X axis of the first coordinate system and the coordinate value on the Y axis of the first coordinate system.

[0108] For example, see Figure 4 , Figure 4A schematic diagram of another application scenario of a diagram processing method provided in an embodiment of the present application. Figure 4 In the figure, the first coordinate system corresponding to the graphical user interface includes a coordinate axis X1 and a coordinate axis Y1, and the first coordinate system takes the upper left vertex of the graphical user interface as the coordinate origin. The upper left vertex of the target chart is point A, and the distance value between point A and the top of the target graphical user interface is calculated, for example, it can be y1, and the coordinate value on the Y1 axis of the first coordinate system can be determined to be: y1; and the distance value between point A and the left side of the target graphical user interface is calculated, for example, it can be x1, and the coordinate value on the X1 axis of the first coordinate system can be determined to be: x1.

[0109] Further, the second position coordinates of the target chart on the graphical user interface may be determined to be (x1, y1).

[0110] In some embodiments, the step of “determining the third position coordinates of the drill-down interaction component to be drawn on the target chart according to the first position coordinates and the second position coordinates” may include the following operations:

[0111] Calculating a first difference between the first coordinate value and the third coordinate value, and calculating a second difference between the second coordinate value and the fourth coordinate value;

[0112] Determine a fifth coordinate value on the first coordinate axis in a second coordinate system corresponding to the target chart based on the first difference;

[0113] Determine a sixth coordinate value on the second coordinate axis in a second coordinate system corresponding to the target chart based on the second difference;

[0114] Based on the fifth coordinate value and the sixth coordinate value, a third position coordinate of the drill-down interaction component to be drawn on the target chart is obtained.

[0115] The first position coordinates may include a first coordinate value on a first coordinate axis in the first coordinate system and a second coordinate value on a second coordinate axis in the first coordinate system.

[0116] The second position coordinates include a third coordinate value on the first coordinate axis in the first coordinate system and a fourth coordinate value on the second coordinate axis in the second coordinate system.

[0117] For example, see Figure 5 , Figure 5 A schematic diagram of another application scenario of a diagram processing method provided in an embodiment of the present application. Figure 5 In the example, the first position coordinates of the drill-down operation in the first coordinate system are: B (x2, y2); the second position coordinates of the target chart in the first coordinate system are: A (x1, y1).

[0118] The first coordinate axis of the first coordinate system is the coordinate axis X1, and the second coordinate axis is the coordinate axis Y1. The first position coordinate includes the first coordinate value: x2, and the second coordinate value: y2; the second position coordinate includes the third coordinate value: x1, and the second coordinate value: y1.

[0119] Further, the first difference between the first coordinate value and the third coordinate value may be calculated as x2-x1; and the second difference between the second coordinate value and the fourth coordinate value may be calculated as y2-y1.

[0120] The second coordinate system corresponding to the target chart refers to a coordinate system with the upper left vertex of the target chart as the coordinate origin.

[0121] For example, see Figure 6 , Figure 6 A schematic diagram of another application scenario of a diagram processing method provided in an embodiment of the present application. Figure 6 In the figure, the second coordinate system corresponding to the target chart includes a coordinate axis X2 and a coordinate axis Y2. The second coordinate system takes the upper left vertex of the target chart as the coordinate origin.

[0122] Wherein, determining the fifth coordinate value on the first coordinate axis in the second coordinate system corresponding to the target chart based on the first difference may include: using the first difference as the fifth coordinate value on the first coordinate axis in the second coordinate system, that is, Figure 6 , x2-x1 is used as the coordinate value on the coordinate axis X2 in the second coordinate system.

[0123] Wherein, determining the sixth coordinate value on the second coordinate axis in the second coordinate system corresponding to the target chart based on the second difference may include: using the second difference as the sixth coordinate value on the second coordinate axis in the second coordinate system, that is, Figure 6 In the example, y2-y1 is used as the coordinate value on the coordinate axis Y2 in the second coordinate system.

[0124] Finally, the coordinates of (x2-x1, y2-y1) are determined in the second coordinate system as the third position coordinates of the drill-down interactive component to be drawn on the target chart.

[0125] In some embodiments, based on the operation position information, determining the target position of the drill-down interactive component to be drawn may include: the drill-down UI component container reads the stored collected data items and operation position information from the global data state manager, and then calculates the position coordinates drawn into the target chart area based on the operation position information.

[0126] 104. Based on the target location, draw and display the drill-down interaction component.

[0127] In an embodiment of the present application, the drill-down interaction component can be used for a user to perform drill-down interaction operations with a target chart, for example, selecting a dimension for data drill-down through the drill-down interaction component, etc.

[0128] The drill-down interaction component may include multiple drill-down dimensions, and the multiple drill-down dimensions may be used to analyze data attributes according to the data information corresponding to the target chart.

[0129] For example, the data information corresponding to the target chart may be a daily table of user active data, wherein the data fields in the daily table of user active data that can be used for subsequent analysis may include: date, channel, platform, number of active accounts, number of active roles, etc. These fields can be used as drill-down dimensions for drilling down data on the target chart.

[0130] In some embodiments, in order to meet the requirement of custom drawing of the drill-down interaction component, the step of “drawing and displaying the drill-down interaction component based on the target position” may include the following operations:

[0131] Based on the target position, determine the center point position of the drill-down interactive component on the target chart;

[0132] Get the first width and the first height of the drill-down interaction component;

[0133] Determine a target area corresponding to the drill-down interaction component based on the center point position, the first width, and the first height;

[0134] Draw a drill-down interaction component in the target area.

[0135] Wherein, based on the target position, determining the center point position of the drill-down interaction component to be drawn on the target chart may include: when drawing the drill-down interaction component, aligning the center point of the drill-down interaction component to the target position.

[0136] The UI style of the drill-down interaction component may include multiple styles, for example, the UI style of the drill-down interaction component may be a rectangular pop-up box, etc. When drawing the drill-down interaction component, the center point of the rectangular pop-up box corresponding to the drill-down interaction component may be aligned with the target position.

[0137] The first width refers to the width of the drill-down interaction component, and the first height refers to the height of the drill-down interaction component. In some embodiments, the width and height of the drill-down interaction component may be predetermined, and may be determined according to the chart type of the corresponding chart.

[0138] For example, the chart types may include a bar chart, a line chart, a tree chart, etc. Then, the corresponding width and height may be set for the drill-down interactive component corresponding to the bar chart; the corresponding width and height may be set for the drill-down interactive component corresponding to the line chart; and the corresponding width and height may be set for the drill-down interactive component corresponding to the tree chart.

[0139] In some embodiments, the width and height of the drill-down interactive components corresponding to different types of charts may be different, that is, the styles of the drill-down interactive components corresponding to different types of charts are different, which can meet the demand of drawing different drill-down interactive components for different charts.

[0140] Among them, based on the center point position, the first width and the first height, determining the target area corresponding to the drill-down interactive component can include: determining the first position that is the smallest on the first coordinate axis of the second coordinate system and the smallest on the second coordinate axis according to the center point position, the first width and the first height; determining the second position that is the largest on the first coordinate axis of the second coordinate system and the smallest on the second coordinate axis; determining the third position that is the smallest on the first coordinate axis of the second coordinate system and the largest on the second coordinate axis, and determining the fourth position that is the largest on the first coordinate axis of the second coordinate system and the largest on the second coordinate axis, and then obtaining the target area according to the closed area formed by the first position, the second position, the third position and the fourth position.

[0141] For example, see Figure 7 , Figure 7 A schematic diagram of another application scenario of a diagram processing method provided in an embodiment of the present application. Figure 7 In the figure, the position C (x2-x1, y2-y1) in the second coordinate system is the target position, that is, the center point position corresponding to the drill-down interactive component to be drawn.

[0142] Among them, the first width of the drill-down interactive component is w1, and the first height is h1. According to position C (x2-x1, y2-y1) and the first width w1 and the first height h1, it can be determined that the first position that is the smallest on the coordinate axis X2 of the second coordinate system and the smallest on the coordinate axis Y2 is: Position E; the second position that is the largest on the coordinate axis X2 of the second coordinate system and the smallest on the coordinate axis Y2 is: Position F; the third position that is the smallest on the coordinate axis X2 of the second coordinate system and the largest on the coordinate axis Y2 is: Position G; and the fourth position that is the largest on the coordinate axis X2 of the second coordinate system and the largest on the coordinate axis Y2 is: Position H.

[0143] Furthermore, based on the closed area formed by position E, position F, position G, and position H, the target area is obtained.

[0144] After you determine the target area on the target chart, you can draw a drill-down interaction in the target area.

[0145] In some embodiments, in order to prevent the drawn drill-down interaction component from exceeding the area of ​​the target chart, before the step of “drawing the drill-down interaction component in the target area”, the method may further include the following operations:

[0146] Based on the target position, the first width, and the second width of the target chart, determining whether the target area exceeds the range of the second width;

[0147] Based on the target position, the first height, and the second height of the target chart, determining whether the target area is beyond the range of the second height;

[0148] If the target area is beyond the range of the second width and / or beyond the range of the second height, the target area is adjusted based on the second width and the second height.

[0149] The second width refers to the width of the target chart, and the second height refers to the height of the target chart.

[0150] Among them, based on the target position, the first width and the second width of the target chart, determining whether the target area exceeds the range of the second width can include: adding the fifth coordinate value in the target position to the value of the first width / 2 to obtain a first sum value, and comparing the first sum value with the second width.

[0151] If the first sum is greater than the second width, it is determined that the target area exceeds the range of the second width; if the first sum is not greater than the second width, it is determined that the target area does not exceed the range of the second width.

[0152] Among them, based on the target position, the first height and the second height of the target chart, determining whether the target area exceeds the range of the second height can include: adding the sixth coordinate value in the target position to the value of the first height / 2 to obtain a second sum value, and comparing the second sum value with the second height.

[0153] If the second sum is greater than the second height, it is determined that the target area exceeds the range of the second height; if the second sum is not greater than the second height, it is determined that the target area does not exceed the range of the second height.

[0154] If the target area is beyond the range of the second width and / or beyond the range of the second height, adjusting the target area based on the second width and the second height may include the following:

[0155] If the target area is beyond the second width, determining a first excess value that exceeds the second width, and adjusting the target area according to the second width may include: moving the target area horizontally to the left by the first excess value in the target chart;

[0156] If the target area exceeds the range of the second height, a second excess value exceeding the second height is determined, and adjusting the target area according to the second height may include: moving the target area vertically upward in the target chart by the second excess value, so that the adjusted target area is located in the target chart and does not exceed the area range of the target chart.

[0157] In some embodiments, the step of “drawing a drill-down interaction component in the target area” may include the following operations:

[0158] Draw the drill-down interaction component in the adjusted target area.

[0159] After adjusting the target area, you can draw a drill-down interactive component in the target area.

[0160] In some embodiments, in order to facilitate the user to view information of the data item selected for data drilling down through the drill-down interaction component, before the step of “drawing and displaying the drill-down interaction component based on the target position”, the method may further include the following operations:

[0161] Obtain at least one data item corresponding to the drill-down operation in the target chart;

[0162] Based on data information of at least one data item, target information to be displayed in the drill-down interaction component is determined.

[0163] The at least one data item corresponding to the drill-down operation in the target chart may include a data item selected by the drill-down operation.

[0164] The data information may include: the number of data items selected for drill-down operation, the sum of values ​​corresponding to the data items, the average values ​​corresponding to the data items, etc.

[0165] For example, see Figure 8 , Figure 8 A schematic diagram of another application scenario of a diagram processing method provided in an embodiment of the present application. Figure 8 In the graphical user interface shown on the upper side, a box selection operation in the target chart is detected, and the data items corresponding to the drill-down operation can be determined based on the three data items corresponding to the box selection operation: 5-05, 5-06, and 5-07.

[0166] Further, data information corresponding to the three data items may be obtained, which may include: the number of selected data items is: 3; the sum of the values ​​of the three data items is: 4840; and the average value of the three data items is: 1613. The data information may then be used as information displayed on the drill-down interactive component after the drill-down interactive component is drawn.

[0167] In some embodiments, the step of “drawing and displaying the drill-down interaction component based on the target position” may include the following operations:

[0168] Based on the target location, a drill-down interactive component containing target information is drawn and displayed.

[0169] For example, see Figure 8 ,exist Figure 8In the graphical user interface shown at the lower side, a drill-down interactive component is displayed, and the drill-down interactive component contains target information in the form of: "Select 3 items", "Total: 4840", "Average value 1613".

[0170] Among them, "Select 3 items" means: the number of selected data items is: 3; "Total: 4840" means: the sum of the values ​​of the three data items is: 4840; "Average value 1613" means: the average value of the three data items is: 1613.

[0171] In some embodiments, in order to facilitate the user to understand the data items selected for data drill-down, after the data items are determined according to the drill-down operation, the selected data items may be highlighted, such as with a highlight light.

[0172] For example, see Figure 8 ,exist Figure 8 In the graphical user interface shown at the bottom, the three data items corresponding to the drill-down operation: 5-05, 5-06, 5-07 corresponding to the rectangular columns are highlighted, so as to prompt the player that the data items 5-05, 5-06, 5-07 are selected for data drill-down.

[0173] 105 . In response to a selection operation on a target drill-down dimension in the drill-down interaction component, update and display a target chart based on the target drill-down dimension.

[0174] The target drill-down dimension refers to the dimension selected by the user for drilling down on the selected data item.

[0175] In some embodiments, in order to facilitate user operations, a drill-down control may be provided in the drill-down interaction component, and the step of "in response to a selection operation on a target drill-down dimension in the drill-down interaction component, updating and displaying a target chart based on the target drill-down dimension" may include the following operations:

[0176] In response to a trigger operation on a drill-down control, displaying a plurality of drill-down dimensions in a drill-down interactive component;

[0177] In response to a trigger operation on a target drill-down dimension among the plurality of drill-down dimensions, a target chart is updated and displayed based on the target drill-down dimension.

[0178] The drill-down control may be used to trigger the display of a drill-down dimension list, and the drill-down dimension list may include multiple drill-down dimensions.

[0179] For example, see Fig. 9 , Fig. 9 A schematic diagram of another application scenario of a diagram processing method provided in an embodiment of the present application. Fig. 9In the graphical user interface shown on the upper side, a drill-down control is displayed in the drill-down interaction component. When a click operation of the user on the drill-down control is detected, a drill-down dimension list may be triggered to be displayed.

[0180] That is to say, Fig. 9 The graphical user interface shown on the lower side displays a drill-down dimension list, in which a prompt "Select a drill-down dimension" is displayed, and multiple drill-down dimensions are displayed, namely: log trigger time, server, role type, role level, role name, etc.

[0181] In some embodiments, when the number of drill-down dimensions in the drill-down dimension list is large, a drop-down list display style may be used to view more drill-down dimensions by sliding the drill-down dimension list.

[0182] Among them, in response to a trigger operation on a target drill-down dimension among multiple drill-down dimensions, updating and displaying a target chart based on the target drill-down dimension may include: detecting a click operation on the target drill-down dimension among the multiple drill-down dimensions, determining to drill down data based on the target drill-down dimension, and then triggering display of a target chart after data drill-down on a graphical user interface.

[0183] For example, see Fig.10 , Fig.10 A schematic diagram of another application scenario of a diagram processing method provided in an embodiment of the present application. Fig.10 In the graphical user interface shown on the upper side, a drill-down dimension list is displayed, and the drill-down dimension list includes multiple drill-down dimensions. When a click operation on the drill-down dimension "role type" is detected, the target drill-down dimension can be determined to be: role type, and then the target chart can be updated according to the role type, and the updated target chart can be displayed.

[0184] That is to say, Fig.10 The graphical user interface shown below displays an updated target chart after drilling down on data based on role type.

[0185] In some embodiments, the step of “updating and displaying a target chart based on a target drill-down dimension” may include the following operations:

[0186] Obtain target data information of at least one data item corresponding to the drill-down operation under a target drill-down dimension;

[0187] Update the displayed content in the target chart according to the target data information.

[0188] Wherein, obtaining target data information of at least one data item corresponding to the drill-down operation under the target drill-down dimension may include: filtering the drilled-down data from the target data according to the target drill-down dimension selected by the user.

[0189] Wherein, updating the display content in the target chart according to the target data information may include: triggering a process of re-rendering and drawing the target chart based on the filtered drill-down data, thereby obtaining an updated target chart.

[0190] In some embodiments, in order to facilitate the user to perform multiple data drill-downs, the method may further include the following steps:

[0191] In response to a data drill-down query operation on a target data item in an updated target chart, determining a new data item and a new drill-down dimension corresponding to the data drill-down query operation;

[0192] Based on the data information of the new data item under the new drill-down dimension, the updated target chart is updated and displayed.

[0193] The data drill-down query operation may include: a drill-down operation on a target data item in an updated target chart, and a selection operation on a drill-down dimension in a new drill-down interactive component drawn according to the drill-down operation.

[0194] The new data item refers to a data item corresponding to the drill-down operation on the target data item in the updated target chart.

[0195] The new drill-down dimension refers to the drill-down dimension determined by the selection operation of the drill-down dimension in the new drill-down interaction component drawn according to the drill-down operation.

[0196] In some embodiments, updating and displaying an updated target chart based on data information of new data items under new drill-down dimensions may include: re-filtering drilled-down data from the target data according to the new drill-down dimensions selected by the user; triggering a process of re-rendering and re-drawing the target chart based on the re-filtered drill-down data, thereby obtaining a new updated target chart.

[0197] For example, see Fig.11 , Fig.11 A schematic diagram of another application scenario of a diagram processing method provided in an embodiment of the present application. Fig.11 In the graphical user interface shown on the upper side, an updated target chart after the first data drill-down is displayed. When a data drill-down query operation on the updated target chart is detected, the target chart can be updated and displayed again.

[0198] That is to say, Fig.11 The graphical user interface shown at the bottom shows the target chart after being updated again.

[0199] In some embodiments, after the user performs multiple data drill-downs, in order to facilitate the user to view the historical data drill-down results, the drill-down history information may be displayed on the graphical user interface, and the method may further include the following steps:

[0200] In response to a trigger operation on a target drill-down history record in at least one drill-down history record, a currently displayed target chart is switched to a chart corresponding to the target drill-down history record.

[0201] The drill-down history information includes at least one drill-down history record.

[0202] For example, see Fig.12 , Fig.12 A schematic diagram of another application scenario of a diagram processing method provided in an embodiment of the present application. Fig.12 The graphical user interface shown on the upper side shows the target chart after the second data drill-down. The graphical user interface also shows drill-down history information, which may include multiple drill-down history records, namely: "initial chart", "first drill-down result", and "second drill-down result".

[0203] Among them, "Initial chart" indicates the initial target chart before data drilling down; "First drill-down result" indicates the target chart updated after the first data drilling down; "Second drill-down result" indicates the target chart updated after the second data drilling down, which can be the currently displayed: new updated target chart.

[0204] Further, when a user click operation on “first drill-down result” is detected, it may trigger updating of the currently displayed target chart to the target chart updated after the first data drill-down.

[0205] That is to say, Fig.12 The graphical user interface shown below shows the updated target chart after the first data drill-down.

[0206] In some embodiments, if the user wants to view the initial target chart without data drill-down after updating the target chart after data drill-down, the user can switch back to displaying the initial target chart without data drill-down by clicking "Initial Chart" in the drill-down history information.

[0207] The embodiment of the present application discloses a chart processing method, which includes: displaying a target chart through a graphical user interface; in response to a drill-down operation on the target chart, obtaining operation position information corresponding to the drill-down operation; determining the target position of the drill-down interactive component to be drawn based on the operation position information; drawing and displaying the drill-down interactive component based on the target position, wherein the drill-down interactive component includes multiple drill-down dimensions; in response to a selection operation on a target drill-down dimension in the drill-down interactive component, updating and displaying the target chart based on the target drill-down dimension. In this way, the user's data drill-down requirements for multiple charts can be met, thereby improving the user's chart usage experience.

[0208] In order to better implement the chart processing method provided in the embodiment of the present application, the embodiment of the present application also provides a chart processing device based on the above chart processing method. The meanings of the terms are the same as those in the above chart processing method, and the specific implementation details can refer to the description in the method embodiment.

[0209] See also Fig.13 , Fig.13 A structural block diagram of a chart processing device provided in an embodiment of the present application, the device comprising:

[0210] A first display unit 301 is used to display a target chart through a graphical user interface;

[0211] A first acquisition unit 302 is configured to, in response to a drill-down operation on the target chart, acquire operation position information corresponding to the drill-down operation;

[0212] A first determining unit 303 is used to determine a target position of a drill-down interaction component to be drawn based on the operation position information;

[0213] A drawing unit 304 is used to draw and display the drill-down interaction component based on the target position, wherein the drill-down interaction component includes multiple drill-down dimensions;

[0214] The first updating unit 305 is configured to update and display the target chart based on the target drill-down dimension in response to a selection operation on the target drill-down dimension in the drill-down interaction component.

[0215] In some embodiments, the target chart includes multiple data items; the first acquisition unit 302 may include:

[0216] The first acquisition subunit is used to obtain the first position coordinates of the end position of the trigger operation on the graphical user interface in response to the trigger operation on at least one data item among the multiple data items, so as to obtain the operation position information.

[0217] In some embodiments, the first determining unit 303 may include:

[0218] A first calculation subunit, configured to calculate a second position coordinate of the target chart on the graphical user interface;

[0219] The first determining subunit is used to determine the third position coordinates of the drill-down interaction component to be drawn on the target chart according to the first position coordinates and the second position coordinates, so as to obtain the target position.

[0220] In some embodiments, the first position coordinates include a first coordinate value on a first coordinate axis in a first coordinate system and a second coordinate value on a second coordinate axis in the first coordinate system, wherein the first coordinate system is a coordinate system corresponding to the graphical user interface; the second position coordinates include a third coordinate value on the first coordinate axis in the first coordinate system and a fourth coordinate value on the second coordinate axis in the second coordinate system;

[0221] The first determining subunit can be specifically used for:

[0222] Calculating a first difference between the first coordinate value and the third coordinate value, and calculating a second difference between the second coordinate value and the fourth coordinate value;

[0223] Determine a fifth coordinate value on the first coordinate axis in a second coordinate system corresponding to the target chart based on the first difference;

[0224] Determine a sixth coordinate value on the second coordinate axis in a second coordinate system corresponding to the target chart based on the second difference;

[0225] Based on the fifth coordinate value and the sixth coordinate value, a third position coordinate of the drill-down interaction component to be drawn on the target chart is obtained.

[0226] In some embodiments, the first determining unit 303 may include:

[0227] A second determining subunit is used to determine, based on the target position, a center point position where the drill-down interaction component is drawn on the target chart;

[0228] A second acquisition subunit is used to acquire a first width and a first height of the drill-down interaction component;

[0229] A third determining subunit is configured to determine a target area corresponding to the drill-down interaction component based on the center point position, the first width, and the first height;

[0230] A drawing subunit is used to draw the drill-down interaction component in the target area.

[0231] In some embodiments, the apparatus may further include:

[0232] a second determining unit, configured to determine whether the target area exceeds a range of the second width based on the target position, the first width, and a second width of the target chart;

[0233] a third determining unit, configured to determine whether the target area exceeds a range of the second height based on the target position, the first height, and the second height of the target chart;

[0234] An adjusting unit is configured to adjust the target area based on the second width and the second height if the target area exceeds a range of the second width and / or exceeds a range of the second height.

[0235] In some embodiments, the drawing subunit may be specifically used for:

[0236] The drill-down interaction component is drawn in the adjusted target area.

[0237] In some embodiments, the apparatus may further include:

[0238] A second acquisition unit, configured to acquire at least one data item corresponding to the drill-down operation in the target chart;

[0239] The fourth determining unit is used to determine target information to be displayed in the drill-down interaction component based on the data information of the at least one data item.

[0240] In some embodiments, the drawing unit 304 may include:

[0241] The drawing subunit is used to draw and display the drill-down interaction component including the target information based on the target position.

[0242] In some embodiments, the drill-down interaction component includes a drill-down control; the first updating unit 305 may include:

[0243] A first display subunit, configured to display a plurality of drill-down dimensions in the drill-down interaction component in response to a trigger operation on the drill-down control;

[0244] The first updating subunit is configured to update and display the target chart based on the target drill-down dimension in response to a triggering operation on the target drill-down dimension among the multiple drill-down dimensions.

[0245] In some embodiments, the first updating unit 305 may include:

[0246] A third acquisition subunit is used to acquire target data information of at least one data item corresponding to the drill-down operation under the target drill-down dimension;

[0247] The second updating subunit is used to update the display content in the target chart according to the target data information.

[0248] In some embodiments, the apparatus may further include:

[0249] A fifth determining unit, configured to determine, in response to a data drill-down query operation on a target data item in the updated target chart, a new data item and a new drill-down dimension corresponding to the data drill-down query operation;

[0250] The second updating unit is configured to update and display the updated target chart based on the data information of the new data item under the new drill-down dimension.

[0251] In some embodiments, the graphical user interface displays drill-down history information, and the drill-down history information includes at least one drill-down history record; the apparatus may further include:

[0252] The switching unit is configured to, in response to a triggering operation on a target drill-down history record in the at least one drill-down history record, switch a currently displayed target chart to a chart corresponding to the target drill-down history record.

[0253] In some embodiments, the first display unit 301 may include:

[0254] a fourth acquisition subunit, configured to, in response to a chart generation request, acquire target data and chart configuration information corresponding to the chart generation request;

[0255] A fifth acquisition subunit, configured to acquire a preset drill-down interaction logic, wherein the drill-down interaction logic is configured to support a data drill-down function of a chart;

[0256] The second display subunit is configured to render and display the target chart on the graphical user interface based on the drill-down interaction logic, the target data, and the chart configuration information.

[0257] In some embodiments, the apparatus may further include:

[0258] A sixth determining unit, configured to determine whether a drill-down function needs to be enabled based on the chart configuration information;

[0259] The execution unit is used to execute the step of obtaining the preset drill-down interaction logic if the drill-down function needs to be enabled.

[0260] The embodiment of the present application discloses a chart processing device, which displays a target chart through a graphical user interface through a first display unit 301; a first acquisition unit 302 obtains operation position information corresponding to the drill-down operation in response to a drill-down operation on the target chart; a first determination unit 303 determines the target position of the drill-down interactive component to be drawn based on the operation position information; a drawing unit 304 draws and displays the drill-down interactive component based on the target position, wherein the drill-down interactive component includes multiple drill-down dimensions; a first update unit 305 responds to a selection operation on a target drill-down dimension in the drill-down interactive component, and updates and displays the target chart based on the target drill-down dimension. In this way, the user's data drill-down requirements for various charts can be met, thereby improving the user's chart usage experience.

[0261] Accordingly, the embodiment of the present application also provides a computer device, which may be a server. Fig.14 As shown, Fig.14 A schematic diagram of the structure of a computer device provided in an embodiment of the present application. The computer device 500 includes a processor 501 having one or more processing cores, a memory 502 having one or more computer-readable storage media, and a computer program stored in the memory 502 and executable on the processor. The processor 501 is electrically connected to the memory 502. It will be understood by those skilled in the art that the computer device structure shown in the figure does not constitute a limitation on the computer device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0262] The processor 501 is the control center of the computer device 500. It uses various interfaces and lines to connect the various parts of the entire computer device 500, executes various functions of the computer device 500 and processes data by running or loading software programs and / or modules stored in the memory 502, and calling data stored in the memory 502, thereby monitoring the computer device 500 as a whole.

[0263] In the embodiment of the present application, the processor 501 in the computer device 500 will load instructions corresponding to the processes of one or more application programs into the memory 502 according to the following steps, and the processor 501 will run the application programs stored in the memory 502 to implement various functions:

[0264] Displaying target charts via a graphical user interface;

[0265] In response to a drill-down operation on a target chart, obtaining operation position information corresponding to the drill-down operation;

[0266] Based on the operation position information, determine the target position of the drill-down interactive component to be drawn;

[0267] Based on the target position, draw and display a drill-down interaction component, wherein the drill-down interaction component includes multiple drill-down dimensions;

[0268] In response to a selection operation on a target drill-down dimension in the drill-down interaction component, a target chart is updated and displayed based on the target drill-down dimension.

[0269] In some embodiments, the target graph includes a plurality of data items;

[0270] In response to a drill-down operation on a target chart, obtaining operation position information corresponding to the drill-down operation includes:

[0271] In response to a trigger operation on at least one of the multiple data items, a first position coordinate of an end position of the trigger operation on the graphical user interface is acquired to obtain operation position information.

[0272] In some embodiments, determining a target position of a drill-down interaction component to be drawn based on the operation position information includes:

[0273] calculating a second position coordinate of the target chart on the graphical user interface;

[0274] According to the first position coordinates and the second position coordinates, the third position coordinates of the drill-down interaction component to be drawn on the target chart are determined to obtain the target position.

[0275] In some embodiments, the first position coordinates include a first coordinate value on a first coordinate axis in a first coordinate system and a second coordinate value on a second coordinate axis in the first coordinate system, wherein the first coordinate system is a coordinate system corresponding to the graphical user interface; the second position coordinates include a third coordinate value on the first coordinate axis in the first coordinate system and a fourth coordinate value on the second coordinate axis in the second coordinate system;

[0276] Determining a third position coordinate of the drill-down interaction component to be drawn on the target chart according to the first position coordinate and the second position coordinate includes:

[0277] Calculating a first difference between the first coordinate value and the third coordinate value, and calculating a second difference between the second coordinate value and the fourth coordinate value;

[0278] Determine a fifth coordinate value on the first coordinate axis in a second coordinate system corresponding to the target chart based on the first difference;

[0279] Determine a sixth coordinate value on the second coordinate axis in a second coordinate system corresponding to the target chart based on the second difference;

[0280] Based on the fifth coordinate value and the sixth coordinate value, a third position coordinate of the drill-down interaction component to be drawn on the target chart is obtained.

[0281] In some embodiments, based on the target location, drawing and displaying a drill-down interaction component includes:

[0282] Based on the target position, determine the center point position of the drill-down interactive component on the target chart;

[0283] Get the first width and the first height of the drill-down interaction component;

[0284] Determine a target area corresponding to the drill-down interaction component based on the center point position, the first width, and the first height;

[0285] Draw a drill-down interaction component in the target area.

[0286] In some embodiments, before drawing the drill-down interaction component in the target area, the method further includes:

[0287] Based on the target position, the first width, and the second width of the target chart, determining whether the target area exceeds the range of the second width;

[0288] Based on the target position, the first height, and the second height of the target chart, determining whether the target area is beyond the range of the second height;

[0289] If the target area is beyond the range of the second width and / or beyond the range of the second height, adjusting the target area based on the second width and the second height;

[0290] Draw drill-down interactive components in the target area, including:

[0291] Draw the drill-down interaction component in the adjusted target area.

[0292] In some embodiments, before drawing and displaying the drill-down interaction component based on the target position, the method further includes:

[0293] Obtain at least one data item corresponding to the drill-down operation in the target chart;

[0294] Determining target information to be displayed in the drill-down interaction component based on data information of at least one data item;

[0295] Based on the target location, draw and display the drill-down interactive components, including:

[0296] Based on the target location, a drill-down interactive component containing target information is drawn and displayed.

[0297] In some embodiments, the drill-down interaction component includes a drill-down control;

[0298] In response to a selection operation on a target drill-down dimension in a drill-down interaction component, updating and displaying a target chart based on the target drill-down dimension includes:

[0299] In response to a trigger operation on a drill-down control, displaying a plurality of drill-down dimensions in a drill-down interactive component;

[0300] In response to a trigger operation on a target drill-down dimension among the plurality of drill-down dimensions, a target chart is updated and displayed based on the target drill-down dimension.

[0301] In some embodiments, updating and displaying a target chart based on a target drill-down dimension includes:

[0302] Obtain target data information of at least one data item corresponding to the drill-down operation under a target drill-down dimension;

[0303] Update the displayed content in the target chart according to the target data information.

[0304] In some embodiments, the method further comprises:

[0305] In response to a data drill-down query operation on a target data item in an updated target chart, determining a new data item and a new drill-down dimension corresponding to the data drill-down query operation;

[0306] Based on the data information of the new data item under the new drill-down dimension, the updated target chart is updated and displayed.

[0307] In some embodiments, the graphical user interface displays drill-down history information, the drill-down history information including at least one drill-down history record;

[0308] The method also includes:

[0309] In response to a trigger operation on a target drill-down history record in at least one drill-down history record, a currently displayed target chart is switched to a chart corresponding to the target drill-down history record.

[0310] In some embodiments, displaying a target chart via a graphical user interface includes:

[0311] In response to the chart generation request, obtaining target data and chart configuration information corresponding to the chart generation request;

[0312] Get the preset drill-down interaction logic, where the drill-down interaction logic is used to support the data drill-down function of the chart;

[0313] The target chart is rendered and displayed in the graphical user interface based on the drill-down interaction logic, target data, and chart configuration information.

[0314] In some embodiments, before obtaining the preset drill-down interaction logic, the method further includes:

[0315] Determine whether to enable the drill-down function based on the chart configuration information;

[0316] If you need to enable the drill-down function, execute the steps to obtain the preset drill-down interaction logic.

[0317] The embodiment of the present application displays the target chart through a graphical user interface, and in response to a drill-down operation on the target chart, obtains the operation position information corresponding to the drill-down operation, and then determines the target position of the drill-down interactive component to be drawn based on the operation position information, and draws and displays the drill-down interactive component based on the target position, wherein the drill-down interactive component includes multiple drill-down dimensions, and finally, in response to a selection operation on the target drill-down dimension in the drill-down interactive component, updates and displays the target chart based on the target drill-down dimension. By detecting the drill-down operation, the drill-down interactive component is custom drawn and displayed according to the position corresponding to the drill-down operation, so that the data drill-down of the target chart is realized based on the operation of the drill-down interactive component, thereby satisfying the user's data drill-down needs for a variety of charts, thereby improving the user's chart usage experience.

[0318] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.

[0319] Optional, such as Fig.14 As shown, the computer device 500 further includes: a touch screen 503, a radio frequency circuit 504, an audio circuit 505, an input unit 506, and a power supply 507. The processor 501 is electrically connected to the touch screen 503, the radio frequency circuit 504, the audio circuit 505, the input unit 506, and the power supply 507, respectively. Those skilled in the art can understand that Fig.14 The computer device structure shown in the figure does not constitute a limitation on the computer device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.

[0320] The touch display screen 503 can be used to display a graphical user interface and receive operation instructions generated by the user acting on the graphical user interface. The touch display screen 503 may include a display panel and a touch panel. Among them, the display panel may be used to display information input by the user or information provided to the user and various graphical user interfaces of the computer device, and these graphical user interfaces may be composed of graphics, guide information, icons, videos and any combination thereof. Optionally, the display panel may be configured in the form of a liquid crystal display (LCD, Liquid Crystal Display), an organic light emitting diode (OLED, Organic Light-Emitting Diode) and the like. The touch panel may be used to collect the user's touch operation on or near it (such as the user using any suitable object or attachment such as a finger, a stylus, etc. on the touch panel or near the touch panel), and generate corresponding operation instructions, and the operation instructions execute corresponding programs. Optionally, the touch panel may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into the touch point coordinates, and then sends it to the processor 501, and can receive the command sent by the processor 501 and execute it. The touch panel can cover the display panel. When the touch panel detects a touch operation on or near it, it is transmitted to the processor 501 to determine the type of touch event, and then the processor 501 provides a corresponding visual output on the display panel according to the type of touch event. In an embodiment of the present application, the touch panel and the display panel can be integrated into the touch display screen 503 to realize the input and output functions. However, in some embodiments, the touch panel and the touch panel can be used as two independent components to realize the input and output functions. That is, the touch display screen 503 can also be used as a part of the input unit 506 to realize the input function.

[0321] The radio frequency circuit 504 may be used to send and receive radio frequency signals, so as to establish wireless communication with a network device or other computer devices through wireless communication, and to send and receive signals between the network device or other computer devices.

[0322] The audio circuit 505 can be used to provide an audio interface between the user and the computer device through a speaker and a microphone. The audio circuit 505 can transmit the electrical signal converted from the received audio data to the speaker, which is converted into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit 505 and converted into audio data, and then the audio data is output to the processor 501 for processing, and then sent to another computer device through the radio frequency circuit 504, or the audio data is output to the memory 502 for further processing. The audio circuit 505 may also include an earphone jack to provide communication between an external headset and the computer device.

[0323] The input unit 506 may be used to receive input numbers, character information or user feature information (such as fingerprint, iris, facial information, etc.), and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.

[0324] The power supply 507 is used to supply power to various components of the computer device 500. Optionally, the power supply 507 can be logically connected to the processor 501 through a power management system, so that the power management system can manage charging, discharging, and power consumption. The power supply 507 can also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators, and other arbitrary components.

[0325] although Fig.14 Not shown, the computer device 500 may also include a camera, a sensor, a wireless fidelity module, a Bluetooth module, etc., which will not be described in detail here.

[0326] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0327] As can be seen from the above, the computer device provided by this embodiment can display a target chart through a graphical user interface; in response to a drill-down operation on the target chart, obtain operation position information corresponding to the drill-down operation; based on the operation position information, determine the target position of the drill-down interaction component to be drawn; based on the target position, draw and display the drill-down interaction component, wherein the drill-down interaction component includes multiple drill-down dimensions; in response to a selection operation on a target drill-down dimension in the drill-down interaction component, update and display the target chart based on the target drill-down dimension.

[0328] A person of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.

[0329] To this end, an embodiment of the present application provides a computer-readable storage medium, in which multiple computer programs are stored, and the computer program can be loaded by a processor to execute the steps in any of the chart processing methods provided in the embodiments of the present application. For example, the computer program can execute the following steps:

[0330] Displaying target charts via a graphical user interface;

[0331] In response to a drill-down operation on a target chart, obtaining operation position information corresponding to the drill-down operation;

[0332] Based on the operation position information, determine the target position of the drill-down interactive component to be drawn;

[0333] Based on the target position, draw and display a drill-down interaction component, wherein the drill-down interaction component includes multiple drill-down dimensions;

[0334] In response to a selection operation on a target drill-down dimension in the drill-down interaction component, a target chart is updated and displayed based on the target drill-down dimension.

[0335] In some embodiments, the target graph includes a plurality of data items;

[0336] In response to a drill-down operation on a target chart, obtaining operation position information corresponding to the drill-down operation includes:

[0337] In response to a trigger operation on at least one of the multiple data items, a first position coordinate of an end position of the trigger operation on the graphical user interface is acquired to obtain operation position information.

[0338] In some embodiments, determining a target position of a drill-down interaction component to be drawn based on the operation position information includes:

[0339] calculating a second position coordinate of the target chart on the graphical user interface;

[0340] According to the first position coordinates and the second position coordinates, the third position coordinates of the drill-down interaction component to be drawn on the target chart are determined to obtain the target position.

[0341] In some embodiments, the first position coordinates include a first coordinate value on a first coordinate axis in a first coordinate system and a second coordinate value on a second coordinate axis in the first coordinate system, wherein the first coordinate system is a coordinate system corresponding to the graphical user interface; the second position coordinates include a third coordinate value on the first coordinate axis in the first coordinate system and a fourth coordinate value on the second coordinate axis in the second coordinate system;

[0342] Determining a third position coordinate of the drill-down interaction component to be drawn on the target chart according to the first position coordinate and the second position coordinate includes:

[0343] Calculating a first difference between the first coordinate value and the third coordinate value, and calculating a second difference between the second coordinate value and the fourth coordinate value;

[0344] Determine a fifth coordinate value on the first coordinate axis in a second coordinate system corresponding to the target chart based on the first difference;

[0345] Determine a sixth coordinate value on the second coordinate axis in a second coordinate system corresponding to the target chart based on the second difference;

[0346] Based on the fifth coordinate value and the sixth coordinate value, a third position coordinate of the drill-down interaction component to be drawn on the target chart is obtained.

[0347] In some embodiments, based on the target location, drawing and displaying a drill-down interaction component includes:

[0348] Based on the target position, determine the center point position of the drill-down interactive component on the target chart;

[0349] Get the first width and the first height of the drill-down interaction component;

[0350] Determine a target area corresponding to the drill-down interaction component based on the center point position, the first width, and the first height;

[0351] Draw a drill-down interaction component in the target area.

[0352] In some embodiments, before drawing the drill-down interaction component in the target area, the method further includes:

[0353] Based on the target position, the first width, and the second width of the target chart, determining whether the target area exceeds the range of the second width;

[0354] Based on the target position, the first height, and the second height of the target chart, determining whether the target area is beyond the range of the second height;

[0355] If the target area is beyond the range of the second width and / or beyond the range of the second height, adjusting the target area based on the second width and the second height;

[0356] Draw drill-down interactive components in the target area, including:

[0357] Draw the drill-down interaction component in the adjusted target area.

[0358] In some embodiments, before drawing and displaying the drill-down interaction component based on the target position, the method further includes:

[0359] Obtain at least one data item corresponding to the drill-down operation in the target chart;

[0360] Determining target information to be displayed in the drill-down interaction component based on data information of at least one data item;

[0361] Based on the target location, draw and display the drill-down interactive components, including:

[0362] Based on the target location, a drill-down interactive component containing target information is drawn and displayed.

[0363] In some embodiments, the drill-down interaction component includes a drill-down control;

[0364] In response to a selection operation on a target drill-down dimension in a drill-down interaction component, updating and displaying a target chart based on the target drill-down dimension includes:

[0365] In response to a trigger operation on a drill-down control, displaying a plurality of drill-down dimensions in a drill-down interactive component;

[0366] In response to a trigger operation on a target drill-down dimension among the plurality of drill-down dimensions, a target chart is updated and displayed based on the target drill-down dimension.

[0367] In some embodiments, updating and displaying a target chart based on a target drill-down dimension includes:

[0368] Obtain target data information of at least one data item corresponding to the drill-down operation under a target drill-down dimension;

[0369] Update the displayed content in the target chart according to the target data information.

[0370] In some embodiments, the method further comprises:

[0371] In response to a data drill-down query operation on a target data item in an updated target chart, determining a new data item and a new drill-down dimension corresponding to the data drill-down query operation;

[0372] Based on the data information of the new data item under the new drill-down dimension, the updated target chart is updated and displayed.

[0373] In some embodiments, the graphical user interface displays drill-down history information, the drill-down history information including at least one drill-down history record;

[0374] The method also includes:

[0375] In response to a trigger operation on a target drill-down history record in at least one drill-down history record, a currently displayed target chart is switched to a chart corresponding to the target drill-down history record.

[0376] In some embodiments, displaying a target chart via a graphical user interface includes:

[0377] In response to the chart generation request, obtaining target data and chart configuration information corresponding to the chart generation request;

[0378] Get the preset drill-down interaction logic, where the drill-down interaction logic is used to support the data drill-down function of the chart;

[0379] The target chart is rendered and displayed in the graphical user interface based on the drill-down interaction logic, target data, and chart configuration information.

[0380] In some embodiments, before obtaining the preset drill-down interaction logic, the method further includes:

[0381] Determine whether to enable the drill-down function based on the chart configuration information;

[0382] If you need to enable the drill-down function, execute the steps to obtain the preset drill-down interaction logic.

[0383] The embodiment of the present application displays the target chart through a graphical user interface, and in response to a drill-down operation on the target chart, obtains the operation position information corresponding to the drill-down operation, and then determines the target position of the drill-down interactive component to be drawn based on the operation position information, and draws and displays the drill-down interactive component based on the target position, wherein the drill-down interactive component includes multiple drill-down dimensions, and finally, in response to a selection operation on the target drill-down dimension in the drill-down interactive component, updates and displays the target chart based on the target drill-down dimension. By detecting the drill-down operation, the drill-down interactive component is custom drawn and displayed according to the position corresponding to the drill-down operation, so that the data drill-down of the target chart is realized based on the operation of the drill-down interactive component, thereby satisfying the user's data drill-down needs for a variety of charts, thereby improving the user's chart usage experience.

[0384] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.

[0385] The storage medium may include: a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0386] Since the computer program stored in the storage medium can execute the steps in any one of the chart processing methods provided in the embodiments of the present application, the beneficial effects that can be achieved by any one of the chart processing methods provided in the embodiments of the present application can be achieved. Please refer to the previous embodiments for details and will not be repeated here.

[0387] The above is a detailed introduction to a chart processing method, device, storage medium and computer equipment provided in the embodiments of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. At the same time, for technical personnel in this field, according to the ideas of the present application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A chart processing method, It is characterized in that The method comprises: Displaying target charts via a graphical user interface; In response to a drill-down operation on the target chart, acquiring operation position information corresponding to the drill-down operation; Based on the operation position information, determining a target position of a drill-down interaction component to be drawn; Based on the target position, drawing and displaying the drill-down interaction component, wherein the drill-down interaction component includes a plurality of drill-down dimensions; In response to a selection operation on a target drill-down dimension in the drill-down interaction component, the target chart is updated and displayed based on the target drill-down dimension.

2. The method according to claim 1, It is characterized in that The target chart includes a plurality of data items; The step of obtaining, in response to a drill-down operation on the target chart, operation position information corresponding to the drill-down operation includes: In response to a trigger operation on at least one of the multiple data items, a first position coordinate of an end position of the trigger operation on the graphical user interface is acquired to obtain the operation position information.

3. The method according to claim 2, It is characterized in that The determining, based on the operation position information, a target position of the drill-down interaction component to be drawn includes: Calculating second position coordinates of the target chart on the graphical user interface; According to the first position coordinates and the second position coordinates, a third position coordinate of the drill-down interaction component to be drawn on the target chart is determined to obtain the target position.

4. The method according to claim 3, It is characterized in that The first position coordinates include a first coordinate value on a first coordinate axis in a first coordinate system and a second coordinate value on a second coordinate axis in the first coordinate system, wherein the first coordinate system is a coordinate system corresponding to the graphical user interface; the second position coordinates include a third coordinate value on the first coordinate axis in the first coordinate system and a fourth coordinate value on the second coordinate axis in the second coordinate system; The determining, according to the first position coordinates and the second position coordinates, a third position coordinate of the drill-down interaction component to be drawn on the target chart includes: Calculating a first difference between the first coordinate value and the third coordinate value, and calculating a second difference between the second coordinate value and the fourth coordinate value; Determine a fifth coordinate value on the first coordinate axis in a second coordinate system corresponding to the target chart based on the first difference; Determine a sixth coordinate value on the second coordinate axis in a second coordinate system corresponding to the target chart based on the second difference; Based on the fifth coordinate value and the sixth coordinate value, a third position coordinate of the drill-down interaction component to be drawn on the target chart is obtained.

5. The method according to claim 1, It is characterized in that Drawing and displaying the drill-down interaction component based on the target position includes: Based on the target position, determining a center point position where the drill-down interaction component is drawn on the target chart; Obtaining a first width and a first height of the drill-down interaction component; Determine a target area corresponding to the drill-down interaction component based on the center point position, the first width, and the first height; The drill-down interaction component is drawn in the target area.

6. The method according to claim 5, It is characterized in that Before drawing the drill-down interaction component in the target area, the method further includes: Based on the target position, the first width, and a second width of the target chart, determining whether the target area exceeds a range of the second width; Based on the target position, the first height, and a second height of the target chart, determining whether the target area is beyond the range of the second height; If the target area is beyond the range of the second width and / or beyond the range of the second height, adjusting the target area based on the second width and the second height, and drawing the drill-down interaction component in the target area, includes: The drill-down interaction component is drawn in the adjusted target area.

7. The method according to claim 1, It is characterized in that Before drawing and displaying the drill-down interaction component based on the target position, the method further includes: Acquire at least one data item corresponding to the drill-down operation in the target chart; Based on the data information of the at least one data item, determining target information to be displayed in the drill-down interaction component; Drawing and displaying the drill-down interaction component based on the target position includes: Based on the target position, a drill-down interaction component including the target information is drawn and displayed.

8. The method according to claim 1, It is characterized in that The drill-down interaction component includes a drill-down control; In response to a selection operation on a target drill-down dimension in the drill-down interaction component, updating and displaying the target chart based on the target drill-down dimension includes: In response to a trigger operation on the drill-down control, displaying a plurality of drill-down dimensions in the drill-down interaction component; In response to a trigger operation on the target drill-down dimension among the plurality of drill-down dimensions, the target chart is updated and displayed based on the target drill-down dimension.

9. The method according to claim 1, It is characterized in that The updating and displaying of the target chart based on the target drill-down dimension includes: Acquire target data information of at least one data item corresponding to the drill-down operation under the target drill-down dimension; Update the display content in the target chart according to the target data information.

10. The method according to claim 1, It is characterized in that The method further comprises: In response to a data drill-down query operation on a target data item in an updated target chart, determining a new data item and a new drill-down dimension corresponding to the data drill-down query operation; Based on the data information of the new data item under the new drill-down dimension, the updated target chart is updated and displayed.

11. The method according to claim 1, It is characterized in that The graphical user interface displays drill-down history information, wherein the drill-down history information includes at least one drill-down history record; The method further comprises: In response to a trigger operation on a target drill-down history record in the at least one drill-down history record, a currently displayed target chart is switched to a chart corresponding to the target drill-down history record.

12. The method according to claim 1, It is characterized in that The displaying of the target chart through the graphical user interface comprises: In response to a chart generation request, obtaining target data and chart configuration information corresponding to the chart generation request; Obtaining a preset drill-down interaction logic, wherein the drill-down interaction logic is used to support a data drill-down function of a chart; The target chart is rendered and displayed on the graphical user interface based on the drill-down interaction logic, the target data, and the chart configuration information.

13. The method according to claim 12, It is characterized in that Before obtaining the preset drill-down interaction logic, it also includes: Determine whether to enable the drill-down function based on the chart configuration information; If the drill-down function needs to be enabled, the step of obtaining the preset drill-down interaction logic is performed.

14. A diagram processing device, It is characterized in that The device comprises: A first display unit, configured to display a target chart via a graphical user interface; A first acquisition unit, configured to, in response to a drill-down operation on the target chart, acquire operation position information corresponding to the drill-down operation; A first determining unit, configured to determine a target position of a drill-down interactive component to be drawn based on the operation position information; A drawing unit, configured to draw and display the drill-down interaction component based on the target position, wherein the drill-down interaction component includes a plurality of drill-down dimensions; The first updating unit is configured to update and display the target chart based on the target drill-down dimension in response to a selection operation on the target drill-down dimension in the drill-down interaction component.

15. A computer device comprising a memory, a processor and a computer program stored in the memory and running on the processor, in, When the processor executes the program, the chart processing method according to any one of claims 1 to 13 is implemented.

16. A storage medium, It is characterized in that The storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor to execute the chart processing method according to any one of claims 1 to 13.