CN108334507B - Chart display method and device and electronic equipment - Google Patents

Chart display method and device and electronic equipment Download PDF

Info

Publication number
CN108334507B
CN108334507B CN201710038513.5A CN201710038513A CN108334507B CN 108334507 B CN108334507 B CN 108334507B CN 201710038513 A CN201710038513 A CN 201710038513A CN 108334507 B CN108334507 B CN 108334507B
Authority
CN
China
Prior art keywords
graph
main body
graphic
reference axis
axis
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
CN201710038513.5A
Other languages
Chinese (zh)
Other versions
CN108334507A (en
Inventor
胡绍天
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201710038513.5A priority Critical patent/CN108334507B/en
Publication of CN108334507A publication Critical patent/CN108334507A/en
Application granted granted Critical
Publication of CN108334507B publication Critical patent/CN108334507B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/284Relational databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/26Visual data mining; Browsing structured data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/174Form filling; Merging

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Artificial Intelligence (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a method, a device and electronic equipment for displaying a diagram, wherein the method aims at a multi-axis diagram and is provided with more than two reference axes in one direction, and the method comprises the following steps: obtaining each graph main body in the multi-axis graph and a reference axis corresponding to each graph main body; setting an identification graph for each graph main body, wherein the identification graph is used for identifying each graph main body; and performing association display on the identification graph of each graph main body and the reference axis corresponding to each graph main body, wherein the association display is used for representing the corresponding relation between the graph main body and the reference axis. In the technical scheme, the corresponding relation between the graphic main body and the reference axis is represented by the associated display between the identification graphic of the identification graphic main body and the corresponding reference axis, so that the technical problem that the multi-axis diagram is not clearly displayed in the prior art is solved, and the readability of the multi-axis diagram is improved.

Description

Chart display method and device and electronic equipment
Technical Field
The present disclosure relates to the field of information technologies, and in particular, to a method and an apparatus for displaying a chart, and an electronic device.
Background
With the continuous development of science and technology, the people have entered the big data era, and the analysis and application of the big data are more and more important. The big data analysis common chart analysis method can visually and vividly show various attributes (such as timeliness, quantitative property and the like) of statistical analysis information.
At present, since many pieces of information have multiple attributes, for this reason, the information is often displayed by a multi-axis diagram, that is, graphic bodies with different attributes are displayed in the same diagram, at this time, the diagram often has more than two reference axes in one direction, and the plurality of graphic bodies correspond to different reference axes. In the prior art, when a multi-axis chart is displayed, information such as reference axes and a graph main body in the multi-axis chart is more and mutually interfered, the problem of unclear display exists, and the multi-axis chart is not easy to read by a user.
Disclosure of Invention
The embodiment of the application provides a method and a device for displaying a diagram and electronic equipment, which are used for solving the technical problem that multi-axis diagram displaying is unclear in the prior art and improving readability of the multi-axis diagram.
As a first aspect of the present application, there is provided a method of displaying a chart, the method including:
obtaining a graph main body and a reference axis corresponding to the graph main body in a multi-axis graph, wherein the multi-axis graph has more than two reference axes in one direction;
setting a mark graph for the graph main body, wherein the mark graph is used for marking the graph main body;
and performing association display on the identification graph of the graph main body and the reference axis corresponding to the graph main body, wherein the association display is used for representing the corresponding relation between the graph main body and the reference axis.
As a second aspect of the present application, there is provided a method of presenting a chart, the method including:
obtaining an operation object corresponding to selection operation of a user on the multi-axis diagram, wherein the operation object is a graphic main body on any multi-axis diagram or associated information corresponding to the graphic main body, and the multi-axis diagram has more than two reference axes in one direction;
and responding to the selection operation, and highlighting a first graphic main body corresponding to the operation object and a first reference axis corresponding to the first graphic main body.
As a third aspect of the present application, there is provided a method of displaying a chart, the method including:
obtaining a graph main body in the multi-axis graph and a first attribute characteristic of the graph main body, wherein the multi-axis graph has more than two reference axes in one direction;
setting a second attribute feature of a reference axis corresponding to the graphic main body according to the first attribute feature, wherein more than one same feature exists between the second attribute feature and the first attribute feature;
displaying the second attribute feature on the reference axis.
As a fourth aspect of the present application, there is provided a display apparatus of a chart, the apparatus including:
the multi-axis graph obtaining device comprises a main body obtaining unit, a graph main body obtaining unit and a main body obtaining unit, wherein the main body obtaining unit is used for obtaining a graph main body in a multi-axis graph and reference axes corresponding to the graph main body, and the multi-axis graph is provided with more than two reference axes in one direction;
the setting unit is used for setting an identification graph for the graph main body, and the identification graph is used for identifying the graph main body;
and the association display unit is used for associating and displaying the identification graph of the graph main body with the reference axis corresponding to the graph main body, and the association display is used for representing the corresponding relation between the graph main body and the reference axis.
As a fifth aspect of the present application, there is provided a display device of charts, the device including:
an obtaining module, configured to obtain an operation object corresponding to a selection operation of a user on the multiple-axis diagram, where the operation object is a graphic main body on any one of the multiple-axis diagrams or any piece of associated information corresponding to the graphic main body, and two or more reference axes are provided in one direction of the multiple-axis diagram;
and the highlighting module is used for responding to the selection operation and highlighting the first graphic main body corresponding to the operation object and the first reference axis corresponding to the first graphic main body.
As a sixth aspect of the present application, there is provided a display apparatus of a chart, the apparatus comprising:
the characteristic acquisition module is used for acquiring a graph main body in the multi-axis graph and a first attribute characteristic of the graph main body, wherein the multi-axis graph is provided with more than two reference axes in one direction;
the characteristic setting module is used for setting a second attribute characteristic of the reference axis corresponding to the graphic main body according to the first attribute characteristic, and more than one same characteristic is arranged between the second attribute characteristic and the first attribute characteristic;
a display module to display the second attribute feature on the reference axis.
As a seventh aspect of the present application, there is provided an electronic apparatus comprising: memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors the one or more programs including instructions for:
obtaining a graph main body in the multi-axis graph and a reference axis corresponding to the graph main body;
setting a mark graph for the graph main body, wherein the mark graph is used for marking the graph main body;
and performing association display on the identification graph of the graph main body and the reference axis corresponding to the graph main body, wherein the association display is used for representing the corresponding relation between the graph main body and the reference axis.
As an eighth aspect of the present application, there is provided an electronic apparatus comprising: memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors the one or more programs including instructions for:
obtaining an operation object corresponding to selection operation of a user on the multi-axis diagram, wherein the operation object is a graphic main body on any multi-axis diagram or associated information corresponding to the graphic main body;
and responding to the selection operation, and highlighting a first graphic main body corresponding to the operation object and a first reference axis corresponding to the first graphic main body.
As a ninth aspect of the present application, there is provided an electronic apparatus comprising: memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors the one or more programs including instructions for:
obtaining a graph main body in the multi-axis graph and a first attribute characteristic of the graph main body;
setting a second attribute feature of a reference axis corresponding to the graphic main body according to the first attribute feature, wherein more than one same feature exists between the second attribute feature and the first attribute feature;
displaying the second attribute feature on the reference axis.
One or more technical solutions in the embodiments of the present application have at least the following technical effects:
the identification graph is arranged for the graph main body in the multi-axis graph, the representation graph of the graph main body and the reference axis corresponding to the graph main body are displayed in a correlation mode, the corresponding relation between the graph main body and the reference axis is represented through the correlation display between the identification graph and the reference axis, the corresponding relation between the graph main body and the reference axis is clearly displayed, a user can clearly know which reference axis the graph main body corresponds to, the technical problem that the multi-axis graph is not clearly displayed in the prior art is solved, and the readability of the multi-axis graph is improved.
Drawings
Fig. 1 is a flowchart of a first chart showing a first method according to a first embodiment of the present disclosure;
FIG. 2 is a schematic diagram of a first chart interface provided in an embodiment of the present application;
FIG. 3 is a flowchart of a second method for displaying a chart according to a first embodiment of the present disclosure;
FIG. 4 is a schematic diagram of a second graphical interface provided in the first embodiment of the present application;
FIG. 5 is a flowchart of a third method for displaying a chart according to a first embodiment of the present disclosure;
FIG. 6 is a schematic diagram of a third graphical interface provided in the first embodiment of the present application;
FIG. 7 is a schematic view of a first chart showing apparatus according to a second embodiment of the present disclosure;
FIG. 8 is a schematic view of a second chart showing an apparatus according to a second embodiment of the present disclosure;
FIG. 9 is a schematic view of a third chart showing an apparatus according to the second embodiment of the present application;
fig. 10 is a schematic view of an electronic device according to a second embodiment of the present application.
Detailed Description
Preferably, a simple description is given of the multi-axis diagram to which the embodiments of the present application are directed:
a multi-axis diagram is a diagram with more than two (including two) reference axes in one direction, one direction refers to one dimension, a planar diagram has X, Y two directions, a three-dimensional diagram has X, Y, Z three directions, and so on. Multi-axis diagrams typically include sections such as headings, scales, legends, graphic bodies, and the like. Wherein, for a graph with a reference axis, such as: the scale is displayed on a reference axis, the multiaxis chart corresponds to different reference axes, and different scales can be arranged on different reference axes; the legend is the description of the content and the index represented by various symbols and colors on the icon; the graphic body is a main information set to be displayed by the chart, such as each broken line in the broken line chart, each long bar in the bar chart, each point in the scatter chart, and so on, and usually each graphic body has a corresponding body name.
The main implementation principle, the specific implementation mode and the corresponding beneficial effects of the technical scheme of the embodiment of the present application are explained in detail with reference to the accompanying drawings.
Example one
Referring to fig. 1, a first display method provided for a multi-axis diagram in the embodiment of the present application includes:
s11: and obtaining the graph main body in the multi-axis graph and the reference axis corresponding to the graph main body.
Because the multi-axis chart includes a plurality of chart bodies and a plurality of reference axes, axes (i.e., reference axes) to which the chart bodies need to be referred in reading may be different, for this reason, the chart bodies and the corresponding reference axes may be obtained when the multi-axis chart is generated, or the chart bodies and the corresponding reference axes may be obtained in the attribute information of the existing multi-axis chart.
S12: and setting a mark graph for the graph main body in the multi-axis graph, wherein the mark graph is used for marking the graph main body.
The identification graph is a simple graph used for identifying the graph main body in the multi-axis graph, is vivid and visual and is easy to display and distinguish, and the identification degree is greater than the name of the graph main body. When the identification pattern is set, the characteristic of the identification pattern may not be limited, the identification pattern of the pattern main body may be explained by a legend, or the characteristic of the identification pattern may be limited, and the identification pattern is set to have more than one (including one) same attribute characteristic as the pattern main body. Specifically, the identification pattern and the graphic main body may have the same attribute characteristics such as color, shape, structure, and the like, so as to clearly display the identification function of the graphic main body. For example: for the graphic body "blue broken line", the identification graphics thereof may be set as dots of blue, and the identification graphics of the other broken lines may be set as dots of corresponding colors.
S13: and carrying out association display on the identification graph of the graph main body and the reference axis corresponding to the graph main body, wherein the association display is used for representing the corresponding relation between the graph main body and the reference axis.
When the identification graph and the reference axis are displayed in a correlated manner, the identification graph of the graph main body can be displayed in a first display area of the reference axis corresponding to the graph main body, wherein the distance between the first display area and the reference axis is smaller than a set threshold value, that is, the identification graph is displayed near the corresponding reference axis. As shown in fig. 2, the graphic body
Figure 341244DEST_PATH_IMAGE001
Is marked with
Figure DEST_PATH_IMAGE002
Displayed on the side of the left reference axis, representing the graphic body
Figure 851860DEST_PATH_IMAGE003
The corresponding reference axis is a left reference axis, and reading needs to be carried out based on the left reference axis; and the graphic body
Figure DEST_PATH_IMAGE004
Corresponds to the right reference axis, thus dividing the graphic body
Figure 225072DEST_PATH_IMAGE004
Is marked with
Figure 918484DEST_PATH_IMAGE005
Shown on the side of the right reference axis. The display of the identification graph is visual and clear, and the readability of the multi-axis chart is improved. Further, an extension line may be disposed between the identification pattern and the pattern main body thereof, and the extension line passes through the reference axis, so as to strengthen the corresponding relationship between the pattern main body and the reference axis, as shown in fig. 2.
In practical application, the starting point and/or the ending point of the graphic body may be far away from the reference axis, which is inconvenient for reading the scale value. Therefore, when the identification graph is displayed, the scale position of the end point (the starting point or the end point) of the graph main body corresponding to the reference axis is also obtained; and displaying the identification graph of the graph main body and the scale position on the reference axis in a correlated manner, such as directly displaying the identification graph on the scale position of the end point, or displaying the identification graph on the scale position edge of the end point. If the end points of the two graphic bodies correspond to the same scale position, the two identification graphics may be displayed side by side at the same distance from the scale position, or the two identification graphics may be displayed in a fused manner, for example: assuming that one identification image is a blue dot and the other identification image is a red dot, the two identification images can be fused into a dot consisting of a blue semicircle and a red semicircle, and the dot is displayed at the scale position corresponding to the same end point of the two main bodies of the two images.
The mark graph of the graph main body and the scale positions of the end points of the graph main body on the corresponding reference axes are displayed in a correlation mode, so that the reference axes of the graph main body and the scale positions where the end points are located can be displayed visually and clearly, and the readability of the multi-axis graph is further improved.
Further, the embodiment of the present application provides a second display method for a multi-axis diagram, please refer to fig. 3, where the method includes:
s31: and obtaining an operation object corresponding to the selection operation of the user on the multi-axis diagram, wherein the operation object is any graphic main body or associated information corresponding to the graphic main body.
The associated information corresponding to the graphic body includes: the selection operation of the user on the multi-axis diagram can be a selection operation of an operation object, such as clicking the graphic main body, or a movement operation of moving a pointer to the operation object, such as moving a mouse to the identification graph of the graphic main body.
S32: and responding to the selection operation of the user, and highlighting the first graphic body corresponding to the operation object and the first reference axis corresponding to the first graphic body.
By highlighting the first graphic body and the first reference axis, the first reference axis is definitely referred to when the first graphic body is read, and the searching of the reference axis is not needed. Specifically, when the first graphic body and the first reference axis corresponding to the first graphic body are highlighted, one or more of the following modes may be adopted:
the first mode is to increase the brightness value of the first graphic body and the first reference axis when displaying. Meanwhile, the luminance values of the second graphic body and the second reference axis in the multi-axis chart except for the first graphic body and the first reference axis may be reduced, the distinction between the first graphic body and the first reference axis and the second graphic body and the second reference axis may be increased, and the first graphic body and the first reference axis may be highlighted.
The second mode is to display a second graphic body and a second reference axis in the multi-axis chart, except for the first graphic body and the first reference axis, as a preset color, where the preset color is different from the colors of the first graphic body and the first reference axis, for example: assuming that neither the first graphic body nor the first reference axis is gray, the second reference axis and the second graphic body in the multi-axis chart may be displayed in gray as shown in fig. 4.
Third, an associated symbol is displayed between the first graphic body and the first reference axis. Wherein the associated symbol may be a pointing arrow, a connecting line, etc., such as a pointing arrow displayed between the first graphic body and the first reference axis to which the scale reading representing the first graphic body should be referenced.
In the specific implementation process, when the selection operation of the user is responded, one or more of the following operations can be further executed: 1. the first identification graph of the first graph main body is displayed in a manner of being associated with the first graph main body and the first reference axis, and the specific highlighting manner is as above; 2. the scale position corresponding to the endpoint of the first graphic main body is displayed on the first reference axis, so that a user can read the numerical value of the endpoint conveniently; 3. the name of the first graphic main body is displayed on the first graphic main body and the corresponding identification graph, so that a user can conveniently and quickly know the name of the first graphic main body, a legend does not need to be checked, and the reading efficiency of the multi-axis chart is improved.
Further, the embodiment of the present application further provides a third display method for a multi-axis diagram, please refer to fig. 5, where the method includes:
s51: a graph body and a first attribute feature of the graph body in the multi-axis graph are obtained.
The graphic bodies of the multi-axis diagram each include a first attribute feature for distinguishing from other graphic bodies. The first attribute feature may be one of color, shape, size, and the like or a combination of two or more (including two) features.
S52: and setting a second attribute characteristic of the reference axis corresponding to the graphic main body according to the first attribute characteristic of the graphic main body, wherein more than one same characteristic exists between the second attribute characteristic and the first attribute characteristic.
When the second attribute feature of the reference axis is set, more than one (including one) feature of the first attribute features of the graphic body is set as a feature of the second attribute features, namely, more than one same feature is arranged between the second attribute features and the first attribute features, and the corresponding relation between the reference axis and the graphic body is represented by the same feature.
S53: and displaying the second attribute characteristic of the axis on the corresponding reference axis of the graphic main body.
In the specific implementation process, there are various ways to display the second attribute feature on the reference axis:
and the first mode is that the second attribute feature is displayed on the reference axis in a segmented mode. As shown in FIG. 6, the first attribute feature of the graphic body 1 is "
Figure DEST_PATH_IMAGE006
", the first attribute of the graphic body 2 is characterized as"
Figure 60752DEST_PATH_IMAGE007
", the first attribute of the graphic body 3 is"
Figure DEST_PATH_IMAGE008
", the first attribute of the figure body 4 is characterized as"
Figure 211111DEST_PATH_IMAGE009
", the reference axes of the figure bodies 1, 2 are the left Y-axis, and the reference axes of the figure bodies 3, 4 are the right Y-axis, then it is possible to use
Figure 9303DEST_PATH_IMAGE006
And
Figure 739361DEST_PATH_IMAGE007
set as the second attribute feature of the left Y-axis,
Figure 440863DEST_PATH_IMAGE008
and
Figure 965386DEST_PATH_IMAGE009
setting as the second attribute feature of the right Y-axis, displaying on the left Y-axis
Figure 250873DEST_PATH_IMAGE006
And
Figure 519044DEST_PATH_IMAGE007
on the right Y-axis
Figure 573587DEST_PATH_IMAGE008
And
Figure 534590DEST_PATH_IMAGE009
so as to clearly show the corresponding relationship between the graphic bodies 1-4 and the Y axes at the two sides.
Obtaining a corresponding scale area of the graphic main body on the reference axis; and when the corresponding relation between the graphic main body and the reference axis is represented by the same characteristic, the characteristic of the graphic main body is displayed in the corresponding scale area, so that the display effect of the corresponding relation between the graphic main body and the reference axis is enhanced. When two graphic bodies are in the same scale area, two characteristics of the second attribute characteristics, which are the same as the first attribute characteristics of the two graphic bodies, can be displayed in a segmented manner in the area.
Obtaining the corresponding scale position of the end point of the graphic main body on the reference axis; and displaying the same characteristic of the first attribute characteristic of the graphic main body as the second attribute characteristic at the scale position of the reference axis. The end point of the image main body is the starting point or the end point of the graphic main body, and the display effect of the corresponding relation between the graphic main body and the reference axis is strengthened by displaying the characteristics of the graphic main body on the scale position corresponding to the end point. When two features correspond to the same scale position, the two features can be displayed in a fusion mode, for example: one feature is Δ and the other feature is O, then the fusion can be displayed as
Figure DEST_PATH_IMAGE010
Or
Figure 572953DEST_PATH_IMAGE011
. The three modes are specifically adopted, which can be determined according to the actual situation of the multi-axis diagram, and the application embodiment does not limit the use scenario of the display mode.
In the third display method, the second attribute characteristics which are the same as the characteristics of the corresponding graph main body are set for the reference axis to represent the corresponding relation between the reference axis and the graph main body, and the second attribute characteristics are displayed on the reference axis, so that which reference axis the graph main body corresponds to is directly and clearly displayed, the technical problem that the display of the multi-axis graph in the prior art is unclear is solved, and the readability of the multi-axis graph is improved.
It should be noted that the first, second, and third display methods for the multi-axis chart may be implemented individually or jointly, and whether the first, second, or third method is used, which reference axis is specific to the graphic main body can be clearly displayed, so that the user can read the graphic main body conveniently, and the readability of the multi-axis chart is improved. When the first and second display modes are adopted, the corresponding relation between the graphic main body and the reference axis can be clearly displayed even if the multi-axis diagram is printed, and the high readability of the multi-axis diagram during static display is guaranteed.
Example two
Based on the first method for displaying a diagram provided by the first embodiment, an embodiment of the present application further provides a device for displaying a diagram correspondingly, please refer to fig. 7, where the device includes:
a main body obtaining unit 71, configured to obtain each graph main body of the multi-axis graph and a reference axis corresponding to each graph main body;
a setting unit 72, configured to set an identification pattern for each of the graphic bodies, where the identification pattern is used to identify each of the graphic bodies;
and the association display unit 73 is configured to associate and display the identification graph of each of the graph bodies and the reference axis corresponding to each of the graph bodies, where the association display is used to represent a corresponding relationship between the graph bodies and the reference axis.
In a specific implementation process, the association display unit 73 is configured to: and displaying the identification graph of each graph main body in a first display area of a reference axis corresponding to each graph main body, wherein the distance between the first display area and the reference axis is less than a set threshold value.
Further, the apparatus further comprises: a position obtaining unit 74, configured to obtain a scale position where an end point of each of the graphic bodies corresponds to the reference axis;
the association display unit 73 is specifically configured to: and displaying the identification graph of each graph main body in association with the scale position on the reference axis.
When the identification graph is set, more than one same attribute feature exists between the identification graph and the graph main body.
In order to improve the experience of using the multiple-axis diagram, the apparatus provided in the embodiment of the present application further includes:
an operation obtaining unit 75, configured to obtain an operation object corresponding to a selection operation of a user on the multi-axis diagram, where the operation object is any one of the graphic bodies or any piece of associated information corresponding to the graphic body;
and a highlighting unit 76, configured to highlight, in response to the selection operation, the first graphic body corresponding to the operation object and the first reference axis corresponding to the first graphic body. The highlighting unit 76 is further configured to: highlighting a first identification graphic of the first graphic body with the first graphic body and the first reference axis.
Wherein the associated information comprises: the identification pattern, name and legend of the pattern body.
In a specific implementation process, the highlighting unit 76 is configured to highlight through at least one of the following methods:
increasing the brightness value of the first graphic main body and the first reference axis when the first graphic main body and the first reference axis are displayed;
displaying a second graphic body and a second reference axis in the multi-axis chart, except for the first graphic body and the first reference axis, as a preset color, wherein the preset color is different from the color of the first graphic body and the first reference axis;
a third way is to display an associated symbol between the first graphic body and the first reference axis.
Based on the second method for displaying a multiple-axis diagram provided in the first embodiment, an embodiment of the present application further provides another diagram displaying apparatus, please refer to fig. 8, where the apparatus includes:
an obtaining module 81, configured to obtain an operation object corresponding to a selection operation of a user on the multiple axis diagram, where the operation object is a graphic main body on any one of the multiple axis diagrams or any associated information corresponding to the graphic main body, and the associated information includes a name, an identification image, and a legend of the graphic main body;
and a highlighting module 82, configured to highlight, in response to the selection operation, the first graphic body corresponding to the operation object and the first reference axis corresponding to the first graphic body. The highlighting module 82 is further configured to: and displaying the scale position corresponding to the end point of the first graphic main body on the first reference axis.
Wherein the associated information comprises: the graphic body comprises a name, an identification graphic and a legend, wherein the identification graphic is used for identifying the graphic body.
In a specific implementation process, the highlighting module 82 is configured to highlight in at least one of the following manners:
increasing the brightness value of the first graphic main body and the first reference axis when the first graphic main body and the first reference axis are displayed;
displaying a second graphic body and a second reference axis in the multi-axis chart, except for the first graphic body and the first reference axis, as a preset color, wherein the preset color is different from the color of the first graphic body and the first reference axis;
a third way is to display an associated symbol between the first graphic body and the first reference axis.
Based on the third method for displaying a multiple-axis diagram provided in the first embodiment, the embodiment of the present application further provides another diagram displaying apparatus, please refer to fig. 9, where the apparatus includes:
a feature obtaining module 91, configured to obtain each graph body in the multi-axis diagram and a first attribute feature of each graph body;
a feature setting module 92, configured to set a second attribute feature of the reference axis corresponding to each graphic body according to the first attribute feature, where the second attribute feature and the first attribute feature have more than one same feature therebetween;
a display module 93, configured to display the second attribute feature on the reference axis.
In a specific implementation process, the display module 93 may be configured to: obtaining a corresponding scale area of each graphic main body on the reference axis; displaying the same one of the first attribute features of each graphic body as the second attribute feature within the scale region of the reference axis. The display module 93 may also be used to: obtaining the corresponding scale position of the end point of each graphic main body on the reference axis; and displaying the same characteristic of the first attribute characteristic and the second attribute characteristic of each graphic body on the scale position of the reference axis.
With regard to the apparatus in the above embodiments, the specific manner in which each unit and each module performs operations has been described in detail in the embodiments related to the method, and will not be described in detail herein.
Fig. 10 is a block diagram illustrating an electronic device 800 for implementing a data storage and/or processing method according to an example embodiment. For example, the electronic device 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 10, electronic device 800 may include one or more of the following components: a processor 802, a memory 804, and an input/output (I/O) interface 806. The processor 802 generally controls the overall operation of the electronic device 800. The processor 802 may include one or more components to perform all or a portion of the steps of the methods described above. The memory 804 is configured to store various types of data to support operation at the device 800. Examples of such data include instructions for any application or method operating on electronic device 800, which may be ROM, Random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage, and so forth. The I/O interface 806 provides an interface between the processor 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
In an exemplary embodiment, the instructions in the memory 804, when executed by the processor of the electronic device, enable the electronic device to perform a first method of presenting a diagram, the first method comprising:
obtaining each graph main body of the multi-axis graph and a reference axis corresponding to each graph main body; setting an identification graph for each graph main body, wherein the identification graph is used for identifying each graph main body; and performing association display on the identification graph of each graph main body and the reference axis corresponding to each graph main body, wherein the association display is used for representing the corresponding relation between the graph main body and the reference axis.
Still alternatively, in an exemplary embodiment, the instructions in the memory 804, when executed by the processor of the electronic device, enable the electronic device to perform a second method of presenting a diagram, the second method comprising:
obtaining an operation object corresponding to selection operation of a user on the multi-axis diagram, wherein the operation object is a graphic main body on any multi-axis diagram or associated information corresponding to the graphic main body; and responding to the selection operation, and highlighting a first graphic main body corresponding to the operation object and a first reference axis corresponding to the first graphic main body.
Still alternatively, in an exemplary embodiment, the instructions in the memory 804, when executed by the processor of the electronic device, enable the electronic device to perform a third method of presenting a diagram, the third method comprising:
obtaining each graph main body in the multi-axis graph and a first attribute characteristic of each graph main body; setting a second attribute characteristic of a reference axis corresponding to each graphic main body according to the first attribute characteristic, wherein more than one same characteristic exists between the second attribute characteristic and the first attribute characteristic; displaying the second attribute feature on a reference axis.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is only limited by the appended claims
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (13)

1. A method for presenting a chart, the method comprising:
obtaining a graph main body and a reference axis corresponding to the graph main body in a multi-axis graph, wherein the multi-axis graph has more than two reference axes in one direction;
setting a mark graph for the graph main body, wherein the mark graph is used for marking the graph main body;
and performing association display on the identification graph of the graph main body and the reference axis corresponding to the graph main body, wherein the association display is used for representing the corresponding relation between the graph main body and the reference axis.
2. The method of claim 1, wherein the displaying the identification graphic of the graphic body in association with the reference axis corresponding to the graphic body comprises:
and displaying the identification graph of the graph main body in a first display area of a reference axis corresponding to the graph main body, wherein the distance between the first display area and the reference axis is less than a set threshold value.
3. The method of claim 1, wherein the method further comprises:
obtaining the scale position of the end point of the graphic main body corresponding to the reference axis;
the associating and displaying the identification graph of the graph main body and the reference axis corresponding to the graph main body comprises:
and displaying the identification graph of the graph main body and the scale position on the reference axis in a correlation mode.
4. The method of claim 1, wherein the identification graphic has more than one same attribute feature with the graphic body.
5. The method of any of claims 1 to 4, further comprising:
obtaining an operation object corresponding to selection operation of a user on the multi-axis diagram, wherein the operation object is any one of the graphic main bodies or any associated information corresponding to the graphic main bodies;
and responding to the selection operation, and highlighting a first graphic main body corresponding to the operation object and a first reference axis corresponding to the first graphic main body.
6. The method of claim 5, wherein the association information comprises:
the identification pattern, name and legend of the pattern body.
7. The method of claim 5, wherein in response to the selection operation, highlighting the first graphical body corresponding to the operation object and the first reference axis corresponding to the first graphical body is performed by at least one of:
increasing a brightness value of the first graphic body and the first reference axis when displayed;
displaying a second graphic body and a second reference axis other than the first graphic body and the first reference axis in the multi-axis chart as a preset color, the preset color being different from colors of the first graphic body and the first reference axis;
displaying an association symbol between the first graphic body and the first reference axis.
8. The method of claim 5, wherein said responding to said selecting operation further comprises:
highlighting a first identification graphic of the first graphic body with the first graphic body and the first reference axis.
9. A device for displaying charts, characterized in that it comprises:
the multi-axis graph obtaining device comprises a main body obtaining unit, a graph main body obtaining unit and a main body obtaining unit, wherein the main body obtaining unit is used for obtaining a graph main body in a multi-axis graph and reference axes corresponding to the graph main body, and the multi-axis graph is provided with more than two reference axes in one direction;
the setting unit is used for setting an identification graph for the graph main body, and the identification graph is used for identifying the graph main body;
and the association display unit is used for associating and displaying the identification graph of the graph main body with the reference axis corresponding to the graph main body, and the association display is used for representing the corresponding relation between the graph main body and the reference axis.
10. The apparatus of claim 9, wherein the association display unit is to:
and displaying the identification graph of the graph main body in a first display area of a reference axis corresponding to the graph main body, wherein the distance between the first display area and the reference axis is less than a set threshold value.
11. The apparatus of claim 9, wherein the apparatus further comprises:
the position acquisition unit is used for acquiring the scale position of the end point of the graph main body corresponding to the reference axis;
the associated display unit is specifically configured to: and displaying the identification graph of the graph main body and the scale position on the reference axis in a correlation mode.
12. The apparatus of claim 9, wherein the identification graphic has more than one same attribute feature with the graphic body.
13. An electronic device, comprising: memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors the one or more programs including instructions for:
obtaining a graph main body in the multi-axis graph and a reference axis corresponding to the graph main body;
setting a mark graph for the graph main body, wherein the mark graph is used for marking the graph main body;
and performing association display on the identification graph of the graph main body and the reference axis corresponding to the graph main body, wherein the association display is used for representing the corresponding relation between the graph main body and the reference axis.
CN201710038513.5A 2017-01-19 2017-01-19 Chart display method and device and electronic equipment Active CN108334507B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710038513.5A CN108334507B (en) 2017-01-19 2017-01-19 Chart display method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710038513.5A CN108334507B (en) 2017-01-19 2017-01-19 Chart display method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN108334507A CN108334507A (en) 2018-07-27
CN108334507B true CN108334507B (en) 2021-09-07

Family

ID=62921846

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710038513.5A Active CN108334507B (en) 2017-01-19 2017-01-19 Chart display method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN108334507B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101339554A (en) * 2008-07-22 2009-01-07 深圳钱袋商务有限公司 Data display system and display method
CN105068807A (en) * 2015-08-07 2015-11-18 北京思特奇信息技术股份有限公司 Generation method and system for multi-axis curve graph
US9356847B2 (en) * 2012-10-31 2016-05-31 Keysight Technologies, Inc. Method for monitoring and displaying high speed bus performance
CN105760401A (en) * 2014-12-19 2016-07-13 金蝶软件(中国)有限公司 Report data interaction method and system based on mobile terminal
CN106126489A (en) * 2016-06-23 2016-11-16 江苏中威科技软件系统有限公司 A kind of report file dynamic chart edit methods and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100305961A1 (en) * 2009-05-29 2010-12-02 Broder Michael S Tools, system and method for visual interpretation of vast medical data

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101339554A (en) * 2008-07-22 2009-01-07 深圳钱袋商务有限公司 Data display system and display method
US9356847B2 (en) * 2012-10-31 2016-05-31 Keysight Technologies, Inc. Method for monitoring and displaying high speed bus performance
CN105760401A (en) * 2014-12-19 2016-07-13 金蝶软件(中国)有限公司 Report data interaction method and system based on mobile terminal
CN105068807A (en) * 2015-08-07 2015-11-18 北京思特奇信息技术股份有限公司 Generation method and system for multi-axis curve graph
CN106126489A (en) * 2016-06-23 2016-11-16 江苏中威科技软件系统有限公司 A kind of report file dynamic chart edit methods and system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
origin双Y轴图曲线所在图层的调整方法;说不出的了解;《百度经验》;20151221;第1-4页 *
origin双Y轴曲线所在图层的调整方法;说不出的了解;《百度经验》;20151221;第1-4页 *

Also Published As

Publication number Publication date
CN108334507A (en) 2018-07-27

Similar Documents

Publication Publication Date Title
US10796133B2 (en) Image processing method and apparatus, and electronic device
US7268772B2 (en) Information processing apparatus operating in touch panel mode and pointing device mode
CN105659295B (en) For indicating the method for point of interest in the view of true environment on the mobile apparatus and for the mobile device of the method
US7756364B2 (en) Digital pen and paper system
CN107615214A (en) Interface control system, interface control device, interface control method and program
CN102221878A (en) Image processing system, image processing apparatus, image processing method, and program
US20160188178A1 (en) Display Processing Method And Portable Mobile Terminal
CN108700978B (en) Assigning textures to graphical keyboards based on subject textures of an application
CN111782131A (en) Pen point implementation method, device, equipment and readable storage medium
CN104995591A (en) Image processing device and program
JP6237135B2 (en) Information processing apparatus and information processing program
CN113345052B (en) Classification data multi-view visualization coloring method and system based on similarity significance
CN108334507B (en) Chart display method and device and electronic equipment
US9171387B2 (en) Data visualization system
CN109766530A (en) Generation method, device, storage medium and the electronic equipment of chart frame
JP2010039572A (en) Character decoration system and character decoration program
CN111367455A (en) Touch screen human-computer interaction accurate positioning and measuring method
CN104869268B (en) Display control unit, image forming apparatus and display control method
CN115033170A (en) Input control system and method based on virtual keyboard and related device
CN110399060B (en) Electronic device, information processing method, and storage medium
CN106547891A (en) For the quick visualization method of the pictured text message of palm display device
US7046241B2 (en) Oriented three-dimensional editing glyphs
Setlur et al. Semantic Resizing of Charts Through Generalization: A Case Study with Line Charts
US20230060045A1 (en) Systems and methods for grid-aligned inking
US20230298292A1 (en) Information processing apparatus, non-transitory computer readable medium storing program, and information processing method

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