CN117391047A - Data display method and device, readable medium and electronic equipment - Google Patents

Data display method and device, readable medium and electronic equipment Download PDF

Info

Publication number
CN117391047A
CN117391047A CN202311332996.1A CN202311332996A CN117391047A CN 117391047 A CN117391047 A CN 117391047A CN 202311332996 A CN202311332996 A CN 202311332996A CN 117391047 A CN117391047 A CN 117391047A
Authority
CN
China
Prior art keywords
mini
graph
data
configuration
target area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311332996.1A
Other languages
Chinese (zh)
Inventor
邓雯月
王鸿云
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Zitiao Network Technology Co Ltd
Original Assignee
Beijing Zitiao Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Zitiao Network Technology Co Ltd filed Critical Beijing Zitiao Network Technology Co Ltd
Priority to CN202311332996.1A priority Critical patent/CN117391047A/en
Publication of CN117391047A publication Critical patent/CN117391047A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • G06F40/106Display of layout of documents; Previewing
    • 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/177Editing, e.g. inserting or deleting of tables; using ruled lines
    • G06F40/18Editing, e.g. inserting or deleting of tables; using ruled lines of spreadsheets
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure relates to a data display method, a device, a readable medium and an electronic apparatus, wherein the method comprises the following steps: determining target area data in response to a selection operation of the data in the data table; responding to the operation of creating a mini-graph for the target area data, and displaying a first configuration interface; generating a mini-graph in the target cell according to the configuration options of the identification direction, the target area data and the target cell selected in the first configuration interface. By the technical scheme, configuration options aiming at the identification direction of the target area data can be provided in the process of creating the mini-graph according to the target area data, so that the mini-graph can be generated in the target cells according to the target area data, the selected configuration options of the identification direction and the target cells. Compared with the mode of newly creating the mini-graph in the related art, the mode of newly creating the mini-graph in the scheme improves the drawing efficiency of the mini-graph.

Description

Data display method and device, readable medium and electronic equipment
Technical Field
The disclosure relates to the technical field of computers, and in particular relates to a data display method, a data display device, a readable medium and electronic equipment.
Background
Mini Chart (Mini Chart) is a small Chart that is typically used to show overview information of trends, changes, or distributions of data to provide a quick summary of the data.
When a mini graph is newly built based on a data table, the related technology does not support configuration of the identification direction of the data table in the process of newly building the mini graph, and the generated mini graph does not meet the requirement of a user.
Disclosure of Invention
This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
In a first aspect, the present disclosure provides a data display method, the method comprising:
determining target area data in response to a selection operation of the data in the data table;
responding to the operation of creating a mini-graph for the target area data, displaying a first configuration interface, wherein the first configuration interface comprises configuration options of identification directions of the target area data, and the identification directions comprise row-by-row identification and/or column-by-column identification;
Generating a mini-graph in the target cell according to the configuration options of the identification direction, the target area data and the target cell selected in the first configuration interface.
In a second aspect, the present disclosure provides a data display apparatus, the apparatus comprising:
the determining module is used for determining target area data in response to the selection operation of the data in the data table;
the first display module is used for responding to the operation of creating a mini-graph for the target area data, and displaying a first configuration interface, wherein the first configuration interface comprises configuration options of the identification direction of the target area data, and the identification direction comprises row-by-row identification and/or column-by-column identification;
and the second display module is used for generating a mini-graph in the target cell according to the configuration options of the identification direction, the target area data and the target cell selected in the first configuration interface.
In a third aspect, the present disclosure provides a computer readable medium having stored thereon a computer program which, when executed by a processing device, implements the steps of the method of any of the first aspects.
In a fourth aspect, the present disclosure provides an electronic device comprising:
A storage device having a computer program stored thereon;
processing means for executing said computer program in said storage means to carry out the steps of the method according to any one of the first aspects.
By the technical scheme, configuration options aiming at the identification direction of the target area data can be provided in the process of creating the mini-graph according to the target area data, so that the mini-graph can be generated in the target cells according to the target area data, the selected configuration options of the identification direction and the target cells. Compared with the prior art that the mini-graph is generated according to the automatic configuration recognition direction of the target cell or the mini-graph is generated in the fixed recognition direction, the method supports selection of the recognition direction in the process of generating the mini-graph, so that the problem that the mini-graph needs to be redrawn due to the configuration error of the target cell and the problem that the mini-graph generated in the fixed recognition direction needs to be converted in the recognition direction can be avoided, and the mini-graph drawing efficiency is improved.
Additional features and advantages of the present disclosure will be set forth in the detailed description which follows.
Drawings
The above and other features, advantages, and aspects of embodiments of the present disclosure will become more apparent by reference to the following detailed description when taken in conjunction with the accompanying drawings. The same or similar reference numbers will be used throughout the drawings to refer to the same or like elements. It should be understood that the figures are schematic and that elements and components are not necessarily drawn to scale. In the drawings:
FIG. 1 is a schematic diagram of a prior art mini-map drawn from a relationship between a data source and a mini-map insertion location;
FIG. 2 is a schematic diagram of a related art mini-graph with a column of data as a data source;
FIG. 3 is a flow chart illustrating a data display method according to an exemplary embodiment of the present disclosure;
FIG. 4 is a schematic diagram showing a display of a first configuration page, according to an exemplary embodiment of the present disclosure;
FIG. 5 is a schematic diagram showing another display of a first configuration page, according to an exemplary embodiment of the present disclosure;
FIG. 6 is a schematic diagram illustrating one generation of a target mini-graph by row identification according to an exemplary embodiment of the present disclosure;
FIG. 7 is a schematic diagram illustrating one generation of a target mini-graph by column identification according to an exemplary embodiment of the present disclosure;
FIG. 8 is a schematic diagram illustrating one configuration option for selecting an identification direction according to an exemplary embodiment of the present disclosure;
FIG. 9 is a schematic diagram illustrating one determination of target area data according to an exemplary embodiment of the present disclosure;
FIG. 10 is a schematic diagram of attribute information of a configuration mini-graph, according to an exemplary embodiment of the present disclosure;
FIG. 11 is a schematic diagram showing a display of a second configuration page, according to an exemplary embodiment of the present disclosure;
Fig. 12 is a block diagram of a data display device according to an exemplary embodiment of the present disclosure;
fig. 13 is a schematic structural view of an electronic device according to an exemplary embodiment of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure have been shown in the accompanying drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustration purposes only and are not intended to limit the scope of the present disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order and/or performed in parallel. Furthermore, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "including" and variations thereof as used herein are intended to be open-ended, i.e., including, but not limited to. The term "based on" is based at least in part on. The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments. Related definitions of other terms will be given in the description below.
It should be noted that the terms "first," "second," and the like in this disclosure are merely used to distinguish between different devices, modules, or units and are not used to define an order or interdependence of functions performed by the devices, modules, or units.
It should be noted that references to "one", "a plurality" and "a plurality" in this disclosure are intended to be illustrative rather than limiting, and those of ordinary skill in the art will appreciate that "one or more" is intended to be understood as "one or more" unless the context clearly indicates otherwise.
The names of messages or information interacted between the various devices in the embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
It will be appreciated that prior to using the technical solutions disclosed in the embodiments of the present disclosure, the user should be informed and authorized of the type, usage range, usage scenario, etc. of the personal information related to the present disclosure in an appropriate manner according to the relevant legal regulations.
For example, in response to receiving an active request from a user, a prompt is sent to the user to explicitly prompt the user that the operation it is requesting to perform will require personal information to be obtained and used with the user. Thus, the user can autonomously select whether to provide personal information to software or hardware such as an electronic device, an application program, a server or a storage medium for executing the operation of the technical scheme of the present disclosure according to the prompt information.
As an alternative but non-limiting implementation, in response to receiving an active request from a user, the manner in which the prompt information is sent to the user may be, for example, a popup, in which the prompt information may be presented in a text manner. In addition, a selection control for the user to select to provide personal information to the electronic device in a 'consent' or 'disagreement' manner can be carried in the popup window.
It will be appreciated that the above-described notification and user authorization process is merely illustrative and not limiting of the implementations of the present disclosure, and that other ways of satisfying relevant legal regulations may be applied to the implementations of the present disclosure.
Meanwhile, it can be understood that the data (including but not limited to the data itself, the acquisition or the use of the data) related to the technical scheme should conform to the requirements of the corresponding laws and regulations and related regulations.
As background, a mini-graph is a small graph that is typically used to present overview information of trends, changes, or distributions of data to provide a quick summary of the data. And the mini-graph is different from the traditional table graph, the mini-graph is a mini-graph generated in the cells of the table, one cell carries one mini-graph, and each mini-graph can correspond to the analysis result of one row of data or one column of data.
When a mini graph is newly built based on a data table, the related technology does not support configuration of the identification direction of the data table in the process of newly building the mini graph, and the problem that the created mini graph does not meet the requirements of users exists.
Specifically, as shown in fig. 1, when creating a mini-graph, the related art determines whether to draw the mini-graph by using a row of data as a data source or by using a row of data as a data source according to the relationship between the data (data source) for creating the mini-graph and the insertion position (i.e., the target cell) of the mini-graph in the data table. Once the target cell is configured incorrectly, the generated mini-graph is wrong, and the mini-graph needs to be drawn again, so that the mini-graph drawing efficiency is affected. Meanwhile, when the data area of the mini-graph to be generated is a square area (i.e. when the number of rows m and the number of columns n of the data area of the mini-graph to be generated are the same), the mini-graph is drawn by default by taking one row of data as one data source. When a user wants to draw a mini-graph by taking a column of data as a data source, after the mini-graph drawing is completed, a conversion control is manually triggered to convert the generated mini-graph into a mini-graph generated by taking a column of data as a data source, as shown in fig. 2, the operation complexity of drawing the mini-graph by taking a column of data as a data source is increased.
In view of the above, the present disclosure provides a data display method, a data display device, a readable medium and an electronic device, so as to overcome the above technical problems.
Embodiments of the present disclosure are further explained below with reference to the drawings.
Fig. 3 is a flowchart illustrating a data display method according to an exemplary embodiment of the present disclosure, and referring to fig. 3, the method may include the steps of:
s301: in response to a selection operation of the data in the data table, target area data is determined.
The data table may be a data table created in an electronic document or a data table created in a spreadsheet. The target area data may be partial area data in the data table or may be all area data in the data table. The target area data may be determined by selecting or marking in a data table, or may be determined by performing data area configuration in a configuration page for creating a mini-map, which is not limited in any way by the embodiments of the present disclosure.
S302: and responding to the operation of newly creating the mini-graph for the target area data, displaying a first configuration interface, wherein the first configuration interface comprises configuration options of the identification direction of the target area data, and the identification direction comprises row-by-row identification and/or column-by-column identification.
The row-by-row identification means that a row of data is used as a data source to draw a mini-graph, and the column-by-column identification means that a column of data is used as a data source to draw a mini-graph.
In a possible implementation manner, the displaying the first configuration interface in response to the operation of creating the mini-graph for the target area data may include:
and responding to the triggering operation of the creation control for creating the mini-graph on the target area data, and displaying a first configuration interface.
It should be appreciated that creating a control may be represented by a control name or by a control identifier. The triggering operation on the creation control may be a click operation or a long press operation performed on the creation control, which is not limited in any way by the embodiments of the present disclosure. In a possible implementation, the creation of the control may be represented by a control name "mini-graph" and a click operation may be performed on the "mini-graph" to display the first configuration page. The display mode and the display position of the first configuration interface may be set according to actual situations, which is not limited in the embodiments of the present disclosure. For example, the first configuration interface is displayed in a floating layer.
Illustratively, as shown in FIG. 4, where gray zone data represents target zone data, a "mini-graph" represents a creation control. After the target area data is determined, the first configuration interface is displayed in a floating layer manner by clicking on the mini-map.
It should be noted that this is only a schematic illustration and is not to be construed as limiting the scheme. In a possible implementation manner, after determining the target area data, a first menu bar may be displayed by clicking a right button of the mouse, and a creation control for creating the mini-graph is displayed in the first menu bar, and by clicking the creation control, a first configuration interface is displayed, as shown in fig. 5.
S303: generating a mini-graph in the target cell according to the configuration options of the identification direction, the target area data and the target cell selected in the first configuration interface.
Illustratively, when the selected recognition direction is recognition by row, a mini-graph is generated as shown in fig. 6; when the selected recognition direction is recognition by column, the generated mini-map is shown in fig. 7.
In a possible implementation manner, the generating a mini-graph in the target cell according to the configuration options of the identification direction, the target area data and the target cell selected in the first configuration interface may include:
responding to the triggering operation of a first editing control of the configuration options aiming at the identification direction in the first configuration interface, and displaying the configuration options of the identification direction; and responding to the selection operation of the configuration options of the identification direction, and generating a mini-graph in the target cell according to the selected configuration options of the identification direction, the target area data and the target cell.
It should be appreciated that the first editing control may be represented by a control name or by a control identifier. The triggering operation on the first editing control may be a clicking operation or a long-press operation performed on the first editing control, which is not limited in any way by the embodiments of the present disclosure.
It should be further understood that the selection operation of the configuration option of the identification direction may be a sliding operation, a drag operation, or a click operation performed on the configuration option of the identification direction, which is not limited in any way by the embodiments of the present disclosure.
As shown in fig. 8, an "identification direction" and a corresponding identification direction selection box thereof are displayed in the first configuration interface, a drop-down control is provided in the identification direction selection box, preset configuration options, namely, a "row-by-row identification" configuration option and a "column-by-column identification" configuration option, are displayed by clicking the configuration options required to be set in the preset configuration options, and the configuration options of the identification direction are selected by clicking the configuration options required to be set in the preset configuration options.
It should be noted that, by setting the configuration options of the identification direction in the first configuration interface, the manner of determining the identification direction by selecting the configuration options of the identification direction is merely illustrative, and does not constitute a limitation on the scheme. In a possible implementation manner, the first configuration page may further display an "identification direction" and a corresponding identification direction input box thereof, and the identification direction of the target area data is determined by inputting identification direction information in the identification direction input box, for example, inputting "identification by column" or "drawing a mini-graph by column" in the identification direction input box.
By the technical scheme, configuration options aiming at the identification direction of the target area data can be provided in the process of creating the mini-graph according to the target area data, so that the mini-graph can be generated in the target cells according to the target area data, the selected configuration options of the identification direction and the target cells. Compared with the prior art that the mini-graph is generated according to the automatic configuration recognition direction of the target cell or the mini-graph is generated in the fixed recognition direction, the method supports selection of the recognition direction in the process of generating the mini-graph, so that the problem that the mini-graph needs to be redrawn due to the configuration error of the target cell and the problem that the mini-graph generated in the fixed recognition direction needs to be converted in the recognition direction can be avoided, and the mini-graph drawing efficiency is improved.
In a possible implementation manner, before performing the selecting operation on the data in the data table and determining the target area data, the method may further include:
creating the data table in the document editing interface in response to an editing operation at the document editing interface;
accordingly, the determining the target area data in response to the selecting operation of the data in the data table may include:
Responding to the triggering operation of the display control of the data table in the document editing interface, displaying a table editing interface, wherein the table editing interface comprises the data table; and determining target area data in response to a selection operation of the data in the data table in the table editing interface.
It should be appreciated that the display control may be represented by a control name or by a control identifier. The triggering operation on the display control may be a clicking operation or a long-press operation performed on the display control, which is not limited in any way by the embodiments of the present disclosure.
It should also be understood that the display size of the form editing interface may be the same as or different from the display size of the document editing interface, which is not limiting in any way by the embodiments of the present disclosure.
For example, as shown in fig. 9, the second menu bar may be displayed by clicking a right button of the mouse on the document editing interface, and the data table creation control "insert data table" for creating the data table is displayed in the second menu bar, and by clicking "insert data table", a blank data table is displayed on the document editing interface, and by inserting data in a cell of the blank data table, the data table is obtained. Meanwhile, a third menu bar is displayed above the data table, a display control is displayed in the third menu bar, a table editing interface is displayed by clicking the full screen display, the data table created on the document editing interface is displayed in the table editing interface, and data in the data table is selected to obtain target area data.
It should be appreciated that the document editing interface generally edits the document content with less form editing functionality, and the form editing interface generally edits the form content with richer form editing functionality. Therefore, in this embodiment, the display control is triggered to display the data table in the table editing interface, so that the data in the data table can be selected through the table editing function in the table editing interface, and further, the mini-graph meeting the user requirement is created.
In a possible implementation manner, the generating a mini-graph in the target cell according to the configuration options of the identification direction, the target area data and the target cell selected in the first configuration interface may include:
generating a mini-graph in a target cell of the data table in the table editing interface, and generating a mini-graph in a target cell of the data table in the document editing interface.
According to the technical scheme, the mini-graph can be generated in the target cells of the form editing interface and the document editing interface at the same time, so that the display mode of the mini-graph in the document editing page can be determined according to the display mode of the mini-graph in the form editing page, and the problem that the target mini-graph needs to be adjusted repeatedly due to the fact that the display modes of the mini-graph in the form editing interface and the document editing interface are not corresponding is avoided.
In a possible embodiment, the method may further comprise:
after generating a mini graph in the target cell, responding to a mini graph editing operation, and displaying a second configuration page for configuring attribute information of the mini graph; responding to the configuration operation of the attribute information of the mini graph in the second configuration page, and changing the display mode of the mini graph according to the attribute information corresponding to the configuration operation.
Wherein the attribute information may be set according to actual situations, and the embodiment of the present disclosure does not impose any limitation on this. In a possible embodiment, the attribute information may include a display type (line graph, bar graph, or profit and loss graph) of the mini-graph, a display style, a display position, and the like.
It should be understood that the third configuration operation for the attribute information of the target mini-graph may be to input the target attribute information in the input box of the corresponding attribute information, or may be to select the target option from the options of the corresponding attribute information, which is not limited in any way by the embodiments of the present disclosure.
For example, as shown in fig. 10, the second configuration page displays a "display type" and a "display color", where the display type corresponds to a "broken line" option, a "column" option and a "profit and loss" option, the display color corresponds to a color input box, and the display mode of the target mini-graph is changed by clicking the "column" option and changing the "black" of the color input box to "red".
Through the technical scheme, the attribute information of the target mini-graph can be changed in the second configuration page, so that the attribute information of the target mini-graph can be set according to the user demand, and the user experience is improved.
In a possible implementation manner, the displaying, in response to the mini-graph editing operation, a second configuration page for configuring attribute information of the mini-graph may include:
responding to the triggering operation of a second editing control of the data table in the document editing interface, displaying a table editing interface, wherein the table editing interface comprises the mini graph; responding to triggering operation of the mini graph in the table editing interface, and displaying a third editing control for the mini graph; and responding to the triggering operation of the third editing control, and displaying a second configuration page for configuring attribute information of the mini graph.
It should be understood that the triggering operation on the mini-graph may be a single click operation, a double click operation, a long press operation, or the like, which is not limited in any way by the embodiments of the present disclosure.
It should also be appreciated that the second editing control and the third editing control may be represented by control names or control identifiers. The triggering operation on the second editing control or the third editing control may be a clicking operation or a long-press operation performed on the second editing control or the third editing control, which is not limited in any way by the embodiments of the present disclosure.
As an example, as shown in fig. 11, a fourth menu bar is displayed above the mini graph or the data table, and a second edit control "edit data table" is displayed in the fourth menu bar, a table edit interface is displayed by clicking the "edit data table", and a mini graph is displayed in the table edit interface, a fifth menu bar is displayed by clicking the mini graph with a right mouse button, and a third edit control "edit" for the mini graph is displayed in the fifth menu bar, a submenu bar is displayed by clicking the "edit", and a control "edit mini graph" is displayed in the submenu bar, and a third configuration page for configuring attribute information of the mini graph is displayed by clicking the "edit mini graph".
It should be appreciated that the document editing interface generally edits the document content with less form editing functionality, and the form editing interface generally edits the form content with richer form editing functionality. Therefore, in this embodiment, the mini-graph is displayed in the table editing interface by triggering the second editing of the target data table, so that the mini-graph can be edited by the table editing function in the table editing interface, and the mini-graph meeting the user requirement is obtained.
In a possible implementation manner, the changing, according to the attribute information corresponding to the configuration operation, the display manner of the mini-graph may include:
and changing the display mode of the mini-graph displayed in the form editing interface and changing the display mode of the mini-graph displayed in the document editing interface according to the attribute information corresponding to the configuration operation.
According to the technical scheme, the display modes of the mini-graphs in the table editing interface and the document editing interface can be synchronously changed, so that the display modes of the mini-graphs in the document editing page can be determined according to the display modes of the mini-graphs in the table editing page, and the problem that the display modes of the mini-graphs need to be repeatedly adjusted due to inconsistent display modes of the mini-graphs in the table editing interface and the document editing interface is avoided.
In a possible implementation manner, the number of data rows and data columns corresponding to the target area data are equal.
It should be understood that when the number of data rows and data columns corresponding to the target area data is equal, the related art performs mini-graph drawing by default using one row of data as a data source. When a user wants to draw a mini-graph by using a column of data as a data source, the user needs to manually trigger the recognition direction conversion control after the mini-graph drawing is completed to convert the generated mini-graph into a mini-graph generated by using a column of data as a data source, as shown in fig. 2, so that the operation complexity of drawing the mini-graph by using a column of data as a data source is increased.
In this embodiment, the self-selection of the recognition direction is supported in the process of creating the mini-graph, so that the mini-graph can be generated by row recognition or column recognition according to the requirement selection in the process of creating the mini-graph, and the corresponding mini-graph can be generated according to the selected recognition direction. Compared with the generation mode in the related art, the method and the device for generating the mini-graph have the advantages that after the mini-graph is generated, recognition direction conversion of the mini-graph is not needed, the operation complexity of generating the mini-graph through column recognition is simplified, and the generation efficiency of the mini-graph is improved.
Based on the same concept, the embodiments of the present disclosure further provide a data display apparatus, as shown in fig. 12, the apparatus 1200 may include:
a determining module 1201, configured to determine target area data in response to a selection operation of data in the data table;
a first display module 1202, configured to display a first configuration interface in response to an operation of creating a mini-graph for the target area data, where the first configuration interface includes configuration options of an identification direction of the target area data, and the identification direction includes row-by-row identification and/or column-by-column identification;
a generating module 1203 is configured to generate a mini-graph in the target cell according to the configuration option of the identification direction, the target area data, and the target cell selected in the first configuration interface.
By the technical scheme, configuration options aiming at the identification direction of the target area data can be provided in the process of creating the mini-graph according to the target area data, so that the mini-graph can be generated in the target cells according to the target area data, the selected configuration options of the identification direction and the target cells. Compared with the prior art that the mini-graph is generated according to the automatic configuration recognition direction of the target cell or the mini-graph is generated in the fixed recognition direction, the method supports selection of the recognition direction in the process of generating the mini-graph, so that the problem that the mini-graph needs to be redrawn due to the configuration error of the target cell and the problem that the mini-graph generated in the fixed recognition direction needs to be converted in the recognition direction can be avoided, and the mini-graph drawing efficiency is improved.
In a possible implementation manner, the first display module 1202 may include:
and the first display unit is used for responding to the triggering operation of the creation control for creating the mini-graph on the target area data and displaying a first configuration interface.
In a possible implementation manner, the generating module 1203 may include:
the first display unit is used for responding to the triggering operation of a first editing control of the configuration options aiming at the identification direction in the first configuration interface, and displaying the configuration options of the identification direction;
And the generating unit is used for responding to the selection operation of the configuration options of the identification direction and generating a mini graph in the target cell according to the selected configuration options of the identification direction, the target area data and the target cell.
In a possible embodiment, the apparatus 1200 may further include:
a creation module for creating the data table in the document editing interface in response to an editing operation in the document editing interface;
accordingly, the determining module 1201 may include:
the second display unit is used for responding to the triggering operation of the display control of the data table in the document editing interface and displaying a table editing interface, wherein the table editing interface comprises the data table;
and the first determining unit is used for determining target area data in response to the selection operation of the data in the data table in the table editing interface.
In a possible embodiment, the generating unit is configured to generate a mini-graph in a target cell of the data table in the table editing interface, and generate a mini-graph in a target cell of the data table in the document editing interface.
In a possible embodiment, the apparatus 1200 may further include:
the second display module is used for responding to the mini-graph editing operation after generating the mini-graph in the target cell, and displaying a second configuration page for configuring attribute information of the mini-graph;
and the changing module is used for responding to the configuration operation aiming at the attribute information of the mini graph in the second configuration page, and changing the display mode of the mini graph according to the attribute information corresponding to the configuration operation.
In a possible embodiment, the second display module may include:
a third display unit, configured to respond to a triggering operation of a second editing control of the data table in the document editing interface, and display a table editing interface, where the table editing interface includes the mini-graph;
a fourth display unit, configured to display a third editing control for the mini-graph in response to a triggering operation on the mini-graph in the table editing interface;
and the fifth display unit is used for responding to the triggering operation of the third editing control and displaying a second configuration page for configuring the attribute information of the mini graph.
In a possible implementation manner, the changing module is configured to change, according to the attribute information corresponding to the configuration operation, a display manner of the mini-graph displayed in the table editing interface, and change a display manner of the mini-graph displayed in the document editing interface.
In a possible implementation manner, the number of data rows and data columns corresponding to the target area data are equal.
Based on the same conception, the embodiments of the present disclosure also provide a computer readable medium having stored thereon a computer program which, when executed by a processing device, implements the steps of the method of any of the first aspects.
Based on the same concept, the embodiments of the present disclosure also provide an electronic device, including:
a storage device having a computer program stored thereon;
processing means for executing said computer program in said storage means to carry out the steps of the method according to any one of the first aspects.
Referring now to fig. 13, a schematic diagram of an electronic device 1300 suitable for use in implementing embodiments of the present disclosure is shown. The terminal devices in the embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and the like, and stationary terminals such as digital TVs, desktop computers, and the like. The electronic device shown in fig. 13 is merely an example and should not impose any limitations on the functionality and scope of use of embodiments of the present disclosure.
As shown in fig. 13, the electronic device 1300 may include a processing means (e.g., a central processor, a graphics processor, etc.) 1301, which may perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 1302 or a program loaded from a storage means 1308 into a Random Access Memory (RAM) 1303. In the RAM 1303, various programs and data necessary for the operation of the electronic apparatus 1300 are also stored. The processing device 1301, the ROM 1302, and the RAM 1303 are connected to each other through a bus 1304. An input/output (I/O) interface 1305 is also connected to bus 1304.
In general, the following devices may be connected to the I/O interface 1305: input devices 1306 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, and the like; an output device 1307 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 1308 including, for example, magnetic tape, hard disk, etc.; and communication means 1309. The communication means 1309 may allow the electronic device 1300 to communicate with other devices wirelessly or by wire to exchange data. While fig. 13 shows an electronic device 1300 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may be implemented or provided instead.
In particular, according to embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a non-transitory computer readable medium, the computer program comprising program code for performing the method shown in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communications device 1309, or installed from the storage device 1308, or installed from the ROM 1302. The above-described functions defined in the methods of the embodiments of the present disclosure are performed when the computer program is executed by the processing device 1301.
It should be noted that the computer readable medium described in the present disclosure may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, 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. In the context of this disclosure, a computer-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. In the present disclosure, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. 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 of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer 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 computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, fiber optic cables, RF (radio frequency), and the like, or any suitable combination of the foregoing.
In some implementations, communications may be made using any currently known or future developed network protocol, such as HTTP (HyperText Transfer Protocol ), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the internet (e.g., the internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed networks.
The computer readable medium may be contained in the electronic device; or may exist alone without being incorporated into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: determining target area data for generating a mini-graph in a data table; determining a target recognition direction corresponding to a configuration operation in response to the configuration operation of the recognition direction, wherein the recognition direction is used for representing that the target region data are recognized by rows or the target region data are recognized by columns; and displaying a target mini-graph generated according to the target area data and the target recognition direction.
Computer program code for carrying out operations of the present disclosure may be written in one or more programming languages, including, but not limited to, an object oriented programming language such as Java, smalltalk, C ++ 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 computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules described in the embodiments of the present disclosure may be implemented in software or hardware. The name of a module does not in some cases define the module itself.
The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: a Field Programmable Gate Array (FPGA), an Application Specific Integrated Circuit (ASIC), an Application Specific Standard Product (ASSP), a system on a chip (SOC), a Complex Programmable Logic Device (CPLD), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, 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.
According to one or more embodiments of the present disclosure, example 1 provides a data display method, the method comprising: determining target area data in response to a selection operation of the data in the data table; responding to the operation of creating a mini-graph for the target area data, displaying a first configuration interface, wherein the first configuration interface comprises configuration options of identification directions of the target area data, and the identification directions comprise row-by-row identification and/or column-by-column identification; generating a mini-graph in the target cell according to the configuration options of the identification direction, the target area data and the target cell selected in the first configuration interface.
According to one or more embodiments of the present disclosure, example 2 provides the method of example 1, the displaying a first configuration interface in response to an operation to create a mini-graph for the target area data, including: and responding to the triggering operation of the creation control for creating the mini-graph on the target area data, and displaying a first configuration interface.
According to one or more embodiments of the present disclosure, example 3 provides the method of example 1, the generating a mini-graph in a target cell according to the configuration options of the identification direction, the target area data, and the target cell selected in the first configuration interface, comprising: responding to the triggering operation of a first editing control of the configuration options aiming at the identification direction in the first configuration interface, and displaying the configuration options of the identification direction;
And responding to the selection operation of the configuration options of the identification direction, and generating a mini-graph in the target cell according to the selected configuration options of the identification direction, the target area data and the target cell.
According to one or more embodiments of the present disclosure, example 4 provides the method of example 1, further comprising, before performing the selecting operation on the data in the data table, determining target area data: creating the data table in the document editing interface in response to an editing operation at the document editing interface; the determining the target area data in response to the selecting operation of the data in the data table comprises the following steps: responding to the triggering operation of the display control of the data table in the document editing interface, displaying a table editing interface, wherein the table editing interface comprises the data table; and determining target area data in response to a selection operation of the data in the data table in the table editing interface.
According to one or more embodiments of the present disclosure, example 5 provides the method of example 4, the generating a mini-graph in a target cell according to the configuration options of the identification direction selected in the first configuration interface, the target area data, and the target cell, comprising: generating a mini-graph in a target cell of the data table in the table editing interface, and generating a mini-graph in a target cell of the data table in the document editing interface.
According to one or more embodiments of the present disclosure, example 6 provides the method of example 5, the method further comprising: after generating a mini graph in the target cell, responding to a mini graph editing operation, and displaying a second configuration page for configuring attribute information of the mini graph; responding to the configuration operation of the attribute information of the mini graph in the second configuration page, and changing the display mode of the mini graph according to the attribute information corresponding to the configuration operation.
According to one or more embodiments of the present disclosure, example 7 provides the method of example 6, the displaying, in response to a mini-graph editing operation, a second configuration page for configuring attribute information of the mini-graph, comprising: responding to the triggering operation of a second editing control of the data table in the document editing interface, displaying a table editing interface, wherein the table editing interface comprises the mini graph; responding to triggering operation of the mini graph in the table editing interface, and displaying a third editing control for the mini graph; and responding to the triggering operation of the third editing control, and displaying a second configuration page for configuring attribute information of the mini graph.
According to one or more embodiments of the present disclosure, example 8 provides the method of example 7, wherein the changing the display manner of the mini-graph according to the attribute information corresponding to the configuration operation includes: and changing the display mode of the mini-graph displayed in the form editing interface and changing the display mode of the mini-graph displayed in the document editing interface according to the attribute information corresponding to the configuration operation.
According to one or more embodiments of the present disclosure, example 9 provides the method of any one of examples 1-8, the number of data rows and data columns corresponding to the target area data being equal.
According to one or more embodiments of the present disclosure, example 10 provides a data display apparatus, the apparatus comprising: the determining module is used for determining target area data in response to the selection operation of the data in the data table; the first display module is used for responding to the operation of creating a mini-graph for the target area data, and displaying a first configuration interface, wherein the first configuration interface comprises configuration options of the identification direction of the target area data, and the identification direction comprises row-by-row identification and/or column-by-column identification; and the second display module is used for generating a mini-graph in the target cell according to the configuration options of the identification direction, the target area data and the target cell selected in the first configuration interface.
According to one or more embodiments of the present disclosure, example 11 provides a computer-readable medium having stored thereon a computer program which, when executed by a processing device, implements the steps of the method of any of examples 1-9.
Example 12 provides an electronic device according to one or more embodiments of the present disclosure, comprising: a storage device having a computer program stored thereon; processing means for executing the computer program in the storage means to implement the steps of the method of any one of examples 1-9.
The foregoing description is only of the preferred embodiments of the present disclosure and description of the principles of the technology being employed. It will be appreciated by persons skilled in the art that the scope of the disclosure referred to in this disclosure is not limited to the specific combinations of features described above, but also covers other embodiments which may be formed by any combination of features described above or equivalents thereof without departing from the spirit of the disclosure. Such as those described above, are mutually substituted with the technical features having similar functions disclosed in the present disclosure (but not limited thereto).
Moreover, although operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. In certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the present disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are example forms of implementing the claims. The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.

Claims (12)

1. A data display method, the method comprising:
determining target area data in response to a selection operation of the data in the data table;
responding to the operation of creating a mini-graph for the target area data, displaying a first configuration interface, wherein the first configuration interface comprises configuration options of identification directions of the target area data, and the identification directions comprise row-by-row identification and/or column-by-column identification;
generating a mini-graph in the target cell according to the configuration options of the identification direction, the target area data and the target cell selected in the first configuration interface.
2. The method of claim 1, wherein displaying a first configuration interface in response to the operation of creating a mini-map for the target area data comprises:
and responding to the triggering operation of the creation control for creating the mini-graph on the target area data, and displaying a first configuration interface.
3. The method of claim 1, wherein the generating a mini-graph in a target cell according to the configuration options of the identification direction selected in the first configuration interface, the target area data, and the target cell comprises:
responding to the triggering operation of a first editing control of the configuration options aiming at the identification direction in the first configuration interface, and displaying the configuration options of the identification direction;
and responding to the selection operation of the configuration options of the identification direction, and generating a mini-graph in the target cell according to the selected configuration options of the identification direction, the target area data and the target cell.
4. The method of claim 1, further comprising, prior to performing the selecting of the data in the data table, determining the target region data:
Creating the data table in the document editing interface in response to an editing operation at the document editing interface;
the determining the target area data in response to the selecting operation of the data in the data table comprises the following steps:
responding to the triggering operation of the display control of the data table in the document editing interface, displaying a table editing interface, wherein the table editing interface comprises the data table;
and determining target area data in response to a selection operation of the data in the data table in the table editing interface.
5. The method of claim 4, wherein the generating a mini-graph in a target cell according to the configuration options of the identification direction selected in the first configuration interface, the target region data, and the target cell comprises:
generating a mini-graph in a target cell of the data table in the table editing interface, and generating a mini-graph in a target cell of the data table in the document editing interface.
6. The method of claim 5, wherein the method further comprises:
after generating a mini graph in the target cell, responding to a mini graph editing operation, and displaying a second configuration page for configuring attribute information of the mini graph;
Responding to the configuration operation of the attribute information of the mini graph in the second configuration page, and changing the display mode of the mini graph according to the attribute information corresponding to the configuration operation.
7. The method of claim 6, wherein displaying a second configuration page for configuring attribute information of the mini-graph in response to a mini-graph editing operation, comprises:
responding to the triggering operation of a second editing control of the data table in the document editing interface, displaying a table editing interface, wherein the table editing interface comprises the mini graph;
responding to triggering operation of the mini graph in the table editing interface, and displaying a third editing control for the mini graph;
and responding to the triggering operation of the third editing control, and displaying a second configuration page for configuring attribute information of the mini graph.
8. The method of claim 7, wherein the changing the display mode of the mini-graph according to the attribute information corresponding to the configuration operation includes:
and changing the display mode of the mini-graph displayed in the form editing interface and changing the display mode of the mini-graph displayed in the document editing interface according to the attribute information corresponding to the configuration operation.
9. The method of any of claims 1-8, wherein the number of data rows and data columns corresponding to the target area data is equal.
10. A data display device, the device comprising:
the determining module is used for determining target area data in response to the selection operation of the data in the data table;
the first display module is used for responding to the operation of creating a mini-graph for the target area data, and displaying a first configuration interface, wherein the first configuration interface comprises configuration options of the identification direction of the target area data, and the identification direction comprises row-by-row identification and/or column-by-column identification;
and the second display module is used for generating a mini-graph in the target cell according to the configuration options of the identification direction, the target area data and the target cell selected in the first configuration interface.
11. A computer readable medium on which a computer program is stored, characterized in that the program, when being executed by a processing device, carries out the steps of the method according to any one of claims 1-9.
12. An electronic device, comprising:
a storage device having a computer program stored thereon;
Processing means for executing said computer program in said storage means to carry out the steps of the method according to any one of claims 1-9.
CN202311332996.1A 2023-10-13 2023-10-13 Data display method and device, readable medium and electronic equipment Pending CN117391047A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311332996.1A CN117391047A (en) 2023-10-13 2023-10-13 Data display method and device, readable medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311332996.1A CN117391047A (en) 2023-10-13 2023-10-13 Data display method and device, readable medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN117391047A true CN117391047A (en) 2024-01-12

Family

ID=89469572

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311332996.1A Pending CN117391047A (en) 2023-10-13 2023-10-13 Data display method and device, readable medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN117391047A (en)

Similar Documents

Publication Publication Date Title
US20230024650A1 (en) Method and apparatus for selecting menu items, readable medium and electronic device
CN110389807B (en) Interface translation method and device, electronic equipment and storage medium
US20220374538A1 (en) Permission control method and device and electronic equipment
EP4177783A1 (en) Method and apparatus for browsing table in document, and electronic device and storage medium
CN110634049A (en) Page display content processing method and device, electronic equipment and readable medium
CN111309617A (en) Application program control method and device, storage medium and electronic equipment
CN110879729A (en) Channel configuration method and device for live broadcast room, readable medium and electronic equipment
CN110908752A (en) Control setting method and device, electronic equipment and interaction system
CN110262718B (en) Input method window setting method and device, mobile terminal and storage medium
CN112256172B (en) Application display method, device, terminal and storage medium
CN115619341A (en) Method and device for checking work item information, electronic equipment and storage medium
CN115567937A (en) Short message verification method and device, storage medium and electronic equipment
CN117391047A (en) Data display method and device, readable medium and electronic equipment
CN117391046A (en) Data display method and device, readable medium and electronic equipment
CN112153439A (en) Interactive video processing method, device and equipment and readable storage medium
CN111338827B (en) Method and device for pasting form data and electronic equipment
CN117851438A (en) Data analysis method and device, readable medium and electronic equipment
US20230409813A1 (en) Document processing method, apparatus and device, and medium
CN117667983A (en) Data interaction method and device, readable medium and electronic equipment
CN116820311A (en) Cover setting method and device, electronic equipment and storage medium
CN116340553A (en) Method and device for collecting media content, electronic equipment and storage medium
CN117493217A (en) Test case generation method and device, readable medium and electronic equipment
CN117032532A (en) Test case editing method and device, computer readable medium and electronic equipment
CN116882373A (en) Content display method and device, readable medium and electronic equipment
CN116795339A (en) Service interface generation method, device, equipment 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