CN113064535B - Vernier display method and device for two-dimensional chart, electronic equipment and storage medium - Google Patents

Vernier display method and device for two-dimensional chart, electronic equipment and storage medium Download PDF

Info

Publication number
CN113064535B
CN113064535B CN202110454035.2A CN202110454035A CN113064535B CN 113064535 B CN113064535 B CN 113064535B CN 202110454035 A CN202110454035 A CN 202110454035A CN 113064535 B CN113064535 B CN 113064535B
Authority
CN
China
Prior art keywords
abscissa
ordinate
icon item
generating
displaying
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
CN202110454035.2A
Other languages
Chinese (zh)
Other versions
CN113064535A (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.)
Beijing Shi Guan Jin Yang Technology Development Co ltd
Original Assignee
Beijing Shi Guan Jin Yang Technology Development 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 Beijing Shi Guan Jin Yang Technology Development Co ltd filed Critical Beijing Shi Guan Jin Yang Technology Development Co ltd
Priority to CN202110454035.2A priority Critical patent/CN113064535B/en
Publication of CN113064535A publication Critical patent/CN113064535A/en
Application granted granted Critical
Publication of CN113064535B publication Critical patent/CN113064535B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/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
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/20Drawing from basic elements, e.g. lines or circles
    • G06T11/203Drawing of straight lines or curves
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/20Drawing from basic elements, e.g. lines or circles
    • G06T11/206Drawing of charts or graphs

Abstract

The application provides a cursor display method and device of a two-dimensional graph, electronic equipment and a storage medium, wherein when a user clicks a single-cursor function key, a first abscissa icon item is generated according to an intersection point of a first marked line created on a target two-dimensional graph and an abscissa axis of the target two-dimensional graph, and a first ordinate icon item is generated according to an intersection point of the first marked line and a target curve of the target two-dimensional graph; detecting that a user clicks a double-cursor function key, generating a second abscissa icon item according to an intersection point of a second marked line created on the target two-dimensional graph and an abscissa axis, and generating a second ordinate icon item according to an intersection point of the second marked line and a target curve; generating a third abscissa icon item according to the intersection point of the third marked line and the abscissa axis, and generating a third ordinate icon item according to the intersection point of the third marked line and the target curve; and generating a numerical difference icon item according to the numerical difference between the second abscissa numerical value and the third abscissa numerical value. The value of the variable at a certain time on the curve in the two-dimensional graph can be known.

Description

Vernier display method and device for two-dimensional chart, electronic equipment and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and an apparatus for displaying a cursor on a two-dimensional graph, an electronic device, and a storage medium.
Background
In the system simulation process, the simulation data can be presented in a two-dimensional chart mode besides processing the export file, the presentation mode is more intuitive, the change condition of a certain variable along with the time can be effectively and dynamically presented in real time, an engineer can observe and analyze the trend of the curve in the two-dimensional chart, but the situation of observing the curve is far from sufficient for the engineer.
In order to be able to understand the curve information in a two-dimensional graph, engineers will typically want to know the specific values of the variables at a certain time. However, there is no effective way to know the specific value of a variable at a time on a curve in a two-dimensional graph.
Disclosure of Invention
In view of this, the present invention provides a cursor display method, device, electronic device and storage medium for a two-dimensional graph, so as to achieve the purpose of knowing a specific value of a time-corresponding variable on a curve in the two-dimensional graph.
The invention discloses a cursor display method of a two-dimensional chart in a first aspect, which comprises the following steps:
when detecting that a user clicks a single-cursor function key, creating and displaying a first marked line on a target two-dimensional chart;
acquiring coordinate information of the target two-dimensional chart, and binding the first marked line with the coordinate information of the target two-dimensional chart, wherein the coordinate axis information comprises an abscissa axis and an ordinate axis;
generating and displaying a first abscissa icon item according to the intersection point of the first marked line and the abscissa axis, and generating and displaying a first ordinate icon item according to the intersection point of the first marked line and the target curve, wherein the first abscissa icon item comprises a second abscissa value, and the first ordinate icon item comprises a first ordinate value;
when the user is detected to click the double-cursor function key, a second graticule and a third graticule are created and displayed on a target two-dimensional chart, the second graticule is bound with the coordinate information of the target two-dimensional chart, and the third graticule is bound with the coordinate information of the target two-dimensional chart;
generating and displaying a second abscissa icon item according to the intersection point of the second marked line and the abscissa axis, and generating and displaying a second ordinate icon item according to the intersection point of the second marked line and the target curve, wherein the second abscissa icon item comprises a second abscissa numerical value, and the second ordinate icon item comprises a second ordinate numerical value;
generating and displaying a third abscissa icon item according to the intersection point of the third marked line and the abscissa axis, and generating and displaying a third ordinate icon item according to the intersection point of the third marked line and the target curve, wherein the third abscissa icon item comprises a third abscissa numerical value, and the third ordinate icon item comprises a third ordinate numerical value;
and calculating the numerical difference between the second abscissa numerical value and the third abscissa numerical value, and generating and displaying a numerical difference icon item according to the numerical difference.
Optionally, the method further includes:
setting mouse hovering events for the first reticle, the second reticle and the third reticle respectively;
when the mouse is detected to be hovered over the first marking line, the second marking line or the third marking line and a left key is pressed, current position information of the mouse is obtained in real time;
according to the current position information of the mouse, determining the numerical coordinates of the position corresponding to the current position information on a target two-dimensional chart;
recreating and displaying the first reticle, the second reticle, or the third reticle according to the numerical coordinates;
generating and displaying a new abscissa icon item according to the re-created first graticule, second graticule, or third graticule and the intersection point of the abscissa axis, wherein the new abscissa icon item is the new first abscissa icon item, the new second abscissa icon item, or the new third abscissa icon item;
and generating and displaying a new ordinate icon item according to the re-created intersection point of the first graticule, the second graticule or the third graticule and the target curve, wherein the new ordinate icon item is the new first ordinate icon item, the new second ordinate icon item or the new third ordinate icon item.
Optionally, the generating and displaying a first abscissa icon item according to the intersection point of the first marked line and the abscissa axis and determining a displayed first ordinate icon item according to the intersection point of the first marked line and the target curve include:
acquiring a first abscissa value of an intersection point of the first marking line and the abscissa axis and a first ordinate value of an intersection point of the first marking line and the target curve;
processing the first abscissa value by using a QChart coordinate conversion function mapToposition to obtain first abscissa position information, and generating and displaying a first abscissa icon item by using the first abscissa position information and a preset rectangular area;
and processing the first ordinate numerical value by using the QChart coordinate conversion function mapToposition to obtain first ordinate position information, and generating and displaying a first ordinate icon item by using the first ordinate position information and the preset rectangular area.
Optionally, the generating and displaying a second abscissa icon item according to an intersection point of the second marked line and the abscissa axis, and generating and displaying a second ordinate icon item according to an intersection point of the second marked line and the target curve includes:
acquiring a second abscissa value of the intersection point of the second marked line and the abscissa axis and a second ordinate value of the intersection point of the second marked line and the target curve;
processing the second abscissa value by using a QChart coordinate conversion function mapToposition to obtain second abscissa position information, and generating and displaying a second abscissa icon item by using the second abscissa position information and a preset rectangular area;
and processing the second vertical coordinate value by using the QChart coordinate conversion function mapToposition to obtain second vertical coordinate position information, and generating and displaying a second vertical coordinate icon item by using the second vertical coordinate position information and the preset rectangular area.
Optionally, the generating and displaying a third abscissa icon item according to an intersection point of the third marked line and the abscissa axis, and generating and displaying a third ordinate icon item according to an intersection point of the third marked line and the target curve include:
acquiring a third abscissa value of the intersection point of the third marking and the abscissa axis and a third ordinate value of the intersection point of the third marking and the target curve;
processing the third abscissa value by using a QChart coordinate conversion function mapToposition to obtain third abscissa position information, and generating and displaying a third abscissa icon item by using the third abscissa position information and a preset rectangular area;
and processing the third ordinate value by using the QChart coordinate conversion function mapToposition to obtain third ordinate position information, and generating and displaying a third ordinate icon item by using the third ordinate position information and the preset rectangular area.
The invention discloses a cursor display device of a two-dimensional chart in a second aspect, which comprises:
the first creating unit is used for creating and displaying a first graticule on the target two-dimensional graph when the fact that a user clicks a single-cursor function key is detected;
the first obtaining unit is used for obtaining coordinate information of the target two-dimensional chart and binding the first marked line with the coordinate information of the target two-dimensional chart, wherein the coordinate axis information comprises an abscissa axis and an ordinate axis;
the first generation unit is used for generating and displaying a first abscissa icon item according to the intersection point of the first marked line and the abscissa axis and generating and displaying a first ordinate icon item according to the intersection point of the first marked line and the target curve, wherein the first abscissa icon item comprises a second abscissa numerical value, and the first ordinate icon item comprises a first ordinate numerical value;
the second creating unit is used for creating and displaying a second marking line and a third marking line on a target two-dimensional chart when the user is detected to click the double-cursor function key, binding the second marking line with the coordinate information of the target two-dimensional chart, and binding the third marking line with the coordinate information of the target two-dimensional chart;
the second generating unit is used for generating and displaying a second abscissa icon item according to the intersection point of the second marked line and the abscissa axis, and generating and displaying a second ordinate icon item according to the intersection point of the second marked line and the target curve, wherein the second abscissa icon item comprises a second abscissa numerical value, and the second ordinate icon item comprises a second ordinate numerical value;
a third generating unit, configured to generate and display a third abscissa icon item according to an intersection of the third marked line and the abscissa axis, and generate and display a third ordinate icon item according to an intersection of the third marked line and the target curve, where the third abscissa icon item includes a third abscissa numerical value and the third ordinate icon item includes a third ordinate numerical value;
and the calculation unit is used for calculating the numerical difference between the second abscissa numerical value and the third abscissa numerical value, and generating and displaying a numerical difference icon item according to the numerical difference.
Optionally, the apparatus further comprises:
the setting unit is used for setting mouse hovering events for the first reticle, the second reticle and the third reticle respectively;
the second acquisition unit is used for acquiring the current position information of the mouse in real time when the mouse is detected to hover on the first graticule, the second graticule or the third graticule and a left key is pressed;
the determining unit is used for determining the numerical coordinates of the position corresponding to the current position information on the target two-dimensional graph according to the current position information of the mouse;
the third creating unit is used for recreating and displaying the first marking, the second marking or the third marking according to the numerical coordinates;
a fourth generating unit, configured to generate and display a new abscissa icon item according to the re-created first reticle, the second reticle, or an intersection of the third reticle and the abscissa axis, where the new abscissa icon item is the new first abscissa icon item, the new second abscissa icon item, or the new third abscissa icon item;
a fifth generating unit, configured to generate and display a new ordinate icon item according to the re-created first reticle, the second reticle, or an intersection of the third reticle and the target curve, where the new ordinate icon item is the new first ordinate icon item, the new second ordinate icon item, or the new third ordinate icon item.
Optionally, the first generating unit includes:
a third obtaining unit, configured to obtain a first abscissa value of an intersection point of the first mark line and the abscissa axis and a first ordinate value of an intersection point of the first mark line and the target curve;
the first processing unit is used for processing the first abscissa numerical value by using a QChart coordinate conversion function mapToposition to obtain first abscissa position information, and generating and displaying a first abscissa icon item by using the first abscissa position information and a preset first rectangular area;
and the second processing unit is used for processing the first ordinate numerical value by using the QChart coordinate conversion function mapToposition to obtain first ordinate position information, and generating and displaying a first ordinate icon item by using the first ordinate position information and the preset second rectangular area.
A third aspect of the present invention shows an electronic device comprising a processor and a memory, the memory storing program code and data for a cursor presentation of a two-dimensional graph, the processor being configured to invoke program instructions in the memory to perform a method for cursor presentation of a two-dimensional graph as shown in the first aspect of the present invention.
A fourth aspect of the present invention shows a storage medium, which includes a storage program, wherein when the program runs, a device on which the storage medium is located is controlled to execute a cursor display method of a two-dimensional graph as shown in the first aspect of the present invention.
The invention provides a cursor display method and device of a two-dimensional chart, electronic equipment and a storage medium, wherein when a user is detected to click a single-cursor function key, a first marking line is created and displayed on a target two-dimensional chart; acquiring coordinate information of a target two-dimensional chart, and binding a first marked line with the coordinate information of the target two-dimensional chart, wherein the coordinate axis information comprises an abscissa axis and an ordinate axis; generating and displaying a first abscissa icon item according to the intersection point of the first marking line and the abscissa axis, and generating and displaying a first ordinate icon item according to the intersection point of the first marking line and the target curve; when the fact that a user clicks a double-cursor function key is detected, a second marked line and a third marked line are created and displayed on the target two-dimensional graph, the second marked line and the coordinate information of the target two-dimensional graph are bound, and the third marked line and the coordinate information of the target two-dimensional graph are bound; generating and displaying a second abscissa icon item according to the intersection point of the second marked line and the abscissa axis, and generating and displaying a second ordinate icon item according to the intersection point of the second marked line and the target curve; generating and displaying a third abscissa icon item according to the intersection point of the third marked line and the abscissa axis, and generating and displaying a third ordinate icon item according to the intersection point of the third marked line and the target curve; and calculating the numerical difference between the second abscissa numerical value and the third abscissa numerical value, and generating and displaying a numerical difference icon item according to the numerical difference. According to the technical scheme, the abscissa icon item is generated and displayed according to the intersection point of the created marked line and the abscissa axis of the two-dimensional graph, and the ordinate icon item is generated and displayed according to the intersection point of the created marked line and the target curve in the two-dimensional graph, so that a user can know the specific numerical value of a corresponding variable at a certain time on the curve in the two-dimensional graph through the displayed abscissa and ordinate image items.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a schematic flow chart of a method for displaying a cursor on a two-dimensional chart according to an embodiment of the present invention;
FIG. 2 is a schematic flowchart illustrating another method for displaying a cursor on a two-dimensional chart according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating a method for displaying a cursor on a two-dimensional chart according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of a cursor display device for two-dimensional charts according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules, or units, and are not used for limiting the order or interdependence of the functions performed by the devices, modules, or units.
It is noted that references to "a", "an", and "the" modifications in the disclosure are exemplary rather than limiting, and that those skilled in the art will understand that "one or more" unless the context clearly dictates otherwise.
Referring to fig. 1, a schematic flow diagram of a cursor display method for a two-dimensional graph according to an embodiment of the present invention is shown, where the cursor display method for a two-dimensional graph specifically includes the following steps:
s101: when it is detected that the user clicks the single-cursor function key, a first marked line is created and displayed on the target two-dimensional chart.
In the specific implementation of step S101, when it is detected that the user clicks the single-cursor function key, based on the QChart chart class, a polyline sequence, i.e., a reticle, is created and displayed on the target two-dimensional chart (for the sake of convenience, the reticle created here is referred to as a first reticle).
It should be noted that the color and thickness of the created first reticle may be set, the color of the created first reticle may be set to black for distinguishing from the target curve in the target two-dimensional graph, and the thickness of the first reticle may be set to 1.5 times the thickness of the reticle for the convenience of the user to select the first reticle.
It should be noted that the pattern of the first marked line may be set as a dotted line, and the initial position of the created first marked line may be set at one third of the abscissa axis of the target two-dimensional graph.
S102: and acquiring coordinate information of the target two-dimensional chart, and binding the first marked line with the coordinate information of the target two-dimensional chart, wherein the coordinate axis information comprises an abscissa axis and an ordinate axis.
In the specific process of performing step S102, after the first reticle is created on the target two-dimensional graph, the coordinate information of the target two-dimensional graph may be further obtained, so as to bind the created first reticle and the coordinate information of the target two-dimensional graph. The coordinate information of the target two-dimensional graph comprises an abscissa axis and an ordinate axis of the target two-dimensional graph.
S103: and generating and displaying a first abscissa icon item according to the intersection point of the first marked line and the abscissa axis, and generating and displaying a first ordinate icon item according to the intersection point of the first marked line and the target curve.
In step S103, the font size and font of the coordinate value in the coordinate icon item to be displayed may be set by QFont, and the sum of the width and height of the pixel occupied by the coordinate icon item to be displayed may be set by QFontMetrics, so as to generate a rectangular area containing the text value according to the font size and font of the coordinate value in the set coordinate icon item and the width and height of the pixel occupied by the coordinate icon item to be displayed.
In the specific execution process of step S103, after the first mark line and the coordinate information of the target two-dimensional graph are bound, a first abscissa and a first ordinate of an intersection point of the first mark line and an abscissa axis on the target two-dimensional graph are obtained, and a first abscissa value of the first abscissa and a first ordinate value of the first ordinate are calculated.
Processing the first abscissa value by using a QChart coordinate conversion function mapToposition to obtain first abscissa position information, and generating and displaying a first abscissa icon item by using the first abscissa position information and a preset rectangular area; and processing the first vertical coordinate value by using a QChart coordinate conversion function mapToposition to obtain first vertical coordinate position information, and generating and displaying a first vertical coordinate icon item by using the first vertical coordinate position information and a preset rectangular area.
It should be noted that, the qpair may be used to set the font color of the coordinate numerical value in the coordinate icon item and draw the rectangular area by using the drawRect function, so as to complete the display of the coordinate graphic item.
S104: when the fact that a user clicks a double-cursor function key is detected, a second marked line and a third marked line are created and displayed on the target two-dimensional graph, the second marked line and the coordinate information of the target two-dimensional graph are bound, and the third marked line and the coordinate information of the target two-dimensional graph are bound.
In the specific implementation of step S104, when it is detected that the user clicks the dual cursor function key, two polyline sequences, i.e., two graticules are created and displayed on the target two-dimensional graph based on the QChart graph class (for convenience of distinction, the two graticules created here are respectively referred to as a second graticule and a third graticule).
The color and thickness of the created second and third marked lines may be set, the color of the created second and third marked lines may be set to black for distinguishing from the target curve in the target two-dimensional graph, and the thickness of the created second and third marked lines may be set to 1.5 times the thickness of the marked line for the user to select the second and third marked lines.
S105: and generating and displaying a second abscissa icon item according to the intersection point of the second marked line and the abscissa axis, and generating and displaying a second ordinate icon item according to the intersection point of the second marked line and the target curve.
In the process of specifically executing step S105, after the second reticle and the third reticle are created on the target two-dimensional chart, the coordinate information of the target two-dimensional chart may be further obtained, so as to respectively bind the created second reticle and the created third reticle with the coordinate information of the target two-dimensional chart.
S106: and generating and displaying a third abscissa icon item according to the intersection point of the third marked line and the abscissa axis, and generating and displaying a third ordinate icon item according to the intersection point of the third marked line and the target curve.
In the specific execution process of step S106, after the second and third marked lines are respectively bound with the coordinate information of the target two-dimensional graph, a second abscissa and a second ordinate of an intersection point of the second marked line and an abscissa axis on the target two-dimensional graph are obtained, and a second abscissa value of the second abscissa and a second ordinate value of the second ordinate are calculated; and acquiring a third abscissa and a third ordinate of an intersection point of the third marked line and the abscissa axis on the target two-dimensional graph, and calculating a third abscissa value of the third abscissa and a third ordinate value of the third ordinate.
Processing the second abscissa value by using a QChart coordinate conversion function mapToposition to obtain second abscissa position information, and generating and displaying a second abscissa icon item by using the second abscissa position information and a preset rectangular area; and processing the second vertical coordinate value by using a QChart coordinate conversion function mapToposition to obtain second vertical coordinate position information, and generating and displaying a second vertical coordinate icon item by using the second vertical coordinate position information and a preset rectangular area.
Processing the third abscissa value by using a QChart coordinate conversion function mapToposition to obtain third abscissa position information, and generating and displaying a third abscissa icon item by using the third abscissa position information and a preset rectangular area; and processing the third vertical coordinate value by using a QChart coordinate conversion function mapToposition to obtain third vertical coordinate position information, and generating and displaying a third vertical coordinate icon item by using the third vertical coordinate position information and a preset rectangular area.
The setting process of the rectangular area is the same as the setting process of the rectangular area disclosed in step S103, and reference may be made to corresponding parts in step S103, which is not described herein again.
S107: and calculating the numerical difference between the second abscissa numerical value and the third abscissa numerical value, and generating and displaying a numerical difference icon item according to the numerical difference.
In the specific process of step S107, after the second abscissa icon item and the third abscissa icon item are obtained, a numerical difference between a second abscissa numerical value in the second abscissa icon item and a third abscissa numerical value in the third abscissa icon item may be calculated, and a numerical difference icon item may be generated and displayed according to the numerical difference.
The invention provides a cursor display method of a two-dimensional chart, which comprises the steps of creating and displaying a first marking line on a target two-dimensional chart when detecting that a user clicks a single-cursor function key; acquiring coordinate information of a target two-dimensional chart, and binding a first marking line with the coordinate information of the target two-dimensional chart, wherein the coordinate axis information comprises an abscissa axis and an ordinate axis; generating and displaying a first abscissa icon item according to the intersection point of the first marking line and the abscissa axis, and generating and displaying a first ordinate icon item according to the intersection point of the first marking line and the target curve; when the fact that a user clicks a double-cursor function key is detected, a second marked line and a third marked line are created and displayed on the target two-dimensional graph, the second marked line and the coordinate information of the target two-dimensional graph are bound, and the third marked line and the coordinate information of the target two-dimensional graph are bound; generating and displaying a second abscissa icon item according to the intersection point of the second marked line and the abscissa axis, and generating and displaying a second ordinate icon item according to the intersection point of the second marked line and the target curve; generating and displaying a third abscissa icon item according to the intersection point of the third marked line and the abscissa axis, and generating and displaying a third ordinate icon item according to the intersection point of the third marked line and the target curve; and calculating the numerical difference between the second abscissa numerical value and the third abscissa numerical value, and generating and displaying a numerical difference icon item according to the numerical difference. According to the technical scheme provided by the invention, the corresponding marked lines are created, the abscissa icon items are generated and displayed according to the intersection points of the created marked lines and the abscissa axis of the two-dimensional graph, and the ordinate icon items are generated and displayed according to the intersection points of the created marked lines and the target curve in the two-dimensional graph, so that a user can know the specific numerical values of the corresponding variables at a certain time on the curve in the two-dimensional graph through the displayed abscissa and ordinate image items.
Optionally, on the basis of the method for displaying a cursor of a two-dimensional graph disclosed above, the method specifically includes the following steps, as shown in fig. 2, specifically:
s201: and setting mouse hovering events for the first marked line, the second marked line and the third marked line respectively.
In the specific process of executing step S201, after the first reticle, the second reticle, and the third reticle are created on the target two-dimensional graph, a mouse hovering event may be set for the first reticle, the second reticle, and the third reticle respectively, and when the mouse hovers over the first reticle, the second reticle, or the third reticle, the first reticle, the second reticle, or the third reticle is thickened and highlighted to prompt the user to select the first reticle, the second reticle, or the third reticle.
S202: and when the mouse is detected to be hovered over the first graticule, the second graticule or the third graticule and a left key is pressed, acquiring the current position information of the mouse in real time.
In step S202, by rewriting the mouse press processing function mousePressEvent, the flag is set to true when the left mouse button is pressed, and the flag is set to false when the left mouse button is released.
In the specific process of executing step S202, after the mouse hovering event is set for the first reticle, the second reticle, and the third reticle respectively, when it is detected that the mouse hovers over the first reticle and the second reticle, or the third reticle and presses the left key, it is determined that the current flag is true, and the current position information of the mouse is obtained in real time. The current position information of the mouse is the coordinate of the mouse on the target two-dimensional chart.
S203: and determining the numerical coordinates of the position corresponding to the current position information on the target two-dimensional chart according to the current position information of the mouse.
In the specific process of executing step S203, after the current position information of the mouse is obtained, the mapto value function may be used to calculate the corresponding numerical coordinate of the mouse on the target two-dimensional graph according to the obtained coordinate of the current mouse on the target two-dimensional graph.
S204: and re-creating and displaying the first marked line, the second marked line or the third marked line according to the numerical coordinates.
In the specific process of executing step S204, after the numerical coordinates corresponding to the current position information of the mouse on the target two-dimensional graph are calculated, the first reticle, the second reticle, or the third reticle may be created and displayed again according to the calculated numerical coordinates, so that the effect of moving the first reticle, the second reticle, or the third reticle in real time along with the position of the mouse may be achieved.
S205: and generating and displaying a new abscissa icon item according to the newly created first marked line, the newly created second marked line or the newly created third marked line and the intersection point of the abscissa axis, wherein the new abscissa icon item is the new first abscissa icon item, the new second abscissa icon item or the new third abscissa icon item.
In the specific process of executing step S205, acquiring an abscissa of an intersection point of the first reticle, the second reticle, or the third reticle and an abscissa axis on the target two-dimensional graph, and calculating an abscissa numerical value of the abscissa; and processing the abscissa value by using a QChart coordinate conversion function mapToposition to obtain the abscissa position information, and generating and displaying an abscissa icon item by using the abscissa position information and a preset rectangular area. And the new abscissa icon item is a new first abscissa icon item, a new second abscissa icon item or a new third abscissa icon item.
S206: and generating and displaying a new ordinate icon item according to the newly created first graticule, second graticule or intersection point of the third graticule and the target curve, wherein the new ordinate icon item is a new first ordinate icon item, a new second ordinate icon item or a new third ordinate icon item.
In the specific execution process of step S206, the ordinate of the intersection point of the first reticle, the second reticle, or the third reticle and the abscissa axis on the target two-dimensional graph is obtained, and the ordinate value of the ordinate is calculated; and processing the vertical coordinate value by using a QChart coordinate conversion function mapToposition to obtain vertical coordinate position information, and generating and displaying a vertical coordinate icon item by using the vertical coordinate position information and a preset rectangular area. And the new ordinate icon item is a new first ordinate icon item, a new second ordinate icon item or a new third ordinate icon item.
In the embodiment of the application, after a mouse hovering event is set for the created marked line, when the mouse is detected to hover on the marked line and a left key is pressed, the current mark is determined to be true, the current position information of the mouse is obtained in real time, the numerical coordinate corresponding to the mouse on the target two-dimensional chart at present is calculated according to the obtained current position information of the mouse, the marked line is created again according to the calculated numerical coordinate and displayed, and the effect that the marked line moves along with the position of the mouse in real time can be achieved.
To better understand the above, a two-dimensional graph obtained by simulation of a small ball in free fall from the air 1 m from the ground is illustrated below, as shown in figure 3,
and when detecting that the user clicks the double-cursor function key, creating and displaying a second marked line and a third marked line on the two-dimensional chart based on the QChart chart class. And acquiring coordinate information of the target two-dimensional chart so as to respectively bind the created second marked line and the created third marked line with the coordinate information of the target two-dimensional chart.
Acquiring a second abscissa and a second ordinate of an intersection point of a second marked line and an abscissa axis on the target two-dimensional graph, and calculating a second abscissa value of the second abscissa to be 0.60 and calculating a second ordinate value of the second ordinate to be 0.35; and acquiring a third abscissa and a third ordinate of an intersection point of the third marked line and the abscissa axis on the target two-dimensional graph, calculating a third abscissa value of the third abscissa to be 1.98, and calculating a third ordinate value of the third ordinate to be 0.06.
Processing the second abscissa value (0.60) by using a QChart coordinate conversion function mapToposition to obtain second abscissa position information, and generating and displaying a second abscissa icon item by using the second abscissa position information and a preset rectangular area; and processing the second vertical coordinate numerical value (0.35) by using a QChart coordinate conversion function mapToposition to obtain second vertical coordinate position information, and generating and displaying a second vertical coordinate icon item by using the second vertical coordinate position information and a preset rectangular area.
Processing the third abscissa value (1.98) by using a QChart coordinate conversion function mapToposition to obtain third abscissa position information, and generating and displaying a third abscissa icon item by using the third abscissa position information and a preset rectangular area; and processing the third ordinate numerical value (0.06) by using a QChart coordinate conversion function mapToposition to obtain third ordinate position information, and generating and displaying a third ordinate icon item by using the third ordinate position information and a preset rectangular area.
And finally, calculating the numerical difference (1.38) between the second abscissa numerical value and the third abscissa numerical value, and generating and displaying a numerical difference icon item according to the numerical difference (1.38).
Based on the method for displaying a cursor of a two-dimensional graph disclosed in the embodiments of the present application, a device for displaying a cursor of a two-dimensional graph is also correspondingly disclosed in the embodiments of the present application, and as shown in fig. 4, the device 400 for displaying a cursor of a two-dimensional graph includes:
the first creating unit 41 is used for creating and displaying a first marked line on the target two-dimensional chart when the fact that the user clicks the single-cursor function key is detected;
the first obtaining unit 42 is configured to obtain coordinate information of the target two-dimensional graph, and bind the first marked line with the coordinate information of the target two-dimensional graph, where the coordinate axis information includes an abscissa axis and an ordinate axis;
a first generating unit 43, configured to generate and display a first abscissa icon item according to an intersection of the first marked line and the abscissa axis, and generate and display a first ordinate icon item according to an intersection of the first marked line and the target curve, where the first abscissa icon item includes a second abscissa value and the first ordinate icon item includes a first ordinate value;
the second creating unit 44 is configured to create and display a second reticle and a third reticle on the target two-dimensional graph when it is detected that the user clicks the double-cursor function key, bind the second reticle and the coordinate information of the target two-dimensional graph, and bind the third reticle and the coordinate information of the target two-dimensional graph;
a second generating unit 45, configured to generate and display a second abscissa icon item according to an intersection of the second marked line and the abscissa axis, and generate and display a second ordinate icon item according to an intersection of the second marked line and the target curve, where the second abscissa icon item includes a second abscissa value and the second ordinate icon item includes a second ordinate value;
a third generating unit 46, configured to generate and display a third abscissa icon item according to an intersection of the third marked line and the abscissa axis, and generate and display a third ordinate icon item according to an intersection of the third marked line and the target curve, where the third abscissa icon item includes a third abscissa value and the third ordinate icon item includes a third ordinate value;
and the calculating unit 47 is configured to calculate a numerical difference between the second abscissa numerical value and the third abscissa numerical value, and generate and display a numerical difference icon item according to the numerical difference.
The specific principle and the implementation process of each unit in the two-dimensional graph cursor display device disclosed in the embodiment of the present invention are the same as those of the two-dimensional graph cursor display method disclosed in the embodiment of the present invention, and reference may be made to corresponding parts in the two-dimensional graph cursor display method disclosed in the embodiment of the present invention, which are not described herein again.
The invention provides a vernier display device for a two-dimensional chart, which is characterized in that when a user is detected to click a single-vernier function key, a first marking line is created and displayed on a target two-dimensional chart; acquiring coordinate information of a target two-dimensional chart, and binding a first marked line with the coordinate information of the target two-dimensional chart, wherein the coordinate axis information comprises an abscissa axis and an ordinate axis; generating and displaying a first abscissa icon item according to the intersection point of the first marking line and the abscissa axis, and generating and displaying a first ordinate icon item according to the intersection point of the first marking line and the target curve; when the fact that a user clicks a double-cursor function key is detected, a second marked line and a third marked line are created and displayed on the target two-dimensional graph, the second marked line is bound with the coordinate information of the target two-dimensional graph, and the third marked line is bound with the coordinate information of the target two-dimensional graph; generating and displaying a second abscissa icon item according to the intersection point of the second marked line and the abscissa axis, and generating and displaying a second ordinate icon item according to the intersection point of the second marked line and the target curve; generating and displaying a third abscissa icon item according to the intersection point of the third marked line and the abscissa axis, and generating and displaying a third ordinate icon item according to the intersection point of the third marked line and the target curve; and calculating the numerical difference between the second abscissa numerical value and the third abscissa numerical value, and generating and displaying a numerical difference icon item according to the numerical difference. According to the technical scheme provided by the invention, the corresponding marked lines are created, the abscissa icon items are generated and displayed according to the intersection points of the created marked lines and the abscissa axis of the two-dimensional graph, and the ordinate icon items are generated and displayed according to the intersection points of the created marked lines and the target curve in the two-dimensional graph, so that a user can know the specific numerical values of the corresponding variables at a certain time on the curve in the two-dimensional graph through the displayed abscissa and ordinate image items.
Further, the cursor display device for a two-dimensional graph provided by the present application further includes:
the setting unit is used for setting mouse hovering events for the first marking line, the second marking line and the third marking line respectively;
the second acquisition unit is used for acquiring the current position information of the mouse in real time when the mouse is detected to hover on the first graticule, the second graticule or the third graticule and a left key is pressed;
the determining unit is used for determining the numerical coordinates of the position corresponding to the current position information on the target two-dimensional chart according to the current position information of the mouse;
the third creating unit is used for re-creating and displaying the first marking, the second marking or the third marking according to the numerical coordinates;
a fourth generating unit, configured to generate and display a new abscissa icon item according to the recreated first reticle, the recreated second reticle, or an intersection of the third reticle and the abscissa axis, where the new abscissa icon item is a new first abscissa icon item, a new second abscissa icon item, or a new third abscissa icon item;
and the fifth generating unit is used for generating and displaying a new ordinate icon item according to the newly created intersection point of the first graticule, the second graticule or the third graticule and the target curve, wherein the new ordinate icon item is a new first ordinate icon item, a new second ordinate icon item or a new third ordinate icon item.
Optionally, the first generating unit includes:
the third acquisition unit is used for acquiring a first abscissa numerical value of an intersection point of the first marking and the abscissa axis and a first ordinate numerical value of an intersection point of the first marking and the target curve;
the first processing unit is used for processing the first abscissa numerical value by using a QChart coordinate conversion function mapToposition to obtain first abscissa position information, and generating and displaying a first abscissa icon item by using the first abscissa position information and a preset first rectangular area;
and the second processing unit is used for processing the first vertical coordinate value by using the QChart coordinate conversion function mapToposition to obtain first vertical coordinate position information, and generating and displaying a first vertical coordinate icon item by using the first vertical coordinate position information and a preset second rectangular area.
Optionally, the second generating unit includes:
the fourth acquisition unit is used for acquiring a second abscissa numerical value of the intersection point of the second marked line and the abscissa axis and a second ordinate numerical value of the intersection point of the second marked line and the target curve;
the third processing unit is used for processing the second abscissa value by using a QChart coordinate conversion function mapToposition to obtain second abscissa position information, and generating and displaying a second abscissa icon item by using the second abscissa position information and a preset second rectangular area;
and the fourth processing unit is used for processing the second vertical coordinate value by using the QChart coordinate conversion function mapToposition to obtain second vertical coordinate position information, and generating and displaying a second vertical coordinate icon item by using the second vertical coordinate position information and a preset second rectangular area.
Optionally, the third generating unit includes:
the fourth acquisition unit is used for acquiring a third abscissa numerical value of the intersection point of the third marking and the abscissa axis and a third ordinate numerical value of the intersection point of the third marking and the target curve;
the fifth processing unit is used for processing the third abscissa numerical value by using a QChart coordinate conversion function mapToposition to obtain third abscissa position information, and generating and displaying a third abscissa icon item by using the third abscissa position information and a preset third rectangular area;
and the sixth processing unit is used for processing the third ordinate value by using the QChart coordinate conversion function mapto position to obtain third ordinate position information, and generating and displaying a third ordinate icon item by using the third ordinate position information and a preset third rectangular area.
The embodiment of the present application provides an electronic device, as shown in fig. 5, the electronic device includes a processor 401 and a memory 502, the memory 502 is used for storing program codes and data for cursor display of a two-dimensional chart, and the processor 501 is used for calling program instructions in the memory to execute steps shown in the method for displaying a two-dimensional chart in the foregoing embodiment.
The embodiment of the application provides a storage medium, the storage medium comprises a storage program, and when the program runs, a device where the storage medium is located is controlled to execute the method for displaying the two-dimensional graph shown in the embodiment.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, the system or system embodiments are substantially similar to the method embodiments and therefore are described in a relatively simple manner, and reference may be made to some of the descriptions of the method embodiments for related points. The above-described system and system embodiments are merely illustrative, and the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that it is obvious to those skilled in the art that various modifications and improvements can be made without departing from the principle of the present invention, and these modifications and improvements should also be considered as the protection scope of the present invention.

Claims (10)

1. A method for displaying a cursor on a two-dimensional chart, the method comprising:
when the fact that a user clicks a single-cursor function key is detected, a first marked line is created and displayed on the target two-dimensional graph;
acquiring coordinate information of the target two-dimensional graph, and binding the first marked line with the coordinate information of the target two-dimensional graph, wherein the coordinate axis information comprises a horizontal axis and a vertical axis;
generating and displaying a first abscissa icon item according to the intersection point of the first marked line and the abscissa axis, and generating and displaying a first ordinate icon item according to the intersection point of the first marked line and the target curve, wherein the first abscissa icon item comprises a second abscissa numerical value, and the first ordinate icon item comprises a first ordinate numerical value;
when the user is detected to click the double-cursor function key, a second graticule and a third graticule are created and displayed on a target two-dimensional chart, the second graticule is bound with the coordinate information of the target two-dimensional chart, and the third graticule is bound with the coordinate information of the target two-dimensional chart;
generating and displaying a second abscissa icon item according to the intersection point of the second marked line and the abscissa axis, and generating and displaying a second ordinate icon item according to the intersection point of the second marked line and the target curve, wherein the second abscissa icon item comprises a second abscissa numerical value, and the second ordinate icon item comprises a second ordinate numerical value;
generating and displaying a third abscissa icon item according to the intersection point of the third marked line and the abscissa axis, and generating and displaying a third ordinate icon item according to the intersection point of the third marked line and the target curve, wherein the third abscissa icon item comprises a third abscissa numerical value, and the third ordinate icon item comprises a third ordinate numerical value;
and calculating the numerical difference between the second abscissa numerical value and the third abscissa numerical value, and generating and displaying a numerical difference icon item according to the numerical difference.
2. The method of claim 1, further comprising:
setting mouse hovering events for the first reticle, the second reticle and the third reticle respectively;
when the mouse is detected to be hovered over the first marking line, the second marking line or the third marking line and a left key is pressed, current position information of the mouse is obtained in real time;
according to the current position information of the mouse, determining the numerical coordinates of the position corresponding to the current position information on a target two-dimensional chart;
recreating and displaying the first reticle, the second reticle, or the third reticle according to the numerical coordinates;
generating and displaying a new abscissa icon item according to the re-created first graticule, second graticule, or third graticule and the intersection point of the abscissa axis, wherein the new abscissa icon item is the new first abscissa icon item, the new second abscissa icon item, or the new third abscissa icon item;
and generating and displaying a new ordinate icon item according to the re-created first graticule, second graticule or third graticule and the intersection point of the target curve, wherein the new ordinate icon item is the new first ordinate icon item, the new second ordinate icon item or the new third ordinate icon item.
3. The method of claim 1, wherein said generating and presenting a first abscissa icon item according to an intersection of said first reticle with said abscissa axis and determining a first ordinate icon item presented according to an intersection of said first reticle with said target curve comprises:
acquiring a first abscissa value of the intersection point of the first marking line and the abscissa axis and a first ordinate value of the intersection point of the first marking line and the target curve;
processing the first abscissa value by using a QChart coordinate conversion function mapToposition to obtain first abscissa position information, and generating and displaying a first abscissa icon item by using the first abscissa position information and a preset rectangular area;
and processing the first ordinate numerical value by using the QChart coordinate conversion function mapToposition to obtain first ordinate position information, and generating and displaying a first ordinate icon item by using the first ordinate position information and the preset rectangular area.
4. The method of claim 1, wherein generating and presenting a second abscissa icon item according to an intersection of the second reticle with the abscissa axis and a second ordinate icon item according to an intersection of the second reticle with the target curve comprises:
acquiring a second abscissa value of the intersection point of the second marked line and the abscissa axis and a second ordinate value of the intersection point of the second marked line and the target curve;
processing the second abscissa value by using a QChart coordinate conversion function mapToposition to obtain second abscissa position information, and generating and displaying a second abscissa icon item by using the second abscissa position information and a preset rectangular area;
and processing the second vertical coordinate value by using the QChart coordinate conversion function mapToposition to obtain second vertical coordinate position information, and generating and displaying a second vertical coordinate icon item by using the second vertical coordinate position information and the preset rectangular area.
5. The method of claim 1, wherein generating and presenting a third abscissa icon item according to an intersection of the third reticle with the abscissa axis and a third ordinate icon item according to an intersection of the third reticle with the target curve comprises:
acquiring a third abscissa value of the intersection point of the third marking and the abscissa axis and a third ordinate value of the intersection point of the third marking and the target curve;
processing the third abscissa value by using a QChart coordinate conversion function mapToposition to obtain third abscissa position information, and generating and displaying a third abscissa icon item by using the third abscissa position information and a preset rectangular area;
and processing the third vertical coordinate value by using the QChart coordinate conversion function mapToposition to obtain third vertical coordinate position information, and generating and displaying a third vertical coordinate icon item by using the third vertical coordinate position information and the preset rectangular area.
6. A cursor display device for two-dimensional charts, said device comprising:
the first creating unit is used for creating and displaying a first marking line on the target two-dimensional chart when the fact that a user clicks a single-cursor function key is detected;
the first acquisition unit is used for acquiring coordinate information of the target two-dimensional graph and binding the first marked line with the coordinate information of the target two-dimensional graph, wherein the coordinate axis information comprises a horizontal axis and a vertical axis;
the first generation unit is used for generating and displaying a first abscissa icon item according to the intersection point of the first marked line and the abscissa axis and generating and displaying a first ordinate icon item according to the intersection point of the first marked line and the target curve, wherein the first abscissa icon item comprises a second abscissa numerical value, and the first ordinate icon item comprises a first ordinate numerical value;
the second creating unit is used for creating and displaying a second marking line and a third marking line on a target two-dimensional chart when the user is detected to click the double-cursor function key, binding the second marking line with the coordinate information of the target two-dimensional chart, and binding the third marking line with the coordinate information of the target two-dimensional chart;
the second generating unit is used for generating and displaying a second abscissa icon item according to the intersection point of the second marked line and the abscissa axis, and generating and displaying a second ordinate icon item according to the intersection point of the second marked line and the target curve, wherein the second abscissa icon item comprises a second abscissa numerical value, and the second ordinate icon item comprises a second ordinate numerical value;
a third generating unit, configured to generate and display a third abscissa icon item according to an intersection of the third marked line and the abscissa axis, and generate and display a third ordinate icon item according to an intersection of the third marked line and the target curve, where the third abscissa icon item includes a third abscissa numerical value and the third ordinate icon item includes a third ordinate numerical value;
and the calculation unit is used for calculating the numerical difference between the second abscissa numerical value and the third abscissa numerical value, and generating and displaying a numerical difference icon item according to the numerical difference.
7. The apparatus of claim 6, further comprising:
the setting unit is used for setting mouse hovering events for the first marking line, the second marking line and the third marking line respectively;
the second acquisition unit is used for acquiring the current position information of the mouse in real time when the mouse is detected to hover on the first graticule, the second graticule or the third graticule and a left key is pressed;
the determining unit is used for determining the numerical coordinates of the position corresponding to the current position information on the target two-dimensional graph according to the current position information of the mouse;
the third creating unit is used for recreating and displaying the first marking, the second marking or the third marking according to the numerical coordinates;
a fourth generating unit, configured to generate and display a new abscissa icon item according to the re-created first reticle, the second reticle, or an intersection of the third reticle and the abscissa axis, where the new abscissa icon item is the new first abscissa icon item, the new second abscissa icon item, or the new third abscissa icon item;
a fifth generating unit, configured to generate and display a new ordinate icon item according to the re-created first reticle, the second reticle, or an intersection of the third reticle and the target curve, where the new ordinate icon item is the new first ordinate icon item, the new second ordinate icon item, or the new third ordinate icon item.
8. The apparatus of claim 6, wherein the first generating unit comprises:
a third obtaining unit, configured to obtain a first abscissa value of an intersection point of the first mark line and the abscissa axis and a first ordinate value of an intersection point of the first mark line and the target curve;
the first processing unit is used for processing the first abscissa value by using a QChart coordinate conversion function mapToposition to obtain first abscissa position information, and generating and displaying a first abscissa icon item by using the first abscissa position information and a preset first rectangular area;
and the second processing unit is used for processing the first ordinate numerical value by using the QChart coordinate conversion function mapToposition to obtain first ordinate position information, and generating and displaying a first ordinate icon item by using the first ordinate position information and the preset second rectangular area.
9. An electronic device, comprising a processor and a memory, wherein the memory is configured to store program code and data for a cursor presentation of a two-dimensional graph, and wherein the processor is configured to invoke program instructions in the memory to perform a cursor presentation method for a two-dimensional graph as recited in any one of claims 1-5.
10. A storage medium, characterized in that the storage medium comprises a storage program, wherein when the program runs, a device on which the storage medium is located is controlled to execute a cursor display method of a two-dimensional chart according to any one of claims 1-5.
CN202110454035.2A 2021-04-26 2021-04-26 Vernier display method and device for two-dimensional chart, electronic equipment and storage medium Active CN113064535B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110454035.2A CN113064535B (en) 2021-04-26 2021-04-26 Vernier display method and device for two-dimensional chart, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110454035.2A CN113064535B (en) 2021-04-26 2021-04-26 Vernier display method and device for two-dimensional chart, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113064535A CN113064535A (en) 2021-07-02
CN113064535B true CN113064535B (en) 2022-09-13

Family

ID=76567528

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110454035.2A Active CN113064535B (en) 2021-04-26 2021-04-26 Vernier display method and device for two-dimensional chart, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113064535B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115645905B (en) * 2022-10-21 2023-06-20 圣名科技(广州)有限责任公司 Cursor display method and device, electronic equipment and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3414272B2 (en) * 1998-09-17 2003-06-09 安藤電気株式会社 Display control device, display control method, and storage medium storing display control program
CN101232333B (en) * 2008-01-16 2011-06-22 中兴通讯股份有限公司 Clock shake measuring method and oscilloscope for measuring clock shake
CN102466762B (en) * 2010-11-03 2016-01-20 北京普源精电科技有限公司 A kind of parameter setting method of spectrum analyzer and device
CN109144387B (en) * 2018-08-01 2021-03-30 深圳市鼎阳科技股份有限公司 Cursor touch method, cursor touch device and digital oscilloscope
CN112130731A (en) * 2019-06-24 2020-12-25 财付通支付科技有限公司 Data processing method and device and electronic equipment

Also Published As

Publication number Publication date
CN113064535A (en) 2021-07-02

Similar Documents

Publication Publication Date Title
CN108268186B (en) Selection points on an electroanatomical map
CN103547988A (en) Method for selecting an element of a user interface and device implementing such a method
CN106777086B (en) Dynamic management method and device for webpage embedded points
US20140380178A1 (en) Displaying interactive charts on devices with limited resources
DE112011101209T5 (en) Alert Display on a portable electronic device
CN104981765A (en) User interface for toolbar navigation
CN112015501A (en) Visual page generation method and device, computer equipment and storage medium
CN113064535B (en) Vernier display method and device for two-dimensional chart, electronic equipment and storage medium
CN107391914B (en) Parameter display method, device and equipment
CN110413161B (en) Component configuration method and device and electronic equipment
CN110990431A (en) Method for realizing synchronous linkage carousel of China map and line graph data
WO2012001037A1 (en) Display with shared control panel for different input sources
CN107122104A (en) data display method and device
JP7424440B2 (en) Computer programs, information processing methods and computers
US8599220B2 (en) Position fine tuning in a computer aided modeling
CN107679219B (en) Matching method and device, interactive intelligent panel and storage medium
CN113867580B (en) Display control method and device for pointer in window, equipment and storage medium
CN112685279B (en) Script recording method, script recording device and terminal equipment
CN114625983A (en) House resource information display method and device, electronic equipment and readable storage medium
CN113742544A (en) Multi-object association display method and device and computer readable storage medium
CN110888787A (en) Data monitoring method, device and system
CN110533746B (en) Method, device and equipment for generating response type hotspot view and storage medium
JP6684201B2 (en) Software structure visualization system and method
CN115220629B (en) Interface element position adjustment method
CN110794999B (en) Automatic control method and device based on interface segmentation and terminal

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