CN114935997B - Chart interaction method and electronic equipment - Google Patents

Chart interaction method and electronic equipment Download PDF

Info

Publication number
CN114935997B
CN114935997B CN202210435117.7A CN202210435117A CN114935997B CN 114935997 B CN114935997 B CN 114935997B CN 202210435117 A CN202210435117 A CN 202210435117A CN 114935997 B CN114935997 B CN 114935997B
Authority
CN
China
Prior art keywords
chart
data point
data
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.)
Active
Application number
CN202210435117.7A
Other languages
Chinese (zh)
Other versions
CN114935997A (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

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: monitoring a first operation position in response to a first operation of a user on the 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 on the graph along which the operation track passes; based on the first data point and at least one second data point, performing graph data analysis to obtain analysis information; the analysis information is displayed on the graph. According to the scheme provided by the embodiment of the application, the user does not need to accurately position the data point, and the data point can be automatically adsorbed by entering the threshold range of the data point, so that the user can conveniently operate; the convenience of this function is more pronounced, especially on graphs where the data points are relatively dense and complex. In addition, the data analysis response is quick, 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 increasing age of big data, the volume of data is large and complex, and users are pressing to need imaging tools to analyze and reveal information in the data. The chart is widely applied in the field of data analysis due to the characteristics of visual and vivid analysis and various attributes (such as timeliness and quantity) of the description data.
Converting the data into a visual graphical chart allows the rules hidden behind the data to be more easily found. Such as a high-dimensional data chart as shown in fig. 1. The presentation of high-dimensional data is too compact and lacks emphasis, and tends to cause the analyst to lose the target. Static displays cannot meet the intent of focusing and contrast, and analysts often have to spend a long time repeating contrast 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 application, a chart 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 the 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 a user on the chart;
determining at least one second data point along which the operation track passes on the chart;
performing a chart data analysis based on the first data point and the at least one second data point to obtain analysis information;
and displaying the analysis information on the chart.
In another embodiment of the present application, a polar chart interaction method is provided. The method comprises the following steps:
determining a central angle, a first radial dimension, and a second radial dimension in response to a fourth operation by the user on the polar chart;
displaying an annular or sector annular measuring region with an operable measuring scale on the chart according to the central angle, the first radial dimension and the second radial dimension; wherein the extent of the measurement zone can be changed by operating the operable measurement scale;
and responding to a processing instruction triggered by a user for the measurement area, and processing the data points in the measurement area to display a processing result on the polar coordinate chart.
In yet another embodiment of the present application, a chart interaction method is provided. The method comprises the following steps:
Determining an operation position in response to an operation of the user on the chart;
determining whether there are data points around the operating position with a distance less than a threshold;
if the periphery of the operation position is provided with data points with the distance smaller than a threshold value, determining interaction intention of a user as data point comparison; taking the data point as a selected first data point, determining at least one second data point based on the subsequent operation of a user, and executing data point comparison analysis according to the first data point and the at least one second data point;
if no data points with the surrounding distances smaller than the threshold value exist around the operation position, determining that the interaction intention is focused for data; and taking the first operation position as a measurement area selection starting point, determining a measurement area based on the 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 configured to store one or more computer instructions; the processor, coupled to the memory, is configured to execute the one or more computer instructions for performing the steps of the method embodiments described above.
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 chart interaction method embodiments described above.
In the technical scheme provided by the embodiment of the application, the user monitors the operation position in real time when operating on the chart, 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 chart is smaller than the threshold value, the data point is used as the selected first data point, namely the user operation does not need to be accurately positioned to the data point, and the data point can be automatically adsorbed to the data point only within the threshold value range of the data point, so that the user operation is facilitated; the convenience of this function is more pronounced, especially on graphs where the data points are relatively dense and complex. In addition, the technical scheme provided by the embodiment of the application can also determine at least one second data point according to the operation track operated by the user, and execute corresponding chart data analysis based on the first data point and the at least one second data point, so that analysis information is displayed on a chart in real time, and the data analysis response is quick, visual and clear; and the user can quickly acquire the relation among the chart data points and the information of the meaning among the data.
In another technical scheme provided by the embodiment of the application, a user can determine a sector ring shape or a ring shape measurement area on a polar coordinate chart, and then perform chart data analysis based on data points in the sector ring shape or the ring shape measurement area; and displaying the analysis information on a polar chart. Compared with the prior art that only the sector area in the polar coordinate chart can be selected, the scheme provided by the embodiment of the application can flexibly determine the shape, the size and the like of the measurement area on the chart by a user, so that data points wanted by the user can be more accurately selected and analyzed, the method and the device are more in line with the user expectation, and the user experience is good.
In still another technical solution provided by the embodiments of the present application, the user's interaction intention is determined by whether there are data points with a distance smaller than a threshold value around an operation position operated by the user on the graph. When data points with the distance smaller than a threshold value are arranged around the operation position, determining interaction intention of a user to compare the data points; at this time, the data point is taken as a selected first data point, at least one second data point is determined based on the subsequent operation of the user, and data point comparison analysis is performed according to the first data point and the at least one second data point. Determining that the interaction intention of the user is focused for data when no data points with a distance less than the threshold value are around the operation position; and taking the first operation position as a measurement area selection starting point, determining a measurement area based on the subsequent operation of a user, and carrying out data focusing related processing on data points in the measurement area. Therefore, the embodiment of the application can automatically sense the chart interaction intention of the user through the operation of the user, and can timely make corresponding analysis or processing according to the interaction intention of the user, thereby having high intelligent degree and good interaction experience.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are some embodiments of the present application, and other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a high-dimensional data graph;
FIG. 2a is a schematic diagram of a Cartesian coordinate diagram;
FIG. 2b is a schematic diagram of an embodiment of a polar chart;
FIG. 3 is a flowchart illustrating a chart interaction method according to an embodiment of the present application;
FIG. 4a is a schematic diagram illustrating a first state of a user operation on a graph according to an embodiment of the present application;
FIG. 4b is a schematic diagram illustrating a second state of user operation on a chart according to an embodiment of the present application;
FIG. 4c is a schematic diagram illustrating a third state of user operation on a chart according to an embodiment of the present application;
FIG. 4d is a diagram illustrating a fourth state of user operation on a chart according to an embodiment of the present application;
FIG. 5a is a schematic diagram showing a fifth state of user operation on a chart according to an embodiment of the present application;
FIG. 5b is a diagram illustrating a sixth state of user operation on a chart according to an embodiment of the present application;
FIG. 6 is a schematic diagram of a user operating a polar chart 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 diagram of an annular metrology zone on a polar plot according to one embodiment of the present application;
FIG. 8b is a schematic diagram of a sector-ring metric region on a polar chart according to one embodiment of the present application;
FIG. 9 is a flowchart of a chart interaction method according to another embodiment of the present application;
FIG. 10 shows an embodiment of the present application is a graph device is a block diagram of the structure of (a);
FIG. 11 is a block diagram of a schematic diagram of another embodiment of the present application;
FIG. 12 is a block diagram of a schematic device 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
A chart in this context generally refers to a graphical structure displayed on a display interface that visually reveals data statistics attributes (e.g., timeliness, quantity, etc.), and plays a key role in data knowledge mining and visual and vivid perception of data information. The user can view the key information relatively intuitively and conveniently through the chart. The kinds of charts have various kinds, such as Cartesian coordinate charts, such as bar charts, broken line charts, bar charts, and the like; polar charts such as radar chart, rose chart, runway chart, etc.; shaftless charts such as pie charts and the like. Each of the charts generally has a plurality of chart elements reflecting data information, and is used for explaining the charts to facilitate understanding of the text. Wherein the chart elements may include, but are not limited to, columns, blocks, points, line segments, etc. in the chart. Text may include, but is not limited to: title text, text associated with chart elements (also called data flags or data labels). The user can quickly know the category, the data amount, the percentage and the like corresponding to the data reacted by the chart element through the text associated with the chart element.
A plot, such as the cartesian coordinate plot shown in fig. 2a, is typically made up of several major parts, namely a plot area, a drawing area, plot elements reflecting data information (e.g., data series, data points, legends, coordinate axes, etc.), 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 that is bounded by two coordinate axes of a vertical coordinate axis (i.e., Y axis) and a horizontal coordinate axis (i.e., X axis) and contains graduation marks. The data series is a set of data points, and 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 # 1 # division of the # 1 # region shown in fig. 2a are all represented in medium gray. The legend is used to explain the data series. The legend is located 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 a user can quickly determine the meaning of each data series through the legend. Data points, a data point is a specific value in a cell in a spreadsheet (e.g., excel), and is shown in a graph as a rectangle, line, column, sector, or other shape. For example, each column 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 function of classifying and measuring the data. For example, the chart 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, in addition to the above-mentioned components including the chart area, drawing area, data series, legend, data point, coordinate axis, text (including numerical text and character text), some other components may be included in a chart, for example, grid lines, error lines, trend lines, chart titles, etc., which are not described herein.
Fig. 2b shows an example of a radar map belonging to one of the polar diagrams. In the polar chart shown in fig. 2b, a plurality of classification axes, such as turnover rate, stock-out rate, accuracy rate, score, duty ratio and quasi-dot rate, are uniformly distributed on the outer circumference at equal angles. Circles with different diameters are used as measuring axes for measuring values of different data points. In fig. 2b, a plurality of data points of the same legend are classified into values corresponding to the respective classification axes, and the polygon in fig. 2b is formed.
The graphs shown in fig. 1, 2a and 2b allow a user to generally understand the information of the meaning of the data. For example, the trend of the data can be intuitively seen in fig. 2a, and each legend corresponds to a general difference of the data, etc. Fig. 2b shows intuitively whether the my performance is balanced in all aspects. FIG. 1 is relatively complex, dense, and lacks emphasis, and it is difficult to see meaning information between data. Although fig. 2a and 2b can see some information, it cannot be seen visually how much a specific difference, such as division 1 of the # # section, how much the second quarter increases compared to the first quarter, how much the fourth quarter increases compared to the third quarter, etc. In fig. 1, if only one legend or part of legend data is to be focused, or only one period of time is to be focused. In response to these demands, it is necessary to provide a corresponding interactive function for the graph so that the user knows the data information he wants to know through interaction.
Therefore, the application provides a technical scheme which is convenient to interact, high in intelligent degree and convenient for users to deeply mine information between data points on the chart. In order to enable those skilled in the art to better understand the present application, the following description will make clear and complete descriptions of the technical solutions according to the embodiments of the present application with reference to the accompanying drawings. In some of the flows described in the specification, claims, and figures above, a number of operations are included that occur in a particular order, and the operations may be performed out of order or concurrently with other operations from that shown and described herein. The sequence numbers of operations such as 101, 102, etc. are merely used to distinguish between the various operations, and the sequence numbers themselves do not represent any order of execution. In addition, 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" and "second" herein are used to distinguish different operations, devices, modules, etc., and do not represent a sequential order, nor do they limit that "first" and "second" are different types. Furthermore, the embodiments described below are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The chart interaction method provided by the embodiments of the present application, that is, an interaction analysis technique for visualizing charts is provided, and a user may select a range of interest on the chart to perform a certain analysis on data in the range, and/or select data points to be compared to perform a comparison, and/or select local data points to be focused to perform an analysis, based on the interaction function provided by the chart. The polar coordinate diagram and the cartesian coordinate diagram will be exemplified herein, but it is not represented that the present solution is only applicable to these two types of diagrams, and the solution provided by the embodiment of the present application is not limited to the types of diagrams.
The polar coordinate chart is a chart adopting a polar coordinate system. The polar coordinate system is a two-dimensional coordinate system. Any position in the coordinate system may be represented by an angle and a distance from the origin to the pole. The angle and radius of the polar coordinate system may be utilized in the visualization to map the different data dimensions. Representative charts are: rose diagram, radar diagram, etc. Cartesian coordinate diagrams, such as XY-axis coordinate diagrams, multiaxis diagrams (e.g., X-axis, two Y-axis diagrams). Wherein each Y-axis in the multi-axis graph represents a different data dimension. The Y-axis on the left side as in fig. 1 is GMV (GrossMerchandise Volume, commodity transaction total); the Y-axis on the right side is the "target completion bias rate".
The technical scheme provided by the application is explained below.
Fig. 3 is a schematic flow chart illustrating a chart interaction method according to an embodiment of the application. The execution main body of the chart interaction method provided by the embodiment of the application is an electronic device with data processing logic, and the electronic device can be any terminal device such as a mobile phone, a tablet personal computer, an intelligent wearable device and the like. As shown in fig. 3, the chart display method provided in this embodiment includes the following steps:
101. the first operational location is monitored in response to a first operation by a user on the chart.
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. In response to a second operation by the user on the chart, an operation trajectory is monitored.
104. At least one second data point is determined on the graph along which the operational trajectory is routed.
105. And based on the first data point and the at least one second data point, performing chart data analysis to obtain analysis information.
106. And displaying the analysis information on the chart.
In the above 101, the first operation may be a movement operation or a clicking operation of the user on the chart display interface 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 the user triggers a click operation after hovering the mouse in the process of moving the mouse. I.e. a pause occurs during the detection of the user movement operation and the user triggers a click operation, the current stop position may be noted 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 the user operates a mouse click or a position where the user touches the touch screen. The first operation position may be a coordinate position of the user's operation under the chart coordinate system.
In 102 above, the threshold may be determined based on the chart size, the concentration of data points on the chart, and the like. If the concentration of data points on the chart is high, the threshold can be set smaller. If the concentration of data points on the chart is low, the threshold may be set to be larger. Such as the graph shown in fig. 1, the threshold value may be set smaller.
In one possible scenario, if there are a plurality of data points with a distance smaller than the threshold value around the first operation position, the plurality of data points with a distance smaller than the threshold value may be all taken as candidate points, candidate prompt identifiers are displayed on the plurality of candidate points, and the user may select a first data point from the plurality of candidate points by clicking the prompt identifier corresponding to a certain candidate point. For example, candidate prompt identifiers are flashing circle identifiers displayed at candidate points on the chart, or dynamically changing size identifiers, etc., to highlight these candidate points for selection by the user. The specific style of the candidate prompt identifier is not limited in this embodiment.
In this embodiment, when a user operates on a chart, 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 chart is smaller than a threshold value, the data point is used as the selected first data point, that is, the user does not need to accurately position the operation to the data point, and the operation can be automatically adsorbed to the data point as long as the operation enters the threshold value range of the data point, so that the user operation is facilitated; the convenience of this function is more pronounced, especially on graphs where the data points are relatively dense and complex.
In 103, the second operation may be a movement operation using a mouse on the chart display interface, or a sliding operation of the user on the touch screen.
In the above 104, the data points of the operation track with the distance along the way smaller than the threshold value are all taken as the second data points; data points around the suspension position in the moving operation, the distance of which is smaller than the threshold value, can also be used as second data points; etc., the present embodiment is not limited thereto.
As shown in fig. 4a to 4d, the operation trace of the movement operation of the user on the display interface of the graph is shown by a broken line in each figure. As shown in fig. 4b, the data points for which the distance corresponding to the user mobile operation hover position is less than the threshold value are "date: 2021/01/15; the actual sales are 4096.8", at which point the" selected hint identifications "are shown as" +% "in the figure.
What needs to be explained here is: the measurement units are not shown in each chart herein, and this embodiment is not limited thereto. Because of the exemplary graph, the units of measure of sales in the graph may be: meta, ten thousand, etc., the stock's units of measure may be: parts, jin, boxes, etc.
In a specific embodiment, the step 105 of performing a chart 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, performing 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, value information, etc. to which the first data point belongs; legend information, value information and the like to which the second data point belongs. Referring to fig. 4b, the first data point is "date: 2021/01/13; actual sales were 9099.1", second data point was" date: 2021/01/15; the actual sales were 4096.8", and the comparison result obtained by comparison was" -5002.3", i.e. the value shown in brackets in the figure.
1052. When the operation track passes through two or more than two second data points, according to the passing sequence of the operation track, chart data analysis is sequentially carried out according to the first data points and the second data points in the corresponding sequence so as to obtain a plurality of analysis information.
For example, the user's operation track is the track corresponding to the consecutive moving operations shown in fig. 4b, 4c and 4d, and the first data point and the second data point in the corresponding sequence may be compared sequentially. When the user's operation moves to the second data point "date" of the first order: 2021/01/15; when the actual sales are 4096.8", the" actual sales are 9099.1 "in the first data point is compared with the" actual sales are 4096.8 "in the second data point in the first order, and" -5002.3 "is obtained. The user then continues to operate to the second data point "date" of the second order as in fig. 4 c: 2021/01/14; when the planned sales amount is 2873.4", the" actual sales amount is 9099.1 "in the first data point is compared with the" planned sales amount is 2873.4 "in the second data point in the second sequence, and the" -6225.7 "is obtained. Again, the user continues to operate to the third sequential second data point "date" as in fig. 4 d: 2021/01/16; when the actual sales were 7918.2", the" actual sales were 9099.1 "in the first data point and the" actual sales were 7918.2 "in the second data point in the third order were compared to obtain" -1181.0".
In the step 1052, the first data point is individually compared with the second data point in the corresponding sequence, so as to obtain a plurality of analysis information (such as the comparison difference between the first data point and the second data point). In addition to the individual comparison, chart data analysis may also be performed based on the first data point and the second data point of the track sequential accumulation path. That is, step 105 of this embodiment may further include step 1053:
1053. when the operation track passes through two or more than two second data points, according to the passing sequence of the operation track, sequentially accumulating the second data points of the paths according to the first data points and the corresponding sequence, and executing chart data analysis to obtain a plurality of analysis information.
The trajectory is dynamic and the trajectory follows a sequential path to the second data point having a distance less than the threshold requirement. As in the example shown in fig. 4a, 4b, 4c and 4d, the operation trace first passes through the first sequential second data point "date: 2021/01/15; actual sales were 4096.8", and a second data point of the second order was" date: 2021/01/14; the projected sales were 2873.4", followed by a third sequence of second data points" date: 2021/01/16; the actual sales were 7918.2". That is, performing a chart data analysis based on the first data point and the first sequential second data point as the user moves the operation past the first sequential second data point; performing a chart data analysis based on the first data point, the first sequential second data point, and the second sequential second data point as the user moves the operation to the second sequential second data point; as the user continues to operate, when moving to the second data point in the third order, chart data analysis is performed based on the first data point, the second data point in the first order, the second data point in the second order, and the second data point in the third order.
Wherein the chart data analysis mentioned above may include, but is not limited to: data comparison (e.g., differencing), data aggregation, data intersection, complementation, deviation, data trend analysis (e.g., percent increase, percent decrease, etc.), and so forth.
Further, the multi-axis multi-legend diagrams shown in fig. 4 a-4 d include a plurality of legends, respectively: actual sales, planned sales, current inventory, target inventory, safety inventory. In this case, if the actual sales are compared with the target inventory, the analysis may not be significant. Thus, step 104 "determining at least one second data point along which the operation trace is routed on the chart" in the embodiment of the present application may include:
1041. acquiring track points of the operation track;
1042. when candidate data points with the distance smaller than the threshold value are arranged around the track points, obtaining a 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 may be preconfigured, such as by presetting a legend relationship information. The legend relationship information can be characterized as the following table:
Legend for Correlation legend
Actual sales Planned sales volume
Planned sales volume Actual sales
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 quick, visual and clear; and the user can quickly acquire the relation among the chart data points and the information of the meaning among the data.
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, only the legend data point of the "actual sales volume" and the legend data point of the "planned sales volume" will be automatically absorbed when the subsequent user operates the track path point. Referring to fig. 5a and 5b, the first data point "date" selected by the user: 2021/01/14; target inventory: 76.2", the" target inventory "legend data points," current inventory "and" safety inventory "legend data points are automatically only absorbed by the subsequent user operating the track route points, while the" actual sales "and" planned sales "legend data points of the route are not taken as the second data points.
Further, the method provided in this embodiment may further include the following steps:
107. and displaying a first selected prompt identifier which accords with the legend characteristics of the first data point at the first data point.
108. And displaying a second selected prompt identifier which accords with the legend characteristic of the second data point at the second data point.
Wherein the legend features include at least one of: legend the appearance and color in the chart; the expression profile includes at least one of: columnar morphology, scattered dot morphology, multi-segment line morphology, and curve morphology.
For example, when the legend feature to which the first data point belongs includes: columnar morphology, blue. Correspondingly, a selected prompt identifier (such as a circular identifier) corresponding to the columnar form can be displayed at the first data point, and the selected prompt identifier is blue. The purpose of this is to: the legend to which the first selected prompt identifier belongs is highlighted directly and prominently.
In the technical solution provided in this embodiment, when the distance between the first operation position and a data point on the chart is smaller than a threshold, and the user mouse identifier has not moved to the first data point, the first selection prompt identifier is shown on the first data point in advance, so that the user does not need to accurately move the mouse to the first data point position, and the effect can be called as a function of adsorbing the data point.
Further, referring to fig. 4a, in order to improve interaction timeliness of the graph, the embodiment further provides a follow-up operation track, acquires values of track points in the graph in real time, and then performs graph data analysis based on the values of the first data points and the track points in the graph so as to display analysis results in real time following user operation. That is, the method provided in this embodiment may further include the following steps:
acquiring the track points of the operation track and the values of the track points on a chart;
according to the values of the first data point and the track point on the chart, chart data analysis is carried out to obtain an analysis result;
and dynamically displaying analysis results related to each track point along the operation track on the chart.
Referring to fig. 4a, 4b, 4c and 4d, when the operation track passes through two or more second data points, step 106 "in this embodiment displays the analysis information on the chart", which may be specifically:
and sequentially displaying a plurality of analysis information on the chart 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 at least one second data point can be synchronously displayed.
Further, the method provided in this embodiment may further include the following steps:
109. and determining the shape of the measurement area according to the type corresponding to the chart.
110. Determining a metric zone boundary and a metric configuration scheme based on the metric zone shape, the first data point, and the at least one second data point; the measuring rule configuration scheme comprises the number of measuring rules and the direction of the measuring rules.
111. And drawing a measurement area containing an operable measurement ruler on the chart according to the measurement area shape, the measurement area boundary and the measurement ruler configuration scheme.
Wherein the extent of the measurement zone can be varied by operating the operable measurement scale.
With continued reference to the example shown in fig. 4 a-4 d, the corresponding type of graph is a cartesian coordinate type, and the corresponding metric zone shape may be rectangular. As shown in fig. 4a to 4d, the first data point is used as one boundary point of the rectangular measurement area, the track point of the user operation movement is used as the other boundary point of the rectangular measurement area, and the two editing points are two diagonal points of the rectangle. The metric configuration scheme is related to the shape of the metric region. As in the example shown in fig. 4 a-4 d, two gauges may be disposed within the measurement zone, one oriented parallel to the abscissa axis of the chart and the other oriented parallel to the ordinate axis of the chart.
As another example, as shown in FIG. 6, the graph is a polar graph, i.e., the corresponding type is a polar type. The corresponding metrology zone is annular, fan-shaped, or fan-annular in shape. As shown in FIG. 6, the first data point serves as one boundary point of the metric region, and the locus of user-operated movements serves as the other boundary point of the metric region, the two boundary points defining the inner and outer diameters of the metric region. 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 measurement zone. I.e. the angle between a first line of one boundary point and the polar origin and a second line of the other boundary point and the polar origin, i.e. the central angle. The measurement zone may be configured with one or two measurement scales. As shown in fig. 6, a measuring scale, i.e. an arrow in the radial direction in the sector-shaped region in the figure, is arranged in the measuring region. The user may operate the measuring tape in the direction in which the arrow is pointing to change the area extent of the measuring area. In addition, a plurality of measuring scales may be disposed in the sector-shaped measuring region, for example, a measuring scale in the sector-circular arc direction may be included in addition to the measuring scale in the radial direction, and the user may change the central angle of the sector-shaped measuring region by operating the measuring scale in the sector-circular arc direction.
Still further, the user may change the area extent of the measurement zone by operating the measurement scale. That is, the method provided in this embodiment may further include the following steps:
112. and in response to the operation of a user on at least one measuring ruler in the measuring area, adjusting the size of the measuring area in the corresponding direction of the at least one measuring ruler so as to change the area range of the measuring area.
In addition to the analysis of specific data points described above, the method provided by the present embodiment may also provide the user with an analysis of all data within the metric region (i.e., data focusing) that facilitates the user's ability to focus on the local chart of interest. That is, the method provided in this embodiment may further include the following steps:
113. and responding to a processing instruction triggered by a user for the measurement area, and processing the data points in the measurement area.
Wherein the processing of the data points within the metric region may include, but is not limited to: statistics, data calculation, analysis, and the like.
In the implementation manner shown in fig. 4a, the method provided in this embodiment may further include the following steps:
114. and dynamically displaying a measurement area which takes the first data point and the track point as boundary points and is adaptive to the corresponding type of the chart in shape along with the operation track on the chart.
I.e. the metric field is dynamically displayed following the user's operation.
The above embodiments mention that when there are data points around the first operation position with a distance smaller than the threshold value, the data points are adsorbed and then selected for data analysis based on the data points. The user may also not focus on data point selection, but only on the selection of data regions. That is, the method provided in this embodiment may further include the following steps:
115. if no data point with the distance smaller than the threshold value is around the first operation position, taking the first operation position as a measurement area to select a starting point, and waiting for subsequent operation of a user;
116. responsive to a third operation by a user on the chart, determining a second operation position and taking the second operation position as the metric region selection end point;
117. determining a measurement area shape and a measurement rule configuration scheme according to the type corresponding to the chart;
118. and determining and displaying the measuring area containing the operable measuring rule based on the measuring area selection starting point, the measuring area selection end point, the measuring area shape and the measuring rule configuration scheme.
After the user selects the metric region, the user may trigger a processing instruction for the data points in the metric region, as described above in step 113: and responding to a processing instruction triggered by a user for the measurement area, and processing the data points in the measurement area.
The application also provides an embodiment of the polar coordinate chart interaction method. And the interaction of the polar coordinate graph is aimed at, so that the user can analyze the data flexibly. Specifically, as shown in fig. 7, the polar chart interaction method includes:
201. the central angle, the first radial dimension, and the second radial dimension are determined in response to a fourth operation by the user on the polar chart.
202. Displaying an annular or sector annular measuring region with an operable measuring scale on the chart according to the central angle, the first radial dimension and the second radial dimension; wherein the extent of the measurement zone can be varied by operating the operable measurement scale.
203. And responding to a processing instruction triggered by a user for the measurement area, and processing the data points in the measurement area to display a processing result on the polar coordinate chart.
In the above 201, the fourth operation may be one operation or one continuous operation. For example, a "metrics area" creation control is displayed on the interactive interface where the chart is located. The user touches the 'measurement area' creation control on the interface, and the measurement area configuration floating window is displayed on the interface. The floating window comprises: parameters of the metrology zone (e.g., central angle, first radial dimension, second radial dimension, boundary point) configure windows, metrology rule configure windows, etc. The parameter configuration window of the measurement area can also display a parameter selection range prompt, so that a user can set parameters by referring to the parameter selection range. In addition to setting the measurement area by means of the control and the popup window, the user can also determine the measurement area on the polar coordinate chart by means of clicking, framing, dragging and the like. Alternatively, the metric region may be drawn on a polar chart, or the like, by an existing tool on the chart interactive interface. For example, the user first clicks the mouse at a position on the polar chart to take the position as the start point of drawing, and then operates by the mouse to draw a circular, fan-shaped, or circular metric region.
In 202 above, referring to the example shown in fig. 8a, when the central angle is 360 degrees, the measurement area is an annular measurement area. When the central angle is an angle smaller than 360 degrees and larger than 0 degrees, the measuring area is a sector ring measuring area, as shown in fig. 8b.
In 203, all the data points in the metric region may be counted, summarized, averaged, etc. when performing the chart data analysis, which is not limited in this embodiment.
In another aspect provided by the present embodiment, a user may determine a sector-or ring-shaped metric region on a polar coordinate graph, and then perform graph data analysis based on data points within the sector-or ring-shaped metric region; and displaying the analysis information on a polar chart. Compared with the prior art that only the sector area in the polar coordinate chart can be selected, the scheme provided by the embodiment of the application can flexibly determine the shape, the size and the like of the measurement area on the chart by a user, so that data points wanted by the user can be more accurately selected and analyzed, the method and the device are more in line with the user expectation, and the user experience is good.
Further, the polar coordinate chart provided in this embodiment may include: radar chart, polar axis chart (or rose chart), etc. In addition to determining the metric region in polar coordinates, the user may also select data points for comparison analysis between the data points.
For example, the method provided by the embodiment of the 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 operation 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. And 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 passed by the operation track on the polar coordinate chart.
209. And based on the first data point and the at least one second data point, performing chart data analysis to obtain analysis information.
210. And displaying the analysis information on the chart.
The fifth operation described above may be the same as or different from the first operation mentioned above, and this embodiment is not limited thereto. The sixth operation described above may be the same as the second operation mentioned above, or may be different.
In addition, the contents of the steps 205 to 210 can be referred to the above description, and the description is omitted here.
As with the method embodiment described above, for the graphs with multiple legends shown in fig. 4 a-4 d, the second data point is associated with the legend to which the first data point belongs in addition to the trace point distance from the operation trace 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 sector ring measurement area determined by the first data point and the track point along the operation track on the polar coordinate chart.
Fig. 9 is a schematic flow chart of 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. A determination is made as to whether there are data points surrounding the operating position that have a distance less than a threshold.
303. If the periphery of the operation position is provided with data points with the distance smaller than a threshold value, determining interaction intention of a 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 the follow-up operation of a user, and executing data point comparison analysis according to the first data point and the at least one second data point.
304. If no data points with the surrounding distances smaller than the threshold value exist around the operation position, determining that the interaction intention of the user is focused for the data; and taking the first operation position as a measurement area selection starting point, determining a measurement area based on the subsequent operation of a user, and carrying out data focusing related processing on data points in the measurement area.
In 303, the "determining at least one second data point based on the user's subsequent operation, and performing data point comparison analysis based on the first data point and the at least one second data point" may refer to the relevant steps in the above embodiments, such as steps 103 to 106.
In 303, the "process of selecting the first operation position as a measurement area and determining a measurement area based on the subsequent operation of the user and performing data focusing correlation on the data points in the measurement area" may be specifically referred to the correlation steps in the above embodiments, such as steps 115 to 118; or steps 201-203.
In the method, the interaction intention of the user is determined through whether the data points with the distance smaller than the threshold value exist around the operation position operated by the user on the chart. When data points with the distance smaller than a threshold value are arranged around the operation position, determining interaction intention of a user to compare the data points; at this time, the data point is taken as a selected first data point, at least one second data point is determined based on the subsequent operation of the user, and data point comparison analysis is performed according to the first data point and the at least one second data point. Determining that the interaction intention of the user is focused for data when no data points with a distance less than the threshold value are around the operation position; and taking the first operation position as a measurement area selection starting point, determining a measurement area based on the subsequent operation of a user, and carrying out data focusing related processing on data points in the measurement area. Therefore, the embodiment of the application can automatically sense the chart interaction intention of the user through the operation of the user, and can timely make corresponding analysis or processing according to the interaction intention of the user, thereby having high intelligent degree and good interaction experience.
The technical scheme provided by the embodiment of the application is as follows: starting from data point focusing, high-dimensional data comparison and polar coordinate visual analysis, the three analysis requirements are started, and the visual chart is better to aid in analysis in an actual scene. An embodiment of the present application provides a scheme that a user can automatically select data (or colloquially called adsorption) within a range of a data point threshold from an operation position, and when the chart has a plurality of legend data, the embodiment shown in fig. 3 only adsorbs the data with the same or related legends as the legends of the selected data points, so that the user can select points more conveniently and efficiently; and the data point can be adsorbed, analyzed and displayed in real time along with the dynamic operation of the user. When there are no data points with distances less than the threshold value around the user operation position, the user can switch to the measurement area to select an interaction mode, and the user can determine the measurement area to process (such as statistics, averaging and the like) the data points in the measurement area. In another embodiment of the present application, an interaction scheme of a polar coordinate chart is provided, and a user can select a measurement area on the polar coordinate chart, such as a selectable annular measurement area, a fan-shaped measurement area, and the like, so that the user can select a range more accurately through the function. An aspect of yet another embodiment of the present application distinguishes analysis for data points from metric zone processing by determining whether there are data points less than a threshold around an operational location of a user operation to determine a user's intent to interact. And then, according to the interaction intention of the user, the adaptive response is made to the subsequent operation of the user, so that 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 interaction device includes: the system 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. Wherein the obtaining module 11 is configured to monitor a first operation position in response to a first operation of a user on the chart. The setpoint module 12 is configured to treat a data point on the chart as a selected first data point when the first operating position is less than a threshold distance from the data point. The monitoring module 13 is configured to monitor an operation track in response to a second operation of the user on the chart. The determining module 14 is configured to determine, on the chart, at least one second data point along which the operation trace passes. The execution module 15 is configured to execute a chart data analysis based on the first data point and the at least one second data point to obtain analysis information. The display module 16 is configured to display the analysis information on the chart.
Further, the determining module 14 is specifically configured to, when determining at least one second data point along which the operation track passes on the chart:
Acquiring track points of the operation track; when candidate data points with the distance smaller than the threshold value are arranged around the track points, 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.
Further, the display module 16 in this embodiment is further configured to:
displaying a first selected prompt identifier conforming to the legend characteristics to which the first data point belongs at the first data point;
displaying a second selected prompt identifier which accords with the legend characteristics of the second data point at the second data point;
wherein the legend features include at least one of: legend the appearance and color in the chart; the expression profile includes at least one of: columnar morphology, scattered dot morphology, multi-segment line morphology, and curve morphology.
Further, the execution module 15 is specifically configured to:
when the operation track passes through a second data point, graph data analysis is carried out according to the first data point and the second data point so as to obtain analysis information;
when the operation track passes through two or more than two second data points, according to the passing sequence of the operation track, sequentially executing chart 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 than two second data points, according to the passing sequence of the operation track, sequentially accumulating the second data points of the paths according to the first data points and the corresponding sequence, and executing chart data analysis to obtain a plurality of analysis information.
Further, when the operation track 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 chart along with the passing sequence of the operation track.
Further, the chart interaction device provided in this embodiment may further include a drawing module. Accordingly, the determining module 14 may be further configured to: determining the shape of a measurement area according to the type corresponding to the chart; determining a metric zone boundary and a metric configuration scheme based on the metric zone shape, the first data point, and the at least one second data point; the measuring rule configuration scheme comprises the number of measuring rules and the direction of the measuring rules. The drawing module is used for drawing the measuring area containing the operable measuring ruler on the chart according to the measuring area shape, the measuring area boundary and the measuring ruler configuration scheme. Wherein the extent of the measurement zone can be varied by operating the operable measurement scale.
Further, the chart interaction device provided in this embodiment may further include an adjustment module. The adjustment module is used for responding to the operation of a user on at least one measuring rule in the measuring area and adjusting the dimension of the measuring area in the corresponding direction of the at least one measuring rule so as to change the area range of the measuring area.
Accordingly, the execution module 15 may further be configured to: and responding to a processing instruction triggered by a user for the measurement area, and processing the data points in the measurement area.
Further, the display module 16 in the chart interaction device provided in this embodiment may be further configured to:
and dynamically displaying a measurement area which takes the first data point and the track point as boundary points and is adaptive to the corresponding type of the chart in shape along with the operation track on the chart.
Further, the point selection module 12 in the chart interaction device provided in this embodiment may be further configured to: if no data point with the distance smaller than the threshold value is around the first operation position, taking the first operation position as a measurement area to select a starting point, and waiting for subsequent operation of a user; in response to a third operation by the user on the chart, a second operation position is determined and used as the end point of the metric region selection. Correspondingly, the determining module in the chart interaction device provided in this embodiment may further be used to: determining a measurement area shape and a measurement rule configuration scheme according to the type corresponding to the chart; and determining and displaying the measuring area containing the operable measuring rule based on the measuring area selection starting point, the measuring area selection end point, the measuring area shape and the measuring rule configuration scheme. The execution module in the chart interaction device provided in this embodiment may be further configured to process the data points in the metric area, so that the display module displays the processing result on the chart.
What needs to be explained here is: the schematic interaction device provided in the foregoing embodiment may implement the technical solution described in the foregoing schematic interaction method embodiment, and the specific implementation principle of each module or unit may refer to the corresponding content in the foregoing schematic interaction method embodiment, which is 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 interaction device includes: a determining module 21, a display module 22 and an executing 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 by the user on the polar chart. The display module 22 is configured to display an annular or sector annular measuring region with an operable measuring scale on the chart according to the central angle, the first radial dimension and the second radial dimension; wherein the extent of the measurement zone can be varied by operating the operable measurement scale. The execution module 23 is configured to process data points in the measurement area in response to a processing instruction triggered by a user for the measurement area, so that the display module displays a processing result on the polar coordinate chart.
Further, the image interaction device provided in this embodiment may further include an acquisition module, a point selection module, and a monitoring module. The acquiring module is used for responding to a fifth operation of a user on the polar coordinate chart and acquiring a third operation position. The point selection module is configured to take a data point on the polar coordinate graph as the selected first data point when the distance from the third operating position to the data point is less than a threshold value. The monitoring module is used for responding to a sixth operation of a user on the polar coordinate chart and monitoring an operation track. The determining module is further configured to determine at least one second data point along which the operation track passes on the polar coordinate chart. The execution module is further configured to execute a chart data analysis based on the first data point and the at least one second data point to obtain analysis information. The display module is also used for displaying the analysis information on the chart.
Further, the display module 22 is further configured to: and dynamically displaying a sector ring measurement area determined by the first data point and the track point along the operation track on the polar coordinate chart.
What needs to be explained here is: the chart interaction device provided in the foregoing embodiment may implement the technical solution described in the foregoing polar chart interaction method embodiment, and the specific implementation principle of each module or unit may refer to the corresponding content in the foregoing polar chart interaction method embodiment, which is not described herein again.
Fig. 12 is a schematic structural diagram of a chart interaction device according to another embodiment of the present application. As shown, the chart interaction device includes: the device comprises a determining module 31, a judging module 32, a first processing module 33 and a second processing module 34. Wherein, the determining module 31 is used for determining the operation position in response to the operation of the user on the chart. The determination module 32 is operable to determine whether there are data points surrounding the operating position that have a distance less than a threshold. The first processing module 33 is configured to determine that the interaction intention of the user is data point comparison when there are data points with a distance less than a threshold value around the operation position; and taking the data point as a selected first data point, determining at least one second data point based on the follow-up operation of a user, and executing 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 interaction intention of the user is focused on data when there is no data point with a distance around the operation position less than the threshold; and taking the first operation position as a measurement area selection starting point, determining a measurement area based on the subsequent operation of a user, and carrying out data focusing related processing on data points in the measurement area.
What needs to be explained here is: the schematic display device provided in the foregoing embodiment may implement the technical solution described in the foregoing schematic interaction method embodiment, and the specific implementation principle of each module or unit may refer to the corresponding content in the foregoing schematic interaction method embodiment, which is not repeated herein.
Fig. 13 is 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 is coupled to the memory 51 for one or more computer instructions (e.g., computer instructions implementing data storage logic) for implementing the steps in the various diagram interaction method embodiments described above.
The memory 51 may be implemented by any type of volatile or non-volatile memory device or combination thereof, 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 disk.
Further, as shown in fig. 13, the electronic device further includes: communication component 53, power component 55, display 54, and other components. Only some of the components are schematically shown in fig. 13, which does not mean that the electronic device only comprises the components shown in fig. 13.
Yet another embodiment of the application provides a computer program product (not shown in the drawings of the specification). The computer program product comprises a computer program or instructions which, when executed by a processor, cause the processor to carry out the steps of the method embodiments described above.
Accordingly, embodiments of the present application also provide a computer-readable storage medium storing a computer program which, when executed by a computer, is capable of implementing the method steps or functions provided by the above embodiments.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the 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 scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the 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 the 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 a user on the chart;
determining at least one second data point along which the operation track passes on the chart;
performing a chart data analysis based on the first data point and the at least one second data point to obtain analysis information;
and displaying the analysis information on the chart.
2. The method of claim 1, wherein determining at least one second data point on the graph traversed by the operational trajectory comprises:
acquiring track points of the operation track;
when candidate data points with the distance smaller than the threshold value are arranged around the track points, 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 as recited in claim 2, further comprising:
displaying a first selected prompt identifier conforming to the legend characteristics to which the first data point belongs at the first data point;
displaying a second selected prompt identifier which accords with the legend characteristics of the second data point at the second data point;
wherein, the legend characteristics include: legend at least one of the appearance and color in the chart; the expression profile includes at least one of: columnar morphology, scattered dot morphology, multi-segment line morphology, and curve morphology.
4. A method according to any one of claims 1 to 3, wherein performing a chart 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, graph data analysis is carried out according to the first data point and the second data point so as to obtain analysis information;
when the operation track passes through two or more than two second data points, according to the passing sequence of the operation track, sequentially executing chart 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 than two second data points, according to the passing sequence of the operation track, sequentially accumulating the second data points of the paths according to the first data points and the corresponding sequence, and executing chart data analysis to obtain a plurality of analysis information.
5. The method of claim 4, wherein displaying the analysis information on the graph as the operation trace passes over two or more second data points comprises:
and sequentially displaying a plurality of analysis information on the chart along with the passing sequence of the operation track.
6. A method according to any one of claims 1 to 3, further comprising:
determining the shape of a measurement area according to the type corresponding to the chart;
Determining a metric zone boundary and a metric configuration scheme based on the metric zone shape, the first data point, and the at least one second data point; the measuring rule configuration scheme comprises the number of measuring rules and the direction of the measuring rules;
drawing a measurement zone containing an operable measurement scale on the chart according to the measurement zone shape, the measurement zone boundary and the measurement scale configuration scheme;
wherein the extent of the measurement zone can be varied by operating the operable measurement scale.
7. The method of claim 6, further comprising at least one of:
responding to the operation of a user on at least one measuring ruler in the measuring area, and adjusting the size of the measuring area in the corresponding direction of the at least one measuring ruler so as to change the area range of the measuring area;
and responding to a processing instruction triggered by a user for the measurement area, and processing the data points in the measurement area.
8. A method according to any one of claims 1 to 3, further comprising:
and dynamically displaying a measurement area which takes the first data point and the track point as boundary points and is adaptive to the corresponding type of the chart in shape along with the operation track on the chart.
9. A method according to any one of claims 1 to 3, further comprising:
if no data point with the distance smaller than the threshold value is around the first operation position, taking the first operation position as a measurement area to select a starting point, and waiting for subsequent operation of a user;
responsive to a third operation by a user on the chart, determining a second operation position and taking the second operation position as the metric region selection end point;
determining a measurement area shape and a measurement rule configuration scheme according to the type corresponding to the chart;
and determining and displaying the measuring area containing the operable measuring rule based on the measuring area selection starting point, the measuring area selection end point, the measuring area shape and the measuring rule configuration scheme.
10. A polar chart interaction method, comprising:
determining a central angle, a first radial dimension, and a second radial dimension in response to a fourth operation by the user on the polar chart;
displaying an annular or sector annular measuring region with an operable measuring scale on the chart according to the central angle, the first radial dimension and the second radial dimension; wherein the extent of the measurement zone can be changed by operating the operable measurement scale;
And responding to a processing instruction triggered by a user for the measurement area, and processing the data points in the measurement area to display a processing result on the polar coordinate chart.
11. The method as recited in claim 10, further comprising:
responding to a fifth operation of a user on the polar coordinate chart, and acquiring a third operation position;
when the distance between the third operation 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;
monitoring an operation track in response to a sixth operation of a user on the polar coordinate chart;
determining at least one second data point passed by the operation track on the polar coordinate chart;
performing a chart data analysis based on the first data point and the at least one second data point to obtain analysis information;
and displaying the analysis information on the chart.
12. The method as recited in claim 11, further comprising:
and dynamically displaying a sector ring measurement area determined by the first data point and the track point along the operation track on the polar coordinate chart.
13. A chart interaction method, comprising:
Determining an operation position in response to an operation of the user on the chart;
determining whether there are data points around the operating position with a distance less than a threshold;
if the periphery of the operation position is provided with data points with the distance smaller than a threshold value, determining interaction intention of a user as data point comparison; taking the data point as a selected first data point, determining at least one second data point based on the subsequent operation of a user, and executing data point comparison analysis according to the first data point and the at least one second data point;
if no data points with the surrounding distances smaller than the threshold value exist around the operation position, determining that the interaction intention of the user is focused for the data; and taking the operation position as a measurement area selection starting point, determining a measurement area based on the 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 memory stores one or more computer instructions;
the processor being coupled to the memory for executing the one or more computer instructions for implementing the steps of the method of any of the preceding claims 1 to 9, or the steps of the method of any of the preceding claims 10 to 12, or the steps of the method of the preceding 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 CN114935997A (en) 2022-08-23
CN114935997B true 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 (22)

* 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
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
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
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

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8321781B2 (en) * 2007-02-08 2012-11-27 Microsoft Corporation User interface pane for an interactive chart
CN103809928B (en) * 2012-11-14 2018-03-23 腾讯科技(深圳)有限公司 A kind of display methods, the device and system of trend graph of merchandising
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
TWI550519B (en) * 2015-05-27 2016-09-21 仁寶電腦工業股份有限公司 Chart drawing method
CN108399386B (en) * 2018-02-26 2022-02-08 阿博茨德(北京)科技有限公司 Method and device for extracting information in pie chart

Patent Citations (22)

* 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
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
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
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
Excel中曲线局部提取显示、野点清除及次坐标轴自定义;张宗科;;电脑编程技巧与维护(第16期);全文 *
matlab图像交互式操作,鼠标选取图像的一个区域;璇焱如柳;《https://blog.csdn.net/a1367666195/article/details/119278522》;全文 *
使用手势画圈找到地图上范围内的数据;张小盒liliZhang;《https://blog.csdn.net/sinat_31599813/article/details/50465916》;全文 *
在excel表中如何快速的圈出我们所需要的数据呢;娱小尘;《https://jingyan.baidu.com/article/a3761b2b7190e55577f9aa60.html》;全文 *
基于改进雷达图的可视化聚类方法研究;李惠君;李志全;;燕山大学学报(第01期);全文 *
大规模出租车起止点数据可视分析;姜晓睿;郑春益;蒋莉;梁荣华;;计算机辅助设计与图形学学报(第10期);全文 *
梯度幅度法提取探地雷达图像ROI;金淼;赵永辉;吴健生;谢雄耀;;中国图象图形学报(第04期);全文 *

Also Published As

Publication number Publication date
CN114935997A (en) 2022-08-23

Similar Documents

Publication Publication Date Title
US11853542B2 (en) Systems and methods for using analytic objects in a dynamic data visualization interface
US10254113B2 (en) Inspection program editing environment providing user defined collision avoidance volumes
US9449062B2 (en) Data exploration combining visual inspection and analytic search
US9952586B2 (en) Inspection program editing environment with simulation status and control continually responsive to selection operations
US11029833B2 (en) Numerical value determination method, numerical value determination apparatus, electronic device and storage medium
US10990075B2 (en) Context sensitive relational feature/measurement command menu display in coordinate measurement machine (CMM) user interface
JP2013149148A (en) Graph displaying device
CN114935997B (en) Chart interaction method and electronic equipment
CN104335153A (en) Context based desktop environment for controlling physical systems
JP5824371B2 (en) Graph display device
CN114638579B (en) Visual inventory dynamic data display assembly, method, storage and electronic equipment
CN110737704B (en) Data display method and device
CN113448473B (en) Visual operation method and device for picture cropping area
US20140320501A1 (en) Goodness of fit based on error calculation and fit type
EP3726361B1 (en) Systems and methods for providing drag and drop analytics in a dynamic data visualization interface
CN114442827A (en) Data tag batch selection method and system based on mouse
CN114327191A (en) Key field input method and device of SPC system and electronic equipment
CN117742559A (en) Page interaction method and device

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