CN109408566A - A kind of intelligence chart recommended method and device - Google Patents
A kind of intelligence chart recommended method and device Download PDFInfo
- Publication number
- CN109408566A CN109408566A CN201811342721.5A CN201811342721A CN109408566A CN 109408566 A CN109408566 A CN 109408566A CN 201811342721 A CN201811342721 A CN 201811342721A CN 109408566 A CN109408566 A CN 109408566A
- Authority
- CN
- China
- Prior art keywords
- goal
- chart
- target dimension
- griven metric
- data model
- 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
Links
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
The present embodiments relate to technical field of data processing, in particular to a kind of intelligent chart recommended method and device.This method is applied to an electronic equipment, the electronic equipment is connect with server communication, this method comprises: the data model call request of response user's input, obtain the data model in the server, respond the selection instruction of user's input, to in the data model target dimension and goal-griven metric choose, judge whether to choose the target dimension and the goal-griven metric, if choosing the target dimension and the goal-griven metric, corresponding chart is generated according to the quantity for the target dimension chosen and the quantity of goal-griven metric and is shown.It so, it is possible to guarantee the profound information that the chart generated embodies target dimension and goal-griven metric, operation is simple, improves the efficiency of chart generation.
Description
Technical field
The present embodiments relate to technical field of data processing, in particular to a kind of intelligent chart recommended method and
Device.
Background technique
With the development of big data, in order to preferably excavate the profound information contained in big data, it is often necessary to utilize
Data under multiple dimensions generate corresponding chart to be analyzed, but the existing most efficiency of chart generation method is lower.
Summary of the invention
In view of this, can be improved the effect of chart generation the present invention provides a kind of intelligent chart recommended method and device
Rate.
The embodiment of the invention provides a kind of intelligent chart recommended methods, are applied to an electronic equipment, the electronic equipment
It is connect with server communication, which comprises
The data model call request for responding user's input, obtains the data model in the server;
The selection instruction for responding user input, in the data model target dimension and goal-griven metric select
It takes, judges whether to choose the target dimension and the goal-griven metric, if choosing the target dimension and the goal-griven metric, root
Corresponding chart is generated according to the quantity for the target dimension chosen and the quantity of goal-griven metric and is shown.
Optionally, the data model includes multiple dimensions and multiple measurements, obtains the data mould in the server
The step of type, comprising:
The multiple dimensions and multiple measurements for including in the data model are obtained, by the multiple dimension and the multiple degree
Amount is shown.
Optionally, the electronic equipment is provided with display screen, and the electronic equipment is with the display area of the display screen
Coordinate system is established as origin in one of vertex;To in the data model target dimension and goal-griven metric choose,
Judge whether the step of choosing the target dimension and the goal-griven metric, comprising:
First original coordinates of the target dimension in the coordinate system are obtained, according to selection instruction to described the
One original coordinates are modified, and the first coordinate is obtained;
Judge whether first coordinate is located in the first setting regions, if first coordinate is located at first setting
In region, the target dimension is chosen in judgement;
Second original coordinates of the goal-griven metric in the coordinate system are obtained, according to selection instruction to described the
Two original coordinates are modified, and the second coordinate is obtained;
Judge whether second coordinate is located in the second setting regions, if second coordinate is located at second setting
In region, the goal-griven metric is chosen in judgement.
Optionally, the electronic equipment is provided with display screen;According to the quantity for the target dimension chosen and goal-griven metric
The step of quantity generates corresponding chart and shows, comprising:
If the quantity of the target dimension and the quantity of the goal-griven metric are one, histogram is generated and described aobvious
It is shown in the display area of display screen;
If the quantity of the target dimension is that the quantity of the multiple and described goal-griven metric is one, table is generated and described
It is shown in display area;
If the quantity of the target dimension be one and the quantity of the goal-griven metric be it is multiple, generate column stack figure simultaneously
It is shown in the display area.
Optionally, the electronic equipment is provided with display screen;According to the quantity for the target dimension chosen and goal-griven metric
The step of quantity generates corresponding chart and shows, comprising:
If the quantity of the target dimension be zero and the quantity of the goal-griven metric be it is multiple, generate cake chart, circular chart,
Multiple goal-griven metrics simultaneously polymerize by radar map or crater blasting;
The cake chart of generation, circular chart, radar map or crater blasting are shown in the display area of the display screen.
The embodiment of the invention also provides a kind of intelligent chart recommendation apparatus, are applied to an electronic equipment, the electronics is set
Standby to connect with server communication, described device includes:
Data model obtains module, for responding the data model call request of user's input, obtains in the server
A data model;
Chart generates display module, for responding the selection instruction of user's input, to the mesh in the data model
Mark dimension and goal-griven metric are chosen, and judge whether to choose the target dimension and the goal-griven metric, if choosing the mesh
Dimension and the goal-griven metric are marked, corresponding chart is generated simultaneously according to the quantity for the target dimension chosen and the quantity of goal-griven metric
Display.
Optionally, the data model includes multiple dimensions and multiple measurements, and the data model obtains module and obtains institute
The data model in server is stated, is specifically included:
The multiple dimensions and multiple measurements for including in the data model are obtained, by the multiple dimension and the multiple degree
Amount is shown.
Optionally, the electronic equipment is provided with display screen, and the electronic equipment is with the display area of the display screen
Coordinate system is established as origin in one of vertex;The chart generates display module to the target dimension in the data model
It is chosen with goal-griven metric, judges whether to choose the target dimension and the goal-griven metric, specifically include:
First original coordinates of the target dimension in the coordinate system are obtained, according to selection instruction to described the
One original coordinates are modified, and the first coordinate is obtained;
Judge whether first coordinate is located in the first setting regions, if first coordinate is located at first setting
In region, the target dimension is chosen in judgement;
Second original coordinates of the goal-griven metric in the coordinate system are obtained, according to selection instruction to described the
Two original coordinates are modified, and the second coordinate is obtained;
Judge whether second coordinate is located in the second setting regions, if second coordinate is located at second setting
In region, the goal-griven metric is chosen in judgement.
Optionally, the electronic equipment is provided with display screen;The chart generates display module and is tieed up according to the target chosen
The quantity of degree and the quantity of goal-griven metric generate corresponding chart and show, comprising:
If the quantity of the target dimension and the quantity of the goal-griven metric are one, histogram is generated and described aobvious
It is shown in the display area of display screen;
If the quantity of the target dimension is that the quantity of the multiple and described goal-griven metric is one, table is generated and described
It is shown in display area;
If the quantity of the target dimension be one and the quantity of the goal-griven metric be it is multiple, generate column stack figure simultaneously
It is shown in the display area.
Optionally, the electronic equipment is provided with display screen;The chart generates display module and is tieed up according to the target chosen
The step of quantity of degree and the quantity of goal-griven metric generate corresponding chart and show, comprising:
If the quantity of the target dimension be zero and the quantity of the goal-griven metric be it is multiple, generate cake chart, circular chart,
Multiple goal-griven metrics simultaneously polymerize by radar map or crater blasting;
The cake chart of generation, circular chart, radar map or crater blasting are shown in the display area of the display screen.
The embodiment of the invention also provides a kind of electronic equipment, including memory, processor and storage are on a memory
And the computer program that can be run on a processor, the processor realize above-mentioned intelligent graphic when executing the computer program
Table recommended method.
The embodiment of the invention also provides a kind of computer readable storage medium, the readable storage medium storing program for executing includes computer
Program, the electronic equipment computer program controls the readable storage medium storing program for executing when running where execute above-mentioned intelligent chart and push away
Recommend method.
Beneficial effect
Intelligence chart recommended method provided in an embodiment of the present invention and device, can be according to the quantity for the target dimension chosen
Most suitable chart is generated with the quantity of goal-griven metric to be shown, does not need to manually generate chart, can guarantee the figure generated
Table embodies the profound information of target dimension and goal-griven metric, and operation is simple, improves the efficiency of chart generation.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached
Figure is briefly described, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as pair
The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this
A little attached drawings obtain other relevant attached drawings.
Fig. 1 is the block diagram of a kind of electronic equipment 10 provided by the embodiment of the present invention.
Fig. 2 is a kind of flow chart of intelligent chart recommended method provided by the embodiment of the present invention.
Fig. 3 is data model display schematic diagram provided by the embodiment of the present invention.
Fig. 4 is that chart provided by the embodiment of the present invention generates schematic diagram.
Fig. 5 is a kind of module frame chart of intelligent chart recommendation apparatus 20 provided by the embodiment of the present invention.
Icon:
10- electronic equipment;101- display screen;The display area 1011-;1012- non-display area;11- memory;At 12-
Manage device;13- network module;
20- intelligence chart recommendation apparatus;21- data model obtains module;22- chart generates display module;
30- server.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment only
It is a part of the embodiments of the present invention, instead of all the embodiments.The present invention being usually described and illustrated herein in the accompanying drawings
The component of embodiment can be arranged and be designed with a variety of different configurations.
Therefore, the detailed description of the embodiment of the present invention provided in the accompanying drawings is not intended to limit below claimed
The scope of the present invention, but be merely representative of selected embodiment of the invention.Based on the embodiments of the present invention, this field is common
Technical staff's every other embodiment obtained without creative efforts belongs to the model that the present invention protects
It encloses.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi
It is defined in a attached drawing, does not then need that it is further defined and explained in subsequent attached drawing.
Inventor further investigation reveals that, existing chart generation technique mostly uses greatly the office softwares such as excel to manually generate pair
The chart answered, but the chart generated in this way possibly can not reflect the relevant information of dimension data, for example, according to one
The chart that a little dimension datas generate possibly can not embody the profound information that these dimension datas should embody.Big data by
The gradually mature epoch, manually generate chart and repeatedly adjusted by way of can significantly improve human cost and relevant device
Operating cost, cause chart generate low efficiency.
Defect present in the above scheme in the prior art, is that inventor is obtaining after practicing and carefully studying
As a result, therefore, the solution that the discovery procedure of the above problem and the hereinafter embodiment of the present invention are proposed regarding to the issue above
Scheme all should be the contribution that inventor makes the present invention in process of the present invention.
Based on the studies above, the embodiment of the invention provides a kind of intelligent chart recommended method and devices, can be improved figure
The efficiency that table generates.
Fig. 1 shows the block diagram of a kind of electronic equipment 10 provided by the embodiment of the present invention.The embodiment of the present invention
In electronic equipment 10 can for data storage, transmission, processing function server-side, as shown in Figure 1, electronic equipment 10 wrap
It includes: memory 11, processor 12, network module 13 and intelligent chart recommendation apparatus 20.
It is directly or indirectly electrically connected between memory 11, processor 12 and network module 13, to realize the biography of data
Defeated or interaction.It is electrically connected for example, these elements can be realized from each other by one or more communication bus or signal wire.
Intelligent chart recommendation apparatus 20 is stored in memory 11, the intelligence chart recommendation apparatus 20 includes at least one can be with software
Or the form of firmware (firmware) is stored in the software function module in the memory 11, the processor 12 passes through operation
The intelligent chart recommendation apparatus 20 being stored in the software program and module, such as the embodiment of the present invention in memory 11, from
And perform various functions application and data processing, that is, realize the intelligent chart recommended method in the embodiment of the present invention.
Wherein, the memory 11 may be, but not limited to, random access memory (Random Access Memory,
RAM), read-only memory (Read Only Memory, ROM), programmable read only memory (Programmable Read-Only
Memory, PROM), erasable read-only memory (Erasable Programmable Read-Only Memory, EPROM),
Electricallyerasable ROM (EEROM) (Electric Erasable Programmable Read-Only Memory, EEPROM) etc..
Wherein, memory 11 is for storing program, and the processor 12 executes described program after receiving and executing instruction.
The processor 12 may be a kind of IC chip, the processing capacity with data.Above-mentioned processor 12
It can be general processor, including central processing unit (Central Processing Unit, CPU), network processing unit
(Network Processor, NP) etc..It may be implemented or execute each method, step disclosed in the embodiment of the present invention and patrol
Collect block diagram.General processor can be microprocessor or the processor is also possible to any conventional processor etc..
Network module 13 is used to establish the communication connection between electronic equipment 10 and other communication terminal devices by network,
Realize the transmitting-receiving operation of network signal and data.Above-mentioned network signal may include wireless signal or wire signal.
It is appreciated that structure shown in FIG. 1 is only to illustrate, electronic equipment 10 may also include it is more than shown in Fig. 1 or
Less component, or with the configuration different from shown in Fig. 1.Each component shown in Fig. 1 can using hardware, software or its
Combination is realized.
The embodiment of the present invention also provides a kind of computer readable storage medium, and the readable storage medium storing program for executing includes computer journey
Sequence.Electronic equipment 10 computer program controls the readable storage medium storing program for executing when running where executes following intelligent chart and pushes away
Recommend method.
Fig. 2 shows a kind of flow charts of intelligence chart recommended method provided by the embodiment of the present invention.The method has
Method and step defined in the process of pass is applied to electronic equipment 10, can be realized by the processor 12.It below will be to Fig. 2 institute
The detailed process shown is described in detail:
Step S21, the data model call request of response user's input, obtains the data model in server.
In the present embodiment, electronic equipment 10 can be a PC machine or other setting of can be realized that data output and input
It is standby.By taking PC machine as an example, which connect with a server communication, and multiple data models, each data are prestored in the server
It include multiple dimensions and multiple measurements in model.
Please refer to Fig. 3, electronic equipment 10 is provided with display screen 101, and display screen 101 includes display area 1011 and non-
Display area 1012, wherein unreality region 1012 is wrapped in the surrounding of display area 1011.User can pass through mouse or touch
The mode of display screen 101 realizes the input of data model call request.
Electronic equipment 10 responds the data model call request of user's input, obtains the data model in server 30,
For example, being stored with data model M in server 301、M2And M3.Electronic equipment 10 obtains data model M2, extract data model M2
In multiple dimension W1~WiWith multiple measurement D1~DiAnd shown in display area 1011, as shown in Figure 3.Wherein, i
With the positive integer that j is greater than 1.
Step S22, response user input selection instruction, in data model target dimension and goal-griven metric select
It takes, judges whether to choose target dimension and goal-griven metric.
In the present embodiment, choosing instruction can be realized by way of double-clicking or pulling, for example, can pass through mouse
The target dimension and goal-griven metric of required selection in display area 1011 are double-clicked, display area can also be touched by finger point
The target dimension and goal-griven metric of required selection in 1011 can also be tieed up the target of required selection by way of dragging
Degree and goal-griven metric are dragged to designated position.
Further, judge whether that target dimension and the method for goal-griven metric is chosen to judge using coordinate.
Fig. 4 is please referred to, using one of vertex of display area 1011 as origin O, with display area 1011
One showing edge establishes coordinate system as Y-direction as X-direction, another showing edge.After establishing coordinate system, it can calculate
The original coordinates of multiple dimensions and multiple measurements out, with dimension W1For, dimension W1In display area 1011 in the form of rectangle
Display is calculating dimension W1Original coordinates when, with dimension W1The coordinate of the central point of corresponding rectangle is as dimension W1Original
Beginning coordinate, for example, dimension W1The coordinate of the central point of corresponding rectangle is (x1, y1), then dimension W1Original coordinates be
(x1, y1)。
Please continue to refer to Fig. 4, the first setting regions A and the second setting regions B are additionally provided in display area 1011,
In, the first setting regions A measures institute for drop target for rectangle corresponding to drop target dimension, the second setting regions B
Corresponding rectangle.
For example, choosing instruction can be understood as " double-clicking dimension W1+ pull measurement D3".So dimension W1With measurement D3As
Target dimension and goal-griven metric, electronic equipment 10 can execute corresponding operation, and judge target after having responded selection instruction
Whether dimension and goal-griven metric are selected.
In another example electronic equipment 10 can be according to selection instruction modification dimension W1With measurement D3Original coordinates, in the present embodiment
In, by dimension W1Coordinate (x1, y1) the first original coordinates are defined as, D will be measured3Coordinate (x3, y3) to be defined as second original
Coordinate.Then modified first original coordinates are (mx1, my1), modified second original coordinates are (mx3, my3).Wherein,
(mx1, my1) it can be understood as the first coordinate, (mx3, my3) it can be understood as the second coordinate.
Further, judge (mx1, my1) the first setting regions A whether is fallen into, if falling into the first setting regions A, determine dimension
Spend W1It is selected.Similarly, judge (mx3, my3) the second setting regions B whether is fallen into, if falling into the second setting regions B, judgement degree
Measure D3It is selected.In the present embodiment, due to dimension W1The operation of execution is to double-click, so (mx1, my1) will necessarily be fallen into
The center of one setting regions A.To measurement D3The operation of execution is to pull, therefore, to (mx3, my3) judgement can relative complex one
Point: judgement (mx3, my3) (including boundary line) whether is fallen within the boundary line of the second setting regions B, for example, the second setting area
Domain B is strip, as long as (mx3, my3) fall on the side of strip or internal, decide that measurement D3It is selected.
Optionally, if having selected target dimension and goal-griven metric, step S23 is turned to, if target dimension and goal-griven metric are all
(such case is to when being present in execution drag operation) is not chosen, electronic equipment does not execute any operation.
Step S23 generates corresponding chart according to the quantity for the target dimension chosen and the quantity of goal-griven metric and shows.
It is appreciated that when electronic equipment is judged to have selected target dimension and goal-griven metric preset duration can be waited, so
Corresponding chart is generated according to the quantity for the target dimension chosen and the quantity of goal-griven metric afterwards and is shown.
The setting of preset duration is in order to wait the subsequent drag operation being likely to occur, for example, if user is the same as dragging
Multiple dimensions are dragged to the first setting regions A by mode, and the process of dragging needs the time, if being not provided with preset duration, when first
When a dimension is dragged to the first setting regions A, electronic equipment 10 can generate chart at once, but the chart is not user institute
Desired, therefore, in order to avoid this kind of situation, need that preset duration is arranged.
Optionally, whenever choosing a dimension or measurement, preset duration can be zeroed, it is assumed that preset duration 2s,
Choose W1When, electronic equipment 10 starts waiting, and waiting time has crossed 1.5s, and chooses D3, electronic equipment 10 will be preset at this time
Duration is zeroed, and when waiting time reaching 2s from 0s, electronic equipment 10 is according to the quantity and target of the target dimension chosen
The quantity of measurement generates corresponding chart and is shown in display area 1011.Wherein, the chart of generation sets area in third
It is shown in the C of domain.
For example, generating histogram and in display area if the quantity of target dimension and the quantity of goal-griven metric are one
It is shown in 1011, if it is one that the quantity of target dimension, which is multiple and goal-griven metric quantity, generates table and showing
It is shown in region 1011, if the quantity of institute's dimension is one and the quantity of goal-griven metric is multiple, generation column stacking figure
And it is shown in display area 1011.
In practical situations, it is also possible to there is the case where only choosing dimension or only choosing measurement, in another example, if target dimension
Quantity be zero and the quantity of goal-griven metric be it is multiple, cake chart, circular chart, radar map or funnel can be generated in electronic equipment 10
One of them in figure, and multiple goal-griven metrics are polymerize, by the cake chart of generation, circular chart, radar map or crater blasting
It is shown in display area 1011.
It is appreciated that according to the actual situation, the subtype of generation is different, the above specific example is only as explanation, not
It is the restriction to scheme.
By above-mentioned chart generation method, chart can be quickly and easily generated, and the process for generating chart can analyze dimension
The quantity of degree and the quantity of measurement, and then most suitable chart can be intelligently generated, so that dimension and measurement be contained
Profound information embody, without artificially carrying out adjustment repeatedly, in this way, improve chart generation efficiency.
On the basis of the above, described as shown in figure 5, the embodiment of the invention provides a kind of intelligent chart recommendation apparatus 20
Intelligent chart recommendation apparatus 20 includes: that data model obtains module 21 and chart generation display module 22.
Data model obtains module 21, for responding the data model call request of user's input, obtains the server
In a data model.
Since data model acquisition module 21 is similar with the realization principle of step S21 in Fig. 2, do not say more herein
It is bright.
Chart generates display module 22, for responding the selection instruction of user's input, in the data model
Target dimension and goal-griven metric are chosen, and judge whether to choose the target dimension and the goal-griven metric, if choosing described
Target dimension and the goal-griven metric generate corresponding chart according to the quantity for the target dimension chosen and the quantity of goal-griven metric
And it shows.
Since chart generation display module 22 and step S22 in Fig. 2 are similar with the realization principle of step S23, herein
Do not illustrate more.
To sum up, intelligence chart recommended method and device provided by the embodiment of the present invention can be improved the effect of chart generation
Rate.
In several embodiments provided by the embodiment of the present invention, it should be understood that disclosed device and method, it can also
To realize by another way.Device and method embodiment described above is only schematical, for example, in attached drawing
Flow chart and block diagram show that the devices of multiple embodiments according to the present invention, method and computer program product are able to achieve
Architecture, function and operation.In this regard, each box in flowchart or block diagram can represent module, a program
A part of section or code, a part of the module, section or code include that one or more is patrolled for realizing defined
Collect the executable instruction of function.It should also be noted that in some implementations as replacement, function marked in the box
It can occur in a different order than that indicated in the drawings.For example, two continuous boxes can actually be held substantially in parallel
Row, they can also be executed in the opposite order sometimes, and this depends on the function involved.It is also noted that block diagram and/or
The combination of each box in flow chart and the box in block diagram and or flow chart, can the function as defined in executing or dynamic
The dedicated hardware based system made is realized, or can be realized using a combination of dedicated hardware and computer instructions.
In addition, each functional module in each embodiment of the present invention can integrate one independent portion of formation together
Point, it is also possible to modules individualism, an independent part can also be integrated to form with two or more modules.
It, can be with if the function is realized and when sold or used as an independent product in the form of software function module
It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words
The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a
People's computer, electronic equipment 10 or the network equipment etc.) execute all or part of step of each embodiment the method for the present invention
Suddenly.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), deposits at random
The various media that can store program code such as access to memory (RAM, Random Access Memory), magnetic or disk.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to the packet of nonexcludability
Contain, so that the process, method, article or equipment for including a series of elements not only includes those elements, but also including
Other elements that are not explicitly listed, or further include for elements inherent to such a process, method, article, or device.
In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including the element
Process, method, article or equipment in there is also other identical elements.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field
For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, made any to repair
Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.
Claims (10)
1. a kind of intelligence chart recommended method, which is characterized in that be applied to an electronic equipment, the electronic equipment and server are logical
Letter connection, which comprises
The data model call request for responding user's input, obtains the data model in the server;
The selection instruction for responding user input, in the data model target dimension and goal-griven metric choose,
Judge whether to choose the target dimension and the goal-griven metric, if choosing the target dimension and the goal-griven metric, according to
The quantity for the target dimension chosen and the quantity of goal-griven metric generate corresponding chart and show.
2. intelligence chart recommended method according to claim 1, which is characterized in that the data model includes multiple dimensions
With multiple measurements, the step of obtaining the data model in the server, comprising:
Obtain the multiple dimensions and multiple measurements for including in the data model, by the multiple dimension and it is the multiple measure into
Row display.
3. intelligence chart recommended method according to claim 2, which is characterized in that the electronic equipment is provided with display
Screen, coordinate system is established as origin in one of vertex of the electronic equipment using the display area of the display screen;To described
Target dimension and goal-griven metric in data model are chosen, and judge whether to choose the target dimension and the goal-griven metric
The step of, comprising:
First original coordinates of the target dimension in the coordinate system are obtained, it is former to described first according to selection instruction
Beginning coordinate is modified, and the first coordinate is obtained;
Judge whether first coordinate is located in the first setting regions, if first coordinate is located at first setting regions
Interior, the target dimension is chosen in judgement;
Second original coordinates of the goal-griven metric in the coordinate system are obtained, it is former to described second according to selection instruction
Beginning coordinate is modified, and the second coordinate is obtained;
Judge whether second coordinate is located in the second setting regions, if second coordinate is located at second setting regions
Interior, the goal-griven metric is chosen in judgement.
4. intelligence chart recommended method according to claim 1, which is characterized in that the electronic equipment is provided with display
Screen;The step of generating corresponding chart according to the quantity for the target dimension chosen and the quantity of goal-griven metric and show, comprising:
If the quantity of the target dimension and the quantity of the goal-griven metric are one, histogram is generated and in the display screen
Display area in shown;
If the quantity of the target dimension is that the quantity of the multiple and described goal-griven metric is one, table is generated and in the display
It is shown in region;
If the quantity of the target dimension be one and the quantity of the goal-griven metric be it is multiple, generate column stack figure and in institute
It states in display area and is shown.
5. intelligence chart recommended method according to claim 1, which is characterized in that the electronic equipment is provided with display
Screen;The step of generating corresponding chart according to the quantity for the target dimension chosen and the quantity of goal-griven metric and show, comprising:
If the quantity of the target dimension is zero and the quantity of the goal-griven metric is multiple, generation cake chart, circular chart, radar
Multiple goal-griven metrics simultaneously polymerize by figure or crater blasting;
The cake chart of generation, circular chart, radar map or crater blasting are shown in the display area of the display screen.
6. a kind of intelligence chart recommendation apparatus, which is characterized in that be applied to an electronic equipment, the electronic equipment and server are logical
Letter connection, described device include:
Data model obtains module, for responding the data model call request of user's input, obtains one in the server
Data model;
Chart generates display module, for responding the selection instruction of user's input, ties up to the target in the data model
Degree and goal-griven metric are chosen, and judge whether to choose the target dimension and the goal-griven metric, if the target is chosen to tie up
Degree and the goal-griven metric generate corresponding chart according to the quantity for the target dimension chosen and the quantity of goal-griven metric and show
Show.
7. intelligence chart recommendation apparatus according to claim 6, which is characterized in that the data model includes multiple dimensions
With multiple measurements, the data model obtains module and obtains the data model in the server, specifically includes:
Obtain the multiple dimensions and multiple measurements for including in the data model, by the multiple dimension and it is the multiple measure into
Row display.
8. intelligence chart recommendation apparatus according to claim 7, which is characterized in that the electronic equipment is provided with display
Screen, coordinate system is established as origin in one of vertex of the electronic equipment using the display area of the display screen;The figure
Table generate display module in the data model target dimension and goal-griven metric choose, judge whether to choose the mesh
Dimension and the goal-griven metric are marked, is specifically included:
First original coordinates of the target dimension in the coordinate system are obtained, it is former to described first according to selection instruction
Beginning coordinate is modified, and the first coordinate is obtained;
Judge whether first coordinate is located in the first setting regions, if first coordinate is located at first setting regions
Interior, the target dimension is chosen in judgement;
Second original coordinates of the goal-griven metric in the coordinate system are obtained, it is former to described second according to selection instruction
Beginning coordinate is modified, and the second coordinate is obtained;
Judge whether second coordinate is located in the second setting regions, if second coordinate is located at second setting regions
Interior, the goal-griven metric is chosen in judgement.
9. intelligence chart recommendation apparatus according to claim 6, which is characterized in that the electronic equipment is provided with display
Screen;The chart generates display module and generates corresponding chart according to the quantity for the target dimension chosen and the quantity of goal-griven metric
And it shows, comprising:
If the quantity of the target dimension and the quantity of the goal-griven metric are one, histogram is generated and in the display screen
Display area in shown;
If the quantity of the target dimension is that the quantity of the multiple and described goal-griven metric is one, table is generated and in the display
It is shown in region;
If the quantity of the target dimension be one and the quantity of the goal-griven metric be it is multiple, generate column stack figure and in institute
It states in display area and is shown.
10. intelligence chart recommendation apparatus according to claim 6, which is characterized in that the electronic equipment is provided with display
Screen;The chart generates display module and generates corresponding chart according to the quantity for the target dimension chosen and the quantity of goal-griven metric
And the step of showing, comprising:
If the quantity of the target dimension is zero and the quantity of the goal-griven metric is multiple, generation cake chart, circular chart, radar
Multiple goal-griven metrics simultaneously polymerize by figure or crater blasting;
The cake chart of generation, circular chart, radar map or crater blasting are shown in the display area of the display screen.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201811342721.5A CN109408566A (en) | 2018-11-12 | 2018-11-12 | A kind of intelligence chart recommended method and device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201811342721.5A CN109408566A (en) | 2018-11-12 | 2018-11-12 | A kind of intelligence chart recommended method and device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN109408566A true CN109408566A (en) | 2019-03-01 |
Family
ID=65473036
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201811342721.5A Pending CN109408566A (en) | 2018-11-12 | 2018-11-12 | A kind of intelligence chart recommended method and device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN109408566A (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112347161A (en) * | 2020-11-18 | 2021-02-09 | 未来电视有限公司 | Data analysis processing method, device, equipment and storage medium |
| CN112434198A (en) * | 2020-11-24 | 2021-03-02 | 深圳市明源云科技有限公司 | Chart component recommendation method and device |
| CN112819918A (en) * | 2021-01-29 | 2021-05-18 | 北京易莱信科技有限公司 | Intelligent generation method and device of visual chart |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103778249A (en) * | 2014-02-18 | 2014-05-07 | 华为技术有限公司 | Report customization method and mobile terminal |
| CN104978670A (en) * | 2015-06-05 | 2015-10-14 | 百度在线网络技术(北京)有限公司 | Method and apparatus for presenting data information of a plurality of indicators |
| CN106407164A (en) * | 2016-09-29 | 2017-02-15 | 杭州迪普科技有限公司 | Data display method and device |
| CN106598988A (en) * | 2015-10-16 | 2017-04-26 | 阿里巴巴集团控股有限公司 | Data processing method and device |
| CN107679066A (en) * | 2017-08-04 | 2018-02-09 | 平安科技(深圳)有限公司 | Project information methods of exhibiting, electronic installation and computer-readable recording medium |
| CN108415914A (en) * | 2017-02-10 | 2018-08-17 | 阿里巴巴集团控股有限公司 | The method, apparatus and equipment of Query Information in a kind of visualized objects |
-
2018
- 2018-11-12 CN CN201811342721.5A patent/CN109408566A/en active Pending
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103778249A (en) * | 2014-02-18 | 2014-05-07 | 华为技术有限公司 | Report customization method and mobile terminal |
| CN104978670A (en) * | 2015-06-05 | 2015-10-14 | 百度在线网络技术(北京)有限公司 | Method and apparatus for presenting data information of a plurality of indicators |
| CN106598988A (en) * | 2015-10-16 | 2017-04-26 | 阿里巴巴集团控股有限公司 | Data processing method and device |
| CN106407164A (en) * | 2016-09-29 | 2017-02-15 | 杭州迪普科技有限公司 | Data display method and device |
| CN108415914A (en) * | 2017-02-10 | 2018-08-17 | 阿里巴巴集团控股有限公司 | The method, apparatus and equipment of Query Information in a kind of visualized objects |
| CN107679066A (en) * | 2017-08-04 | 2018-02-09 | 平安科技(深圳)有限公司 | Project information methods of exhibiting, electronic installation and computer-readable recording medium |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112347161A (en) * | 2020-11-18 | 2021-02-09 | 未来电视有限公司 | Data analysis processing method, device, equipment and storage medium |
| CN112434198A (en) * | 2020-11-24 | 2021-03-02 | 深圳市明源云科技有限公司 | Chart component recommendation method and device |
| CN112434198B (en) * | 2020-11-24 | 2024-05-24 | 深圳市明源云科技有限公司 | Chart component recommending method and device |
| CN112819918A (en) * | 2021-01-29 | 2021-05-18 | 北京易莱信科技有限公司 | Intelligent generation method and device of visual chart |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| TWI513953B (en) | System and method for measuring gap width and gap height of point-cloud | |
| CN106598988B (en) | A data processing method and device | |
| CN105807997B (en) | A kind of touch screen sensitivity regulation method and device | |
| CN109947812A (en) | Consecutive miss value fill method, data analysis set-up, terminal and storage medium | |
| US9824470B2 (en) | Use of dynamic numeric axis to indicate and highlight data ranges | |
| US20160035115A1 (en) | Event chain visualization of performance data | |
| US12113873B2 (en) | Techniques for analyzing the proficiency of users of software applications in real-time | |
| CN114048539B (en) | CAD file analysis and rule judgment method and related device | |
| CN110503013B (en) | Vibration sensation similarity evaluation method and device and storage medium | |
| CN110426554B (en) | Household load electrical characteristic extraction method and device and computer readable storage medium | |
| CN107317853B (en) | Method, device and system for displaying dynamic effect of message pop-up window | |
| CN109408566A (en) | A kind of intelligence chart recommended method and device | |
| CN109324796A (en) | Interface layout method and device | |
| CN114138868A (en) | Method and device for drawing air quality statistical distribution map | |
| CN104572123B (en) | A kind of scenario generation method and device | |
| WO2020238965A1 (en) | Production environment performance evaluation method and apparatus, and storage medium | |
| CN103809954A (en) | Method and device for realizing interface element selection | |
| CN117194124A (en) | Signal testing method, device, computer equipment and storage medium | |
| CN109635170A (en) | Algorithm cut-in method, device, electronic equipment and readable storage medium storing program for executing | |
| CN110008387A (en) | Flow-field visualized implementation method, device and electronic equipment | |
| CN110515685A (en) | A kind of information flow methods of exhibiting and equipment | |
| CN108846901A (en) | Model introduction method and device | |
| CN117390195B (en) | Knowledge tracing and connection methods, systems, devices, and media based on graph editors | |
| CN109066973B (en) | Visualization method, system and terminal equipment for intelligent substation | |
| CN107945249A (en) | A kind of bubble diagram display methods and device |
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 | ||
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190301 |