CN107451272B - Information display method, medium, device and computing equipment - Google Patents
Information display method, medium, device and computing equipment Download PDFInfo
- Publication number
- CN107451272B CN107451272B CN201710656412.4A CN201710656412A CN107451272B CN 107451272 B CN107451272 B CN 107451272B CN 201710656412 A CN201710656412 A CN 201710656412A CN 107451272 B CN107451272 B CN 107451272B
- Authority
- CN
- China
- Prior art keywords
- displayed
- chart
- configuration information
- information
- attribute
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/904—Browsing; Visualisation therefor
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the invention provides an information display method. The method comprises the following steps: determining the type of a chart according to the type of the information to be displayed, wherein the information to be displayed comprises at least one object to be displayed and at least one attribute to be displayed of the object to be displayed; generating configuration information of the at least one object to be displayed and configuration information of the attribute to be displayed of the at least one object to be displayed according to the chart type; drawing the at least one object to be displayed and the attribute to be displayed of the at least one object to be displayed into a chart based on the configuration information of the at least one object to be displayed and the configuration information of the attribute to be displayed of the at least one object to be displayed; and displaying the chart. In addition, the embodiment of the invention provides an information display device, a medium and a computing device.
Description
Technical Field
The embodiment of the invention relates to the field of information display, in particular to an information display method, medium, device and computing equipment.
Background
This section is intended to provide a background or context to the embodiments of the invention that are recited in the claims. The description herein is not admitted to be prior art by inclusion in this section.
In the whole information display field, chart drawing and displaying information is widely used, and the forms of chart drawing and displaying are increasingly diversified, for example, various forms of displays such as a bar chart, a broken line chart, a pie chart and the like are displayed.
Currently, some dedicated chart drawing tools have appeared for providing services for drawing various forms of charts and presenting them on a terminal, however, in implementing the disclosed concept, the inventors found that at least the following problems exist in the related art:
when a user draws a chart, the object to be displayed and the attribute to be displayed of the object to be displayed need to be manually dragged to a proper chart configuration panel, and some basic adjustment is generally needed to achieve reasonable chart display. For example, a most basic histogram is drawn, and if the object to be displayed and the attribute to be displayed of the object to be displayed are arbitrarily placed on the x-axis for displaying, the situation shown in fig. 1A may be obtained. This is not conducive to the user comparing sales for different mailing formats, and the user needs to make adjustments to the chart configuration based on experience. For example, the attribute to be displayed of the object to be displayed is placed on the y-axis to obtain the situation shown in fig. 1B, which is convenient for the user to compare sales of different mailing modes.
The application scenario shown in fig. 1A requires a user to manually configure the object to be displayed and the configuration information of the attribute to be displayed of the object to be displayed, and to achieve reasonable chart configuration, the user depends on the experience of the user, and under some circumstances, the user does not even know how to make a chart, and needs to check data and perform multiple adjustment and configuration operations, so that the whole process of drawing the chart is too cumbersome, and also takes a lot of time for the user, thereby reducing the user experience.
In view of the above problems in the related art, no effective solution has been proposed at present.
Disclosure of Invention
However, due to the reason that the configuration information of the object to be displayed and the attribute to be displayed of the object to be displayed is not properly allocated when the chart is drawn, in the prior art, when the configuration information of the object to be displayed and the attribute to be displayed is allocated, the configuration information may be improperly allocated due to insufficient experience of a user, so that the information to be displayed is inaccurately displayed on the chart.
Therefore, in the prior art, the configuration information is not distributed properly, which causes inaccurate display of the information to be displayed on the chart, which is a very annoying process.
For this reason, an improved information display method is needed, so that the object to be displayed and the attribute to be displayed of the chart can obtain the suitable configuration information.
In this context, embodiments of the present invention are intended to provide an information display method and apparatus.
In a first aspect of embodiments of the present invention, there is provided an information presentation method, including: determining the type of a chart according to the type of the information to be displayed, wherein the information to be displayed comprises at least one object to be displayed and at least one attribute to be displayed of the object to be displayed; generating configuration information of at least one object to be displayed and configuration information of attributes to be displayed of at least one object to be displayed according to the graph type; drawing the at least one object to be displayed and the attribute to be displayed of the at least one object to be displayed into a chart based on the configuration information of the at least one object to be displayed and the configuration information of the attribute to be displayed of the at least one object to be displayed; and displaying the chart.
In one embodiment of the present invention, determining the chart type according to the type of the information to be presented includes: screening out at least one chart type according to the type of the information to be displayed; and responding to the operation of a user, and selecting a corresponding chart type from the at least one chart type.
In another embodiment of the present invention, the screening out at least one graph type according to the type of the information to be displayed may include screening out at least one bar graph and/or at least one pie graph when the information to be displayed includes at least one object to be displayed and attributes to be displayed of an object to be displayed of a non-time type, may also include screening out at least one pie graph when the information to be displayed includes at least one object to be displayed and attributes to be displayed of two objects to be displayed of a non-time type, may also include screening out at least one line graph when the information to be displayed includes at least one object to be displayed of a time type and attributes to be displayed of at least one object to be displayed of a non-time type, and so on.
In another embodiment of the present invention, generating the configuration information of the attribute to be shown of the at least one object to be shown according to the chart type includes: and calculating the attribute to be displayed of the at least one object to be displayed according to the chart type.
In a further embodiment of the present invention, the configuration information of the at least one object to be displayed includes any one or more of the following: selection information, color, size, angle, subdivision and label of coordinate axes; and/or the configuration information of the attribute to be displayed of the at least one object to be displayed comprises any one or more of the following items: selection information of coordinate axes, colors, sizes, angles, subdivisions, and labels.
In a further embodiment of the present invention, the configuration information of the at least one object to be displayed and the configuration information of the attribute to be displayed of the at least one object to be displayed are displayed on a coordinate axis, a color, a size, an angle, a subdivision, and/or a label.
In yet another embodiment of the present invention, the method further comprises: when the drawn chart additionally displays one or more objects to be displayed and/or attributes to be displayed of the objects to be displayed, generating configuration information corresponding to the one or more objects to be displayed and/or the attributes to be displayed of the objects to be displayed according to the chart type; and updating the one or more objects to be displayed and/or the configuration information corresponding to the attributes to be displayed of the objects to be displayed to the chart.
In a second aspect of embodiments of the present invention, there is provided a computer-readable storage medium having stored thereon executable instructions that, when executed by a processor, cause the processor to perform the method of any one of the above embodiments. .
In a third aspect of embodiments of the present invention, there is provided an information presentation apparatus comprising: the determining module is used for determining the type of the chart according to the type of the information to be displayed, wherein the information to be displayed comprises at least one object to be displayed and the attribute to be displayed of the at least one object to be displayed; the first generation module is used for generating the configuration information of the at least one object to be displayed and the configuration information of the attribute to be displayed of the at least one object to be displayed according to the chart type; the drawing module is used for drawing the at least one object to be displayed and the attribute to be displayed of the at least one object to be displayed into a chart based on the configuration information of the at least one object to be displayed and the configuration information of the attribute to be displayed of the at least one object to be displayed; and the display module is used for displaying the chart.
In one embodiment of the present invention, determining the chart type according to the type of the information to be presented includes: screening out at least one chart type according to the type of the information to be displayed; and responding to the operation of a user, and selecting a corresponding chart type from the at least one chart type.
In another embodiment of the present invention, the screening out at least one graph type according to the type of the information to be displayed may include screening out at least one bar graph and/or at least one pie graph when the information to be displayed includes at least one object to be displayed and attributes to be displayed of an object to be displayed of a non-time type, may also include screening out at least one pie graph when the information to be displayed includes at least one object to be displayed and attributes to be displayed of two objects to be displayed of a non-time type, may also include screening out at least one line graph when the information to be displayed includes at least one object to be displayed of a time type and attributes to be displayed of at least one object to be displayed of a non-time type, and so on.
In another embodiment of the present invention, generating the configuration information of the attribute to be shown of the at least one object to be shown according to the chart type includes: and calculating the attribute to be displayed of the at least one object to be displayed according to the chart type.
In a further embodiment of the present invention, the configuration information of the at least one object to be displayed includes any one or more of the following: selection information, color, size, angle, subdivision and label of coordinate axes; and/or the configuration information of the attribute to be displayed of the at least one object to be displayed comprises any one or more of the following items: selection information of coordinate axes, colors, sizes, angles, subdivisions, and labels.
In a further embodiment of the present invention, the configuration information of the at least one object to be displayed and the configuration information of the attribute to be displayed of the at least one object to be displayed are displayed on a coordinate axis, a color, a size, an angle, a subdivision, and/or a label.
In yet another embodiment of the present invention, the apparatus further comprises: the second generation module is used for generating configuration information corresponding to one or more objects to be displayed and/or attributes to be displayed of the objects to be displayed according to the type of the chart when the drawn chart additionally displays one or more objects to be displayed and/or the attributes to be displayed of the objects to be displayed; and the updating module is used for updating the one or more objects to be displayed and/or the configuration information corresponding to the attributes to be displayed of the objects to be displayed to the chart.
In a fourth aspect of embodiments of the present invention, there is provided a computing device comprising: one or more processors; and one or more memories storing computer-executable instructions that, when executed by the processor, implement the information presentation method of any one of the above embodiments.
According to the information display method and the device thereof, the configuration information of the object to be displayed and the configuration information of the attribute to be displayed of the object to be displayed can be generated according to the type of the graph to be drawn, and the object to be displayed and the attribute to be displayed of the object to be displayed are drawn into the graph, so that the user does not need to manually configure the configuration information of the object to be displayed and the attribute to be displayed of the object to be displayed, the defect of manually configuring the configuration information of the information to be displayed in the related technology is overcome, the time for drawing the graph is remarkably reduced, the condition of inaccurate configuration information distribution is obviously reduced, and better experience is brought to the user.
Drawings
The above and other objects, features and advantages of exemplary embodiments of the present invention will become readily apparent from the following detailed description read in conjunction with the accompanying drawings. Several embodiments of the invention are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings and in which:
fig. 1A and 1B schematically illustrate an application scenario of information presentation in the related art;
fig. 1C schematically illustrates an application scenario of an information presentation method and an apparatus thereof according to an embodiment of the present invention;
FIG. 2A schematically illustrates a flow diagram of an information presentation method according to one embodiment of the present invention;
FIG. 2B schematically illustrates a schematic diagram of an information presentation method according to another embodiment of the invention;
FIG. 2C schematically illustrates a schematic diagram of an information presentation method according to another embodiment of the invention;
FIG. 2D schematically illustrates a schematic diagram of an information presentation method according to another embodiment of the invention;
FIG. 3A schematically illustrates a flow diagram of an information presentation method according to another embodiment of the invention;
FIG. 3B schematically illustrates a schematic diagram of an information presentation method according to yet another embodiment of the invention;
FIG. 3C schematically illustrates a schematic diagram of an information presentation method according to yet another embodiment of the invention;
FIG. 4 schematically shows a schematic view of a computer-readable storage medium product according to an embodiment of the invention;
FIG. 5A schematically illustrates a block diagram of an information presentation device in accordance with one embodiment of the present invention;
FIG. 5B schematically shows a block diagram of an information presentation device according to another embodiment of the present invention; and
FIG. 6 schematically shows a block diagram of a computing device according to an embodiment of the present invention.
In the drawings, the same or corresponding reference numerals indicate the same or corresponding parts.
Detailed Description
The principles and spirit of the present invention will be described with reference to a number of exemplary embodiments. It is understood that these embodiments are given solely for the purpose of enabling those skilled in the art to better understand and to practice the invention, and are not intended to limit the scope of the invention in any way. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
As will be appreciated by one skilled in the art, embodiments of the present invention may be embodied as a system, apparatus, device, method, or computer program product. Accordingly, the present disclosure may be embodied in the form of: entirely hardware, entirely software (including firmware, resident software, micro-code, etc.), or a combination of hardware and software.
According to the embodiment of the invention, an information display method, an information display device, an information display medium and computing equipment are provided.
The principles and spirit of the present invention are explained in detail below with reference to several representative embodiments of the invention.
Summary of The Invention
In implementing the disclosed concept, the inventors found that there are at least the following problems in the related art:
when a user draws a chart, the object to be displayed and the attribute to be displayed of the object to be displayed need to be manually dragged to a proper chart configuration panel, and some basic adjustment is generally needed to achieve reasonable chart display. For example, a most basic histogram is drawn, and if the object to be displayed and the attribute to be displayed of the object to be displayed are both arbitrarily placed on the x-axis, the situation shown in fig. 1A is obtained. Therefore, the situation is not favorable for the user to compare the sales of different mailing modes, the user needs to adjust the chart configuration according to experience, the attribute to be displayed of the object to be displayed can be placed on the y axis, the situation shown in fig. 1B is obtained, and the user can conveniently compare the sales of different mailing modes.
The application scenario shown in fig. 1A requires a user to manually configure the object to be displayed and the configuration information of the attribute to be displayed of the object to be displayed, and to achieve reasonable chart configuration, the user depends on the experience of the user, and under some circumstances, the user does not even know how to make a chart, and needs to check data and perform multiple adjustment and configuration operations, so that the whole process of drawing the chart is too cumbersome, and also takes a lot of time for the user, thereby reducing the user experience.
The embodiment of the invention provides an information display method and a device thereof, wherein the method comprises the following steps: determining the type of a chart according to the type of the information to be displayed, wherein the information to be displayed comprises at least one object to be displayed and at least one attribute to be displayed of the object to be displayed; generating configuration information of at least one object to be displayed and configuration information of attributes to be displayed of at least one object to be displayed according to the graph type; drawing the at least one object to be displayed and the attribute to be displayed of the at least one object to be displayed into a chart based on the configuration information of the at least one object to be displayed and the configuration information of the attribute to be displayed of the at least one object to be displayed; and displaying the chart. According to the method and the device, the configuration information of the object to be displayed and the configuration information of the attribute to be displayed of the object to be displayed can be generated according to the type of the graph to be drawn, and the object to be displayed and the attribute to be displayed of the object to be displayed are drawn into the graph based on the configuration information corresponding to the object to be displayed and the attribute to be displayed of the object to be displayed, so that the configuration information of the object to be displayed and the attribute to be displayed of the object to be displayed does not need to be manually configured by a user, the defect that the configuration information of the information to be displayed is manually configured in the related technology is overcome, the time for drawing the graph is remarkably reduced, the configuration information is distributed inaccurately, and better experience is.
Having described the general principles of the invention, various non-limiting embodiments of the invention are described in detail below.
Application scene overview
First, an application scenario of the information display method and the device thereof according to the embodiment of the present invention is described in detail with reference to fig. 1C.
In the whole field of information processing and analysis, chart drawing and display are widely used, and the forms of chart drawing and display are becoming diversified, for example, various forms of charts such as a bar chart, a line chart, a graph chart and the like, and information after configuration is displayed on the charts. The information display method and the device thereof in the embodiment of the invention can be used for drawing application scenes of charts in various forms, and can be used for drawing column charts as shown in FIG. 1C.
For example, the object to be displayed may include a category and a mailing mode, the attribute to be displayed of the object to be displayed may include sales, the category further includes three subcategories of office supplies, furniture and technology, the mailing mode further includes four subcategories of a first-level mailing mode, a second-level mailing mode, a current day and a standard level mailing mode, the category, the mailing mode and the sales are configured according to characteristics of a bar graph to obtain configuration information corresponding to the category, the mailing mode and the sales, as shown on the right side of fig. 1C, the configuration information of the category is selection information of an X axis, the configuration information of the sales is selection information of a Y axis, the configuration information of the sales is color, and then the category, the mailing mode and the sales are drawn into a graph based on the configuration information of the category, the mailing mode and the sales and the configuration information of the category, the mailing mode and the sales are displayed on the. When the bar chart shown in fig. 1 is drawn, a user does not need to manually configure the object to be displayed and the configuration information of the attribute to be displayed of the object to be displayed, the configuration information suitable for the object to be displayed and the attribute to be displayed of the object to be displayed can be obtained only by configuring the object to be displayed and the attribute to be displayed of the object to be displayed according to the characteristics of the bar chart, and then the chart is automatically generated according to the configuration information, so that the manual operation times of the user are reduced, the time is saved for the user, and the user experience is improved.
Exemplary method
An information presentation method according to an exemplary embodiment of the present invention is described below with reference to fig. 2A to 2D in conjunction with an application scenario of fig. 1C. It should be noted that the above application scenarios are merely illustrated for the convenience of understanding the spirit and principles of the present invention, and the embodiments of the present invention are not limited in this respect. Rather, embodiments of the present invention may be applied to any scenario where applicable.
The embodiment of the invention provides an information display method.
Fig. 2A schematically shows a flow chart of an information presentation method according to an embodiment of the present invention. As shown in fig. 2A, the method may include the operations of:
operation S201, determining a chart type according to the type of the information to be displayed, where the information to be displayed includes at least one object to be displayed and at least one attribute to be displayed of the object to be displayed;
operation S202, generating configuration information of at least one object to be displayed and configuration information of an attribute to be displayed of the at least one object to be displayed according to the type of the graph;
operation S203, drawing the at least one object to be displayed and the attribute to be displayed of the at least one object to be displayed into a chart based on the configuration information of the at least one object to be displayed and the configuration information of the attribute to be displayed of the at least one object to be displayed; and
in operation S204, a chart is displayed.
According to the embodiment of the disclosure, the method can enable the user to draw a reasonable visual chart for displaying information without knowing how to configure the chart, so that the operation of the user is reduced, and the time is saved for the user.
According to the embodiment of the present invention, the type of the information to be displayed may refer to the number of the objects to be displayed and the number of the attributes to be displayed of the objects to be displayed, and a chart type (for example, multiple types such as a bar chart, a line chart, a pie chart, etc.) may be determined according to the number of the objects to be displayed and the number of the attributes to be displayed of the objects to be displayed, the objects to be displayed may include, but are not limited to, the category and the mailing method shown in fig. 1C, and the attributes to be displayed of the objects to be displayed may include, but are not limited to, the sales amount shown in fig.
The determination of the chart type according to the type of information to be presented is further explained below with reference to fig. 2B.
According to the embodiment of the invention, the determining the chart type according to the type of the information to be displayed comprises the following steps: screening out at least one chart type according to the type of the information to be displayed; and responding to the operation of a user, and selecting a corresponding chart type from at least one chart type.
For example, as shown in fig. 2B, the at least one chart type screened out according to the type of the information to be presented may include five charts or two pie charts, but the five charts or the two pie charts are represented in different forms, and it can be seen from the chart that the frame brightness of the chart selected by the preferentially recommended user is the highest, that is, the recommendation level is the highest level. . The screened graphs can distinguish their recommendation levels by using the background brightness of the graphs or characters displayed on the graphs in addition to the frame brightness. The method for marking and screening the charts is beneficial to a user to quickly select the charts suitable for the information to be displayed, the user does not need to rely on experience to select the types of the charts, and if the user does not know the types of the charts, the user does not need to spend time on viewing related chart data, so that the time is saved for the user, and the working efficiency of the user is improved.
It should be noted that when the information to be displayed includes at least one object to be displayed and an attribute to be displayed of a non-time type object to be displayed, at least one bar graph and/or at least one pie graph are screened out; screening out at least one pie chart when the information to be displayed comprises at least one object to be displayed and the attributes to be displayed of two non-time types of objects to be displayed; and screening out at least one line graph when the information to be displayed comprises the attributes to be displayed of at least one time type object to be displayed and at least one non-time type object to be displayed. The above-mentioned screening method is only an example, and has no limiting function, and other types of charts can be screened according to the number of the objects to be displayed and the number of the attributes to be displayed of the objects to be displayed, which is not described herein in detail.
According to the embodiment of the invention, the configuration information of at least one object to be displayed and the configuration information of the attribute to be displayed of at least one object to be displayed can be generated according to the determined chart type. According to the embodiment of the present invention, the configuration information of at least one object to be displayed may include any one or more of the following: selection information, color, size, angle, subdivision and label of coordinate axes; the configuration information of the attribute to be displayed of the at least one object to be displayed may include any one or more of the following: selection information of coordinate axes, colors, sizes, angles, subdivisions, and labels. And then, displaying the configuration information of the at least one object to be displayed and the configuration information of the attribute to be displayed of the at least one object to be displayed on a coordinate axis, a color, a size, an angle, a subdivision and/or a label.
According to the embodiment of the invention, the at least one object to be displayed and the attribute to be displayed of the at least one object to be displayed can be drawn into the chart and the chart can be displayed based on the configuration information of the at least one object to be displayed and the configuration information of the attribute to be displayed of the at least one object to be displayed.
For example, the object to be displayed may include a category and a mailing mode, the attribute to be displayed of the object to be displayed may include a sales amount, the category further includes three subcategories of office supplies, furniture and technology, the mailing mode further includes four subcategories of a first-level mailing mode, a second-level mailing mode, a current day and a standard-level mailing mode, the category, the mailing mode and the sales amount are configured according to a chart type (for example, a bar chart), and configuration information corresponding to the category, the mailing mode and the sales amount is obtained, as shown on the right side of fig. 1C, the configuration information of the category is selection information of an X axis, the configuration information of the sales amount is selection information of a Y axis, and the configuration information of the mailing mode. Then, the category, the mailing manner, and the sales amount may be plotted into a graph based on the configuration information of the category, the mailing manner, and the sales amount, and the configuration information of the category, the mailing manner, and the sales amount may be displayed on the graph. When the chart shown in fig. 1C is drawn, the user does not need to manually configure the object to be displayed and the configuration information of the attribute to be displayed of the object to be displayed, the configuration information suitable for the object to be displayed and the attribute to be displayed of the object to be displayed can be obtained by configuring the object to be displayed and the attribute to be displayed of the object to be displayed according to the type of the chart, and then the chart is automatically generated according to the configuration information, so that the manual operation times of the user are reduced, the time is saved for the user, and the user experience is improved.
Operation S202 is further described below with reference to fig. 2C and 2D.
According to the embodiment of the disclosure, generating the configuration information of the attribute to be displayed of at least one object to be displayed according to the chart type comprises: and calculating the attribute to be displayed of at least one object to be displayed according to the chart type.
For example, the chart type may include, but is not limited to, a pie chart, and the to-be-presented attributes of the to-be-presented object and the at least one to-be-presented object are a category and a sales amount, respectively. Configuration information for categories is generated according to the characteristics of the pie chart (for example, the categories can be recommended to be shown in different colors), and sales is calculated according to the characteristics of the pie chart (for example, sales can be recommended to be shown in an angle, and the angle occupied by the sales is calculated according to the specific value of the sales).
For another example, the chart type may include, but is not limited to, a percentage histogram, and the attributes to be presented of the object to be presented and the at least one object to be presented are mailing style and sales amount, respectively. Configuration information for the mailing style is generated based on characteristics of the percentage histogram (e.g., the mailing style may be recommended to be presented in different colors), and the percentage of sales of the mailing style to total sales is calculated based on characteristics of the percentage histogram (e.g., the percentage of sales of various levels of the mailing style to total sales is calculated, and the calculated percentages are added to the labels so as to correspond to colors of the mailing styles of various levels).
Specifically, the above calculation process is further described by taking as an example the calculation of the percentage of sales of various levels of the mailing style to the total sales. For example, based on the initial values of the sales at the various levels of the mailing style, a ratio of the initial values of the sales at the various levels to the total sales is calculated as a percentage shown in fig. 2D. In another embodiment, the increase of the sales amount may be automatically calculated based on the initial value of the sales amount, and the increase of the sales amount may be displayed in a graph.
It should be noted that the sizes of the pie chart and the percentage bar chart may be determined according to the number of the objects to be displayed and the number of the attributes of the objects to be displayed. For example, if the number of objects to be displayed and the number of attributes of the objects to be displayed are both large, the recommended chart size will also become larger. On the contrary, if the number of the objects to be displayed and the number of the attributes of the objects to be displayed are both small, the recommended chart size is also reduced, so that the intelligent recommendation function is realized.
It is noted that the drag-in fields shown in the figures represent configured and/or calculated content. Such as, but not limited to, the size of pie charts and percentage histograms, and the like.
An information presentation method according to an exemplary embodiment of the present invention is further described below with reference to fig. 3A to 3C in conjunction with the schematic diagrams of fig. 2C and 2D.
Fig. 3A schematically shows a flow chart of an information presentation method according to another embodiment of the present invention.
As shown in fig. 3, the method further includes operation S301 and operation S302.
In operation S301, when the drawn chart additionally displays one or more objects to be displayed and/or attributes to be displayed of the objects to be displayed, configuration information corresponding to the one or more objects to be displayed and/or the attributes to be displayed of the objects to be displayed is generated according to the type of the chart.
Operation S302 is performed to update the configuration information corresponding to the one or more objects to be displayed and/or the attributes to be displayed of the objects to be displayed to the chart.
According to the embodiment of the present invention, when an object to be displayed is added on the basis of the graph shown in fig. 2C, the added object to be displayed is configured according to the graph type shown in fig. 2C, and configuration information corresponding to the added object to be displayed is generated.
Specifically, the added objects to be displayed are configured (for example, the objects to be displayed are in a mailing mode, and a mailing mode can be recommended to be displayed on the Y axis), and configuration information corresponding to the added objects to be displayed is generated (for example, the configuration information of the mailing mode is information of selecting a coordinate axis, such as selecting the Y axis). According to the embodiment of the present invention, the generated configuration information is updated to the graph shown in fig. 2C to obtain the graph shown in fig. 3B, and the newly generated configuration information is displayed on the graph shown in fig. 3B.
According to the embodiment of the present invention, when an object to be displayed is added on the basis of the graph shown in fig. 2D, the added object to be displayed is configured according to the graph type shown in fig. 2D, and configuration information corresponding to the added object to be displayed is generated.
Specifically, the added objects to be displayed are configured (for example, the objects to be displayed are of a category, and a mailing mode may be recommended for displaying on the X axis), and configuration information corresponding to the added objects to be displayed is generated (for example, the configuration information of the category is information of selecting a coordinate axis, such as selecting the X axis). According to the embodiment of the present invention, the generated configuration information is updated to the graph shown in fig. 2D to obtain the graph shown in fig. 3C, and the newly generated configuration information is displayed on the graph shown in fig. 3C.
Through the embodiment of the present invention, the attribute to be displayed of the object to be displayed may also be added on the basis of the graphs shown in fig. 2C and fig. 2D, and the implementation principle is the same as that of adding the object to be displayed, and thus, the description is omitted here.
The added one or more objects to be displayed and/or the attributes to be displayed of the objects to be displayed are configured by applying the above mode, configuration information corresponding to the objects to be displayed is generated, and then the configuration information is updated to the chart without adding the objects to be displayed and/or the attributes to be displayed of the objects to be displayed. The method and the device are beneficial to a user to know the displayed chart more deeply, so that the user is not confused by allocating specific configuration information for the added objects to be displayed and/or the attributes to be displayed of the objects to be displayed, and the user can learn much knowledge about drawing the chart, thereby improving the user experience.
Exemplary Medium
Embodiments of the present invention provide a computer-readable storage medium having stored thereon executable instructions that, when executed by a processor, cause the processor to perform the method of any of the above embodiments. .
In some possible embodiments, aspects of the present invention may also be implemented in a program product, which includes program code for causing a terminal device to perform operations in the information presentation method according to various exemplary embodiments of the present invention described in the above section of "exemplary method" of this specification when the program product runs on the terminal device, for example, the terminal device may perform operation S201 as shown in fig. 2A, and determine a chart type according to the type of information to be presented, where the information to be presented includes at least one object to be presented and at least one attribute to be presented of the object to be presented; operation S202, generating configuration information of at least one object to be displayed and configuration information of an attribute to be displayed of the at least one object to be displayed according to the type of the graph; operation S203, drawing the at least one object to be displayed and the attribute to be displayed of the at least one object to be displayed into a chart based on the configuration information of the at least one object to be displayed and the configuration information of the attribute to be displayed of the at least one object to be displayed; and operation S204, showing the chart.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
As shown in fig. 4, an information presentation program product 40 according to an embodiment of the present invention is described, which may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited in this regard and, in the present document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
Exemplary devices
Having described the medium of an exemplary embodiment of the present invention, next, an information presentation apparatus of an exemplary embodiment of the present invention will be described in detail with reference to fig. 5.
The embodiment of the invention provides an information display device.
FIG. 5A schematically illustrates a block diagram of an information presentation device 500, in accordance with one embodiment of the present invention. As shown in fig. 5A, the apparatus 500 includes: a determining module 510, configured to determine a chart type according to a type of information to be displayed, where the information to be displayed includes at least one object to be displayed and at least one attribute to be displayed of the object to be displayed; a first generating module 520, configured to generate configuration information of at least one object to be displayed and configuration information of attributes to be displayed of at least one object to be displayed according to the chart type; the drawing module 530 is used for drawing the at least one object to be displayed and the attribute to be displayed of the at least one object to be displayed into a chart based on the configuration information of the at least one object to be displayed and the configuration information of the attribute to be displayed of the at least one object to be displayed; and a display module 540 for displaying the chart.
According to the embodiment of the disclosure, the configuration information of the object to be displayed and the configuration information of the display attribute of the object to be displayed are generated according to the type of the chart, and the configuration information is displayed on the drawn chart. The specific implementation of these operations can be referred to the description above with reference to fig. 2A to 2D, and will not be repeated here.
According to an embodiment of the present disclosure, as shown in fig. 5B, the apparatus 500 further includes: a second generating module 550, configured to generate configuration information corresponding to one or more objects to be displayed and/or attributes to be displayed of the objects to be displayed according to the type of the diagram when the drawn diagram additionally displays one or more objects to be displayed and/or attributes to be displayed of the objects to be displayed; and an updating module 560, configured to update the one or more objects to be displayed and/or the configuration information corresponding to the attributes to be displayed of the objects to be displayed to the chart.
According to the embodiment of the disclosure, configuration information of the added objects to be displayed and configuration information of the display attributes of the objects to be displayed are generated according to the types of the graphs, and the configuration information is updated to the graph drawn by the objects to be displayed and the display attributes of the objects to be displayed which are not added. The specific implementation of these operations can be seen in the description above with reference to fig. 3A to 3C, and will not be repeated here
It should be noted that the implementation, solved technical problems, implemented functions, and achieved technical effects of each module/unit/subunit and the like in the apparatus part embodiment are respectively the same as or similar to the implementation, solved technical problems, implemented functions, and achieved technical effects of each corresponding step in the method part embodiment, and are not described herein again.
Exemplary computing device
Having described the method, medium, and system of exemplary embodiments of the present invention, a computing device for information presentation in accordance with another exemplary embodiment of the present invention is described.
The embodiment of the invention also provides the computing equipment. The computing device includes: one or more processors; and one or more memories storing executable instructions that, when executed by the processor, cause the processor to perform the information presentation method of any of the above method embodiments.
As will be appreciated by one skilled in the art, aspects of the present invention may be embodied as a system, method or program product. Thus, various aspects of the invention may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.) or an embodiment combining hardware and software aspects that may all generally be referred to herein as a "circuit," module "or" system.
In some possible embodiments, a computing device for information presentation in accordance with the present invention may include at least one or more processors, and one or more memories. Wherein the memory stores program code that, when executed by the processor, causes the processor to perform operations in the information presentation methods according to various exemplary embodiments of the present invention described in the above section "exemplary methods" of the present specification. For example, the processor may execute operation S201 shown in fig. 2A, and determine a chart type according to a type of information to be displayed, where the information to be displayed includes at least one object to be displayed and at least one attribute to be displayed of the object to be displayed; operation S202, generating configuration information of at least one object to be displayed and configuration information of an attribute to be displayed of the at least one object to be displayed according to the type of the graph; operation S203, drawing the at least one object to be displayed and the attribute to be displayed of the at least one object to be displayed into a chart based on the configuration information of the at least one object to be displayed and the configuration information of the attribute to be displayed of the at least one object to be displayed; and operation S204, showing the chart.
A computing device 600 for information presentation according to this embodiment of the invention is described below with reference to fig. 6. The computing device 600 as shown in FIG. 6 is only one example and should not be taken to limit the scope of use and functionality of embodiments of the present invention.
As shown in fig. 6, computing device 600 is embodied in the form of a general purpose computing device. Components of computing device 600 may include, but are not limited to: the one or more processors 601, the one or more memories 602, and the bus 603 that connects the various system components (including the memory 602 and the processors 601).
The memory 602 may include readable media in the form of volatile memory, such as Random Access Memory (RAM)6021 and/or cache memory 6022, and may further include read-only memory (ROM) 6023.
The memory 602 may also include a program/utility 6025 having a set (at least one) of program modules 6024, such program modules 6024 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
It should be noted that although in the above detailed description reference has been made to several units/modules or sub-units/modules of a data processing system for a diagram, such a division is merely exemplary and not mandatory. Indeed, the features and functionality of two or more of the units/modules described above may be embodied in one unit/module according to embodiments of the invention. Conversely, the features and functions of one unit/module described above may be further divided into embodiments by a plurality of units/modules.
Moreover, while the operations of the method of the invention are depicted in the drawings in a particular order, this does not require or imply that the operations must be performed in this particular order, or that all of the illustrated operations must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions.
While the spirit and principles of the invention have been described with reference to several particular embodiments, it is to be understood that the invention is not limited to the disclosed embodiments, nor is the division of aspects, which is for convenience only as the features in such aspects may not be combined to benefit. The invention is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.
Claims (12)
1. An information display method, comprising:
screening out at least one chart type according to the type of the information to be displayed, wherein the information to be displayed comprises at least one object to be displayed and the attribute to be displayed of the at least one object to be displayed;
responding to the operation of a user, and selecting a corresponding chart type from the at least one chart type;
generating configuration information of the at least one object to be displayed and configuration information of the attribute to be displayed of the at least one object to be displayed according to the chart type;
drawing the at least one object to be displayed and the attribute to be displayed of the at least one object to be displayed into a chart based on the configuration information of the at least one object to be displayed and the configuration information of the attribute to be displayed of the at least one object to be displayed, and displaying the configuration information of the at least one object to be displayed and the configuration information of the attribute to be displayed of the at least one object to be displayed on the chart; and
displaying the chart;
wherein, screening out at least one chart type according to the type of the information to be displayed comprises:
screening out at least one column diagram and/or at least one pie chart when the information to be displayed comprises at least one object to be displayed and attributes to be displayed of a non-time type object to be displayed; or
Screening out at least one pie chart when the information to be displayed comprises at least one object to be displayed and the attributes to be displayed of two non-time types of objects to be displayed; or
And screening out at least one line graph when the information to be displayed comprises at least one time type object to be displayed and at least one non-time type attribute to be displayed of the object to be displayed.
2. The method of claim 1, wherein generating configuration information of the attribute to be presented of the at least one object to be presented according to the chart type comprises:
and calculating the attribute to be displayed of the at least one object to be displayed according to the chart type.
3. The method of claim 1, wherein:
the configuration information of the at least one object to be displayed comprises any one or more of the following: selection information, color, size, angle, subdivision and label of coordinate axes; and/or
The configuration information of the attribute to be displayed of the at least one object to be displayed comprises any one or more of the following items: selection information of coordinate axes, colors, sizes, angles, subdivisions, and labels.
4. The method according to claim 3, wherein the configuration information of the at least one object to be presented and the configuration information of the attribute to be presented of the at least one object to be presented are presented on a coordinate axis, a color, a size, an angle, a subdivision and/or a label.
5. The method of claim 1, further comprising:
when the drawn chart additionally displays one or more objects to be displayed and/or attributes to be displayed of the objects to be displayed, generating configuration information corresponding to the one or more objects to be displayed and/or the attributes to be displayed of the objects to be displayed according to the chart type; and
and updating the configuration information corresponding to the one or more objects to be displayed and/or the attributes to be displayed of the objects to be displayed to the chart.
6. A computer-readable storage medium having stored thereon executable instructions that, when executed by a processor, cause the processor to perform the method of any one of claims 1-5.
7. An apparatus for information presentation, comprising:
the system comprises a determining module, a display module and a display module, wherein the determining module screens out at least one chart type according to the type of information to be displayed and responds to the operation of a user to select a corresponding chart type from the at least one chart type, and the information to be displayed comprises at least one object to be displayed and attributes to be displayed of the at least one object to be displayed;
the first generation module is used for generating the configuration information of the at least one object to be displayed and the configuration information of the attribute to be displayed of the at least one object to be displayed according to the chart type;
the drawing module is used for drawing the at least one object to be displayed and the attribute to be displayed of the at least one object to be displayed into a chart based on the configuration information of the at least one object to be displayed and the configuration information of the attribute to be displayed of the at least one object to be displayed, and displaying the configuration information of the at least one object to be displayed and the configuration information of the attribute to be displayed of the at least one object to be displayed on the chart; and
the display module is used for displaying the chart;
wherein, screening out at least one chart type according to the type of the information to be displayed comprises:
screening out at least one column diagram and/or at least one pie chart when the information to be displayed comprises at least one object to be displayed and attributes to be displayed of a non-time type object to be displayed; or
Screening out at least one pie chart when the information to be displayed comprises at least one object to be displayed and the attributes to be displayed of two non-time types of objects to be displayed; or
And screening out at least one line graph when the information to be displayed comprises at least one time type object to be displayed and at least one non-time type attribute to be displayed of the object to be displayed.
8. The apparatus of claim 7, wherein generating configuration information of the attribute to be presented of the at least one object to be presented according to the chart type comprises:
and calculating the attribute to be displayed of the at least one object to be displayed according to the chart type.
9. The apparatus of claim 7, wherein:
the configuration information of the at least one object to be displayed comprises any one or more of the following: selection information, color, size, angle, subdivision and label of coordinate axes; and/or
The configuration information of the attribute to be displayed of the at least one object to be displayed comprises any one or more of the following items: selection information of coordinate axes, colors, sizes, angles, subdivisions, and labels.
10. The apparatus of claim 9, wherein the configuration information of the at least one object to be presented and the configuration information of the attribute to be presented of the at least one object to be presented are presented on a coordinate axis, a color, a size, an angle, a subdivision, and/or a label.
11. The apparatus of claim 7, further comprising:
the second generation module is used for generating configuration information corresponding to one or more objects to be displayed and/or attributes to be displayed of the objects to be displayed according to the type of the chart when the drawn chart additionally displays one or more objects to be displayed and/or the attributes to be displayed of the objects to be displayed; and
and the updating module is used for updating the one or more objects to be displayed and/or the configuration information corresponding to the attributes to be displayed of the objects to be displayed to the chart.
12. A computer device, comprising:
one or more processors; and
one or more memories storing executable instructions that, when executed by a processor, cause the processor to perform the method of any of claims 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710656412.4A CN107451272B (en) | 2017-08-03 | 2017-08-03 | Information display method, medium, device and computing equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710656412.4A CN107451272B (en) | 2017-08-03 | 2017-08-03 | Information display method, medium, device and computing equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107451272A CN107451272A (en) | 2017-12-08 |
CN107451272B true CN107451272B (en) | 2021-01-08 |
Family
ID=60489823
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710656412.4A Active CN107451272B (en) | 2017-08-03 | 2017-08-03 | Information display method, medium, device and computing equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107451272B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110110175A (en) * | 2018-01-30 | 2019-08-09 | 阿里巴巴集团控股有限公司 | Data visualization methods of exhibiting and device |
CN108874899B (en) * | 2018-05-23 | 2022-02-18 | 网易乐得科技有限公司 | Data processing method and device, medium and computing equipment |
CN109190097B (en) * | 2018-08-08 | 2022-06-03 | 北京百度网讯科技有限公司 | Method and apparatus for outputting information |
CN109325220A (en) * | 2018-08-29 | 2019-02-12 | 东软集团股份有限公司 | Chart generation method, device, storage medium and electronic equipment |
CN109582941A (en) * | 2018-11-29 | 2019-04-05 | 杭州迪普科技股份有限公司 | A kind of list data display methods, device, equipment and storage medium |
CN110134731A (en) * | 2019-04-26 | 2019-08-16 | 深圳壹账通智能科技有限公司 | Data presentation method, device, computer equipment and storage medium |
CN113656431A (en) * | 2021-08-13 | 2021-11-16 | 辽宁华盾安全技术有限责任公司 | Graph display method based on big data |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9135233B2 (en) * | 2011-10-13 | 2015-09-15 | Microsoft Technology Licensing, Llc | Suggesting alternate data mappings for charts |
US9824127B2 (en) * | 2012-10-22 | 2017-11-21 | Workday, Inc. | Systems and methods for interest-driven data visualization systems utilized in interest-driven business intelligence systems |
CN103279564A (en) * | 2013-06-14 | 2013-09-04 | 江苏瀚远科技股份有限公司 | HTML-based (hypertext markup language-based) chart data output method and device |
CN106598988B (en) * | 2015-10-16 | 2020-08-21 | 阿里巴巴集团控股有限公司 | Data processing method and equipment |
CN106780656A (en) * | 2016-12-30 | 2017-05-31 | 中国民航信息网络股份有限公司 | Chart output intent and device |
-
2017
- 2017-08-03 CN CN201710656412.4A patent/CN107451272B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN107451272A (en) | 2017-12-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107451272B (en) | Information display method, medium, device and computing equipment | |
CN109992589B (en) | Method, device, server and medium for generating SQL (structured query language) statements based on visual page | |
CN113032083A (en) | Data display method, device, electronic equipment and medium | |
CN111399941A (en) | Batch configuration method, device and equipment for BMC (baseboard management controller) functions | |
CN112015468A (en) | Interface document processing method and device, electronic equipment and storage medium | |
CN111625312A (en) | APP skin changing method and device, electronic equipment and storage medium | |
US20180196928A1 (en) | Network visualization for access controls | |
CN113010582A (en) | Data processing method and device, computer readable medium and electronic equipment | |
CN109190097B (en) | Method and apparatus for outputting information | |
CN115237931A (en) | Method and system for updating sub-service processing result of service arrangement | |
CN115359145A (en) | Method and device for drawing process graphics primitives, storage medium and computer equipment | |
CN114329859A (en) | Box routing configuration method and system, electronic equipment and storage medium | |
US20180260573A1 (en) | Information processing apparatus, information processing method, and program | |
CN113656533A (en) | Tree control processing method and device and electronic equipment | |
CN113760317A (en) | Page display method, device, equipment and storage medium | |
CN109844692B (en) | Network server for presenting network page based on client pressure configuration | |
CN111737372A (en) | Map data generation method and device | |
CN113961263B (en) | Applet distribution method, device, apparatus and storage medium | |
CN112507671B (en) | Method, apparatus, and readable medium for adjusting text distance | |
US20230027692A1 (en) | Resource graphs for inherent and derived resource attributes | |
CN113722341B (en) | Operation data processing method and related device | |
CN113064570B (en) | Display method, device and equipment of multiple displays and medium | |
CN114546199B (en) | Image processing method, device, electronic equipment and storage medium | |
CN109783100B (en) | Method and device for checking user interface element attribute and electronic equipment | |
US20230119741A1 (en) | Picture annotation method, apparatus, electronic device, and storage 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |