CN115079980A - Data display method and device - Google Patents
Data display method and device Download PDFInfo
- Publication number
- CN115079980A CN115079980A CN202210744876.1A CN202210744876A CN115079980A CN 115079980 A CN115079980 A CN 115079980A CN 202210744876 A CN202210744876 A CN 202210744876A CN 115079980 A CN115079980 A CN 115079980A
- Authority
- CN
- China
- Prior art keywords
- data
- display
- area
- target
- determining
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 51
- 238000004590 computer program Methods 0.000 claims description 14
- 238000010586 diagram Methods 0.000 description 19
- 230000000007 visual effect Effects 0.000 description 8
- 230000008569 process Effects 0.000 description 6
- 230000000694 effects Effects 0.000 description 5
- 230000006870 function Effects 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000003044 adaptive effect Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/1407—General aspects irrespective of display type, e.g. determination of decimal point position, display with fixed or driving decimal point, suppression of non-significant zeros
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the application provides a data display method and a data display device, wherein the data display method comprises the following steps: acquiring data to be displayed; outputting data to be displayed according to an original display rule; judging whether a display area adjusting instruction input by a user is received; if so, determining the size of the target display area according to the display area adjusting instruction; determining a target data point display rule matched with the size of the target display area; and adjusting the display area of the area to be displayed to the size of the target display area, and outputting the data to be displayed according to the target data point display rule. Therefore, by implementing the implementation mode, the data display number can be adjusted while the size of the display area is adjusted, the situations of incomplete data display and the like caused by zooming are avoided, and the experience feeling of a user during checking is improved.
Description
Technical Field
The application relates to the technical field of data processing, in particular to a data display method and device.
Background
At present, visual display of statistical data is often required in actual work. Usually, when a large visual display screen is displayed, and data is displayed in a scaling mode, the situations that the data display is incomplete and the like exist, and therefore experience when a user checks the data is reduced.
Disclosure of Invention
An object of the embodiments of the present application is to provide a data display method and apparatus, which can adjust the number of data displays while adjusting the size of a display area, avoid situations such as incomplete data display caused by zooming, and improve experience when a user checks the data.
A first aspect of an embodiment of the present application provides a data display method, including:
acquiring data to be displayed;
outputting the data to be displayed according to an original display rule;
judging whether a display area adjusting instruction input by a user is received;
if so, determining the size of the target display area according to the display area adjusting instruction;
determining a target data point display rule matched with the size of the target display area;
adjusting the display area of the area to be displayed to the size of the target display area, and outputting the data to be displayed according to the target data point display rule.
In the implementation process, the method can preferentially acquire the data to be displayed; then outputting data to be displayed according to the original display rule; after the data to be displayed are output, the method can further judge whether a display area adjusting instruction input by a user is received; when the display area adjusting instruction input by the user is determined to be received, determining the size of a target display area according to the display area adjusting instruction; then determining a target data point display rule matched with the size of the target display area; and finally, adjusting the display area of the area to be displayed to the size of the target display area, and outputting the data to be displayed according to the target data point display rule. Therefore, by implementing the implementation mode, the data display number can be adjusted while the size of the display area is adjusted, the situations of incomplete data display and the like caused by zooming are avoided, and the experience feeling of a user during checking is improved.
Further, the display area adjusting instruction is a default area size selecting instruction or a custom area size selecting instruction; the default area size selection instruction is used for selecting one default area specification from a plurality of preset default area specifications as the size of the target display area.
Further, determining a target data point display rule matching the size of the target display area comprises:
determining a layout type according to the size of the target display area; wherein the layout type is a left-right layout or an up-down layout;
and determining a target data point display rule according to the layout type and a preset data point display rule.
Further, determining a target data point display rule according to the layout type and a preset data point display rule, including:
determining the area width corresponding to the size of the target display area;
acquiring the data point display number matched with the area width according to a preset data point display rule;
and determining a target data point display rule according to the data point display number.
Further, the determining the layout type according to the size of the target display area includes:
judging whether the size of the target display area is larger than a preset area size threshold value or not;
if so, determining the layout type as an up-down layout;
if not, determining the layout type as a left-right layout.
A second aspect of the embodiments of the present application provides a data display apparatus, where the data display apparatus includes:
the acquisition unit is used for acquiring data to be displayed;
the display output unit is used for outputting the data to be displayed according to an original display rule;
the judging unit is used for judging whether a display area adjusting instruction input by a user is received or not;
the first determining unit is used for determining the size of a target display area according to the display area adjusting instruction when the display area adjusting instruction is judged to be received;
the second determining unit is used for determining a target data point display rule matched with the size of the target display area;
the display output unit is further configured to adjust a display area of the to-be-displayed area to the size of the target display area, and output the to-be-displayed data according to the target data point display rule.
In the implementation process, the data display device can acquire the data to be displayed through the acquisition unit; outputting data to be displayed according to an original display rule through a display output unit; judging whether a display area adjusting instruction input by a user is received or not through a judging unit; when the first determining unit judges that the display area adjusting instruction is received, determining the size of a target display area according to the display area adjusting instruction; determining a target data point display rule matched with the size of the target display area by a second determining unit; and finally, adjusting the display area of the area to be displayed into the size of a target display area through a display output unit, and outputting the data to be displayed according to a target data point display rule. Therefore, by implementing the implementation mode, the data display number can be adjusted while the size of the display area is adjusted, the situations of incomplete data display and the like caused by zooming are avoided, and the experience feeling of a user during checking is improved.
Further, the display area adjusting instruction is a default area size selecting instruction or a custom area size selecting instruction; the default area size selection instruction is used for selecting one default area specification from a plurality of preset default area specifications as the size of the target display area.
Further, the second determination unit includes:
the first determining subunit is used for determining the layout type according to the size of the target display area; wherein the layout type is a left-right layout or a top-bottom layout;
and the second determining subunit is used for determining a target data point display rule according to the layout type and a preset data point display rule.
Further, the second determining subunit includes:
the determining module is used for determining the area width corresponding to the size of the target display area;
the acquisition module is used for acquiring the data point display number matched with the area width according to a preset data point display rule;
the determining module is further configured to determine a target data point display rule according to the data point display number.
Further, the first determining subunit includes:
the judging module is used for judging whether the size of the target display area is larger than a preset area size threshold value or not;
the layout type determining module is used for determining the layout type to be up-down layout when the size of the target display area is larger than a preset area size threshold;
and the layout type determining module is used for determining that the layout type is left-right layout when the size of the target display area is not larger than a preset area size threshold.
A third aspect of the embodiments of the present application provides an electronic device, including a memory and a processor, where the memory is used to store a computer program, and the processor runs the computer program to enable the electronic device to execute the data presentation method described in any one of the first aspect of the embodiments of the present application.
A fourth aspect of the embodiments of the present application provides a computer-readable storage medium, which stores computer program instructions, and when the computer program instructions are read and executed by a processor, the computer program instructions execute the data presentation method according to any one of the first aspect of the embodiments of the present application.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and that those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.
Fig. 1 is a schematic flowchart of a data display method according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of another data display method according to an embodiment of the present disclosure;
FIG. 3 is a data presentation diagram provided in accordance with an embodiment of the present application;
FIG. 4 is another data presentation diagram provided in accordance with an embodiment of the present application;
FIG. 5 is another data presentation diagram provided in accordance with an embodiment of the present application;
FIG. 6 is another data presentation diagram provided in accordance with an embodiment of the present application;
FIG. 7 is another data presentation diagram provided in accordance with an embodiment of the present application;
FIG. 8 is a schematic structural diagram of a data display apparatus according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of another data display device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not construed as indicating or implying relative importance.
Example 1
Referring to fig. 1, fig. 1 is a schematic flow chart of a data display method according to an embodiment of the present application. The data display method comprises the following steps:
and S101, acquiring data to be displayed.
In this embodiment, the method obtains data to be displayed in the large display screen in advance.
And S102, outputting the data to be displayed according to the original display rule.
In this embodiment, the method first outputs the data to be displayed according to the default size ratio of the system.
S103, judging whether a display area adjusting instruction input by a user is received or not, and if so, executing the steps S104-S106; if not, the flow is ended.
In this embodiment, the display area adjustment instruction is a default area size selection instruction or a custom area size selection instruction; the default area size selection instruction is used for selecting one default area specification from a plurality of preset default area specifications as the size of the target display area.
And S104, determining the size of the target display area according to the display area adjusting instruction.
In this embodiment, the method may scale the size of the display area according to the display area adjustment instruction, and the scaling ratio is not limited.
And S105, determining a target data point display rule matched with the size of the target display area.
In this embodiment, after zooming, the method may determine the size of the target display area, and then determine the target data point display rule corresponding to the target display area.
S106, adjusting the display area of the area to be displayed to the size of the target display area, and outputting the data to be displayed according to the target data point display rule.
In the embodiment, when the size of the target display area is limited, the display of characters is mainly highlighted, and the curve trend graph only displays a general line; when the size of the target display area is enough, the details of the trend graph are generally presented, and particularly, the data of each coordinate axis and the like are included.
At present, when a visual display large screen is displayed, the size of an image is basically scaled according to the scale, and corresponding content in each image cannot be adjusted according to the size, so that the position of each part cannot be adjusted according to the size of a display area when the image is displayed. In order to solve the embarrassment, the method provides a data display method, so that the display area is customized and zoomed, and the display content is correspondingly adjusted in the Soviet process, so that the final visual effect is better.
In this embodiment, the execution subject of the method may be a computing device such as a computer and a server, and is not limited in this embodiment.
In this embodiment, an execution subject of the method may also be an intelligent device such as a smart phone and a tablet computer, which is not limited in this embodiment.
It can be seen that, by implementing the data display method described in this embodiment, a user can be allowed to perform user-defined zooming on the display area, and the data to be displayed can be controlled to adjust the corresponding display condition along with the zooming of the display area, so as to improve the visual display effect. In addition, the data display number is adjusted while the size of the display area is adjusted, the situations that data display is incomplete due to scaling and the like are avoided, and experience when a user checks the data is improved.
Example 2
Referring to fig. 2, fig. 2 is a schematic flow chart of a data display method according to an embodiment of the present application. The data display method comprises the following steps:
s201, obtaining data to be displayed.
And S202, outputting the data to be displayed according to the original display rule.
S203, judging whether a display area adjusting instruction input by a user is received, if so, executing the steps S204-S207; if not, the flow is ended.
In this embodiment, the display area adjustment instruction is a default area size selection instruction or a custom area size selection instruction; the default area size selection instruction is used for selecting one default area specification from a plurality of preset default area specifications as the size of the target display area.
In this embodiment, the default region size selection command corresponds to three default display region specifications: 3*4,6*4,6*8. The default specification facilitates the user to quickly switch the desired style.
And S204, determining the size of the target display area according to the display area adjusting instruction.
S205, determining a layout type according to the size of the target display area; wherein the layout type is a left-right layout or an up-down layout.
As an optional implementation manner, determining the layout type according to the size of the target display area includes:
judging whether the size of the target display area is larger than a preset area size threshold value or not;
if so, determining the layout type as an up-down layout;
if not, determining the layout type as a left-right layout.
In this embodiment, when the specification of the display area exceeds 5 × 6, the method may automatically switch the layout to the top-bottom layout, that is, the numerical value and the additional index are on top, and the trend graph is on bottom.
And S206, determining a target data point display rule according to the layout type and a preset data point display rule.
In this embodiment, the data point display rule is to avoid confusion of data display and avoid that a user cannot clearly see data, and the system sets the adaptive rule of the data point.
As an alternative embodiment, determining a target data point display rule according to the layout type and a preset data point display rule includes:
determining the area width corresponding to the size of the target display area;
acquiring the data point display number matched with the area width according to a preset data point display rule;
and determining a target data point display rule according to the data point display number.
In this embodiment, the data point display rule includes: in the left layout, 2 data points are displayed with a width of 5, 3 data points with a width of 6, 4 data points with a width of 7-9, 5 data points with a width of 10, and 6 data points with a width of 11-12. Wherein, the display rule of the data points is 30/n and is rounded, and when 2 data points are recorded, the 2 data points correspond to the 1 st day and the 15 th day; when 4 data points were entered, the 4 data points correspond to days 1, 8, 15, and 23, respectively. In addition, in the top-bottom layout, all 30 data points are displayed by default.
S207, adjusting the display area of the area to be displayed to the size of the target display area, and outputting the data to be displayed according to the target data point display rule.
Referring to fig. 3, fig. 3 shows a data presentation diagram. In particular, fig. 3 shows the original presentation area.
Referring to fig. 4, fig. 4 shows a data presentation diagram. In particular, FIG. 4 shows the original presentation area and the selectable default size of the system.
Turning to fig. 5, fig. 5 shows a data presentation diagram. In particular, fig. 5 shows a presentation area of 6 × 4.
Turning to fig. 6, fig. 6 shows a data presentation diagram. In particular, fig. 6 shows a 6 × 8 presentation area.
Turning to fig. 7, fig. 7 shows a data presentation diagram. In particular, fig. 7 shows the display area after free dragging.
Therefore, although the size of the target area to be displayed is limited, each user can flexibly zoom the area to be displayed according to different display requirements on the display content, so that the data to be displayed always keep the optimal display effect.
In this embodiment, the execution subject of the method may be a computing device such as a computer and a server, and is not limited in this embodiment.
In this embodiment, an execution subject of the method may also be an intelligent device such as a smart phone and a tablet computer, which is not limited in this embodiment.
It can be seen that, by implementing the data display method described in this embodiment, a user can be allowed to perform user-defined zooming on the display area, and the data to be displayed can be controlled to adjust the corresponding display condition along with the zooming of the display area, so as to improve the visual display effect. In addition, the data display number is adjusted while the size of the display area is adjusted, the situations that data display is incomplete due to scaling and the like are avoided, and experience when a user checks the data is improved.
Example 3
Referring to fig. 8, fig. 8 is a schematic structural diagram of a data display device according to an embodiment of the present application. As shown in fig. 8, the data presentation apparatus includes:
an obtaining unit 310, configured to obtain data to be displayed;
the display output unit 320 is used for outputting the data to be displayed according to the original display rule;
a determining unit 330, configured to determine whether a display area adjustment instruction input by a user is received;
a first determining unit 340, configured to determine, when it is determined that the display area adjustment instruction is received, a size of the target display area according to the display area adjustment instruction;
a second determining unit 350, configured to determine a target data point display rule matching the size of the target display area;
the display output unit 320 is further configured to adjust a display area of the to-be-displayed area to a size of the target display area, and output the to-be-displayed data according to the target data point display rule.
In this embodiment, for the explanation of the data display apparatus, reference may be made to the description in embodiment 1 or embodiment 2, and further description is not repeated in this embodiment.
It can be seen that, the data display device described in this embodiment can allow the user to perform custom scaling on the display area, and can control the data to be displayed to adjust the corresponding display condition along with the difference in the scaling size of the display area, thereby improving the visual display effect. In addition, the data display number is adjusted while the size of the display area is adjusted, the situations that data display is incomplete due to scaling and the like are avoided, and experience when a user checks the data is improved.
Example 4
Please refer to fig. 9, fig. 9 is a schematic structural diagram of a data display device according to an embodiment of the present application. Fig. 9 is a schematic structural diagram of an improved data display device based on fig. 8. As shown in fig. 9, the second determination unit 350 includes:
a first determining subunit 351, configured to determine a layout type according to the size of the target display area; wherein the layout type is a left-right layout or an up-down layout;
the second determining subunit 352 is configured to determine a target data point display rule according to the layout type and a preset data point display rule.
In this embodiment, the display area adjustment instruction is a default area size selection instruction or a custom area size selection instruction; the default area size selection instruction is used for selecting one default area specification from a plurality of preset default area specifications as the size of the target display area.
As an alternative embodiment, the second determining subunit 352 includes:
the determining module is used for determining the area width corresponding to the size of the target display area;
the acquisition module is used for acquiring the data point display number matched with the area width according to a preset data point display rule;
and the determining module is also used for determining a target data point display rule according to the data point display number.
As an alternative embodiment, the first determining subunit 351 includes:
the judging module is used for judging whether the size of the target display area is larger than a preset area size threshold value or not;
the layout type determining module is used for determining the layout type as up-down layout when the size of the target display area is larger than a preset area size threshold;
and the layout type determining module is used for determining the layout type to be left-right layout when the size of the target display area is not larger than a preset area size threshold.
In this embodiment, for the explanation of the data display apparatus, reference may be made to the description in embodiment 1 or embodiment 2, and further description is not repeated in this embodiment.
It can be seen that, the data display device described in this embodiment can allow the user to perform custom scaling on the display area, and can control the data to be displayed to adjust the corresponding display condition along with the difference in the scaling size of the display area, thereby improving the visual display effect. In addition, the data display number is adjusted while the size of the display area is adjusted, the situations that data display is incomplete due to scaling and the like are avoided, and experience when a user checks the data is improved.
An embodiment of the present application provides an electronic device, which includes a memory and a processor, where the memory is used to store a computer program, and the processor runs the computer program to enable the electronic device to execute a data presentation method in embodiment 1 or embodiment 2 of the present application.
An embodiment of the present application provides a computer-readable storage medium, which stores computer program instructions, and when the computer program instructions are read and executed by a processor, the computer program instructions execute the data display method in embodiment 1 or embodiment 2 of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist alone, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application. It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily think of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
It should be noted that, in this document, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
Claims (10)
1. A method for displaying data, comprising:
acquiring data to be displayed;
outputting the data to be displayed according to an original display rule;
judging whether a display area adjusting instruction input by a user is received;
if so, determining the size of the target display area according to the display area adjusting instruction;
determining a target data point display rule matched with the size of the target display area;
adjusting the display area of the area to be displayed to the size of the target display area, and outputting the data to be displayed according to the target data point display rule.
2. The data display method according to claim 1, wherein the display area adjustment command is a default area size selection command or a custom area size selection command; the default area size selection instruction is used for selecting one default area specification from a plurality of preset default area specifications as the size of the target display area.
3. The data presentation method of claim 1, wherein determining a target data point display rule matching the target presentation area size comprises:
determining a layout type according to the size of the target display area; wherein the layout type is a left-right layout or a top-bottom layout;
and determining a target data point display rule according to the layout type and a preset data point display rule.
4. The data presentation method of claim 3, wherein determining a target data point display rule according to the layout type and a preset data point display rule comprises:
determining the area width corresponding to the size of the target display area;
acquiring the data point display number matched with the area width according to a preset data point display rule;
and determining a target data point display rule according to the data point display number.
5. The data presentation method of claim 3, wherein the determining a layout type according to the size of the target presentation area comprises:
judging whether the size of the target display area is larger than a preset area size threshold value or not;
if so, determining the layout type as an up-down layout;
if not, determining the layout type as a left-right layout.
6. A data presentation device, said data presentation device comprising:
the acquisition unit is used for acquiring data to be displayed;
the display output unit is used for outputting the data to be displayed according to an original display rule;
the judging unit is used for judging whether a display area adjusting instruction input by a user is received or not;
the first determining unit is used for determining the size of a target display area according to the display area adjusting instruction when the display area adjusting instruction is judged to be received;
the second determining unit is used for determining a target data point display rule matched with the size of the target display area;
the display output unit is further configured to adjust a display area of the to-be-displayed area to the size of the target display area, and output the to-be-displayed data according to the target data point display rule.
7. The data presentation device of claim 6, wherein the second determination unit comprises:
the first determining subunit is used for determining the layout type according to the size of the target display area; wherein the layout type is a left-right layout or a top-bottom layout;
and the second determining subunit is used for determining a target data point display rule according to the layout type and a preset data point display rule.
8. The data presentation device of claim 7, wherein the second determining subunit comprises:
the determining module is used for determining the area width corresponding to the size of the target display area;
the acquisition module is used for acquiring the data point display number matched with the area width according to a preset data point display rule;
the determining module is further configured to determine a target data point display rule according to the data point display number.
9. An electronic device, comprising a memory for storing a computer program and a processor for executing the computer program to cause the electronic device to perform the data presentation method of any one of claims 1 to 5.
10. A readable storage medium, having stored therein computer program instructions, which when read and executed by a processor, perform the data presentation method of any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210744876.1A CN115079980A (en) | 2022-06-27 | 2022-06-27 | Data display method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210744876.1A CN115079980A (en) | 2022-06-27 | 2022-06-27 | Data display method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115079980A true CN115079980A (en) | 2022-09-20 |
Family
ID=83256583
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210744876.1A Pending CN115079980A (en) | 2022-06-27 | 2022-06-27 | Data display method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115079980A (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1845054A (en) * | 2005-04-08 | 2006-10-11 | 皮克塞(研究)有限公司 | System and method for dynamically zooming and rearranging display items |
CN109241218A (en) * | 2018-08-17 | 2019-01-18 | 北京云鸟科技有限公司 | A kind of data point indication method and device |
CN111652955A (en) * | 2020-04-09 | 2020-09-11 | 北京奇艺世纪科技有限公司 | Data display method and device, computer equipment and storage medium |
-
2022
- 2022-06-27 CN CN202210744876.1A patent/CN115079980A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1845054A (en) * | 2005-04-08 | 2006-10-11 | 皮克塞(研究)有限公司 | System and method for dynamically zooming and rearranging display items |
CN109241218A (en) * | 2018-08-17 | 2019-01-18 | 北京云鸟科技有限公司 | A kind of data point indication method and device |
CN111652955A (en) * | 2020-04-09 | 2020-09-11 | 北京奇艺世纪科技有限公司 | Data display method and device, computer equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9158432B2 (en) | Region recommendation device, region recommendation method and recording medium | |
US9035887B1 (en) | Interactive user interface | |
EP2849031B1 (en) | Information processing apparatus and information processing method | |
CN109189532B (en) | Control bar display method, device, equipment and storage medium of electronic whiteboard | |
US20150135125A1 (en) | Bubble loupes | |
US20180024703A1 (en) | Techniques to modify content and view content on a mobile device | |
CN105912227A (en) | Text information display method, device and mobile device | |
KR101638725B1 (en) | Application text adjusting method, device, terminal, program, and recording medium | |
CN104850660A (en) | Picture displaying method, picture displaying device and mobile terminal | |
CN109298909B (en) | Window adjusting method, mobile terminal and computer readable storage medium | |
EP3109749A1 (en) | Crop frame adjusting method, image processing device, and non-transitory computer readable storage medium | |
US20240104805A1 (en) | Graphical User Interface | |
CN105224187A (en) | Menu execution control method and terminal equipment | |
CN109324736A (en) | The exchange method and device of partial enlargement picture | |
CN111190677A (en) | Information display method, information display device and terminal equipment | |
CN111143731B (en) | Display method and device for webpage interface zooming and terminal equipment | |
US20070234231A1 (en) | Method and apparatus for inputting text effect item | |
US20140351745A1 (en) | Content navigation having a selection function and visual indicator thereof | |
CN106249879A (en) | The display packing of a kind of virtual reality image and terminal | |
CN107797736A (en) | Method for information display and device | |
CN112711388A (en) | Label template generation method and device, electronic equipment and readable storage medium | |
CN115079980A (en) | Data display method and device | |
JP6160115B2 (en) | Information processing apparatus, presentation material optimization method, and program | |
CN109543174B (en) | Text selection method, text selection device, computer readable storage medium and computer equipment | |
CN112286430B (en) | Image processing method, apparatus, device and medium |
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 |