CN113157782A - Display method of data analysis graph, electronic device and readable storage medium - Google Patents

Display method of data analysis graph, electronic device and readable storage medium Download PDF

Info

Publication number
CN113157782A
CN113157782A CN202110409905.4A CN202110409905A CN113157782A CN 113157782 A CN113157782 A CN 113157782A CN 202110409905 A CN202110409905 A CN 202110409905A CN 113157782 A CN113157782 A CN 113157782A
Authority
CN
China
Prior art keywords
data analysis
graph
data
target data
primitive
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.)
Granted
Application number
CN202110409905.4A
Other languages
Chinese (zh)
Other versions
CN113157782B (en
Inventor
陈晓红
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Vocational and Technical College
Original Assignee
Hangzhou Vocational and Technical College
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 Hangzhou Vocational and Technical College filed Critical Hangzhou Vocational and Technical College
Priority to CN202110409905.4A priority Critical patent/CN113157782B/en
Publication of CN113157782A publication Critical patent/CN113157782A/en
Application granted granted Critical
Publication of CN113157782B publication Critical patent/CN113157782B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/248Presentation of query results
    • 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)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • User Interface Of Digital Computer (AREA)
  • Digital Computer Display Output (AREA)

Abstract

The invention discloses a display method of a data analysis chart, electronic equipment and a readable storage medium, wherein the method comprises the following steps: obtaining a target data list, obtaining a display area list of target data according to the target data list, comparing any target data presentation graph in the display area list with a preset data display area threshold value, comparing the number of first primitives and second primitives, and adjusting the distribution condition of the primitives in the target data analysis graph; according to the invention, the display area of the corresponding data graph can be obtained according to different percentages of the data, the data and the display area are in one-to-one correspondence, and the display rule of the data graph is adjusted according to the proportion of the display area corresponding to any data in the whole display area, so that the presented data graph is beautiful and uniformly distributed, and the user can observe and analyze the whole data conveniently.

Description

Display method of data analysis graph, electronic device and readable storage medium
Technical Field
The present invention relates to the field of data visualization technologies, and in particular, to a method for displaying a data analysis graph, an electronic device, and a readable storage medium.
Background
As science and technology enter the value Data era, Data is required to be recorded in all places, and the Data (Data) is a physical symbol which bears or records information and is arranged and combined according to a certain rule. Data are typically the result of experiments, measurements, observations, investigations, etc., and may be presented in numerical form.
The large amount of data is represented by a large number of statistical methods, such as a line graph, a bar graph, a solid graph, a pie graph, a radar graph, and the like, but the above representation methods, especially the pie graph, may cause uneven distribution of data presented in the pie graph due to large differences between data, affect the observation and analysis of the whole data by a user, and also affect the aesthetic property of the data presented in the pie graph.
Disclosure of Invention
In order to solve the problems in the prior art, a target data list is obtained, a display area list of target data is obtained according to the target data list, any target data presentation graph in the display area list is compared with a preset data display area threshold value, the number of first primitives in the first primitive list and the number of second primitives in the second primitive list are generated and compared, and the distribution of display areas is adjusted; according to the invention, the display area of the corresponding data graph can be obtained according to different percentages of the data, the data and the display area are in one-to-one correspondence, and the display rule of the data graph is adjusted according to the proportion of the display area corresponding to any data in the whole display area, so that the presented data graph is beautiful and uniformly distributed, and the user can observe and analyze the whole data conveniently; the embodiment of the invention provides a display method of a data analysis chart, electronic equipment and a readable storage medium. The technical scheme is as follows:
in one aspect, a method for displaying a data analysis graph includes the steps of:
acquiring a ratio list A = (A1, A2, A3, … …, Am) corresponding to the target data, wherein Ai refers to a percentage value of the ith target data;
according to the A, obtaining a data analysis chart list S = (S1, S2, S3, … …, Sm) corresponding to the target data, wherein Si meets the following conditions:
Figure DEST_PATH_IMAGE001
wherein R refers to the radius of the target data analysis chart;
according to Si and a preset analysis chart area threshold value
Figure DEST_PATH_IMAGE002
By contrast, a first primitive list B = (B1, B2, B3, … …, Bp) and a second primitive list are generated
Figure 183590DEST_PATH_IMAGE003
=(
Figure DEST_PATH_IMAGE004
1,
Figure 631889DEST_PATH_IMAGE004
2,
Figure 920614DEST_PATH_IMAGE004
3,……,
Figure 581402DEST_PATH_IMAGE004
q), where Bx refers to the x-th first primitive, x =1 … … p, p is the first primitive number,
Figure 926933DEST_PATH_IMAGE004
y is the y second primitive, y =1 … … q, q is the number of the second primitives, and p + q = m;
when p = q, any one of Bx and Bx +1 is present between adjacent Bx and Bx +1
Figure 14974DEST_PATH_IMAGE004
y, obtaining the target data analysis graph;
when p > q, any one is present between By and By +1
Figure 547587DEST_PATH_IMAGE004
y, and presenting Bz +1 and Bz adjacently to obtain the target data analysis graph, wherein y =1 … … q; z = y +1 … … p;
when p < q, then
Figure 12066DEST_PATH_IMAGE004
Is divided into p third graph element groups, wherein any third graph element group is (
Figure 946524DEST_PATH_IMAGE004
y,
Figure 956200DEST_PATH_IMAGE004
y+1,
Figure 976108DEST_PATH_IMAGE004
y+2,……,
Figure 978699DEST_PATH_IMAGE004
y + r), r satisfies the following condition:
Figure DEST_PATH_IMAGE005
and displaying any third graph element group between the adjacent Bx and Bx +1 to obtain the target data analysis graph.
In another aspect, an electronic device includes a processor and a memory, where at least one instruction or at least one program is stored in the memory, and the at least one instruction or the at least one program is loaded and executed by the processor to implement the method for displaying the data analysis graph according to any one of the above embodiments.
In another aspect, a computer-readable storage medium stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded and executed by a processor to implement the method for displaying the data analysis graph according to any one of the above embodiments.
The display method of the data analysis chart, the electronic device and the readable storage medium provided by the invention have the following technical effects:
the method comprises the steps of obtaining a target data list, obtaining a primitive list of target data according to the target data list, comparing any target data presentation graph in the display area list with a preset data display area threshold value, generating and comparing a first primitive p of the first primitive list and a second primitive number q of the second primitive list, presenting any second primitive between Bx and Bx +1 in the adjacent first primitive list when p = q, and presenting any second primitive between By and By +1 in the adjacent first primitive list when p > qPresenting any of the
Figure 33243DEST_PATH_IMAGE004
y, presenting Bz in B adjacent to Bz +1 in B, dividing the second primitive list into p third primitive groups when p is less than q, and presenting any third primitive group between adjacent Bx and Bx + 1; the display area of the corresponding data graph can be obtained according to different percentages of the data, the data and the display area are in one-to-one correspondence, the display rule of the data graph is adjusted according to the proportion of the display area corresponding to any data to the whole display area, the displayed data graph is attractive and uniform in distribution, and the user can observe and analyze the whole data conveniently.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart illustrating a method for displaying a data analysis diagram according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, are within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or server that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example one
As shown in fig. 1, the present embodiment provides a method for displaying a data analysis chart, including the steps of:
s101, obtaining a ratio list A = (A1, A2, A3, … …, Am) corresponding to the target data, wherein Ai refers to a percentage value of the ith target data, i =1 … … m, and m is the number of the target data.
Specifically, the method further comprises determining, as a method:
acquiring a target data list C = (C1, C2, C3, … …, Cm), wherein Ci refers to the ith target data;
ai satisfies the following condition:
Figure DEST_PATH_IMAGE006
specifically, a1+ a2+ A3+ … … + Am = 1.
S103, obtaining a primitive list S = (S1, S2, S3, … …, Sm) of the data analysis graph corresponding to the target data according to A, wherein Si meets the following conditions:
Figure 994246DEST_PATH_IMAGE001
wherein R refers to a radius of the target data analysis graph, and preferably, the target data analysis graph is a pie graph or other circular analysis graph.
Further, Si reflects an image of any one of the Ai distribution rules.
S105, area threshold is set according to Si and preset analysis chart
Figure 501451DEST_PATH_IMAGE002
By contrast, a first primitive list B = (B1, B2, B3, … …, Bp) and a second primitive list are generated
Figure 291421DEST_PATH_IMAGE004
=(
Figure 200471DEST_PATH_IMAGE004
1,
Figure 801217DEST_PATH_IMAGE004
2,
Figure 795718DEST_PATH_IMAGE004
3,……,
Figure 140111DEST_PATH_IMAGE004
q), where Bx refers to the x-th first primitive, x =1 … … p, p is the first primitive number,
Figure 903668DEST_PATH_IMAGE004
y refers to the y second primitive, y =1 … … q, q is the number of second primitives, and p + q = m.
Specifically, the method further comprises the following steps of obtaining B and
Figure 940894DEST_PATH_IMAGE004
initialization B = Null and
Figure 157112DEST_PATH_IMAGE004
= Null, and traverse S;
if Si >
Figure 55929DEST_PATH_IMAGE002
Inserting the graphic primitive corresponding to the Si into the B;
if Si is less than or equal to
Figure 673992DEST_PATH_IMAGE002
Then correspond Si toIs inserted into
Figure 882119DEST_PATH_IMAGE004
Specifically, the first primitive refers to a primitive that can be marked in a rendering area corresponding to the primitive, for example, characters, numerical values, or characters are marked in the rendering area corresponding to the primitive. The skilled person can mark the rendering area corresponding to the primitive according to any existing method. Preferably, B1 > = B2 > = B3 > = … … > = Bp.
Specifically, the second primitive refers to a drawing that cannot be marked in the rendering area corresponding to the primitive, for example, characters, numerical values, or characters cannot be completely marked in the rendering area corresponding to the primitive.
Preferably, the first and second electrodes are formed of a metal,
Figure 585633DEST_PATH_IMAGE004
1=<
Figure 271829DEST_PATH_IMAGE004
2=<
Figure 9978DEST_PATH_IMAGE004
3=<……=<
Figure 389007DEST_PATH_IMAGE004
q。
further, in the target display area, because the sizes of the target data analysis graphs are different, the size of the first primitive which can be observed by a user is different, so that the first primitive and the second primitive corresponding to the target data analysis graphs with different sizes need to be divided, and the first primitive and the second primitive can be divided
Figure 579817DEST_PATH_IMAGE002
Is further defined, i.e.
Figure 318972DEST_PATH_IMAGE002
The following conditions are met:
Figure DEST_PATH_IMAGE007
wherein W is a width of the target display area, where the target display area is an area for displaying a target data analysis diagram in a display device, for example, a displayable area of a display corresponding to a computer or a displayable area of a display corresponding to another terminal; therefore, compared with the conventional setting of an area threshold, the area threshold of the analysis graph needed is determined by adopting the proportion of the target data analysis graph to the target display area, the first primitive and the second primitive corresponding to the target data analysis graph can be accurately divided according to the area of the target data analysis graph, and the phenomenon that the first primitive is wrongly divided into the second primitive list in the target data analysis graph with a larger size or the second primitive is wrongly divided into the first primitive list in the target data analysis graph with a smaller size, so that the presentation effect of the target data analysis graph is influenced is avoided.
S107, when p = q, any one is presented between Bx and Bx +1
Figure DEST_PATH_IMAGE008
y, obtaining the target data analysis graph;
preferably between Bx and Bx +1 according to
Figure 177206DEST_PATH_IMAGE004
In turn present
Figure 727136DEST_PATH_IMAGE004
y, e.g. presented between B1 and B2
Figure 405242DEST_PATH_IMAGE008
1, presented between B2 and B3
Figure 698820DEST_PATH_IMAGE008
And 2, repeating the steps until a target data analysis graph is obtained and presented in the target display area.
When p > q, any one is present between By and By +1
Figure 145982DEST_PATH_IMAGE008
y, and presenting Bz +1 and Bz adjacently to obtain the target data analysis graph, wherein y =1 … … q; z = y +1 … … p;
preferably between By and By +1
Figure 351967DEST_PATH_IMAGE008
In turn present
Figure 517369DEST_PATH_IMAGE008
y, e.g. presented between B1 and B2
Figure 349059DEST_PATH_IMAGE008
1, presented between B2 and B3
Figure 916306DEST_PATH_IMAGE008
2, and so on, while
Figure 542460DEST_PATH_IMAGE008
And after all the primitives are presented, the remaining first primitives are presented adjacently until a target data analysis graph is obtained and presented in the target display area.
When p < q, then
Figure 195158DEST_PATH_IMAGE004
Is divided into p third graph element groups, wherein any third graph element group is (
Figure 830539DEST_PATH_IMAGE004
y,
Figure 986713DEST_PATH_IMAGE004
y+1,
Figure 298615DEST_PATH_IMAGE004
y+2,……,
Figure 173030DEST_PATH_IMAGE004
y + r), r satisfies the following condition:
Figure DEST_PATH_IMAGE009
and displaying any third graph element group between the adjacent Bx and Bx +1 to obtain the target data analysis graph.
Further, for the same target data analysis graph, the number of the first primitive and the number of the second primitive are different, in order to improve the presentation effect of the target data analysis graph, adjusting the distribution of the first primitive and the second primitive in the same target data analysis graph according to the relation between the quantity of the first primitive and the quantity of the second primitive, when the quantity of the first primitive and the quantity of the second primitive are the same, the first primitive and the second primitive are uniformly distributed, namely, the second graphic elements are inserted between the adjacent first graphic elements, the presentation effect of the target data analysis graph is improved, meanwhile, as the first graphic element lists are arranged in a positive sequence with the area from large to small, the second primitive list is arranged in a reverse order from small to large in area, and smaller second primitives can be inserted between larger first primitives, so that the presentation effect of the target data analysis graph is further improved, a user can visually compare data conveniently, and the user can analyze the data conveniently; when the number of the first primitives is larger than that of the second primitives, the first primitives are uniformly distributed in adjacent first primitives according to the second primitives, and the remaining first primitives are presented adjacently, so that the presentation effect of the target data analysis graph can be improved; when the number of the first primitives is smaller than that of the second primitives, the second primitives are uniformly divided into a plurality of groups, and the groups are uniformly inserted between the adjacent first primitives, so that the presentation effect of the target data analysis graph is improved, the phenomenon that excessive primitives with smaller areas are presented adjacently is avoided, a user cannot visually observe the data presentation trend, and the analysis of the data by the user is influenced.
According to the first embodiment, the display area of the corresponding data graph can be obtained according to different percentages of data, the data and the display area are in one-to-one correspondence, the display rule of the data graph is adjusted according to the proportion of the display area corresponding to any data to the whole display area, the displayed data graph is attractive and uniform in distribution, and a user can observe and analyze the whole data conveniently.
Example two
The area of the second embodiment and the first embodiment is that,
Figure 877681DEST_PATH_IMAGE002
the following conditions are met:
Figure DEST_PATH_IMAGE010
and K is a parameter value of the analysis graph area threshold and the value range of K accords with the following:
when R/W is not less than
Figure DEST_PATH_IMAGE011
K ranges from 0.05 to 0.1, and preferably K is 0.1;
when R/W <
Figure 950679DEST_PATH_IMAGE011
K ranges from 0.1 to 0.2, and preferably K is 0.2;
wherein ,
Figure 934947DEST_PATH_IMAGE011
refers to the threshold value of the parameter, preferably,
Figure 296658DEST_PATH_IMAGE011
is 0.25.
According to the method, the proportion of the target data analysis graph to the target display area is limited, so that on one hand, the accuracy of dividing the first graphic element and the second graphic element corresponding to the target data analysis graph can be further improved; on the other hand, the situation that the distribution of the target data analysis graph is influenced in the second primitive list due to the fact that the number of the divided first primitives is far larger than the number of the divided second primitives because the target data analysis graph occupies a larger target display area is avoided.
Specifically, other steps in the second embodiment are the same as those in the first embodiment, and are not described herein again.
The second embodiment also can achieve the same technical effect as the first embodiment, the display area of the corresponding data graph can be obtained according to different percentages of the data, the data and the display area are in one-to-one correspondence, the display rule of the data graph is adjusted according to the proportion of the display area corresponding to any data to the whole display area, the displayed data graph is attractive and uniform in distribution, and the user can observe and analyze the whole data conveniently.
EXAMPLE III
The third embodiment and the first embodiment are that any one of the third graph element groups is represented between Bx and Bx +1 to obtain the target data analysis graph, and the method further includes:
any one of the third graph group
Figure 273841DEST_PATH_IMAGE008
y is adjusted according to the radius R
Figure DEST_PATH_IMAGE012
Said
Figure 670187DEST_PATH_IMAGE012
The following conditions are met:
Figure DEST_PATH_IMAGE013
further, K is a parameter value of the analysis graph area threshold, and the value range of K is as follows:
when R/W is not less than
Figure 340203DEST_PATH_IMAGE011
K ranges from 0.05 to 0.1, and preferably K is 0.1;
when R/W <
Figure 189210DEST_PATH_IMAGE011
K ranges from 0.1 to 0.2, and preferably K is 0.2;
wherein ,
Figure 959632DEST_PATH_IMAGE011
refers to the threshold value of the parameter, preferably,
Figure 210485DEST_PATH_IMAGE011
is 0.25.
According to the method, the radius corresponding to the second graphic primitive is adjusted, so that the second graphic primitive can be completely presented when a plurality of second graphic primitives are presented simultaneously, and a user can conveniently analyze data; on the other hand, the forms presented by the target data analysis graph are diversified, the requirements of different users are met, and the application range is wide.
The third embodiment also can achieve the same technical effect as the first embodiment, the display area of the corresponding data graph can be obtained according to different percentages of the data, the data and the display area are in one-to-one correspondence, the display rule of the data graph is adjusted according to the proportion of the display area corresponding to any data to the whole display area, the displayed data graph is attractive and uniform in distribution, and the user can observe and analyze the whole data conveniently.
The embodiment of the present invention further provides an electronic device, which includes a processor and a memory, where at least one instruction or at least one program is stored in the memory, and the at least one instruction or the at least one program is loaded and executed by the processor to implement the display method of the data analysis graph as described above.
The computer device of embodiments of the present invention exists in a variety of forms, including but not limited to:
(1) a mobile communication device: such devices are characterized by mobile communications capabilities and are primarily targeted at providing voice, data communications. Such terminals include: smart phones (e.g., tpphone), multimedia phones, functional phones, and low-end phones, etc.
(2) Ultra mobile personal computer device: the equipment belongs to the category of personal computers, has calculation and processing functions and generally has the characteristic of mobile internet access. Such terminals include: PDA, MtD, and UMPC devices, etc., such as tPad.
(3) A portable entertainment device: such devices can display and play multimedia content. This type of device comprises: audio, video players (e.g., tPod), handheld game players, electronic books, and smart toys and portable car navigation devices.
(4) A server: the device for providing the computing service comprises a processor, a hard disk, a memory, a system bus and the like, and the server is similar to a general computer architecture, but has higher requirements on processing capacity, stability, reliability, safety, expandability, manageability and the like because of the need of providing highly reliable service.
(5) And other electronic devices with data interaction functions.
The embodiment of the present invention further provides a computer-readable storage medium, where the storage medium may be disposed in an electronic device to store at least one instruction or at least one program for implementing a virus detection method in the method embodiment, and the at least one instruction or the at least one program is loaded and executed by the processor to implement the method for displaying a data analysis graph provided in the method embodiment.
Alternatively, in this embodiment, the storage medium may be located in at least one network server of a plurality of network servers of a computer network. Optionally, in this embodiment, the storage medium may include, but is not limited to: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (10)

1. A method for displaying a data analysis graph, the method comprising the steps of:
acquiring a ratio list A = (A1, A2, A3, … …, Am) corresponding to the target data, wherein Ai refers to a percentage value of the ith target data;
according to the A, obtaining a data analysis chart list S = (S1, S2, S3, … …, Sm) corresponding to the target data, wherein Si meets the following conditions
Figure 751602DEST_PATH_IMAGE001
Wherein R refers to the radius of the target data analysis chart;
according to Si and a preset analysis chart area threshold value
Figure 696424DEST_PATH_IMAGE002
By contrast, a first primitive list B = (B1, B2, B3, … …, Bp) and a second primitive list are generated
Figure 48908DEST_PATH_IMAGE003
=(
Figure 538926DEST_PATH_IMAGE004
1,
Figure 976861DEST_PATH_IMAGE004
2,
Figure 725374DEST_PATH_IMAGE004
3,……,
Figure 932364DEST_PATH_IMAGE004
q), where Bx refers to the x-th first primitive, x =1 … … p, p is the first primitive number,
Figure 45814DEST_PATH_IMAGE004
y is the y second primitive, y =1 … … q, q is the number of the second primitives, and p + q = m;
when p = q, any one of Bx and Bx +1 is present between adjacent Bx and Bx +1
Figure 288488DEST_PATH_IMAGE004
y, obtaining the target numberAccording to the analysis chart;
when p > q, any one is present between By and By +1
Figure 512796DEST_PATH_IMAGE004
y, and presenting Bz +1 and Bz adjacently to obtain the target data analysis graph, wherein y =1 … … q; z = y +1 … … p;
when p < q, then
Figure 902189DEST_PATH_IMAGE004
Is divided into p third graph element groups, wherein any third graph element group is (
Figure 186540DEST_PATH_IMAGE004
y,
Figure 333488DEST_PATH_IMAGE004
y+1,
Figure 174536DEST_PATH_IMAGE004
y+2,……,
Figure 356119DEST_PATH_IMAGE004
y + r), r satisfies the following condition:
Figure 873688DEST_PATH_IMAGE005
and displaying any third graph element group between the adjacent Bx and Bx +1 to obtain the target data analysis graph.
2. The method for displaying a data analysis chart according to claim 1, wherein a1+ a2+ A3+ … … + Am = 1.
3. The method of displaying a data analysis graph according to claim 2, wherein the method further comprises determining, as a method, Ai:
acquiring a target data list C = (C1, C2, C3, … …, Cm), wherein Ci refers to the ith target data;
ai satisfies the following condition:
Figure 773511DEST_PATH_IMAGE006
4. the method for displaying a data analysis graph according to claim 1, further comprising generating B and B
Figure 651206DEST_PATH_IMAGE004
Initialization B = Null and
Figure 687295DEST_PATH_IMAGE004
= Null, and traverse S;
if Si >
Figure 313448DEST_PATH_IMAGE002
Inserting the graphic primitive corresponding to the Si into the B;
if Si is less than or equal to
Figure 497305DEST_PATH_IMAGE002
Inserting the graphic element corresponding to Si into
Figure 867106DEST_PATH_IMAGE004
5. The method for displaying a data analysis chart according to claim 4,
Figure 836330DEST_PATH_IMAGE002
the following conditions are met:
Figure 633385DEST_PATH_IMAGE007
where W refers to the width of the target display area.
6. The method according to claim 4, wherein the target display area is an area for displaying the target data analysis chart on a display device.
7. The method as claimed in claim 1 or 4, wherein B1 > = B2 > = B3 > = … … > = Bp.
8. The method for displaying data analysis chart according to claim 1 or 4, wherein B1= <
Figure 242221DEST_PATH_IMAGE004
2=<
Figure 212451DEST_PATH_IMAGE004
3=<……=<
Figure 223132DEST_PATH_IMAGE004
q。
9. An electronic device, comprising a processor and a memory, wherein at least one instruction or at least one program is stored in the memory, and the at least one instruction or the at least one program is loaded by the processor and executed to implement the method for displaying a data analysis graph according to any one of claims 1 to 8.
10. A computer readable storage medium having stored therein at least one instruction or at least one program, the at least one instruction or the at least one program being loaded and executed by a processor to implement the method of displaying a data analysis graph according to any one of claims 1 to 8.
CN202110409905.4A 2021-04-16 2021-04-16 Display method of data analysis chart, electronic equipment and readable storage medium Active CN113157782B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110409905.4A CN113157782B (en) 2021-04-16 2021-04-16 Display method of data analysis chart, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110409905.4A CN113157782B (en) 2021-04-16 2021-04-16 Display method of data analysis chart, electronic equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN113157782A true CN113157782A (en) 2021-07-23
CN113157782B CN113157782B (en) 2023-05-16

Family

ID=76868113

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110409905.4A Active CN113157782B (en) 2021-04-16 2021-04-16 Display method of data analysis chart, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN113157782B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030218611A1 (en) * 2002-05-21 2003-11-27 Microsoft Corporation System and method for interactive grouping of pie chart slices
JP2006268564A (en) * 2005-03-24 2006-10-05 Ines Corp Data display device
US20120194520A1 (en) * 2011-01-31 2012-08-02 Ascom Network Testing Inc. Presentation modes for radio network measurements
US20140362085A1 (en) * 2013-06-06 2014-12-11 International Business Machines Corporation Effective arrangement of data elements
CN106846434A (en) * 2017-01-19 2017-06-13 沃民高新科技(北京)股份有限公司 The method and apparatus for showing operation signal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030218611A1 (en) * 2002-05-21 2003-11-27 Microsoft Corporation System and method for interactive grouping of pie chart slices
JP2006268564A (en) * 2005-03-24 2006-10-05 Ines Corp Data display device
US20120194520A1 (en) * 2011-01-31 2012-08-02 Ascom Network Testing Inc. Presentation modes for radio network measurements
US20140362085A1 (en) * 2013-06-06 2014-12-11 International Business Machines Corporation Effective arrangement of data elements
CN106846434A (en) * 2017-01-19 2017-06-13 沃民高新科技(北京)股份有限公司 The method and apparatus for showing operation signal

Also Published As

Publication number Publication date
CN113157782B (en) 2023-05-16

Similar Documents

Publication Publication Date Title
US9852510B2 (en) Method and apparatus for dividing image area
CN107678819A (en) A kind of information processing method and device, terminal and readable storage medium storing program for executing
CN106874435A (en) User portrait construction method and device
JP5467174B1 (en) Information processing apparatus and game program
CN106294105A (en) Brush amount tool detection method and apparatus
JP2017196039A (en) Game program and recording medium
CN110012001B (en) Resource allocation method and device
CN107872685A (en) A kind of player method of multi-medium data, device and computer installation
CN108053247A (en) A kind of false amount identification model generation method, false amount recognition methods and computing device
CN112365367A (en) Regional portrait method and device based on device electric quantity and storage medium
CN113157782B (en) Display method of data analysis chart, electronic equipment and readable storage medium
CN114534258A (en) Game guide information display method, device, equipment and medium
CN108399266A (en) Data pick-up method, apparatus, electronic equipment and computer readable storage medium
CN112767028A (en) Method for predicting number of active users, computer device and storage medium
CN113038242B (en) Method, device and equipment for determining display position of live broadcast card and storage medium
CN113098974B (en) Method for determining population number, server and storage medium
CN111488491B (en) Method, system, medium and equipment for identifying target anchor
CN110721471B (en) Virtual application object output method and device and computer storage medium
CN112190939A (en) Method, device, equipment and medium for controlling component display in game scene
CN109376298B (en) Data processing method and device, terminal equipment and computer storage medium
CN106844504A (en) A kind of method and apparatus for sending the single mark of song
CN111078345B (en) Picture display effect determining method and device, electronic equipment and storage medium
JP2020031935A (en) Information processing method, information processing apparatus, and program
CN113509728B (en) Card display control method, device, equipment and storage medium
CN113805931B (en) Method for determining APP label, electronic equipment and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant