CN114935997A - Chart interaction method and electronic equipment - Google Patents

Chart interaction method and electronic equipment Download PDF

Info

Publication number
CN114935997A
CN114935997A CN202210435117.7A CN202210435117A CN114935997A CN 114935997 A CN114935997 A CN 114935997A CN 202210435117 A CN202210435117 A CN 202210435117A CN 114935997 A CN114935997 A CN 114935997A
Authority
CN
China
Prior art keywords
data point
data
chart
user
point
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210435117.7A
Other languages
Chinese (zh)
Other versions
CN114935997B (en
Inventor
王佳琪
佟婷娜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba China Co Ltd
Original Assignee
Alibaba China Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba China Co Ltd filed Critical Alibaba China Co Ltd
Priority to CN202210435117.7A priority Critical patent/CN114935997B/en
Publication of CN114935997A publication Critical patent/CN114935997A/en
Application granted granted Critical
Publication of CN114935997B publication Critical patent/CN114935997B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3438Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment monitoring of user actions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3466Performance evaluation by tracing or monitoring
    • G06F11/3476Data logging
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3466Performance evaluation by tracing or monitoring
    • G06F11/349Performance evaluation by tracing or monitoring for interfaces, buses
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2457Query processing with adaptation to user needs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/248Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/26Visual data mining; Browsing structured data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0485Scrolling or panning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0486Drag-and-drop
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/60Editing figures and text; Combining figures or text

Abstract

The embodiment of the application provides a chart interaction method and electronic equipment. The method comprises the following steps: in response to a first operation of a user on a chart, monitoring a first operation position; when the distance between the first operation position and a data point on the chart is smaller than a threshold value, the data point is taken as a selected first data point; responding to a second operation of the user on the chart, and monitoring an operation track; determining at least one second data point of the operation track passing through on the graph; performing graph data analysis based on the first data point and the at least one second data point to obtain analysis information; the analysis information is displayed on a graph. According to the scheme provided by the embodiment of the application, the operation of the user does not need to be accurately positioned to the data point, and the data point can be automatically adsorbed as long as the operation enters the threshold range of the data point, so that the operation of the user is facilitated; the convenience brought by the function is more prominent particularly on graphs with dense data points and complex data points. In addition, the data analysis response is fast, and visual and clear.

Description

Chart interaction method and electronic equipment
Technical Field
The present application relates to the field of computer technologies, and in particular, to a chart interaction method and an electronic device.
Background
With the continuous deepening of the big data era and the large and complex data volume, users urgently need imaging tools to analyze and reveal information in the data. Due to the characteristics that the chart can analyze and describe various attributes (such as timeliness and numerosity) of data visually and vividly, the chart is widely applied to the field of data analysis.
The data is converted into a visual graphical chart, so that the rules hidden behind the data are easier to find. Such as a high dimensional data chart as shown in fig. 1. Too compact display of high-dimensional data lacks emphasis, and is prone to target loss for analysts. Static displays do not satisfy the focusing and contrasting intentions, and analysts often need to spend a long time in repeatedly contrasting queries between charts.
Disclosure of Invention
In view of the above, the present application provides a chart interaction method and an electronic device that solve the above problems, or at least partially solve the above problems.
In one embodiment of the present application, a diagram interaction method is provided. The method comprises the following steps:
monitoring a first operation position in response to a first operation of a user on a chart;
when the distance from the first operating position to a data point on the chart is less than a threshold value, the data point is taken as a selected first data point;
monitoring an operation track in response to a second operation of the user on the chart;
determining at least one second data point of the operation track passing through the graph;
performing graph data analysis based on the first data point and the at least one second data point to obtain analysis information;
displaying the analysis information on the graph.
In another embodiment of the present application, a polar chart interaction method is provided. The method comprises the following steps:
in response to a fourth operation of the user on the polar coordinate chart, determining a central angle, a first radial dimension and a second radial dimension;
displaying on the chart an annular or fan-annular metrology zone with an operable metrology ruler in accordance with the central angle, the first radial dimension and the second radial dimension; wherein the range of the area of the metrology section is changeable by operating the operable metrology ruler;
and processing the data points in the measuring area to display the processing result on the polar coordinate chart in response to a processing instruction triggered by a user aiming at the measuring area.
In yet another embodiment of the present application, a diagram interaction method is provided. The method comprises the following steps:
responding to the operation of a user on the chart, and determining an operation position;
determining whether there are data points around the operating location that are less than a threshold distance;
if data points with the distance smaller than the threshold value exist around the operation position, determining the interaction intention of the user as data point comparison; taking the data point as a selected first data point, determining at least one second data point based on subsequent operation of a user, and performing data point comparison analysis according to the first data point and the at least one second data point;
if no data point with a distance smaller than the threshold value exists around the operation position, determining that the interaction intention is data focusing; and selecting a starting point by taking the first operation position as a measurement area, determining the measurement area based on subsequent operation of a user, and carrying out data focusing related processing on data points in the measurement area.
In yet another embodiment of the present application, an electronic device is provided. The electronic device includes: a processor and a memory; wherein the memory is to store one or more computer instructions; the processor, coupled with the memory, is configured to execute the one or more computer instructions to implement the steps in the above-described method embodiments.
The embodiment of the application also provides a computer program product. The computer program product comprises a computer program which, when executed by a computer, causes the computer to perform the steps of the above-described chart interaction method embodiments.
In one technical scheme provided by the embodiment of the application, when a user operates on a graph, the operation position is monitored in real time, if the first operation position operated by the user is monitored, and the distance between the first operation position and a data point on the graph is smaller than a threshold value, the data point is used as a selected first data point, namely the data point is not required to be accurately positioned by the user, and the data point can be automatically adsorbed as long as the data point enters the threshold range of the data point, so that the user can conveniently operate; the convenience brought by the function is more prominent particularly on graphs with more dense and complex data points. In addition, according to the technical scheme provided by the embodiment of the application, at least one second data point can be determined according to the operation track operated by the user, corresponding chart data analysis is executed based on the first data point and the at least one second data point, the analysis information is displayed on the chart in real time, and the data analysis response is fast, intuitive and clear; the user can conveniently and quickly obtain the relationship between the chart data points and the connotation information between the data.
In another technical solution provided in the embodiment of the present application, a user may determine a sector-shaped or annular metrology area on a polar coordinate chart, and then perform chart data analysis based on data points in the sector-shaped or annular metrology area; and displays the analysis information on the polar coordinate chart. Compared with the prior art that only a sector area in a polar coordinate diagram can be selected, the scheme provided by the embodiment of the application can enable a user to flexibly determine the shape, the size and the like of a measurement area on the diagram, so that data points required by the user can be selected and analyzed more accurately, the expectation of the user is better met, and the user experience is good.
In another technical solution provided by the embodiment of the present application, the interaction intention of the user is determined by whether there are data points whose distance around the operation position operated by the user on the graph is smaller than a threshold. When data points with the distance smaller than the threshold value exist around the operation position, determining the interaction intention of the user as data point comparison; and then, taking the data point as a selected first data point, determining at least one second data point based on subsequent operation of a user, and performing data point comparison analysis according to the first data point and the at least one second data point. Determining that the user's interaction intent is data focus when there are no data points around the operational location having a distance less than the threshold; and selecting a starting point by taking the first operation position as a measurement area, determining the measurement area based on subsequent operation of a user, and carrying out data focusing related processing on data points in the measurement area. Therefore, according to the method and the device, the chart interaction intention of the user can be automatically sensed through the operation of the user, corresponding analysis or processing can be timely carried out according to the interaction intention of the user, the intelligent degree is high, and the interaction experience is good.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a schematic diagram of a high dimensional data chart;
FIG. 2a is a schematic diagram of an embodiment of a Cartesian coordinate diagram;
FIG. 2b is a schematic diagram of an embodiment of a polar diagram;
FIG. 3 is a flowchart illustrating a chart interaction method according to an embodiment of the present application;
FIG. 4a is a diagram illustrating a first state of a user operation on a chart according to an embodiment of the present application;
FIG. 4b is a diagram illustrating a second state of a user operating on a chart according to an embodiment of the present application;
FIG. 4c is a diagram illustrating a third state of a user operating on a chart according to an embodiment of the present application;
FIG. 4d is a diagram illustrating a fourth state of user operations on a graph according to an embodiment of the present application;
FIG. 5a is a diagram illustrating a fifth state of user operations on a chart according to an embodiment of the present application;
FIG. 5b is a sixth state diagram illustrating a user operating on a chart according to an embodiment of the present application;
FIG. 6 is a schematic diagram illustrating a user operating process on a polar diagram according to an embodiment of the present application;
FIG. 7 is a flowchart illustrating a chart interaction method according to another embodiment of the present application;
FIG. 8a is a schematic view of an annular metrology area on a polar plot provided in accordance with one embodiment of the present application;
FIG. 8b is a schematic view of a sector-annular metrology area on a polar coordinate chart as provided by one embodiment of the present application;
FIG. 9 is a flowchart illustrating a chart interaction method according to yet another embodiment of the present application;
FIG. 10 is a block diagram of a diagramming apparatus according to an embodiment of the present application;
FIG. 11 is a block diagram of a diagramming apparatus according to another embodiment of the present application;
FIG. 12 is a block diagram of a diagramming apparatus according to another embodiment of the present application;
fig. 13 is a block diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The graph in the present document refers to a graphic structure displayed on a display interface, which can visually display data statistics information attributes (such as timeliness, quantitivity, and the like) and play a key role in data knowledge mining and data information visual and vivid feeling. The user can more intuitively and conveniently check the key information through the chart. The types of charts have diversity, such as cartesian coordinate charts, e.g., bar charts, line charts, bar charts, etc.; polar diagrams such as radar charts, rose charts, runway charts, and the like; shaftless charts, such as pie charts and the like. Each of the charts generally has a plurality of chart elements that reflect data information and text for explaining the chart to facilitate understanding. Wherein, chart elements may include, but are not limited to, columns, blocks, points, line segments, etc. in the chart. The text may include, but is not limited to: title text, text associated with chart elements (also called data flags or data tags). The user can quickly know the category, the data amount, the percentage and the like corresponding to the data reflected by the chart element through the text associated with the chart element.
A cartesian coordinate diagram as shown in fig. 2a, a diagram is generally composed of several main parts of diagram area, drawing area, diagram elements (such as data series, data points, legends, coordinate axes, etc.) reflecting data information, and text. Specifically, the chart region refers to the entire chart. The drawing area is a part of a graph area, and in the two-dimensional cartesian coordinate graph shown in fig. 2a, the drawing area is a rectangular area bounded by two coordinate axes, a vertical coordinate axis (i.e., Y axis) and a horizontal coordinate axis (i.e., X axis), and including a graduation line. The data series is a set of data points, the data series belonging to the same legend are all represented in the same shape, color or pattern in the graph, and the data series corresponding to the section # # # # # district 1 shown in fig. 2a are all represented in medium gray. The figure is used to explain the data series. The legend is positioned at the edge of the chart and consists of a plurality of small items, each small item represents a mapping relation between the chart and the content, so that the user can quickly clarify the meaning of each data series through the legend. Data points, a data point is a specific numerical value in a cell in an electronic worksheet (e.g., Excel), and is displayed in a graph as a rectangle, a line, a column, a sector, or other shapes. For example, each cylinder in the Cartesian coordinate diagram shown in FIG. 2a is a data point. And the coordinate axis is used for representing the data dimension corresponding to the data presented by the chart, and has the functions of classifying and measuring the data. For example, the graph shown in fig. 2a has two coordinate axes, an X-axis (also called a classification axis) for classifying data and a Y-axis (also called a numerical axis) for measuring data.
It should be noted that, besides the components such as the chart region, the drawing region, the data series, the legend, the data points, the coordinate axes, and the text (including numerical text and character text) shown above, a chart may also include other components, such as grid lines, error lines, trend lines, chart titles, and the like, which are not described herein again.
Fig. 2b shows an example of a radar map, which belongs to one of the polar diagrams. In the polar coordinate diagram shown in fig. 2b, a plurality of classification axes, such as turnover rate, stock shortage rate, accuracy rate, score, proportion and punctuality rate, are uniformly distributed at an equal angle around the outer circumference. The circles with different diameters are measurement axes and are used for measuring values of different data points. In fig. 2b, the values of the multiple data points in the same legend are classified in the corresponding classification axes, forming the polygon in fig. 2 b.
The diagrams shown in fig. 1, 2a and 2b allow a user to see the diagrams to generally understand the information of the data content. For example, the trend of the data, the general difference between the data and the legends, etc. can be visually seen from fig. 2 a. FIG. 2b can visually see if "my performance" is balanced in all aspects. FIG. 1 is complex and dense, and lacks emphasis, and it is difficult to see content information between data. Although some information can be seen in fig. 2a and 2b, the specific differences, such as # # # # zone 1, how much the second quarter is increased compared to the first quarter, how much the fourth quarter of 2 is increased compared to the third quarter, etc., cannot be seen visually. In fig. 1, if only data of a certain legend or part of a legend is focused, or only data of a certain time interval is focused. In response to these needs, it is necessary to provide a corresponding interactive function for the chart, so that the user can know the data information he wants to know through interaction.
Therefore, the technical scheme is convenient to interact, high in intelligent degree and convenient for a user to deeply mine information between data points on the chart. In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Some of the flows described in the specification, claims, and figures of the present application include operations that occur in a particular order, which may be performed out of order or in parallel as they occur herein. The sequence numbers of the operations, e.g., 101, 102, etc., are used merely to distinguish between the various operations, and do not represent any order of execution per se. Additionally, the flows may include more or fewer operations, and the operations may be performed sequentially or in parallel. It should be noted that, the descriptions of "first", "second", etc. in this document are used for distinguishing different operations, devices, modules, etc., and do not represent a sequential order, nor limit the types of "first" and "second" to be different. In addition, the embodiments described below are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments obtained by a person skilled in the art based on the embodiments in the present application without making any creative effort belong to the protection scope of the present application.
The graph interaction method provided by the embodiments of the application provides an interaction analysis technology for visualizing a graph, and a user can select a range of interest on the graph to perform certain analysis on data within the range, and/or select data points to be compared to perform comparison, and/or select local data points to be focused to perform analysis, and the like, based on an interaction function provided by the graph. The polar coordinate chart and the cartesian coordinate chart are used as examples for illustration, but the present disclosure is not limited to these two types of charts, and the present disclosure provides the solutions without limiting the types of charts.
Wherein the polar coordinate diagram is a diagram using a polar coordinate system. The polar coordinate system is a two-dimensional coordinate system. Any position in the coordinate system can be represented by an angle and a distance from the origin to the pole. The angles and radii of the polar coordinate system may be used in the visualization to map different data dimensions. The representative graphs are: rose diagrams, radar diagrams, etc. Cartesian coordinate charts, such as XY coordinate charts, multiaxis charts (e.g., X-axis, two Y-axis charts). Wherein each Y-axis in the multi-axis diagram represents a different data dimension. The Y axis on the left side as in fig. 1 is GMV (gross merchandisc Volume); the right Y-axis is the "target finished deviation ratio".
The technical solution provided by the present application will be explained below.
Fig. 3 is a flowchart illustrating a chart interaction method according to an embodiment of the present application. The execution main body of the graph interaction method provided by the embodiment of the application is an electronic device with data processing logic, the electronic device can be any terminal device such as a mobile phone, a tablet computer, an intelligent wearable device and the like, and the embodiment of the application is not particularly limited in this respect. As shown in fig. 3, the chart display method provided in this embodiment includes the following steps:
101. in response to a first operation of a user on a chart, a first operation position is monitored.
102. And when the distance between the first operation position and a data point on the chart is smaller than a threshold value, the data point is taken as a selected first data point.
103. And monitoring an operation track in response to a second operation of the user on the chart.
104. And determining at least one second data point of the operation track passing through the chart.
105. And performing graph data analysis to obtain analysis information based on the first data point and the at least one second data point.
106. Displaying the analysis information on the graph.
In the above 101, the first operation may be a moving operation or a clicking operation of the user on the chart display interface by using a mouse or a touch screen. If the first operation is a move + click confirmation operation, the first operation position may be a position where a click operation is triggered after the mouse hovers during the process of moving the mouse by the user. Namely, when the user stops in the moving operation process and the user triggers the click operation, the current stop position can be recorded as the first operation position. If the first operation is a click operation, the first operation position may be determined based on a position where a user operates a mouse click or a position where the user touches the touch screen. The first manipulation position may be a coordinate position of the user's manipulation in the graph coordinate system.
In 102, the threshold may be determined based on the size of the graph, the concentration of data points on the graph, and the like. The threshold may be set smaller if the concentration of data points on the graph is high. The threshold may be set larger if the concentration of data points on the graph is low. Such as the graph shown in fig. 1, the threshold may be set smaller.
In a possible case, if there are multiple data points with a distance smaller than the threshold around the first operation position, multiple data points with a distance smaller than the threshold may all be taken as candidate points, and candidate prompt identifiers are displayed on the multiple candidate points, and a user may select a first data point from the multiple candidate points by clicking a prompt identifier corresponding to a certain candidate point. For example, the candidate hint identifier may be a flashing circle identifier displayed at the candidate point on the graph, or a dynamically changing size identifier, etc., to highlight the candidate points for selection by the user. The embodiment does not limit the specific style of the candidate prompt identifier.
In this embodiment, when a user operates on a graph, the operation position is monitored in real time, and if the first operation position operated by the user is monitored and the distance from the first operation position to a data point on the graph is smaller than a threshold, the data point is used as a selected first data point, that is, the user does not need to accurately position the data point in the operation process, and the data point can be automatically adsorbed as long as the user enters the threshold range of the data point, so that the user can conveniently operate the data point; the convenience brought by the function is more prominent particularly on graphs with dense data points and complex data points.
In 103, the second operation may be a moving operation on the graph display interface using a mouse, or a sliding operation on the touch screen by the user.
In the above 104, the data points where the distance traveled along the operation trajectory is smaller than the threshold may all be regarded as the second data points; data points around the hover position in the move operation for which the distance is less than the threshold may also be taken as second data points; and the like, which is not limited by the present embodiment.
As shown in fig. 4a to 4d, the operation trajectory of the moving operation of the user on the display interface of the chart is shown by the dotted line in each figure. As shown in fig. 4b, the data point corresponding to the user movement operation hover position whose distance is less than the threshold value is "date: 2021/01/15, respectively; the actual sales amount is 4096.8 ", and" selected reminder logo "is displayed at this data point as" ● "in the figure.
Here, it should be noted that: the measurement units are not shown in the graphs herein, which is not limited by the embodiment. As an exemplary graph, the measure of sales in the graph may be: yuan, ten thousand yuan, etc., the measure units of the inventory may be: pieces, weight, boxes, etc.
In a specific embodiment, the step 105 "performing the graph data analysis based on the first data point and the at least one second data point" may include the steps of:
1051. and when the operation track passes through a second data point, executing chart data analysis according to the first data point and the second data point to obtain analysis information.
In specific implementation, the first data point and the second data point can be compared, and the comparison result is used as analysis information. The analysis information may further include information of the first data point and information of the second data point, such as legend information and value information to which the first data point belongs; the second data point belongs to legend information, value information, and so on. Referring to fig. 4b, the first data point is "date: 2021/01/13, respectively; the actual sales was 9099.1 ", the second data point was" date: 2021/01/15; the actual sales were 4096.8 ", and the alignment results obtained by alignment were" -5002.3 ", the values shown in parentheses in the figure.
1052. And when the operation track passes through two or more second data points, executing chart data analysis according to the passing sequence of the operation track and the first data points and the second data points in the corresponding sequence in sequence to obtain a plurality of analysis information.
For example, if the operation trajectory of the user is the trajectory corresponding to the consecutive movement operations shown in fig. 4b, 4c and 4d, the first data point and the second data point in the corresponding sequence can be compared in sequence. When the user's operation moves to the first sequential second data point "date: 2021/01/15, respectively; when the actual sales was 4096.8 ", the" actual sales of 9099.1 "in the first data point was compared to the" actual sales of 4096.8 "in the second data point of the first order, yielding" -5002.3 ". The user then proceeds to the second data point "date" in the second order as in fig. 4 c: 2021/01/14, respectively; when the planned sales is 2873.4 ", the" actual sales of 9099.1 "in the first data point is compared with the" planned sales of 2873.4 "in the second data point of the second order, resulting in" -6225.7 ". Again, the user continues to operate to the third sequential second data point date as in fig. 4 d: 2021/01/16, respectively; when the actual sales was 7918.2 ", the" actual sales of 9099.1 "in the first data point was compared to the" actual sales of 7918.2 "in the second data point of the third order, yielding" -1181.0 ".
In the above step 1052, the first data points are individually compared with the second data points in the corresponding sequence to obtain a plurality of analysis information (e.g. the comparison difference between the first data points and the second data points). In addition to individual alignments, chart data analysis may also be performed based on the first data point and the second data point of the track sequential accumulation approach. That is, step 105 of this embodiment may further include step 1053:
1053. and when the operation track passes through two or more second data points, according to the passing sequence of the operation track, sequentially performing chart data analysis according to the first data points and the second data points of the corresponding sequence accumulation path to obtain a plurality of analysis information.
The operation trajectory is dynamic, and the operation trajectory will follow a path that conforms to a second data point having a distance less than the threshold requirement. As shown in fig. 4a, 4b, 4c and 4d, the operation trajectory first passes through the second data point "date: 2021/01/15, respectively; actual sales of 4096.8 ", passing a second data point" date in a second order: 2021/01/14, respectively; planned sales of 2873.4 ", followed by a third sequential second data point" date: 2021/01/16, respectively; the actual sales amount was 7918.2 ". Then, when the user moves the operation to pass through the second data point of the first sequence, performing chart data analysis based on the first data point and the second data point of the first sequence; when the user moves and operates to a second data point in a second sequence, performing chart data analysis based on the first data point, the second data point in the first sequence and the second data point in the second sequence; when moving to the second data point of the third order as the user continues to operate, performing graph data analysis based on the first data point, the second data point of the first order, the second data point of the second order, and the second data point of the third order.
Wherein, the above mentioned chart data analysis may include but is not limited to: data comparison (e.g., differencing), data aggregation, data intersection, complementation, bias, data trend analysis (e.g., percentage increase, percentage decrease, etc.), and the like.
Further, the multi-axis multi-legend diagram shown in fig. 4a to 4d includes a plurality of legends, which are: actual sales, planned sales, current inventory, target inventory, safety inventory. In this case, it may be of little interest to compare the actual sales with the target inventory and analyze it. Therefore, in this embodiment of the present application, the step 104 "determining at least one second data point on the graph along which the operation trajectory passes" may include:
1041. acquiring track points of the operation track;
1042. when the candidate data points with the distance smaller than the threshold value are arranged around the track point, obtaining the legend to which the candidate data points belong;
1043. and if the legend to which the candidate data point belongs is related to or the same as the legend to which the first data point belongs, the candidate data point is taken as a second data point.
The legend correlation can be preconfigured, such as presetting a legend relationship information. The legend relationship information may be characterized as follows:
illustration of the drawings Related drawings
Actual sales volume Planned sales volume
Planned sales volume Actual sales volume
Current inventory Target inventory, safety inventory
Target inventory Current inventory, safety inventory
Safety stock Target inventory, current inventory
According to the technical scheme provided by the embodiment, at least one second data point can be determined according to the operation track operated by the user, corresponding chart data analysis is executed based on the first data point and the at least one second data point, analysis information is displayed on the chart in real time, and the data analysis response is fast, intuitive and clear; the user can conveniently and quickly obtain the relationship between the chart data points and the information of the connotation between the data points.
As shown in fig. 4a to 4d, when the legend corresponding to the first data point selected by the user is the actual sales volume, and when the subsequent user operates the track route point, only the legend data point of "actual sales volume" and the legend data point of "planned sales volume" are automatically adsorbed. Referring to fig. 5a and 5b, the first data point "date: 2021/01/14, respectively; target inventory: 76.2', when the subsequent user operates the track path point, only the legend data points of "target stock", current stock "and" safety stock "are automatically absorbed, and the legend data points of" actual sales "and" planned sales "of the path are not taken as the second data point.
Further, the method provided by this embodiment may further include the following steps:
107. and displaying a first selected prompt identifier which accords with the legend characteristic to which the first data point belongs at the first data point.
108. And displaying a second selected prompt mark which accords with the legend characteristic to which the second data point belongs at the second data point.
Wherein the legend features include at least one of: the representation form and color of the legend in the chart; the manifestation includes at least one of: columnar shape, scattered point shape, multi-segment line shape, and curved shape.
For example, when the first data point belongs to the legend feature, it includes: columnar morphology, blue. Accordingly, a selected cue marker (e.g., a circle marker) corresponding to the columnar shape may be displayed at the first data point, and the selected cue marker may be blue. The purpose of this is to: and highlighting the legend to which the first selected prompt mark belongs, and directly and obviously.
In the technical solution provided in this embodiment, when the distance from the first operation position to a data point on the graph is smaller than the threshold, and the mouse identifier of the user has not moved to the first data point, the first data point shows the first selected prompt identifier in advance, so that the user does not need to accurately move the mouse to the position of the first data point, and selects the first data point, which is called a function of adsorbing data points.
Further, as shown in fig. 4a, in order to improve the interaction timeliness of the graph, the embodiment further provides a following operation track, obtains the value of the trace point in the graph in real time, and performs graph data analysis based on the first data point and the value of the trace point in the graph, so as to display an analysis result in real time along with the user operation. That is, the method provided by this embodiment may further include the following steps:
obtaining track points of the operation track and values of the track points on a chart;
according to the first data point and the value of the track point on the chart, executing chart data analysis to obtain an analysis result;
and dynamically displaying the analysis result related to each track point on the graph along with the operation track.
Referring to fig. 4a, 4b, 4c, and 4d, when the operation trajectory passes through two or more second data points, in this embodiment, the step 106 "display the analysis information on the graph" may specifically be:
and sequentially displaying a plurality of analysis information on the graph along with the passing sequence of the operation track.
When the analysis information is displayed, the information of the first data point and the information of the at least one second data point can be synchronously displayed.
Further, the method provided by this embodiment may further include the following steps:
109. and determining the shape of the measuring area according to the type corresponding to the chart.
110. Determining a metrology zone boundary and a metrology ruler configuration scheme based on the metrology zone shape, the first data point, and the at least one second data point; the measuring scale configuration scheme comprises the number of the measuring scales and the directions of the measuring scales.
111. Drawing a metrology zone containing an operable metrology scale on the chart according to the metrology zone shape, the metrology zone boundary, and the metrology scale configuration scheme.
Wherein the range of the area of the measuring zone can be changed by operating the operable measuring scale.
With continued reference to the example shown in fig. 4 a-4 d, the chart may correspond to a type of cartesian coordinate, and the corresponding metrology area may be rectangular in shape. As shown in fig. 4a to 4d, the first data point is used as one boundary point of the rectangular measurement area, the trace point moved by the user operation is another boundary point of the rectangular measurement area, and the two edit points are two diagonal points of the rectangle. The measuring rule configuration scheme is related to the shape of the measuring area. As shown in fig. 4a to 4d, two scales may be disposed in the measurement area, one of the scales being oriented parallel to the abscissa axis of the graph, and the other being oriented parallel to the ordinate axis of the graph.
As another example, as shown in fig. 6, the chart is a polar chart, i.e., the corresponding type is a polar type. The corresponding measuring area is in the shape of a ring, a fan or a fan ring. As shown in fig. 6, the first data point is used as one boundary point of the measurement area, and the trace point moved by the user operation is used as the other boundary point of the measurement area, and the two boundary points define the inner diameter and the outer diameter of the measurement area. I.e. one boundary point is at a first radial dimension from the polar origin and the other boundary point is at a second radial dimension from the polar origin. At the same time, the two boundary points also define the central angle of the metrology section. I.e. the angle between a first line connecting one boundary point with the polar origin and a second line connecting another boundary point with the polar origin, i.e. the central angle. The measurement area may be provided with one or two measurement scales. As shown in fig. 6, a measuring tape is arranged in the measuring area, i.e. the arrow in the radial direction in the fan-shaped area of the drawing. The user can operate the scale to change the area range of the measurement zone by the direction in which the arrow points. Besides, a plurality of measuring rulers may be disposed in the fan-ring shaped measuring area, for example, a measuring ruler in the fan-arc direction may be included in addition to the measuring ruler in the radial direction, and the user may change the size of the central angle of the fan-ring shaped measuring area by operating the measuring ruler in the fan-arc direction.
Still further, the user may change the area range of the measurement area by operating the measurement scale. That is, the method provided by this embodiment may further include the following steps:
112. and in response to the operation of the user on at least one measuring scale in the measuring area, adjusting the size of the measuring area in the corresponding direction of the at least one measuring scale so as to change the area range of the measuring area.
In addition to the analysis of the specific data points described above, the method provided by the present embodiment may also provide a user with an analysis of all data within the metrology area (i.e., data focusing) so that the user can focus on the local chart he or she is interested in. That is, the method provided by this embodiment may further include the following steps:
113. and processing the data points in the measurement area in response to a processing instruction triggered by a user aiming at the measurement area.
Among other things, the processing of data points within the metrology zone may include, but is not limited to: statistics, data calculations, analysis, and the like.
As shown in fig. 4a, the method provided in this embodiment may further include the following steps:
114. and dynamically displaying a measurement area which is matched with the corresponding type of the chart by taking the first data point and the track point as boundary points and the shape along with the operation track on the chart.
Namely, the measurement area is dynamically displayed following the operation of the user.
In the above embodiments, it is mentioned that when there are data points around the first operating position at a distance less than the threshold value, the data points are adsorbed and then selected for data analysis based on the data points. The user may also focus on data point selection alone, and on data area selection. That is, the method provided by this embodiment may further include the following steps:
115. if no data point with the distance smaller than the threshold value exists around the first operation position, taking the first operation position as a measurement area selection starting point, and waiting for subsequent operation of a user;
116. in response to a third operation of a user on the graph, determining a second operation position and taking the second operation position as a measurement area selection end point;
117. determining the shape of a measuring area and a measuring rule configuration scheme according to the type corresponding to the chart;
118. determining and displaying a measurement region containing an operable measurement scale based on the measurement region selection starting point, the measurement region selection end point, the measurement region shape, and the measurement scale configuration scheme.
After the user selects the measurement area, the user may trigger a processing instruction for the data points in the measurement area, as described in step 113: and processing the data points in the measurement area in response to a processing instruction triggered by a user aiming at the measurement area.
The application also provides an embodiment of a polar coordinate chart interaction method. And aiming at the interaction of the polar coordinate chart, the user can conveniently and flexibly analyze the data. Specifically, as shown in fig. 7, the polar coordinate chart interaction method includes:
201. in response to a fourth operation of the user on the polar coordinate chart, the central angle, the first radial dimension, and the second radial dimension are determined.
202. Displaying on the chart an annular or fan-annular metrology zone with an operable metrology ruler in accordance with the central angle, the first radial dimension and the second radial dimension; wherein the range of the area of the metrology section is changeable by operating the operable metrology ruler.
203. And processing the data points in the measuring area to display the processing result on the polar coordinate chart in response to a processing instruction triggered by a user aiming at the measuring area.
In the above 201, the fourth operation may be one operation or one continuous operation. For example, a "measurement area" creation control is displayed on the interactive interface where the chart is located. And the user touches a 'measurement area' creation control on the interface, and a measurement area configuration floating window is displayed on the interface. This floating window includes in: the parameters of the metrology section (e.g., central angle, first radial dimension, second radial dimension, boundary points) configure the window, the metrology ruler configures the window, and so on. And a parameter selection range prompt can be displayed at the parameter configuration window of the measurement area, so that a user can set parameters according to the parameter selection range. Besides setting the measurement area by means of the control and the pop-up window, the user can also determine the measurement area on the polar coordinate chart by means of clicking, frame selecting, dragging and the like. Alternatively, the measurement zone may be drawn on a polar chart, through an existing tool on the chart interactive interface, and so forth. For example, a user first clicks a mouse at a position of the polar diagram to use the position as a starting point of the diagram, and then operates the mouse to draw a measuring region in a ring shape, a fan ring shape, or a circle shape.
In the above 202, referring to the example shown in fig. 8a, when the central angle is 360 degrees, the measurement zone is an annular measurement zone. When the central angle is an angle smaller than 360 degrees and larger than 0 degree, the measuring area is a fan-ring-shaped measuring area, as shown in fig. 8 b.
In 203, all data points in the measurement area may be subjected to statistics, summarization, averaging, and the like when performing graph data analysis, which is not limited in this embodiment.
In another technical solution provided by this embodiment, a user may determine a sector-shaped or annular metrology area on a polar coordinate chart, and then perform chart data analysis based on data points in the sector-shaped or annular metrology area; and displays the analysis information on the polar coordinate chart. Compared with the prior art that only a sector area in a polar coordinate diagram can be selected, the scheme provided by the embodiment of the application can enable a user to flexibly determine the shape, the size and the like of a measurement area on the diagram, so that data points desired by the user can be selected and analyzed more accurately, the user expectation is better met, and the user experience is good.
Further, the polar coordinate chart provided by the embodiment may include: radar plots, polar axis plots (or rose plots), and so on. In addition to determining the measurement area on polar coordinates, the user may also select data points for comparison analysis between data points.
For example, the method provided by the embodiment of the present application may further include the following steps:
205. and responding to a fifth operation of the user on the polar coordinate chart, and acquiring a third operation position.
206. And when the distance between the third operating position and a data point on the polar coordinate chart is smaller than a threshold value, the data point is taken as a selected first data point.
207. Monitoring an operation track in response to a sixth operation of the user on the polar coordinate chart.
208. And determining at least one second data point of the operation track passing through the polar coordinate chart.
209. And performing graph data analysis to obtain analysis information based on the first data point and the at least one second data point.
210. Displaying the analysis information on the graph.
The fifth operation may be the same as or different from the first operation mentioned above, and this embodiment does not limit this. The above-mentioned sixth operation may be the same as or different from the above-mentioned second operation.
In addition, the contents of the above steps 205 to 210 can be referred to the above description, and are not repeated herein.
As in the above method embodiments, for the graphs with multiple legends shown in fig. 4a to 4d, the second data point needs to be associated with the legend to which the first data point belongs, in addition to the distance from the track point of the operation track being less than the threshold value.
Further, referring to fig. 6, the method provided in this embodiment may further include the following steps:
211. and dynamically displaying a fan-shaped annular measuring area determined by the first data point and the track point on the polar coordinate chart along with the operation track.
Fig. 9 is a flowchart illustrating a chart interaction method according to another embodiment of the present application. As shown in fig. 9, the method includes:
301. in response to a user's operation on the chart, an operation position is determined.
302. It is determined whether there are data points around the operating position that are less than a threshold distance away.
303. If data points with the distance smaller than the threshold value exist around the operation position, determining the interaction intention of the user as data point comparison; and taking the data point as a selected first data point, determining at least one second data point based on subsequent operation of a user, and performing data point comparison analysis according to the first data point and the at least one second data point.
304. If no data point with the distance smaller than the threshold value exists around the operation position, determining that the interaction intention of the user is data focusing; and taking the first operation position as a measurement area selection starting point, determining a measurement area based on subsequent operation of a user, and carrying out data focusing related processing on data points in the measurement area.
In 303, the step of "determining at least one second data point based on the subsequent operation of the user, and performing the data point comparison analysis according to the first data point and the at least one second data point" may specifically refer to the relevant steps in the above embodiments, such as steps 103 to 106.
In 303, the "processing related to focusing data on the data points in the measurement area by using the first operation position as a measurement area selection starting point, and determining the measurement area based on the subsequent operation of the user" may specifically refer to the related steps in the above embodiments, such as steps 115 to 118; or steps 201 to 203.
The embodiment provides that the interaction intention of the user is determined by whether there are data points whose distance around the operation position operated on the graph by the user is smaller than a threshold value. When data points with the distance smaller than the threshold value exist around the operation position, determining the interaction intention of the user as data point comparison; and then, taking the data point as a selected first data point, determining at least one second data point based on subsequent operation of a user, and performing data point comparison analysis according to the first data point and the at least one second data point. Determining that the user's interaction intent is data focus when there are no data points around the operational location having a distance less than the threshold; and selecting a starting point by taking the first operation position as a measurement area, determining the measurement area based on subsequent operation of a user, and carrying out data focusing related processing on data points in the measurement area. Therefore, according to the method and the device, the chart interaction intention of the user can be automatically sensed through the operation of the user, corresponding analysis or processing can be timely carried out according to the interaction intention of the user, the intelligent degree is high, and the interaction experience is good.
The technical scheme provided by the embodiment of the application is as follows: the three analysis appeal methods are started from data point focusing, high-dimensional data comparison and polar coordinate visual analysis, and the purpose that the visual chart is better as the analysis assistance force in the actual scene is achieved. In the embodiment of the application, a scheme that data can be automatically selected (or colloquially adsorbed) within a distance threshold range from an operation position of a user to a data point is provided, and as the embodiment shown in fig. 3, when a chart has a plurality of legend data, only the data of the legend which is the same as or related to the legend of the selected data point is adsorbed, so that the user can select the data point more conveniently and efficiently; and data points can be adsorbed, analyzed and displayed in real time along with the dynamic operation of a user. When there are no data points with a distance less than a threshold around the user operation position, the user may switch to the measurement region to select the interaction mode, and the user may determine the measurement region to process (e.g., statistically, averaging, etc.) the data points within the measurement region. In another embodiment of the present application, an interaction scheme of a polar coordinate graph is provided, and a user may select a measurement area on the polar coordinate graph, such as a selectable annular measurement area, a fan-shaped annular measurement area, and the like, through which the user can select a range more accurately. The solution of another embodiment of the present application distinguishes analysis for data points from metric region processing, and determines the user's interaction intention by determining whether there are data points less than a threshold around the operation position operated by the user. And then, according to the interaction intention of the user, adaptive response is made to the subsequent operation of the user, the intelligent degree is high, and the interaction experience is good.
Fig. 10 is a schematic structural diagram of a chart interaction device according to an embodiment of the present application. As shown in fig. 10, the chart interacting apparatus includes: the device comprises an acquisition module 11, a point selection module 12, a monitoring module 13, a determination module 14, an execution module 15 and a display module 16. The obtaining module 11 is configured to monitor a first operation position in response to a first operation of a user on a graph. The point selection module 12 is configured to take a data point on the graph as a selected first data point when the distance between the first operation position and the data point is less than a threshold. The monitoring module 13 is configured to monitor an operation track in response to a second operation of the user on the graph. The determining module 14 is configured to determine at least one second data point on the graph, where the operation trajectory passes through. The execution module 15 is configured to execute the chart data analysis to obtain analysis information based on the first data point and the at least one second data point. The display module 16 is configured to display the analysis information on the graph.
Further, when the determining module 14 determines at least one second data point of the operation trajectory on the graph, the determining module is specifically configured to:
acquiring track points of the operation track; when the candidate data points with the distances smaller than the threshold value are arranged around the track point, obtaining a legend to which the candidate data points belong; and if the legend to which the candidate data point belongs is related to or identical to the legend to which the first data point belongs, the candidate data point is taken as a second data point.
Further, the display module 16 in this embodiment is further configured to:
displaying a first selected prompt identifier which accords with the legend characteristic to which the first data point belongs at the first data point;
displaying a second selected prompt identifier which accords with the legend feature to which the second data point belongs at the second data point;
wherein the legend features include at least one of: the representation form and color of the legend in the chart; the manifestation includes at least one of: columnar shape, scattered point shape, multi-segment line shape, and curved shape.
Further, the execution module 15 is specifically configured to:
when the operation track passes through a second data point, executing diagram data analysis according to the first data point and the second data point to obtain analysis information;
when the operation track passes through two or more second data points, according to the passing sequence of the operation track, sequentially according to the first data points and the second data points in the corresponding sequence, executing chart data analysis to obtain a plurality of analysis information; or
And when the operation track passes through two or more second data points, according to the passing sequence of the operation track, sequentially performing chart data analysis according to the first data points and the second data points of the corresponding sequence accumulation path to obtain a plurality of analysis information.
Further, when the operation trajectory passes through two or more second data points, the display module is specifically configured to: and sequentially displaying a plurality of analysis information on the graph along with the passing sequence of the operation track.
Further, the chart interaction device provided by the embodiment may further include a drawing module. Accordingly, the determining module 14 is further configured to: determining the shape of a measurement area according to the type corresponding to the chart; determining a metrology zone boundary and a metrology ruler configuration scheme based on the metrology zone shape, the first data point, and the at least one second data point; the measuring scale configuration scheme comprises the number of the measuring scales and the directions of the measuring scales. The drawing module is configured to draw a metrology area containing an operable metrology scale on the chart in accordance with the metrology area shape, the metrology area boundary, and the metrology scale configuration scheme. Wherein the range of the area of the metrology section is changeable by operating the operable metrology ruler.
Further, the chart interaction device provided by the embodiment may further include an adjustment module. The adjusting module is used for responding to the operation of a user on at least one measuring scale in the measuring area, and adjusting the size of the measuring area in the corresponding direction of the at least one measuring scale so as to change the area range of the measuring area.
Correspondingly, the executing module 15 is further configured to: and processing the data points in the measurement area in response to a processing instruction triggered by a user aiming at the measurement area.
Further, the display module 16 in the chart interaction apparatus provided in this embodiment may be further configured to:
and dynamically displaying a measurement area which is matched with the corresponding type of the chart by taking the first data point and the track point as boundary points and the shape along with the operation track on the chart.
Further, the point selecting module 12 in the chart interaction apparatus provided in this embodiment may be further configured to: if no data point with the distance smaller than the threshold value exists around the first operation position, taking the first operation position as a measurement area selection starting point, and waiting for subsequent operation of a user; and in response to a third operation of the user on the chart, determining a second operation position and taking the second operation position as the measurement area selection end point. Correspondingly, the determining module in the chart interaction apparatus provided in this embodiment may be further configured to: determining the shape of a measuring area and a measuring scale configuration scheme according to the type corresponding to the chart; determining and displaying a measurement region containing an operable measurement scale based on the measurement region selection starting point, the measurement region selection end point, the measurement region shape, and the measurement scale configuration scheme. The execution module in the chart interaction device provided by this embodiment may be further configured to process the data points in the measurement area so that the display module displays the processing result on the chart.
Here, it should be noted that: the diagram interaction apparatus provided in the above embodiment may implement the technical solutions described in the above diagram interaction method embodiments, and the specific implementation principles of the modules or units may refer to the corresponding contents in the above diagram interaction method embodiments, which are not described herein again.
Fig. 11 is a schematic structural diagram of a chart interaction device according to another embodiment of the present application. As shown in fig. 11, the chart interacting apparatus includes: a determination module 21, a display module 22 and an execution module 23. Wherein the determining module 21 is configured to determine the central angle, the first radial dimension and the second radial dimension in response to a fourth operation of the user on the polar coordinate chart. The display module 22 is used to show on the chart an annular or sector annular metrology area with an operable metrology ruler, in accordance with the central angle, the first radial dimension and the second radial dimension; wherein the range of the area of the measuring zone can be changed by operating the operable measuring scale. The execution module 23 is configured to, in response to a processing instruction triggered by a user for the measurement region, process a data point in the measurement region, so that the display module displays a processing result on the polar coordinate graph.
Further, the image interaction device provided in this embodiment may further include an obtaining module, a point selecting module, and a monitoring module. The obtaining module is used for responding to a fifth operation of a user on the polar coordinate chart and obtaining a third operation position. The point selection module is used for taking a data point as a selected first data point when the distance between the third operation position and the data point on the polar coordinate chart is smaller than a threshold value. The monitoring module is used for responding to a sixth operation of the user on the polar coordinate chart and monitoring an operation track. The determining module is further used for determining at least one second data point of the operation track passing through on the polar coordinate chart. The execution module is further configured to execute a graph data analysis based on the first data point and the at least one second data point to obtain analysis information. The display module is further configured to display the analysis information on the graph.
Further, the display module 22 is further configured to: and dynamically displaying a fan-shaped annular measuring area determined by the first data point and the track point on the polar coordinate chart along with the operation track.
Here, it should be noted that: the diagram interaction apparatus provided in the above embodiment may implement the technical solutions described in the above embodiments of the polar coordinate diagram interaction method, and the specific implementation principles of the modules or units may refer to the corresponding contents in the above embodiments of the polar coordinate diagram interaction method, which are not described herein again.
Fig. 12 is a schematic structural diagram of a chart interaction apparatus according to still another embodiment of the present application. As shown, the chart interacting device includes: a determination module 31, a determination module 32, a first processing module 33 and a second processing module 34. Wherein the determining module 31 is configured to determine the operation position in response to the operation of the user on the graph. The determination module 32 is configured to determine whether there are data points around the operating location that are less than a threshold distance. The first processing module 33 is configured to determine an interaction intention of the user as data point comparison when there are data points whose distance around the operation position is smaller than a threshold; and taking the data point as a selected first data point, determining at least one second data point based on subsequent operation of a user, and performing data point comparison analysis according to the first data point and the at least one second data point. The second processing module 34 is configured to determine that the user's interaction intention is data focus when there are no data points around the operation position whose distance is less than the threshold; and taking the first operation position as a measurement area selection starting point, determining a measurement area based on subsequent operation of a user, and carrying out data focusing related processing on data points in the measurement area.
Here, it should be noted that: the diagram display apparatus provided in the foregoing embodiment may implement the technical solutions described in the foregoing diagram interaction method embodiments, and the specific implementation principles of the modules or units may refer to the corresponding contents in the foregoing diagram interaction method embodiments, which are not described herein again.
Fig. 13 shows a schematic structural diagram of an electronic device according to an embodiment of the present application. The electronic device comprises a processor 52 and a memory 51. Wherein the memory 51 is configured to store one or more computer instructions; the processor 52, coupled to the memory 51, is used for one or more computer instructions (e.g., computer instructions implementing data storage logic) to implement the steps in the above-described various diagram interaction method embodiments.
The memory 51 may be implemented by any type or combination of volatile or non-volatile memory devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Further, as shown in fig. 13, the electronic apparatus further includes: communication components 53, power components 55, and a display 54. Only some of the components are schematically shown in fig. 13, and the electronic device is not meant to include only the components shown in fig. 13.
Yet another embodiment of the present application provides a computer program product (not shown in the accompanying drawings). The computer program product comprises a computer program or instructions which, when executed by a processor, causes the processor to carry out the steps in the above-described method embodiments.
Accordingly, the present application further provides a computer-readable storage medium storing a computer program, where the computer program can implement the method steps or functions provided by the foregoing embodiments when executed by a computer.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (14)

1. A chart interaction method, comprising:
monitoring a first operation position in response to a first operation of a user on a chart;
when the distance between the first operation position and a data point on the chart is smaller than a threshold value, the data point is taken as a selected first data point;
monitoring an operation track in response to a second operation of the user on the chart;
determining at least one second data point of the operation track passing on the graph;
performing graph data analysis based on the first data point and the at least one second data point to obtain analysis information;
displaying the analysis information on the graph.
2. The method of claim 1, wherein determining at least one second data point on the graph through which the operation trajectory passes comprises:
acquiring track points of the operation track;
when the candidate data points with the distances smaller than the threshold value are arranged around the track point, obtaining a legend to which the candidate data points belong;
and if the legend to which the candidate data point belongs is related to or the same as the legend to which the first data point belongs, the candidate data point is taken as a second data point.
3. The method of claim 2, further comprising:
displaying a first selected prompt identifier which accords with the legend characteristic to which the first data point belongs at the first data point;
displaying a second selected prompt identifier which accords with the legend feature to which the second data point belongs at the second data point;
wherein the legend features include: at least one of a representation form and a color of the legend in the chart; the manifestation includes at least one of: columnar shape, scattered point shape, multi-segment line shape and curve shape.
4. The method of any of claims 1 to 3, wherein performing graph data analysis based on the first data point and the at least one second data point comprises:
when the operation track passes through a second data point, executing diagram data analysis according to the first data point and the second data point to obtain analysis information;
when the operation track passes through two or more second data points, according to the passing sequence of the operation track, sequentially performing diagram data analysis according to the first data points and the second data points in the corresponding sequence to obtain a plurality of analysis information; or alternatively
When the operation track passes through two or more second data points, according to the passing sequence of the operation track, sequentially performing diagram data analysis according to the first data points and the second data points of the corresponding sequence accumulation path to obtain a plurality of analysis information.
5. The method of claim 4, wherein displaying the analysis information on the graph as the operation trajectory passes through two or more second data points comprises:
and sequentially displaying a plurality of analysis information on the graph along with the passing sequence of the operation track.
6. The method of any of claims 1 to 3, further comprising:
determining the shape of a measurement area according to the type corresponding to the chart;
determining a metrology zone boundary and a metrology ruler configuration scheme based on the metrology zone shape, the first data point, and the at least one second data point; the measuring scale configuration scheme comprises the number of measuring scales and the directions of the measuring scales;
drawing a metrology area containing an operable metrology scale on the chart according to the metrology area shape, the metrology area boundary, and the metrology scale configuration scheme;
wherein the range of the area of the measuring zone can be changed by operating the operable measuring scale.
7. The method of claim 6, further comprising at least one of:
in response to the operation of a user on at least one measuring scale in the measuring area, adjusting the size of the measuring area in the corresponding direction of the at least one measuring scale to change the area range of the measuring area;
and processing the data points in the measurement area in response to a processing instruction triggered by a user aiming at the measurement area.
8. The method of any of claims 1 to 3, further comprising:
and dynamically displaying a measuring area which is matched with the corresponding type of the graph in shape and takes the first data point and the track point as boundary points on the graph along with the operation track.
9. The method of any of claims 1 to 3, further comprising:
if no data point with the distance smaller than the threshold value exists around the first operation position, taking the first operation position as a measurement area selection starting point, and waiting for subsequent operation of a user;
in response to a third operation of a user on the graph, determining a second operation position and taking the second operation position as a measurement area selection end point;
determining the shape of a measuring area and a measuring rule configuration scheme according to the type corresponding to the chart;
determining and displaying a measurement region containing an operable measurement scale based on the measurement region selection starting point, the measurement region selection end point, the measurement region shape, and the measurement scale configuration scheme.
10. A polar diagram interaction method, comprising:
in response to a fourth operation of the user on the polar coordinate chart, determining a central angle, a first radial dimension and a second radial dimension;
displaying on the chart an annular or fan-annular metrology zone with an operable metrology ruler in accordance with the central angle, the first radial dimension and the second radial dimension; wherein the range of the area of the metrology section is changeable by operating the operable metrology ruler;
and processing the data points in the measuring area to display the processing result on the polar coordinate chart in response to a processing instruction triggered by a user aiming at the measuring area.
11. The method of claim 10, further comprising:
responding to a fifth operation of the user on the polar coordinate chart, and acquiring a third operation position;
when the distance between the third operating position and a data point on the polar coordinate chart is smaller than a threshold value, taking the data point as a selected first data point;
monitoring an operation track in response to a sixth operation of the user on the polar coordinate chart;
determining at least one second data point of the operation track passing on the polar coordinate chart;
performing graph data analysis based on the first data point and the at least one second data point to obtain analysis information;
displaying the analysis information on the graph.
12. The method of claim 11, further comprising:
and dynamically displaying a fan-shaped annular measuring area determined by the first data point and the track point on the polar coordinate chart along with the operation track.
13. A chart interaction method, comprising:
in response to an operation of a user on the chart, determining an operation position;
determining whether there are data points around the operating location that are less than a threshold distance;
if data points with the distance smaller than the threshold value exist around the operation position, determining the interaction intention of the user as data point comparison; taking the data point as a selected first data point, determining at least one second data point based on subsequent operation of a user, and performing data point comparison analysis according to the first data point and the at least one second data point;
if no data point with the distance smaller than the threshold value exists around the operation position, determining that the interaction intention of the user is data focusing; and selecting a starting point by taking the first operation position as a measurement area, determining the measurement area based on subsequent operation of a user, and carrying out data focusing related processing on data points in the measurement area.
14. An electronic device comprising a memory and a processor; wherein the content of the first and second substances,
the memory storing one or more computer instructions;
the processor, coupled to the memory, configured to execute the one or more computer instructions to implement the steps of the method of any one of claims 1 to 9, or to implement the steps of the method of any one of claims 10 to 12, or to implement the steps of the method of claim 13.
CN202210435117.7A 2022-04-24 2022-04-24 Chart interaction method and electronic equipment Active CN114935997B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210435117.7A CN114935997B (en) 2022-04-24 2022-04-24 Chart interaction method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210435117.7A CN114935997B (en) 2022-04-24 2022-04-24 Chart interaction method and electronic equipment

Publications (2)

Publication Number Publication Date
CN114935997A true CN114935997A (en) 2022-08-23
CN114935997B CN114935997B (en) 2023-11-07

Family

ID=82862022

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210435117.7A Active CN114935997B (en) 2022-04-24 2022-04-24 Chart interaction method and electronic equipment

Country Status (1)

Country Link
CN (1) CN114935997B (en)

Citations (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1994029786A1 (en) * 1993-06-11 1994-12-22 Software Publishing Corporation System and methods for automatically displaying graphical help images on a computer
JP2001043296A (en) * 1999-05-27 2001-02-16 Internatl Business Mach Corp <Ibm> System and method for utilizing threshold during dynamic display of data relation between static charts
US6232984B1 (en) * 1997-05-22 2001-05-15 Lucent Technologies, Inc. Data visualization system
US20080195930A1 (en) * 2007-02-08 2008-08-14 Microsoft Corporation User Interface Pane for an Interactive Chart
CN104598548A (en) * 2014-12-31 2015-05-06 北京农业智能装备技术研究中心 Method and device for analyzing spatial correlation of agricultural product price
CN104820905A (en) * 2015-05-19 2015-08-05 威海北洋电气集团股份有限公司 Space trajectory big data analysis-based person management and control method and system
US20150242997A1 (en) * 2012-11-14 2015-08-27 Tencent Technology (Shenzhen) Company Limited Method And Apparatus For Displaying Statistical Chart
US20160231915A1 (en) * 2015-02-10 2016-08-11 Microsoft Technology Licensing, Llc. Real-time presentation of customizable drill-down views of data at specific data points
US20160350951A1 (en) * 2015-05-27 2016-12-01 Compal Electronics, Inc. Chart drawing method
WO2017049325A1 (en) * 2015-09-20 2017-03-23 Tableau Software, Inc. Interactive data visualization user interface with gesture-based data field selection
CN107219970A (en) * 2017-05-19 2017-09-29 智器云南京信息科技有限公司 Operating method and device, readable storage medium storing program for executing, the terminal of visual analyzing chart
CN107291955A (en) * 2017-07-28 2017-10-24 武汉票据交易中心有限公司 A kind of chart data dynamic display method and device
CN108319411A (en) * 2017-01-16 2018-07-24 阿里巴巴集团控股有限公司 A kind of method, apparatus and electronic equipment of chart partial enlargement
CN108509446A (en) * 2017-02-27 2018-09-07 南京橙红科技股份有限公司 Graphical data based on iOS system is drawn and the system and method for statistical analysis
CN108734752A (en) * 2018-04-19 2018-11-02 阿里巴巴集团控股有限公司 Show the method, apparatus and electronic equipment of the data information in chart
CN109299922A (en) * 2018-09-30 2019-02-01 金蝶软件(中国)有限公司 Data analysing method, device, computer equipment and storage medium based on ERP
CN110121705A (en) * 2017-05-03 2019-08-13 塔谱软件公司 Pragmatics principle is applied to the system and method interacted with visual analysis
US20190266434A1 (en) * 2018-02-26 2019-08-29 Abc Fintech Co., Ltd Method and device for extracting information from pie chart
CN111291243A (en) * 2019-12-30 2020-06-16 浙江大学 Visual reasoning method for uncertainty of spatiotemporal information of character event
CN111340911A (en) * 2020-02-28 2020-06-26 北京赢家积财科技有限公司 Method and device for determining connecting line in k-line graph and storage medium
CN111433762A (en) * 2017-12-07 2020-07-17 微软技术许可有限责任公司 Graphically organizing content in a user interface of a software application
CN112130731A (en) * 2019-06-24 2020-12-25 财付通支付科技有限公司 Data processing method and device and electronic equipment
CN112596650A (en) * 2020-12-25 2021-04-02 维沃移动通信有限公司 Chart processing method and device and electronic equipment
CN112698756A (en) * 2019-10-23 2021-04-23 华为终端有限公司 Display method of user interface and electronic equipment
CN112860735A (en) * 2020-12-17 2021-05-28 北京航空航天大学 Online database query analysis system and method for persistent organic pollutant exposure
CN113239673A (en) * 2021-05-28 2021-08-10 北京有竹居网络技术有限公司 Chart switching method and device, storage medium and electronic equipment
CN113326314A (en) * 2021-06-30 2021-08-31 招商局金融科技有限公司 Data visualization method and device, electronic equipment and readable storage medium

Patent Citations (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1994029786A1 (en) * 1993-06-11 1994-12-22 Software Publishing Corporation System and methods for automatically displaying graphical help images on a computer
US6232984B1 (en) * 1997-05-22 2001-05-15 Lucent Technologies, Inc. Data visualization system
JP2001043296A (en) * 1999-05-27 2001-02-16 Internatl Business Mach Corp <Ibm> System and method for utilizing threshold during dynamic display of data relation between static charts
US20080195930A1 (en) * 2007-02-08 2008-08-14 Microsoft Corporation User Interface Pane for an Interactive Chart
US20150242997A1 (en) * 2012-11-14 2015-08-27 Tencent Technology (Shenzhen) Company Limited Method And Apparatus For Displaying Statistical Chart
CN104598548A (en) * 2014-12-31 2015-05-06 北京农业智能装备技术研究中心 Method and device for analyzing spatial correlation of agricultural product price
US20160231915A1 (en) * 2015-02-10 2016-08-11 Microsoft Technology Licensing, Llc. Real-time presentation of customizable drill-down views of data at specific data points
CN104820905A (en) * 2015-05-19 2015-08-05 威海北洋电气集团股份有限公司 Space trajectory big data analysis-based person management and control method and system
US20160350951A1 (en) * 2015-05-27 2016-12-01 Compal Electronics, Inc. Chart drawing method
WO2017049325A1 (en) * 2015-09-20 2017-03-23 Tableau Software, Inc. Interactive data visualization user interface with gesture-based data field selection
CN108319411A (en) * 2017-01-16 2018-07-24 阿里巴巴集团控股有限公司 A kind of method, apparatus and electronic equipment of chart partial enlargement
CN108509446A (en) * 2017-02-27 2018-09-07 南京橙红科技股份有限公司 Graphical data based on iOS system is drawn and the system and method for statistical analysis
CN110121705A (en) * 2017-05-03 2019-08-13 塔谱软件公司 Pragmatics principle is applied to the system and method interacted with visual analysis
CN107219970A (en) * 2017-05-19 2017-09-29 智器云南京信息科技有限公司 Operating method and device, readable storage medium storing program for executing, the terminal of visual analyzing chart
CN107291955A (en) * 2017-07-28 2017-10-24 武汉票据交易中心有限公司 A kind of chart data dynamic display method and device
CN111433762A (en) * 2017-12-07 2020-07-17 微软技术许可有限责任公司 Graphically organizing content in a user interface of a software application
US20190266434A1 (en) * 2018-02-26 2019-08-29 Abc Fintech Co., Ltd Method and device for extracting information from pie chart
CN108734752A (en) * 2018-04-19 2018-11-02 阿里巴巴集团控股有限公司 Show the method, apparatus and electronic equipment of the data information in chart
CN109299922A (en) * 2018-09-30 2019-02-01 金蝶软件(中国)有限公司 Data analysing method, device, computer equipment and storage medium based on ERP
CN112130731A (en) * 2019-06-24 2020-12-25 财付通支付科技有限公司 Data processing method and device and electronic equipment
CN112698756A (en) * 2019-10-23 2021-04-23 华为终端有限公司 Display method of user interface and electronic equipment
CN111291243A (en) * 2019-12-30 2020-06-16 浙江大学 Visual reasoning method for uncertainty of spatiotemporal information of character event
CN111340911A (en) * 2020-02-28 2020-06-26 北京赢家积财科技有限公司 Method and device for determining connecting line in k-line graph and storage medium
CN112860735A (en) * 2020-12-17 2021-05-28 北京航空航天大学 Online database query analysis system and method for persistent organic pollutant exposure
CN112596650A (en) * 2020-12-25 2021-04-02 维沃移动通信有限公司 Chart processing method and device and electronic equipment
CN113239673A (en) * 2021-05-28 2021-08-10 北京有竹居网络技术有限公司 Chart switching method and device, storage medium and electronic equipment
CN113326314A (en) * 2021-06-30 2021-08-31 招商局金融科技有限公司 Data visualization method and device, electronic equipment and readable storage medium

Non-Patent Citations (7)

* Cited by examiner, † Cited by third party
Title
姜晓睿;郑春益;蒋莉;梁荣华;: "大规模出租车起止点数据可视分析", 计算机辅助设计与图形学学报, no. 10 *
娱小尘: "在excel表中如何快速的圈出我们所需要的数据呢", 《HTTPS://JINGYAN.BAIDU.COM/ARTICLE/A3761B2B7190E55577F9AA60.HTML》 *
张宗科;: "Excel中曲线局部提取显示、野点清除及次坐标轴自定义", 电脑编程技巧与维护, no. 16 *
张小盒LILIZHANG: "使用手势画圈找到地图上范围内的数据", 《HTTPS://BLOG.CSDN.NET/SINAT_31599813/ARTICLE/DETAILS/50465916》 *
李惠君;李志全;: "基于改进雷达图的可视化聚类方法研究", 燕山大学学报, no. 01 *
璇焱如柳: "matlab图像交互式操作,鼠标选取图像的一个区域", 《HTTPS://BLOG.CSDN.NET/A1367666195/ARTICLE/DETAILS/119278522》 *
金淼;赵永辉;吴健生;谢雄耀;: "梯度幅度法提取探地雷达图像ROI", 中国图象图形学报, no. 04 *

Also Published As

Publication number Publication date
CN114935997B (en) 2023-11-07

Similar Documents

Publication Publication Date Title
US10254113B2 (en) Inspection program editing environment providing user defined collision avoidance volumes
US10489045B1 (en) Creating analytic objects in a data visualization user interface
US5289567A (en) Computer apparatus and method for finite element identification in interactive modeling
US6842176B2 (en) Computer-related method and system for controlling data visualization in external dimension(s)
KR101811464B1 (en) Spin control user interface for selecting options
US9952586B2 (en) Inspection program editing environment with simulation status and control continually responsive to selection operations
JP7245839B2 (en) Inspection program editing environment with automatic transmission behavior for occluded workpiece features
EP0192022B1 (en) Method for interactive rotation of displayed graphic objects
US10990075B2 (en) Context sensitive relational feature/measurement command menu display in coordinate measurement machine (CMM) user interface
JPH11316775A (en) Device and method for manually selecting, displaying and repositioning dimension information of part model
US11061529B2 (en) Generating contextual guides
US20070046671A1 (en) Extended portfolio chart drawing device, processing method and computer-readable medium recording a program of the same
US9933256B2 (en) Inspection program editing environment including real-time feedback related to throughput
CN103793178B (en) Vector graph editing method of touch screen of mobile device
JPH0793527A (en) Object-oriented graphic input and display system
CN112506502B (en) Visual programming method, device, equipment and storage medium based on man-machine interaction
CN114935997A (en) Chart interaction method and electronic equipment
CN111367455B (en) Touch screen human-computer interaction accurate positioning and measuring method
US20020047845A1 (en) Method, apparatus, and article of manufacture for displaying a line at an angle relative to an existing entity
CN115630926A (en) Workshop equipment management method, device, equipment and storage medium
Jiang et al. Research on a visualization interaction method
CN113126866A (en) Object determination method and device, electronic equipment and storage medium
CN114638579B (en) Visual inventory dynamic data display assembly, method, storage and electronic equipment
CN113448473B (en) Visual operation method and device for picture cropping area
Kalyuzhny et al. Implementing a visual representation of analytic data using a radar chart

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant