CN114168050A - Chart display method and device, readable medium and electronic equipment - Google Patents

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

Info

Publication number
CN114168050A
CN114168050A CN202111467611.3A CN202111467611A CN114168050A CN 114168050 A CN114168050 A CN 114168050A CN 202111467611 A CN202111467611 A CN 202111467611A CN 114168050 A CN114168050 A CN 114168050A
Authority
CN
China
Prior art keywords
index
data
target
chart
numerical value
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
CN202111467611.3A
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 Youzhuju Network Technology Co Ltd
Original Assignee
Beijing Youzhuju 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 Youzhuju Network Technology Co Ltd filed Critical Beijing Youzhuju Network Technology Co Ltd
Priority to CN202111467611.3A priority Critical patent/CN114168050A/en
Publication of CN114168050A publication Critical patent/CN114168050A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/20Drawing from basic elements, e.g. lines or circles
    • G06T11/206Drawing of charts or graphs

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure relates to a chart display method and device, a readable medium and an electronic device. The method comprises the following steps: acquiring initial chart data, wherein the initial chart data comprises index data under multiple dimensions, and the index data under each dimension comprises at least one group of index names and index values under the dimension; determining a preset number of value intervals so that the determined union set of the preset number of value intervals can cover the index values in the initial chart data; and screening target index data with index values in a target value range from the initial chart data, and displaying the target index data through a first chart display interface, wherein the target value range is one of the determined value ranges. Therefore, the index value span of the index data displayed on the first chart display interface is small, the displayed chart content is simpler, the problem that the graph is difficult to distinguish due to excessive graphs is avoided, and data analysis is facilitated.

Description

Chart display method and device, readable medium and electronic equipment
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method and an apparatus for displaying a chart, a readable medium, and an electronic device.
Background
With the continuous development and application of graph analysis technology, the graph analysis function of the data analysis website is gradually improved, and the analysis dimension is also gradually increased. At present, with the increase of data analysis dimensions, more and more graphs corresponding to the analysis dimensions in graphs displayed on a data analysis website are provided, and the situation that the graphs are difficult to distinguish is inevitably caused due to the increase of the graphs in the graphs, so that the data analysis is hindered.
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 chart display method, including:
acquiring initial chart data, wherein the initial chart data comprises index data under multiple dimensions, and the index data under each dimension comprises at least one group of index names and index values under the dimension;
determining a preset number of value intervals so that the determined union set of the preset number of value intervals can cover the index values in the initial chart data;
and screening target index data with index values in a target value range from the initial chart data, and displaying the target index data through a first chart display interface, wherein the target value range is one of the determined value ranges.
In a second aspect, the present disclosure provides a chart display apparatus, the apparatus comprising:
the system comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring initial chart data, the initial chart data comprises index data under multiple dimensions, and the index data under each dimension comprises at least one group of index names and index values under the dimension;
the first determining module is used for determining a preset number of value intervals so that the determined union of the preset number of value intervals can cover the index value in the initial chart data;
and the first display module is used for screening out target index data with index values in a target value interval from the initial chart data and displaying the target index data through a first chart display interface, wherein the target value area is one of the determined value intervals.
In a third aspect, the present disclosure provides a computer readable medium having stored thereon a computer program which, when executed by a processing apparatus, performs the steps of the method of the first aspect of the present disclosure.
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 the computer program in the storage means to implement the steps of the method of the first aspect of the present disclosure.
According to the technical scheme, initial chart data are obtained, the initial chart data comprise index data under multiple dimensions, the index data under each dimension comprise at least one group of index names and index values under the dimension, the preset number of numerical value intervals are determined based on the obtained initial chart data, the index values in the initial chart data can be covered by the determined union set of the preset number of numerical value intervals, target index data with the index values in the target numerical value intervals are screened out from the initial chart data, the target index data are displayed through a first chart display interface, and the target numerical value area is one of the determined numerical value intervals. Therefore, the index data in a certain numerical value interval can be independently screened from the initial chart data to be displayed, the index value span of the index data displayed on the first chart display interface is smaller, the displayed chart content is simpler compared with a mode of displaying all the initial chart data, the problem that the graph is difficult to distinguish due to too many graphs can be avoided even if the multi-dimensional chart is displayed, and data analysis is facilitated.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and features are not necessarily drawn to scale. In the drawings:
FIG. 1 is an exemplary schematic diagram of a graph in the prior art;
FIG. 2 is a flow chart diagram of a chart diagram presentation method provided in accordance with one embodiment of the present disclosure;
FIG. 3 is an exemplary diagram of a value range option control in a chart presentation method according to the present disclosure;
FIG. 4 is an exemplary illustration of a second chart presentation interface in a chart presentation method provided in accordance with the present disclosure;
FIG. 5 is a block diagram of a chart display apparatus provided in accordance with an embodiment of the present disclosure;
FIG. 6 shows a schematic structural diagram of an electronic device suitable for use in implementing embodiments 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 are shown in the 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 rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the 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. Moreover, 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 "include" and variations thereof as used herein are 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". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
As described in the background art, as the data analysis dimensions increase, more and more graphs corresponding to each analysis dimension are displayed on a graph displayed on a data analysis website, which causes difficulty in distinguishing the graphs and hinders data analysis. In the related art, in order to solve the problem, when there are too many graphs to be displayed in a graph, data corresponding to each analysis dimension is usually sorted according to a certain rule, and then only graphs corresponding to a plurality of analysis dimensions sorted in the front are displayed in the graph, and graphs corresponding to other analysis dimensions sorted in the back are hidden, and meanwhile, a user needs to manually operate the hidden analysis dimensions to display the graphs corresponding to the analysis dimensions. Because the analysis dimensions behind the sequence are not meaningless to the data analysis, the accuracy and comprehensiveness of the data analysis are affected by directly hiding the graphs of the analysis dimensions, and meanwhile, if the analysis is carried out by combining the graphs of the analysis dimensions behind the sequence, a user needs to carry out manual operation one by one to remove the hiding of the graphs, so that the workload of user operation is increased, and the analysis efficiency is not high.
In addition, for index data in the same dimension, the data span is large, and the displayed graph is not beneficial to data analysis. As shown in fig. 1, a graph formed based on index data in a certain dimension is shown, which includes a bar graph formed based on index data corresponding to an index t1, and also includes a line graph formed based on index data corresponding to an index t2, the data of which is in a numerical range of 0 to num4, in which the data span is large, as can be seen from fig. 1, for the index t2, the data after 3 days occupies only a small part of the large-span data range, the value of which has been difficult to judge, and, after 18 days, the column in the graph has been small, the change of which has been difficult to see, and, after 23 days, it has not been seen whether the index data still exists, and thus, it is difficult to determine whether the result is caused by the data value of the index data or caused by the index data no longer existing, which affects the analysis of the data.
In order to solve the technical problem, the present disclosure provides a chart display method, an apparatus, a readable medium and an electronic device, which avoid the problem of difficulty in distinguishing due to excessive graphs in the chart and are beneficial to data analysis.
Fig. 2 is a flowchart of a chart presentation method provided according to an embodiment of the present disclosure. As shown in fig. 2, the method provided by the present disclosure may include steps 21 to 23.
In step 21, initial chart data is acquired.
The initial chart data may include index data in a plurality of dimensions, and the index data in each dimension includes at least one set of index names and index values in the dimension. And, the index data in a dimension may draw a graph corresponding to the dimension, where the graph may be, for example, a line graph, a bar graph, or the like.
Illustratively, the dimensions involved in the initial chart data may be a single dimension, e.g., any of a city, a software identification, a system, a software release. For example, if the software identifier is used as a dimension, the plurality of dimensions may include a dimension of software identifier a1, a dimension of software identifier a2, and the like.
As another example, the dimensions involved in the initial chart data may be a combination of dimensions, such as a combination of any two or more of a city, a software identification, a system, and a software version. For example, if the combination of the software identifier and the city is used as a dimension, the plurality of dimensions may include a dimension determined by both the software identifier A3 and the city B1, a dimension determined by both the software identifier a4 and the city B3, and the like.
The index data in each dimension includes at least one set of index names and index values in that dimension. Taking the number of the newly added users of the software X every day as an example, the index data in the dimension of the software X comprises D1~DkThe number of newly added users per day of the day, then D1~DkAre respectively index names, D1The number of newly added users on the day is D1And (4) corresponding index values.
In step 22, a preset number of value intervals is determined so that the union of the determined preset number of value intervals can cover the index value in the initial chart data.
According to the index values contained in the initial chart data, the numerical span of the index values in the initial chart data can be determined, so that the preset number of numerical intervals which belong to different orders (such as thousands, tens of thousands, millions and the like) can be determined, and the union of the determined numerical intervals can cover the index values in the initial chart data.
The preset number can be preset according to actual requirements. For example, if the preset number is 5, and the index value included in the initial chart data is within the numerical range of [0, num ], where num is a positive number, then [0, num ] may be divided into 5 sub-ranges according to actual requirements. For example, if num is ten million levels of data and is divided according to the magnitude of the data, 0, num can be divided into 0, num5, num5, num6, num6, num7, num7, num8, num8, num, wherein num5 is ten million levels of data (e.g., 1 ten thousand), num6 is million levels of data (e.g., 100 ten thousand), num7, and num8 are ten million levels of data.
In step 23, target index data with an index value in a target value interval is screened from the initial chart data, and the target index data is displayed through a first chart display interface.
Wherein, the target numerical value region is one of the determined numerical value intervals. The target index data displayed through the first chart display interface can be displayed in the forms of a line graph, a bar graph and the like.
In one possible embodiment, the target value interval may be predefined, i.e., a value interval is defined from the value intervals determined in step 22 as a default target value interval. For example, it may be predefined that the largest one (or the smallest one, etc.) of the determined preset number of value intervals is taken as the target value interval.
In another possible embodiment, after step 22, the method provided by the present disclosure may further include the steps of:
and displaying the numerical value interval option controls in a preset number through a first chart display interface.
And the numerical value interval option controls correspond to the numerical value intervals one by one. That is to say, after the numerical value intervals are determined in step 22, a preset number of numerical value interval option controls may be displayed on the first chart display interface, so that on one hand, the user is informed of which numerical value intervals are specifically divided through the numerical value interval option controls, and on the other hand, a function of autonomously selecting the numerical value intervals is provided for the user. As examples of the numerical value ranges of [0, num5 ], [ num5, num6 ], [ num6, num7 ], [ num7, num8 ], [ num8, num ] determined above, the numerical value range option controls corresponding to the numerical value ranges may be presented in the first chart presentation interface, and for example, the numerical value range option controls may be shown as shown in the dashed box in fig. 3.
In this embodiment, the target value interval may be determined by:
and responding to the selection operation aiming at the target numerical value interval option control, and determining the numerical value interval corresponding to the target numerical value interval option control as the target numerical value interval.
The target numerical value interval option control is one of numerical value interval option controls with preset quantity.
That is, if a selection operation for the value interval option control is identified, the value interval option control to which the selection operation is directed is taken as a target value interval option control, and a value interval corresponding to the target value interval option control is taken as a target value interval.
The selection operation for the value interval option control may be an interactive operation of the value interval option control by a user. Illustratively, the selection operation may be a single mouse click, a double mouse click, a mouse hover, or the like.
It should be noted that this embodiment may be applied to the chart display in the initial case, and may also be applied to the process of displaying data through the first chart display interface. If the method is applied to the process of data display through the first chart display interface, the method corresponds to a scene of user switching selection of the numerical value interval option control, namely, a user adjusts the target numerical value interval in real time according to actual requirements, and target index data are adjusted in real time accordingly.
Based on this, the user can adjust the content displayed in the first chart display interface autonomously, and check the index data of the numerical value interval expected to be checked in a key manner, so that the chart display content is more targeted and more concise, and the data analysis is facilitated.
Further, the target value interval may also be determined by:
and under the condition that the selection operation aiming at the numerical value interval option control is not recognized, determining one of the determined numerical value intervals with preset number as a target numerical value interval.
That is, in the case that the value interval option control is provided, if the user does not have any selection operation, one of the determined value intervals is selected as the target value interval, so as to realize the chart display. For example, the manner of selecting the target value interval from the value intervals may be predefined, for example, the largest one (or the smallest one, etc.) of the determined preset number of value intervals may be predefined as the target value interval.
In addition, the mode provided by the present disclosure may further include the steps of:
screening first index data of which the index values do not reach the target numerical value interval from the initial chart data;
and displaying the first index data through a first chart display interface.
That is, the target index data in the target value interval is displayed, and the index data of which the index value does not reach the target value interval is displayed, so that only the upper limit of the chart display is limited, and the comprehensiveness of the data displayed by the chart can be improved. For example, if the value sections [0, num5 ], [ num5, num6 ], [ num6, num7), [ num7, num8), [ num8, num ] are determined, and the user performs a selection operation on the value section option control corresponding to the value section [ num6, num7), not only the index data having an index value within the value section [ num6, num7) but also the index data having an index value within the two value sections [0, num5 ], [ num5, num6), that is, the index data having an index value within [0, num7) is displayed.
According to the technical scheme, initial chart data are obtained, the initial chart data comprise index data under multiple dimensions, the index data under each dimension comprise at least one group of index names and index values under the dimension, the preset number of numerical value intervals are determined based on the obtained initial chart data, the index values in the initial chart data can be covered by the determined union set of the preset number of numerical value intervals, target index data with the index values in the target numerical value intervals are screened out from the initial chart data, the target index data are displayed through a first chart display interface, and the target numerical value area is one of the determined numerical value intervals. Therefore, the index data in a certain numerical value interval can be independently screened from the initial chart data to be displayed, the index value span of the index data displayed on the first chart display interface is smaller, the displayed chart content is simpler compared with a mode of displaying all the initial chart data, the problem that the graph is difficult to distinguish due to too many graphs can be avoided even if the multi-dimensional chart is displayed, and data analysis is facilitated.
In one possible embodiment, the method provided by the present disclosure may further include the steps of:
and responding to the selection operation aiming at the target dimension in the multiple dimensions, screening out second index data under the target dimension from the initial chart data, and displaying the second index data through a second chart display interface.
Index data of multiple dimensions are displayed in the first chart display interface, and a user can select a graph of any dimension to call out a second chart display interface corresponding to the dimension. For example, if the first graph display interface displays 1 to M polylines (M is a positive integer greater than 1) respectively corresponding to the polylines of M dimensions, then, if the user selects the mth polyline, the user may enter the second graph display interface of the dimension corresponding to the mth polyline to display the index data in the dimension.
Wherein the second index data includes a plurality of index names, which will be referred to as target index names hereinafter. The dimension of the chart data in the second chart display interface may be two-dimensional, the index name of the second index data may be distributed on a first coordinate axis in the first direction, and the index value of the second index data may be distributed on a coordinate axis in the second direction. Illustratively, the index names of the second index data are distributed on the horizontal axis of the rectangular coordinate system, and the index values of the second index data are distributed on the vertical axis of the rectangular coordinate system.
Correspondingly, displaying the second index data through the second chart display interface may include the following steps:
dividing a plurality of target index names to obtain at least one index name group;
for each index name group, determining the numerical range of the coordinate axis of the index name group corresponding to the second direction according to the magnitude of the index name group to determine the second coordinate axis corresponding to the index name group;
and respectively displaying the index values corresponding to the target index names contained in the index name groups according to the second coordinate axis corresponding to each index name group.
And the index values corresponding to the target index names contained in each index name group are in the same order of magnitude. Wherein the orders of magnitude can be divided in advance according to actual requirements, for example, taking [0,10000) as one order of magnitude, taking [0,1000) as the next order of magnitude, and taking [0,100) as the next order of magnitude. In this way, the plurality of index names in the second index data may be divided into at least one index name group based on the order of magnitude of the pre-division in combination with the plurality of target index names in the second index data and the index values thereof. That is, the index name packet includes N consecutive target index names in the same order of magnitude, where N is a positive integer.
And then, determining a second coordinate axis of the corresponding magnitude based on the index values in each index name group, and displaying the index data based on the second coordinate axis. For example, the second chart presentation interface may be as shown in fig. 4, in which the index names from the next day to 10 days are divided into the same index name group with the second coordinate axis value range of [0, num9 ], the index names from 10 days to 20 days are divided into the same index name group with the second coordinate axis value range of [0, num10 ], and the index names from 20 days to 30 days are divided into the same index name group with the second coordinate axis value range of [0, num 11).
Through the scheme, the chart is displayed in a multi-longitudinal-axis mode under the condition of large magnitude difference, so that the trend of data change can be displayed more accurately, and data analysis is facilitated.
FIG. 5 is a block diagram of a chart display apparatus provided in accordance with one embodiment of the present disclosure. As shown in fig. 5, the apparatus 50 may include:
an obtaining module 51, configured to obtain initial chart data, where the initial chart data includes index data in multiple dimensions, and the index data in each dimension includes at least one set of index name and index value in the dimension;
a first determining module 52, configured to determine a preset number of value intervals, so that a union of the determined preset number of value intervals can cover an index value in the initial chart data;
the first display module 53 is configured to screen target index data with an index value in a target value range from the initial chart data, and display the target index data through a first chart display interface, where the target value range is one of the determined value ranges.
Optionally, the apparatus 50 further comprises:
a second display module, configured to display a preset number of numerical value interval option controls through the first chart display interface after the first determination module 52 determines a preset number of numerical value intervals, where the numerical value interval option controls are in one-to-one correspondence with the numerical value intervals;
and the target value interval is determined by the following modules:
and a second determining module, configured to determine, in response to a selection operation for a target numerical interval option control, a numerical interval corresponding to the target numerical interval option control as the target numerical interval, where the target numerical interval option control is one of the preset number of numerical interval option controls.
Optionally, the target value interval is further determined by:
and a third determining module, configured to determine, as the target numerical value interval, one of the determined preset number of numerical value intervals when a selection operation for the numerical value interval option control is not identified.
Optionally, the apparatus 50 further comprises:
the screening module is used for screening first index data of which the index values do not reach the target numerical value interval from the initial chart data;
and the third display module is used for displaying the first index data through the first chart display interface.
Optionally, the apparatus 50 further comprises:
and the fourth display module is used for responding to the selection operation aiming at the target dimension in the multiple dimensions, screening out second index data under the target dimension from the initial chart data, and displaying the second index data through a second chart display interface.
Optionally, the second index data includes a plurality of target index names, a dimension of the chart data in the second chart display interface is two-dimensional, the index names of the second index data are distributed on a first coordinate axis in a first direction, and the index values of the second index data are distributed on a coordinate axis in a second direction;
the fourth display module, comprising:
the division submodule is used for dividing the target index names to obtain at least one index name group, wherein index values corresponding to the target index names contained in each index name group are in the same order of magnitude;
the determining submodule is used for determining the numerical range of the coordinate axis of the index name grouping corresponding to the second direction according to the magnitude of the index name grouping so as to determine a second coordinate axis corresponding to the index name grouping;
and the display sub-module is used for respectively displaying the index values corresponding to the target index names contained in the index name groups according to the second coordinate axis corresponding to each index name group.
Optionally, the index name group includes N consecutive target index names in the same order of magnitude, where N is a positive integer.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Referring now to FIG. 6, a block diagram of an electronic device 600 suitable for use in implementing embodiments of the present disclosure is shown. The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 6 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 6, electronic device 600 may include a processing means (e.g., central processing unit, graphics processor, etc.) 601 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)602 or a program loaded from a storage means 608 into a Random Access Memory (RAM) 603. In the RAM 603, various programs and data necessary for the operation of the electronic apparatus 600 are also stored. The processing device 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
Generally, the following devices may be connected to the I/O interface 605: input devices 606 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 607 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 608 including, for example, tape, hard disk, etc.; and a communication device 609. The communication means 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. While fig. 6 illustrates an electronic device 600 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 alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 609, or may be installed from the storage means 608, or may be installed from the ROM 602. The computer program, when executed by the processing device 601, performs the above-described functions defined in the methods of the embodiments of the present disclosure.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples 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 present 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 contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. 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, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some implementations, the clients may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications 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 network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled 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: acquiring initial chart data, wherein the initial chart data comprises index data under multiple dimensions, and the index data under each dimension comprises at least one group of index names and index values under the dimension; determining a preset number of value intervals so that the determined union set of the preset number of value intervals can cover the index values in the initial chart data; and screening target index data with index values in a target value range from the initial chart data, and displaying the target index data through a first chart display interface, wherein the target value range is one of the determined value ranges.
Computer program code for carrying out operations for the present disclosure may be written in any combination of 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 type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart 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 by software or hardware. The name of a module does not in some cases constitute a limitation of the module itself, and for example, the acquiring module may also be described as a "module that acquires initial chart data".
The functions described herein above 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: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), 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. A 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, there is provided a chart presentation method including:
acquiring initial chart data, wherein the initial chart data comprises index data under multiple dimensions, and the index data under each dimension comprises at least one group of index names and index values under the dimension;
determining a preset number of value intervals so that the determined union set of the preset number of value intervals can cover the index values in the initial chart data;
and screening target index data with index values in a target value range from the initial chart data, and displaying the target index data through a first chart display interface, wherein the target value range is one of the determined value ranges.
According to one or more embodiments of the present disclosure, there is provided a chart displaying method, after the step of determining a preset number of value intervals, the method further including:
displaying a preset number of numerical value interval option controls through the first chart display interface, wherein the numerical value interval option controls correspond to the numerical value intervals one by one;
and, the target value interval is determined by:
and responding to the selection operation aiming at a target numerical value interval option control, and determining a numerical value interval corresponding to the target numerical value interval option control as the target numerical value interval, wherein the target numerical value interval option control is one of the preset number of numerical value interval option controls.
According to one or more embodiments of the present disclosure, there is provided a chart presentation method, wherein the target value interval is further determined by:
and under the condition that the selection operation aiming at the numerical value interval option control is not recognized, determining one of the determined numerical value intervals of the preset number as the target numerical value interval.
According to one or more embodiments of the present disclosure, there is provided a chart presentation method, the method further including:
screening first index data of which the index values do not reach the target numerical value interval from the initial chart data;
and displaying the first index data through the first chart display interface.
According to one or more embodiments of the present disclosure, there is provided a chart presentation method, the method further including:
and responding to the selected operation aiming at the target dimension in the multiple dimensions, screening out second index data under the target dimension from the initial chart data, and displaying the second index data through a second chart display interface.
According to one or more embodiments of the present disclosure, a chart display method is provided, where the second index data includes a plurality of target index names, a dimension of the chart data in the second chart display interface is two-dimensional, the index names of the second index data are distributed on a first coordinate axis in a first direction, and the index values of the second index data are distributed on a coordinate axis in a second direction;
the displaying the second index data through a second chart display interface includes:
dividing the target index names to obtain at least one index name group, wherein index values corresponding to the target index names in each index name group are in the same order of magnitude;
for each index name group, determining the numerical range of the coordinate axis of the index name group corresponding to the second direction according to the magnitude of the index name group to determine a second coordinate axis corresponding to the index name group;
and respectively displaying the index values corresponding to the target index names contained in the index name groups according to the second coordinate axis corresponding to each index name group.
According to one or more embodiments of the present disclosure, a chart showing method is provided, where the index name group includes N consecutive target index names in the same order of magnitude, where N is a positive integer.
According to one or more embodiments of the present disclosure, there is provided a chart presentation apparatus including:
the system comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring initial chart data, the initial chart data comprises index data under multiple dimensions, and the index data under each dimension comprises at least one group of index names and index values under the dimension;
the first determining module is used for determining a preset number of value intervals so that the determined union of the preset number of value intervals can cover the index value in the initial chart data;
and the first display module is used for screening out target index data with index values in a target value interval from the initial chart data and displaying the target index data through a first chart display interface, wherein the target value area is one of the determined value intervals.
According to one or more embodiments of the present disclosure, a computer-readable medium is provided, on which a computer program is stored, which when executed by a processing device, implements the steps of the chart presentation method according to any embodiment of the present disclosure.
According to one or more embodiments of the present disclosure, there is provided an electronic device including:
a storage device having a computer program stored thereon;
and the processing device is used for executing the computer program in the storage device so as to realize the steps of the chart display method in any embodiment of the disclosure.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Further, while 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. Under 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 limitations on the scope of the 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 disclosed as example forms of implementing the claims. With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.

Claims (10)

1. A method of chart presentation, the method comprising:
acquiring initial chart data, wherein the initial chart data comprises index data under multiple dimensions, and the index data under each dimension comprises at least one group of index names and index values under the dimension;
determining a preset number of value intervals so that the determined union set of the preset number of value intervals can cover the index values in the initial chart data;
and screening target index data with index values in a target value range from the initial chart data, and displaying the target index data through a first chart display interface, wherein the target value range is one of the determined value ranges.
2. The method according to claim 1, characterized in that after the step of determining a preset number of value intervals, the method further comprises:
displaying a preset number of numerical value interval option controls through the first chart display interface, wherein the numerical value interval option controls correspond to the numerical value intervals one by one;
and, the target value interval is determined by:
and responding to the selection operation aiming at a target numerical value interval option control, and determining a numerical value interval corresponding to the target numerical value interval option control as the target numerical value interval, wherein the target numerical value interval option control is one of the preset number of numerical value interval option controls.
3. The method of claim 2, wherein the target value interval is further determined by:
and under the condition that the selection operation aiming at the numerical value interval option control is not recognized, determining one of the determined numerical value intervals of the preset number as the target numerical value interval.
4. The method of claim 1, further comprising:
screening first index data of which the index values do not reach the target numerical value interval from the initial chart data;
and displaying the first index data through the first chart display interface.
5. The method of claim 1, further comprising:
and responding to the selected operation aiming at the target dimension in the multiple dimensions, screening out second index data under the target dimension from the initial chart data, and displaying the second index data through a second chart display interface.
6. The method according to claim 5, wherein the second index data includes a plurality of target index names, and the dimension of the chart data in the second chart representation interface is two-dimensional, and the index names of the second index data are distributed on a first coordinate axis in a first direction, and the index values of the second index data are distributed on a coordinate axis in a second direction;
the displaying the second index data through a second chart display interface includes:
dividing the target index names to obtain at least one index name group, wherein index values corresponding to the target index names in each index name group are in the same order of magnitude;
for each index name group, determining the numerical range of the coordinate axis of the index name group corresponding to the second direction according to the magnitude of the index name group to determine a second coordinate axis corresponding to the index name group;
and respectively displaying the index values corresponding to the target index names contained in the index name groups according to the second coordinate axis corresponding to each index name group.
7. The method of claim 6, wherein the index name packet comprises N consecutive target index names that are on the same order of magnitude, where N is a positive integer.
8. A chart display apparatus, said apparatus comprising:
the system comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring initial chart data, the initial chart data comprises index data under multiple dimensions, and the index data under each dimension comprises at least one group of index names and index values under the dimension;
the first determining module is used for determining a preset number of value intervals so that the determined union of the preset number of value intervals can cover the index value in the initial chart data;
and the first display module is used for screening out target index data with index values in a target value interval from the initial chart data and displaying the target index data through a first chart display interface, wherein the target value area is one of the determined value intervals.
9. A computer-readable medium, on which a computer program is stored, characterized in that the program, when being executed by processing means, carries out the steps of the method of any one of claims 1 to 7.
10. An electronic device, comprising:
a storage device having a computer program stored thereon;
processing means for executing the computer program in the storage means to carry out the steps of the method according to any one of claims 1 to 7.
CN202111467611.3A 2021-12-03 2021-12-03 Chart display method and device, readable medium and electronic equipment Pending CN114168050A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111467611.3A CN114168050A (en) 2021-12-03 2021-12-03 Chart display method and device, readable medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111467611.3A CN114168050A (en) 2021-12-03 2021-12-03 Chart display method and device, readable medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN114168050A true CN114168050A (en) 2022-03-11

Family

ID=80482865

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111467611.3A Pending CN114168050A (en) 2021-12-03 2021-12-03 Chart display method and device, readable medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN114168050A (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106776769A (en) * 2016-11-23 2017-05-31 天脉聚源(北京)科技有限公司 A kind of method and device of dynamic generation chart
CN108874899A (en) * 2018-05-23 2018-11-23 网易乐得科技有限公司 Data processing method and device, medium and calculating equipment
CN109033043A (en) * 2018-06-13 2018-12-18 深圳市买买提信息科技有限公司 A kind of management through figures method, apparatus and terminal
CN109359141A (en) * 2018-08-07 2019-02-19 阿里巴巴集团控股有限公司 A kind of Visual Report Forms method for exhibiting data and device
CN109710663A (en) * 2018-12-29 2019-05-03 北京神舟航天软件技术有限公司 A kind of data statistics chart generation method
CN111488089A (en) * 2020-04-07 2020-08-04 携程旅游网络技术(上海)有限公司 Man-machine interaction method and device, storage medium and electronic equipment
CN111742308A (en) * 2018-02-22 2020-10-02 北京嘀嘀无限科技发展有限公司 System and method for data storage and query
CN112817515A (en) * 2021-01-29 2021-05-18 北京达佳互联信息技术有限公司 Data display method and device, electronic equipment and storage medium
CN112860961A (en) * 2021-01-29 2021-05-28 支付宝(杭州)信息技术有限公司 Visual data processing method and device and electronic equipment
CN113138890A (en) * 2020-01-17 2021-07-20 腾讯科技(深圳)有限公司 Index chart display method and device, computer storage medium and computer equipment
CN113239673A (en) * 2021-05-28 2021-08-10 北京有竹居网络技术有限公司 Chart switching method and device, storage medium and electronic equipment
CN113254735A (en) * 2021-04-09 2021-08-13 深圳市怡化时代科技有限公司 Chart visualization method and device, storage medium and computer equipment

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106776769A (en) * 2016-11-23 2017-05-31 天脉聚源(北京)科技有限公司 A kind of method and device of dynamic generation chart
CN111742308A (en) * 2018-02-22 2020-10-02 北京嘀嘀无限科技发展有限公司 System and method for data storage and query
CN108874899A (en) * 2018-05-23 2018-11-23 网易乐得科技有限公司 Data processing method and device, medium and calculating equipment
CN109033043A (en) * 2018-06-13 2018-12-18 深圳市买买提信息科技有限公司 A kind of management through figures method, apparatus and terminal
CN109359141A (en) * 2018-08-07 2019-02-19 阿里巴巴集团控股有限公司 A kind of Visual Report Forms method for exhibiting data and device
CN109710663A (en) * 2018-12-29 2019-05-03 北京神舟航天软件技术有限公司 A kind of data statistics chart generation method
CN113138890A (en) * 2020-01-17 2021-07-20 腾讯科技(深圳)有限公司 Index chart display method and device, computer storage medium and computer equipment
CN111488089A (en) * 2020-04-07 2020-08-04 携程旅游网络技术(上海)有限公司 Man-machine interaction method and device, storage medium and electronic equipment
CN112817515A (en) * 2021-01-29 2021-05-18 北京达佳互联信息技术有限公司 Data display method and device, electronic equipment and storage medium
CN112860961A (en) * 2021-01-29 2021-05-28 支付宝(杭州)信息技术有限公司 Visual data processing method and device and electronic equipment
CN113254735A (en) * 2021-04-09 2021-08-13 深圳市怡化时代科技有限公司 Chart visualization method and device, storage medium and computer equipment
CN113239673A (en) * 2021-05-28 2021-08-10 北京有竹居网络技术有限公司 Chart switching method and device, storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
CN109976620B (en) Method, device, equipment and storage medium for determining list item display attribute information
CN113191726B (en) Task detail interface display method, device, equipment and computer readable medium
CN111190520A (en) Menu item selection method and device, readable medium and electronic equipment
CN111163324B (en) Information processing method and device and electronic equipment
CN110263276B (en) Message distribution method, device, equipment and storage medium
CN111459364B (en) Icon updating method and device and electronic equipment
CN111596991A (en) Interactive operation execution method and device and electronic equipment
CN111461967B (en) Picture processing method, device, equipment and computer readable medium
CN110879729B (en) Channel configuration method and device for live broadcast room, readable medium and electronic equipment
CN114021016A (en) Data recommendation method, device, equipment and storage medium
CN113239673A (en) Chart switching method and device, storage medium and electronic equipment
CN112256221A (en) Information display method and device and electronic equipment
CN114327732B (en) Page configuration method, page configuration device, electronic equipment and computer readable medium
CN112256172B (en) Application display method, device, terminal and storage medium
CN114168050A (en) Chart display method and device, readable medium and electronic equipment
CN112669816B (en) Model training method, voice recognition method, device, medium and equipment
CN114138149A (en) Data screening method and device, readable medium and electronic equipment
CN114185463A (en) Form processing method and device, electronic equipment and storage medium
CN110457106B (en) Information display method, device, equipment and storage medium
CN114428925A (en) Page rendering method and device, electronic equipment and computer readable medium
CN113961280A (en) View display method and device, electronic equipment and computer-readable storage medium
CN115796637B (en) Information processing method, device, equipment and medium based on angle steel tower material
CN111859879B (en) Data display method and device based on virtual form and electronic equipment
CN111783390B (en) Dimension label adjusting method and device and electronic equipment
CN115065655B (en) Information processing method, device, terminal 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