CN115878712A - Data chart processing method and related device - Google Patents

Data chart processing method and related device Download PDF

Info

Publication number
CN115878712A
CN115878712A CN202111157737.0A CN202111157737A CN115878712A CN 115878712 A CN115878712 A CN 115878712A CN 202111157737 A CN202111157737 A CN 202111157737A CN 115878712 A CN115878712 A CN 115878712A
Authority
CN
China
Prior art keywords
data
chart
generating
target
graph
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
CN202111157737.0A
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.)
BYD Co Ltd
BYD Communication Signal Co Ltd
Original Assignee
BYD Co Ltd
BYD Communication Signal 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 BYD Co Ltd, BYD Communication Signal Co Ltd filed Critical BYD Co Ltd
Priority to CN202111157737.0A priority Critical patent/CN115878712A/en
Publication of CN115878712A publication Critical patent/CN115878712A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Image Generation (AREA)

Abstract

The application relates to the field of data charts, and provides a data chart processing method and a related device, wherein the data chart processing method comprises the following steps: acquiring an input parameter; acquiring first data; determining a target calculation rule; performing data conversion processing on the first data by adopting a target calculation rule to obtain second data; and drawing and rendering the second data by adopting the input parameters to generate a target data chart. By implementing the method and the device, the complex data processing logic of the data diagram can be changed into simple configuration, and the development efficiency of the system is improved.

Description

Data chart processing method and related device
Technical Field
The present disclosure relates to the field of data charts, and in particular, to a data chart processing method and a related apparatus.
Background
In the operation management process of a station, massive operation data can be generated, and in order to summarize complex information, more and more station systems adopt a visual data chart as a data display mode at present.
In the traditional data diagram design, a set of processing logic is designed for data acquisition and data assembly of each data diagram in the background, so that a lot of repeated workload is caused, and the development efficiency of the system is reduced.
Disclosure of Invention
The embodiment of the application discloses a data chart processing method and a related device. And a small amount of configuration parameters are adopted to design a calculation rule, so that the complex data processing logic is changed into simple configuration, and the development efficiency of the system is improved.
In a first aspect, the present application provides a data graph processing method, including:
acquiring input parameters, wherein the input parameters comprise data object identifications and statistical modes;
acquiring first data, wherein the first data is initial data to be processed;
determining a target calculation rule corresponding to the data object identification and the statistical mode;
performing data conversion processing on the first data by adopting the target calculation rule to obtain second data;
and drawing and rendering the second data by adopting the input parameters to generate a target data chart.
With reference to the first aspect, in some embodiments, the acquiring the first data includes:
acquiring an interface address of a data source corresponding to the data object identifier;
and acquiring the data in the data source as first data through the interface address.
With reference to the first aspect, in some embodiments, the data object identifier includes a dimension and a metric, where the dimension is used to indicate an object to be queried, the metric is used to indicate a type to be queried, and the input parameter further includes a diagram display mode;
the determining a target calculation rule corresponding to the data object identifier and the statistical method includes:
judging whether the dimension and the measurement meet the display condition of the chart display mode or not;
and if the dimension and the measurement meet the display condition of the graph display mode, determining a target calculation rule corresponding to the data object identification and the statistical mode.
With reference to the first aspect, in some embodiments, the performing drawing rendering on the second data by using the input parameter to generate a target data chart includes:
generating an Echarts component corresponding to the input parameter;
and inputting the second data into the Echarts component, and drawing and rendering the second data through the Echarts component to generate a target data chart.
With reference to the first aspect, in some embodiments, the generating an Echarts component corresponding to the input parameter includes:
generating the horizontal coordinate and the vertical coordinate of the Echarts component according to the data object identification;
generating a multi-level screening type of the Echarts component according to the statistical mode;
and generating the chart type of the Echarts component according to the chart display mode.
With reference to the first aspect, in some embodiments, after the generating the target data graph, the method further includes:
generating a chart record corresponding to the target data chart, wherein the chart record comprises the input parameters and a chart identifier of the target data chart;
and storing the chart record into a database.
In a second aspect, the present application provides a data graph processing apparatus, comprising:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring input parameters, and the input parameters comprise data object identifications and statistical modes;
the acquiring unit is further configured to acquire first data, where the first data is initial data to be processed;
a determining unit, configured to determine a target calculation rule corresponding to the data object identifier and the statistical manner;
the processing unit is used for carrying out data conversion processing on the first data by adopting the target calculation rule to obtain second data;
and the generating unit is used for performing drawing and rendering on the second data by adopting the input parameters to generate a target data chart.
With reference to the second aspect, in some embodiments, the obtaining unit is specifically configured to:
acquiring an interface address of a data source corresponding to the data object identifier;
and acquiring the data in the data source as first data through the interface address.
With reference to the second aspect, in some embodiments, the data object identifier includes a dimension and a metric, where the dimension is used to indicate an object to be queried, the metric is used to indicate a type to be queried, and the input parameter further includes a graph presentation manner;
the determining unit is specifically configured to:
judging whether the dimension and the measurement meet the display condition of the chart display mode;
and if the dimension and the measurement meet the display condition of the graph display mode, determining a target calculation rule corresponding to the data object identification and the statistical mode.
With reference to the second aspect, in some embodiments, the generating unit is specifically configured to:
generating an Echarts component corresponding to the input parameter;
and inputting the second data into the Echarts component, and drawing and rendering the second data through the Echarts component to generate a target data chart.
With reference to the second aspect, in some embodiments, the generating unit is specifically configured to:
generating the horizontal coordinate and the vertical coordinate of the Echarts component according to the data object identifier;
generating a multi-level screening type of the Echarts component according to the statistical mode;
and generating the chart type of the Echarts component according to the chart display mode.
With reference to the second aspect, in some embodiments, the apparatus further comprises a storage unit:
the generating unit is further configured to generate a graph record corresponding to the target data graph, where the graph record includes the input parameter and a graph identifier of the target data graph;
the storage unit is used for storing the chart record into a database.
In a third aspect, the present application provides a computer device, including a processor, a memory, and a communication interface, where the processor, the memory, and the communication interface are connected to each other, where the communication interface is configured to receive and transmit data, the memory is configured to store program code, and the processor is configured to call the program code to perform a method as described in the first aspect and any possible implementation manner of the first aspect.
In a fourth aspect, the present application provides a computer readable storage medium having a computer program stored therein; the computer program, when run on one or more processors, causes the terminal device to perform the method as described in the first aspect and any possible implementation form of the first aspect.
In the embodiment of the application, input parameters are obtained, and the input parameters comprise data object identification and statistical modes. Acquiring first data, wherein the first data is initial data to be processed. And determining a target calculation rule corresponding to the data object identifier and the statistical mode, and performing data conversion on the first data by adopting the target calculation rule to obtain second data. And drawing and rendering the second data by adopting the input parameters to generate a target data chart. According to the method and the device, the calculation rule can be designed by adopting a small number of configuration parameters, so that the complex data processing logic is changed into simple configuration, and the development efficiency of the system is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments or the background art of the present application, the drawings used in the embodiments or the background art of the present application will be briefly described below.
Fig. 1 is a schematic flowchart of a data chart processing method according to an embodiment of the present application;
FIG. 2 is a schematic flow chart diagram illustrating another data graph processing method according to an embodiment of the present disclosure;
fig. 3 is a schematic flowchart of a data source configuration method according to an embodiment of the present application;
FIG. 4 is a schematic diagram of a system architecture of a data chart processing method according to an embodiment of the present application;
FIG. 5 is a schematic diagram of a data graph processing apparatus according to an embodiment of the present application;
fig. 6 is a schematic diagram of a computer device according to an embodiment of the present application.
Detailed Description
The present application will be further described with reference to the accompanying drawings.
In the embodiment of the present invention, a chart is generated at the front end through an encapsulated Echarts component, and corresponding data processing services are performed at the background according to an interface address of a data source, and some concepts related to the embodiment of the present invention are introduced below.
Echarts: an open source visual library can be smoothly operated on a personal computer and mobile equipment and is compatible with most current browsers. Echarts provides conventional line graphs, histograms, scatter plots, pie charts, K-line graphs, box plots for statistics, maps for geographical data visualization, thermodynamic diagrams, line graphs, relationship plots for relationship data visualization, asahi-day plots, parallel coordinates for multi-dimensional data visualization, as well as funnel graphs for Business Intelligence (BI), dashboards, etc., and supports mash-up between graphs and graphs.
Interface: in a computer, an interface is a shared boundary between two separate components in a computer system for the exchange of information. Such exchanges may occur between computer software, hardware, external devices or persons performing the operations, or a combination thereof.
In order to more clearly describe the scheme of the present application, some drawings related to the present application are further described below.
Referring to fig. 1, fig. 1 is a schematic flow chart diagram illustrating a data chart processing method according to an embodiment of the present disclosure. As shown in fig. 1, the method comprises the steps of:
s101, input parameters are obtained, and the input parameters comprise data object identification and statistical modes.
The data object identification comprises a dimension and a measure, wherein the dimension is used for indicating an object to be queried, and the measure is used for indicating a type to be queried. Alternatively, the dimensions may include query objects for systems, products, areas, etc., and the metrics may include query types for assets, alarm levels, alarm locations, alarm states, etc. Optionally, the statistical means may include calculation means such as total, average, maximum, minimum, and the like.
S102, first data is obtained, and the first data is initial data to be processed.
In some embodiments of the present application, an interface address of a data source corresponding to the data object identifier is obtained, and data of the data source is obtained according to the interface address, where the data is the first data. Optionally, the data source may include all data of the asset, alarm, and other modules, and each module includes data corresponding to various input parameters.
S103, determining a target calculation rule corresponding to the data object identification and the statistical mode.
Optionally, in the embodiment of the present application, at least one target calculation rule is preset, where the target calculation rule is an aggregation function, and performs calculation on a group of values and returns a single value. Specifically, the target calculation rule is used for performing multi-level aggregation query on the first data according to the input parameters.
Optionally, the input parameters further include a chart display manner, and the chart display manner may include chart types such as a bar chart, a line chart, a pie chart, a scatter chart, a radar chart, and a K-line chart.
And further judging whether the dimension and the measurement meet the display condition of the chart display mode. Optionally, if any one of the graph display modes fails to satisfy the display condition of the graph display mode, a prompt message is returned to the front end, for example, if the input metric parameter is more than one, and the graph display mode is a pie graph, the display condition cannot be satisfied, and the prompt message returned to the front end is "please change the multi-metric selection or reselect the graph type". If both of them satisfy the display condition of the chart display mode, go to step S104.
And S104, performing data format conversion processing on the first data by adopting the target calculation rule to obtain second data.
The target calculation rule is used for processing first data, and different data object identifications and statistical modes correspond to different target calculation rules. For example, the dimension of the input parameter is a product, the measurement is a general alarm in the alarm level, the statistical mode is total, the target calculation rule firstly screens the returned product data from the first data, then classifies according to the alarm level, and finally determines the processing mode to be total according to the statistical mode, and the obtained final data is the total value of the general alarm of each product. And processing the first data to obtain the final data which accords with the data format, wherein the final data is second data.
And S105, performing drawing and rendering on the second data by adopting the input parameters to generate a target data chart.
In some embodiments of the application, an Echarts component corresponding to the input parameter is generated, the Echarts component is packaged by vue in advance, the design of the page is uniformly configured, and a user does not need to perform additional configuration. And generating the horizontal coordinate and the vertical coordinate of the Echarts component according to the data object identifier, and generating the multi-level screening type of the Echarts component according to the statistical mode. For example, if the dimension is product, the measure is alarm level, and the statistical manner is total, the abscissa of the Echarts component is product, and the ordinate is the total value of alarm level. The multi-level screening category is an alarm level, for example, the front end may select to switch to view different alarm levels, and specifically, may select any at least one of the alarm levels. Optionally, the alert level may include a general, severe, fatal, etc. level. And generating the chart type of the Echarts component according to the chart display mode.
Specifically, the second data is transmitted to the Echarts component, and the second data is rendered by the Echarts component to generate a target data chart.
Referring to fig. 2, fig. 2 is a schematic flow chart diagram illustrating another data graph processing method according to an embodiment of the present disclosure. As shown in fig. 2, the method comprises the steps of:
s201, obtaining input parameters and calculation rules, wherein the input parameters comprise data object identification and statistical modes.
S202, first data is obtained, and the first data is initial data to be processed.
S203, determining a target calculation rule corresponding to the data object identification and the statistical mode.
And S204, performing data format conversion processing on the first data by adopting the target calculation rule to obtain second data.
And S205, performing drawing and rendering on the second data by adopting the input parameters to generate a target data chart.
Steps S201 to S205 in the embodiment of the present application please refer to the description of steps S101 to S105 in the embodiment of fig. 1, which is not repeated herein.
And S206, generating a chart record corresponding to the target data chart, wherein the chart record comprises the input parameters and the chart identifier of the target data chart.
Illustratively, after the target data chart is successfully generated, the chart name input by the user is obtained, and the chart record corresponding to the target data chart is generated. The chart record includes the input parameters and a chart identifier of the target data chart, and optionally, the chart identifier may include information such as a chart name, a chart identity, and a user identity.
And S207, storing the chart record into a database.
Specifically, the chart record is stored in a chart configuration table in a database. Further, the chart record in the chart configuration table can be read, and a chart can be automatically generated according to the input parameters, wherein the chart can comprise functions of editing, deleting, viewing a big chart and the like.
Optionally, the chart possesses data rights. Specifically, the chart created by the user only supports the user to edit, delete and view. If the user has the administrator authority, the chart created by the user supports all people to view, is sorted in the front, and only supports the user to edit and delete.
In the embodiment of the application, input parameters are obtained, and the input parameters comprise data object identification and statistical modes. Acquiring first data, wherein the first data is initial data to be processed. And determining a target calculation rule corresponding to the data object identifier and the statistical mode, and performing data conversion on the first data by adopting the target calculation rule to obtain second data. And drawing and rendering the second data by adopting the input parameters to generate a target data chart. According to the method and the device, the calculation rule can be designed by adopting a small amount of configuration parameters, so that the complex data processing logic is changed into simple configuration, and the development efficiency of the system is improved.
Referring to fig. 3, fig. 3 is a schematic flowchart illustrating a data source configuration method according to an embodiment of the present disclosure. As shown in fig. 3, the method comprises the steps of:
s301, establishing a chart data interface class with a unified standard in each data center, and providing a data query interface and a return data format which accord with the standard.
Defining each subsystem as a plurality of data capability centers, establishing a unified data interface class in each data capability center, wherein query parameters of the interface class comprise dimensions, measurement, a statistical mode and a chart display mode. And designing a calculation rule according to the configuration parameters by calling a unified data processing method, wherein the calculation rule is used for processing the preliminarily screened first data to form second data in a standard format.
S302, a data source is newly established, and a network address URL of the chart data interface is input.
And newly adding or editing data source configuration in the data source configuration management module, and inputting a configuration name, a configuration identifier and an interface address.
S303, editing the configuration of the data source, and adding various configuration types and diagram display modes supported by the interface.
Configuring parameters of a data source, inputting dimensions, measurement, a statistical mode and a chart display mode.
S304, after the data source and the configuration thereof are saved, the data source and the configuration thereof are recorded into a database.
And storing the configuration name, the configuration identifier and the interface address into a data source table of the database, and storing the configuration parameters into a data source configuration table of the database.
Referring to fig. 4, fig. 4 is a schematic diagram of a system architecture of a data diagram processing method according to an embodiment of the present disclosure. As shown in fig. 4, the system architecture includes:
a data source: the source of the data, including all of the data for each query module, provides the initial data to the data capability center.
A data capability center: the method comprises a data processing method, wherein the data processing method designs a calculation rule according to the configuration parameters, and the calculation rule is used for processing initial data. And returning the processed final data to the front-end server.
A front-end server: the system comprises a chart management module and a data source configuration management module. The chart management module provides an interface for a user to select a data source and its associated input parameters. The data source configuration management module provides an interface for a newly-built data source and configuration parameters thereof for an administrator.
The chart configuration service method comprises the following steps: and storing the chart record transmitted by the chart management module into a chart configuration table of the database.
The data configuration service method comprises the following steps: and storing the configuration name, the configuration identifier and the interface address transmitted by the data source configuration management module into a data source table of the database, and storing the configuration parameters into the data source configuration table of the database.
A database: the system comprises a data source table, a data source configuration table and a chart configuration table. The data source table is responsible for storing the configuration name, the configuration identifier and the interface address of the data source. The data source configuration table is responsible for storing configuration parameters of the data source. The chart configuration table is responsible for storing chart records.
Referring to fig. 5, fig. 5 is a schematic diagram of a data graph processing apparatus according to an embodiment of the present disclosure. As shown in fig. 5, the data graph processing apparatus may include:
an obtaining unit 500, configured to obtain input parameters, where the input parameters include data object identifiers and statistical methods;
the acquiring unit 500 is further configured to acquire first data, where the first data is initial data to be processed;
a determining unit 501, configured to determine a target calculation rule corresponding to the data object identifier and the statistical method;
a processing unit 502, configured to perform data conversion processing on the first data by using the target calculation rule to obtain second data;
a generating unit 503, configured to perform drawing and rendering on the second data by using the input parameters, and generate a target data chart.
In a possible design, the obtaining unit 500 is specifically configured to:
acquiring an interface address of a data source corresponding to the data object identifier;
and acquiring the data in the data source as first data through the interface address.
In a possible design, the data object identifier includes a dimension and a metric, the dimension is used for indicating an object to be queried, the metric is used for indicating a type to be queried, and the input parameter further includes a chart display mode;
the determining unit 501 is specifically configured to:
judging whether the dimension and the measurement meet the display condition of the chart display mode;
and if the dimension and the measurement meet the display condition of the graph display mode, determining a target calculation rule corresponding to the data object identification and the statistical mode.
In a possible design, the generating unit 503 is specifically configured to:
generating an Echarts component corresponding to the input parameter;
and inputting the second data into the Echarts component, and performing drawing and rendering on the second data through the Echarts component to generate a target data chart.
In a possible design, the generating unit 503 is specifically configured to:
generating the horizontal coordinate and the vertical coordinate of the Echarts component according to the data object identifier;
generating a multi-level screening type of the Echarts component according to the statistical mode;
and generating the chart type of the Echarts component according to the chart display mode.
In one possible design, the apparatus further includes a storage unit 504:
the generating unit 503 is further configured to generate a graph record corresponding to the target data graph, where the graph record includes the graph identifier of the input parameter and the target data graph;
the storage unit 504 is configured to store the chart record in a database.
For a specific description of the embodiment of the apparatus shown in fig. 5, reference may be made to the specific description of the method embodiment shown in fig. 1, fig. 2, or fig. 3, which is not repeated herein.
Referring to fig. 6, which is a schematic structural diagram of a computer device according to an embodiment of the present disclosure, as shown in fig. 6, the computer device 600 may include: at least one processor 601, e.g., a CPU, at least one communication interface 603, memory 604, at least one communication bus 602. Wherein a communication bus 602 is used to enable the connection communication between these components. The communication interface 603 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). Memory 604 may be a high-speed RAM memory or a non-volatile memory, such as at least one disk memory. The memory 604 may optionally be at least one storage device located remotely from the processor 601. As shown in fig. 6, the memory 604, which is a type of computer storage medium, may include an operating system, network communication units, and program instructions.
In the computer device 600 shown in fig. 6, the processor 601 may be configured to load the program instructions stored in the memory 604 and specifically perform the following operations:
acquiring input parameters, wherein the input parameters comprise data object identification and a statistical mode;
acquiring first data, wherein the first data is initial data to be processed;
determining a target calculation rule corresponding to the data object identification and the statistical mode;
performing data conversion processing on the first data by adopting the target calculation rule to obtain second data;
and drawing and rendering the second data by adopting the input parameters to generate a target data chart.
It should be noted that, for a specific implementation process, reference may be made to specific descriptions of the method embodiments shown in fig. 1, fig. 2, or fig. 3, which are not described herein again.
An embodiment of the present application further provides a computer storage medium, where the computer storage medium may store a plurality of instructions, where the instructions are suitable for being loaded by a processor and executing the method steps in the embodiments shown in fig. 1, fig. 2, or fig. 3, and a specific execution process may refer to specific descriptions of the embodiments shown in fig. 1, fig. 2, or fig. 3, which is not described herein again.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. The procedures or functions described in accordance with the embodiments of the application are all or partially generated when the computer program instructions are loaded and executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (e.g., coaxial cable, fiber optic, digital subscriber line) or wirelessly (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that includes one or more available media. The available media may be magnetic media (e.g., floppy disks, hard disks, tapes), optical media (e.g., DVDs), or semiconductor media (e.g., solid state drives), among others.
One of ordinary skill in the art will appreciate that all or part of the processes in the methods of the above embodiments may be implemented by hardware related to instructions of a computer program, which may be stored in a computer-readable storage medium, and when executed, may include the processes of the above method embodiments. And the aforementioned storage medium includes: various media capable of storing program codes, such as ROM or RAM, magnetic or optical disks, etc.

Claims (12)

1. A method of data graph processing, comprising:
acquiring input parameters, wherein the input parameters comprise data object identifications and statistical modes;
acquiring first data, wherein the first data is initial data to be processed;
determining a target calculation rule corresponding to the data object identification and the statistical mode;
performing data conversion processing on the first data by adopting the target calculation rule to obtain second data;
and drawing and rendering the second data by adopting the input parameters to generate a target data chart.
2. The method of claim 1, wherein said obtaining first data comprises:
acquiring an interface address of a data source corresponding to the data object identifier;
and acquiring the data in the data source as first data through the interface address.
3. The method of claim 1 or 2, wherein the data object identification comprises a dimension and a measure, the dimension is used for indicating an object to be queried, the measure is used for indicating a type to be queried, and the input parameters further comprise a chart showing mode;
the determining a target calculation rule corresponding to the data object identifier and the statistical manner includes:
judging whether the dimension and the measurement meet the display condition of the chart display mode;
and if the dimension and the measurement meet the display condition of the graph display mode, determining a target calculation rule corresponding to the data object identification and the statistical mode.
4. The method of claim 3, wherein the performing a drawing rendering of the second data using the input parameters to generate a target data graph comprises:
generating an Echarts component corresponding to the input parameter;
and inputting the second data into the Echarts component, and performing drawing and rendering on the second data through the Echarts component to generate a target data chart.
5. The method of claim 4, the generating an Echarts component corresponding to the input parameter, comprising:
generating the horizontal coordinate and the vertical coordinate of the Echarts component according to the data object identification;
generating a multi-level screening type of the Echarts component according to the statistical mode;
and generating the chart type of the Echarts component according to the chart display mode.
6. The method of any of claims 1-5, wherein after generating the target data graph, further comprising:
generating a chart record corresponding to the target data chart, wherein the chart record comprises the input parameters and a chart identifier of the target data chart;
and storing the chart record into a database.
7. A data chart processing apparatus, comprising:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring input parameters, and the input parameters comprise data object identifications and statistical modes;
the acquiring unit is further configured to acquire first data, where the first data is initial data to be processed;
the determining unit is used for determining a target calculation rule corresponding to the data object identification and the statistical mode;
the processing unit is used for performing data conversion processing on the first data by adopting the target calculation rule to obtain second data;
and the generating unit is used for performing drawing and rendering on the second data by adopting the input parameters to generate a target data chart.
8. The apparatus of claim 7, wherein the obtaining unit is specifically configured to:
acquiring an interface address of a data source corresponding to the data object identifier;
and acquiring the data in the data source as first data through the interface address.
9. The apparatus of claim 7 or 8, wherein the data object identification comprises a dimension and a measure, the dimension is used for indicating an object to be queried, the measure is used for indicating a type to be queried, and the input parameters further comprise a chart showing mode;
the determining unit is specifically configured to:
judging whether the dimension and the measurement meet the display condition of the chart display mode;
and if the dimension and the measurement meet the display condition of the graph display mode, determining a target calculation rule corresponding to the data object identification and the statistical mode.
10. The apparatus as claimed in claim 9, wherein said generating unit is specifically configured to:
generating an Echarts component corresponding to the input parameter;
and inputting the second data into the Echarts component, and drawing and rendering the second data through the Echarts component to generate a target data chart.
11. The apparatus as claimed in claim 10, wherein said generating unit is specifically configured to:
generating the horizontal coordinate and the vertical coordinate of the Echarts component according to the data object identifier;
generating a multi-level screening type of the Echarts component according to the statistical mode;
and generating the chart type of the Echarts component according to the chart display mode.
12. The apparatus of any one of claims 7-11, wherein the apparatus further comprises a storage unit;
the generating unit is further configured to generate a graph record corresponding to the target data graph, where the graph record includes the input parameter and a graph identifier of the target data graph;
and the storage unit is used for storing the chart record into a database.
CN202111157737.0A 2021-09-30 2021-09-30 Data chart processing method and related device Pending CN115878712A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111157737.0A CN115878712A (en) 2021-09-30 2021-09-30 Data chart processing method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111157737.0A CN115878712A (en) 2021-09-30 2021-09-30 Data chart processing method and related device

Publications (1)

Publication Number Publication Date
CN115878712A true CN115878712A (en) 2023-03-31

Family

ID=85756582

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111157737.0A Pending CN115878712A (en) 2021-09-30 2021-09-30 Data chart processing method and related device

Country Status (1)

Country Link
CN (1) CN115878712A (en)

Similar Documents

Publication Publication Date Title
US9734247B2 (en) Topology service using closure tables and metagraphs
CN107798038B (en) Data response method and data response equipment
US20210027458A1 (en) Geofence-based object identification in an extended reality environment
US11145123B1 (en) Generating extended reality overlays in an industrial environment
CN110990233B (en) Method and system for displaying SOAR by utilizing Gantt chart
CN109582547A (en) Electronic device, monitoring data alarm method and storage medium
CN110610376A (en) Behavior data response method and device, computer equipment and storage medium
CN115392501A (en) Data acquisition method and device, electronic equipment and storage medium
CN112241362A (en) Test method, test device, server and storage medium
CN116109114B (en) Normalized government service data processing method and system
CN112506490A (en) Interface generation method and device, electronic equipment and storage medium
CN115878712A (en) Data chart processing method and related device
CN115696337A (en) Mobile terminal safety monitoring analysis method and device
CN115080271A (en) Event data processing method and device, electronic equipment and storage medium
CN113127099A (en) Server configuration method, device, equipment and storage medium
CN112783920A (en) Industrial Internet of things data real-time computing method and system based on data arrangement
CN106294366A (en) The methods of exhibiting of bar code temperature and device
CN114968696A (en) Index monitoring method, electronic equipment and chip system
CN114840112B (en) POP resource management method, device, equipment and computer readable storage medium
CN115604668B (en) Short message sending and pushing monitoring method, device, equipment and storage medium
CN112131846B (en) Method and system for transmitting parameters based on mapping relation, electronic device and storage medium
CN111161351B (en) Target component coordinate acquisition method and system
CN117573478A (en) Performance monitoring method, device, apparatus, medium and program product
CN114860550A (en) Method and device for monitoring application in real time
CN118260294A (en) Manufacturing pain signal summarizing method, system, medium and equipment based on AI

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