CN107992593A - The rendering method and device of a kind of cake chart - Google Patents

The rendering method and device of a kind of cake chart Download PDF

Info

Publication number
CN107992593A
CN107992593A CN201711315790.2A CN201711315790A CN107992593A CN 107992593 A CN107992593 A CN 107992593A CN 201711315790 A CN201711315790 A CN 201711315790A CN 107992593 A CN107992593 A CN 107992593A
Authority
CN
China
Prior art keywords
cake chart
configuration item
size
vector graphics
cake
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
CN201711315790.2A
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.)
Guangzhou Shen Di Computer System Co Ltd
Original Assignee
Guangzhou Shen Di Computer System 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 Guangzhou Shen Di Computer System Co Ltd filed Critical Guangzhou Shen Di Computer System Co Ltd
Priority to CN201711315790.2A priority Critical patent/CN107992593A/en
Publication of CN107992593A publication Critical patent/CN107992593A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/40Filling a planar surface by adding surface attributes, e.g. colour or texture

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Image Generation (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention discloses the rendering method and device of a kind of cake chart, this method comprises the following steps:According to the size of Page Container element, setting is used for the size for drawing the saleable vector graphics canvas element of cake chart;According to the size of the saleable vector graphics canvas element of setting, a saleable vector graphics canvas element is created in Page Container element;According to pretreated configuration item, cake chart is drawn with reference to saleable vector graphics canvas element.The present invention can set the cake chart suitable for page area size according to the size of page area, and the level of cake chart can be determined according to the nested situation of data, and provide the cake chart suitable for different pieces of information structure according to level, while different screen size and device category user experience is improved, the cake chart met under different data format is shown.

Description

The rendering method and device of a kind of cake chart
Technical field
The present invention relates to the rendering method and device of technical field of data processing, more particularly to a kind of cake chart.
Background technology
In data processing field especially data visualization field, the demand analyzed and processed to data increasingly increases.
In prior art, it usually needs data distribution situation is analyzed using cake chart, to check the detailed of data each several part Thin information.For example the Echarts storehouses of Baidu's exploitation provide for the drafting interface of a variety of charts including cake chart, but It is that the parameter type and quantity that can be passed to of drafting interface that Echarts storehouses provide are limited, and Echarts storehouses are one large-scale in itself Project, Echarts storehouses are introduced in concrete operations, for actual items, which part function is redundancy.
The content of the invention
In view of this, one of technical problem that the embodiment of the present invention is solved is to provide a kind of presentation side of cake chart Method, can set the cake chart suitable for page area size according to the size of page area, and can be according to the nesting of data Situation determines the level of cake chart, and provides the cake chart suitable for different pieces of information structure according to level, is improving different screens While curtain size and device category user experience, the cake chart met under different data format is shown.
In a first aspect, the embodiment of the present invention provides a kind of rendering method of cake chart, including:
According to the size of Page Container element, setting is used for the ruler for drawing the saleable vector graphics canvas element of cake chart It is very little;
According to the size of the saleable vector graphics canvas element of setting, a scalable arrow is created in Page Container element Spirogram shape canvas element;
According to pretreated configuration item, cake chart is drawn with reference to the saleable vector graphics canvas element.
It is described according to pretreated configuration item as the preferred embodiment of first aspect present invention, with reference to described scalable Vector graphics canvas element draw cake chart the step of be specially:
According to the structure of data sequence in the object comprising configuration item, the level of cake chart is obtained;
According to the level of the cake chart, pie is drawn with reference to the non-data sequence item in the object comprising configuration item Figure.
As the preferred embodiment of first aspect present invention, the preprocessing process of the configuration item includes:
The incoming object for including each configuration item of cake chart is replicated, to generate an object copy;
Configuration item in the object copies is converted into array;
The configuration item of transformed array form and the object comprising configuration item default value are merged, pre-processed Configuration item afterwards.
As the preferred embodiment of first aspect present invention, the size according to Page Container element, sets and is used to draw The step of size of the saleable vector graphics canvas element of cake chart, includes:
Before setting is used to draw the size of saleable vector graphics canvas element of cake chart, if current page container The saleable vector graphics canvas element of the cake chart created is included in element, then by the cake chart created Saleable vector graphics canvas element is removed.
As the preferred embodiment of first aspect present invention, according to pretreated configuration item, with reference to the scalable vector Figure canvas element draw cake chart the step of be specially:
According to the background colour set in configuration item, cake chart is drawn in current saleable vector graphics canvas element Background, and background colour is defaulted as transparent;
Data series in configuration item, draw the profile of cake chart, and the non-data sequence in configuration item Item, draws the auxiliary information of cake chart.
As the preferred embodiment of first aspect present invention, the auxiliary information of the cake chart includes the title of cake chart, cake The legend of shape figure, the prompting frame of cake chart, the display field of cake chart.
It is described according to pretreated configuration item as the preferred embodiment of first aspect present invention, with reference to described scalable The step of vector graphics canvas element drafting cake chart, further includes:
According to the element in the data sequence of configuration item, the size of each section of calculating cake chart;
According to the size of each section, cake chart is drawn with reference to the saleable vector graphics canvas element.
It is described according to pretreated configuration item as the preferred embodiment of first aspect present invention, with reference to described scalable Vector graphics canvas element further includes after drawing the step of cake chart:
When detecting the change in size of the change of the data sequence in configuration item and/or Page Container element, remove former Some cake charts, and cake chart is repainted according to the data sequence after change and/or Page Container element.
Second aspect, the embodiment of the present invention additionally provide a kind of presentation device of cake chart, including:
Canvas size module is set, for the size according to Page Container element, sets and is used to draw stretching for cake chart The size of contracting vector graphics canvas element;
Newly-built graphic element module, for the size of the saleable vector graphics canvas element according to setting, holds in the page A saleable vector graphics canvas element is created in device element;
Drafting module, for according to pretreated configuration item, being drawn with reference to the saleable vector graphics canvas element Cake chart.
As the preferred embodiment of second aspect of the present invention, the drafting module is specifically used for:
According to the structure of data sequence in the object comprising configuration item, the level of cake chart is obtained;
According to the level of the cake chart, pie is drawn with reference to the non-data sequence item in the object comprising configuration item Figure.
The rendering method and device of a kind of cake chart provided in an embodiment of the present invention, can set according to the size of page area The cake chart suitable for page area size is put, and the level of cake chart can be determined according to the nested situation of data, and root The cake chart suitable for different pieces of information structure is provided according to level, is improving the same of different screen size and device category user experience When, the cake chart met under different data format is shown.
Brief description of the drawings
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for For those of ordinary skill in the art, without creative efforts, other can also be obtained according to these attached drawings Attached drawing.
Fig. 1 is a kind of flow diagram of the rendering method of cake chart provided in an embodiment of the present invention;
Fig. 2 is a kind of another flow diagram of the rendering method of cake chart provided in an embodiment of the present invention;
Fig. 3 is a kind of structure diagram of the presentation device of cake chart provided in an embodiment of the present invention.
Embodiment
In order to make those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention Attached drawing, is clearly and completely described the technical solution in the embodiment of the present invention, it is clear that described embodiment is only The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people Member's all other embodiments obtained without making creative work, should all belong to the model that the present invention protects Enclose.
With reference to shown in Fig. 1, the embodiment of the invention discloses a kind of rendering method of cake chart, this method includes:
101st, according to the size of Page Container element, the saleable vector graphics canvas element for being used for drawing cake chart is set Size.
In the present embodiment, before cake chart is drawn, cake is included for one by the actual parameter being passed to of unified parameters interface The object of each configuration item of shape figure.Configuration item includes background colour, prompting frame is set, legend is set, title is set, display is set, face Chromatic number group, data sequence etc., wherein background colour, prompting frame are set, legend is set, title is set, show setting, color array etc. It may be collectively referred to as non-data sequence item.
Specifically, in a kind of possible implementation, the preprocessing process of configuration item is included:
A1, replicate the incoming object for including each configuration item of cake chart, to generate an object copy;
Same instance can be directed toward during due in Java language to different variable assignments objects, because of this during to avoid subsequent treatment One mechanism cause it is unnecessary obscure and mistake is, it is necessary to first replicate the object for include each configuration item of cake chart that is passed to of user, give birth to The object copies of Cheng Yixin.
A2, by the configuration item in object copies be converted into array;
It can be object form or array form when incoming to have part configuration item in the object copies of generation, for ease of follow-up It is uniformly processed and using, it is necessary to by this part configuration item, including legend setting, title setting etc., is uniformly converted into array form.
A3, merge the configuration item of transformed array form and object comprising configuration item default value, obtains pre- Configuration item after processing.
When actually drawing, all configuration items need that non-null states will be in cake chart, then need one at this time comprising all The object of configuration item default value carries out Initialize installation, and the configuration item of the transformed array form set with user carries out Merge, so as to obtain pretreated configuration item.
After being pre-processed to configuration item, and, it is necessary to first calculate Page Container element before cake chart is drawn Size, then according to the size of the Page Container element, sets the saleable vector graphics canvas element for being used for drawing cake chart Size.Wherein, the size includes long and wide.
In addition, the normal display of the sub-component in order to ensure cake charts such as legend, prompting frames, need to be by Page Container element Positioning properties are arranged to relative positioning.
Preferably, before setting is used to draw the size of saleable vector graphics canvas element of cake chart, if currently The saleable vector graphics canvas element of the cake chart created, the then pie that will have been created are included in Page Container element The saleable vector graphics canvas element of figure is removed.
In this way, it is possible to prevente effectively from occurs the exception such as redundancy or covering when subsequently creating saleable vector graphics canvas element Situation.
102nd, according to the size of the saleable vector graphics canvas element of setting, newly-built one can stretch in Page Container element Contracting vector graphics canvas element.
In the present embodiment, according to the size of the saleable vector graphics canvas element set in above-mentioned steps, in page A saleable vector graphics canvas element is created in surface vessel element.
103rd, according to pretreated configuration item, cake chart is drawn with reference to saleable vector graphics canvas element.
In the present embodiment, after creating a saleable vector graphics canvas element in Page Container element, according to pre- place Configuration item after reason draws cake chart.
Specifically, in a kind of possible implementation, drawing the process of cake chart includes:
B1, according to the background colour set in configuration item, draw pie in current saleable vector graphics canvas element The background of figure, and background colour is defaulted as transparent;
, can be with the sequencing of addition in graphing for drawing the saleable vector graphics canvas element of cake chart The shade situation of figure is determined, so it is being that current painting canvas fills the background that is set in configuration item before drawing other guide to need Color, background colour are defaulted as transparent.
B2, the data series in configuration item, draw the profile of cake chart, and the non-data sequence in configuration item List, draw the auxiliary information of cake chart.
Data series in configuration item, draw out the profile of cake chart simultaneously in saleable vector graphics canvas element Each section for forming cake chart is filled with different colors.Wherein, the level of the profile of cake chart including cake chart and Form the size of each section of cake chart, and the half of the cake chart calculated according to the size minimum value of Page Container element Footpath.
Non-data sequence item in configuration item, draws the auxiliary of cake chart in saleable vector graphics canvas element Information.
Preferably, the auxiliary information of cake chart includes the title of cake chart, the legend of cake chart, the prompting frame of cake chart, The display field of cake chart.
Wherein, the title in the object of configuration item sets configuration item, to specify alignment thereof, color, font and sample Pie graph title is drawn in the settings such as formula;Legend in the object of configuration item sets configuration item, corresponding each section of cake chart Color draws cake chart legend, supports legend normally display and minimum function;Prompting frame in the object of configuration item is set Configuration item is put, draws the prompting frame of each section of cake chart, and supports to show corresponding data name when cursor is moved to a certain section And data message, and hide prompting frame after cursor removal;Display in the object of configuration item sets configuration item, in pie Scheme each section correspondence position addition percentage numerical monitor, and corresponding data is added in direction radially outward in each section radius Text importing and the line with corresponding section profile, can enrich the display effect for improving cake chart.
It should be noted that for the ease of binding event handling function, the prompting frame of cake chart is independently of scalable vector Figure canvas element, is shown in the form of tag element in Page Container element.During in order to avoid follow-up newly-built prompting frame There are the abnormal conditions such as redundancy or covering, it is necessary to which unnecessary tag element is purged.
Further, in a kind of possible mode, the level based on cake chart draws cake chart, specifically includes:
C1, the structure according to data sequence in the object comprising configuration item, obtain the level of cake chart;
C2, the level according to cake chart, cake chart is drawn with reference to the non-data sequence item in the object comprising configuration item.
On the basis of the above, according to the structure of data sequence in the object comprising configuration item, cake chart can also be judged Belong to the situation or two layers of nested situation about showing of one layer of display, cake chart is then drawn according to the level situation of cake chart. If the type of each element is numeral in data sequence, the level of cake chart is one layer;If each element in data sequence Type is array, and the type of the element stored in array is numeral, then the level of cake chart is two layers.
Further, in a kind of possible mode, the size based on each section of cake chart draws cake chart, specific bag Include:
D1, according to the element in the data sequence of configuration item, calculate the size of each section of cake chart;
D2, the size according to each section, cake chart is drawn with reference to saleable vector graphics canvas element.
On the basis of the above, the angular dimension of each section of cake chart is the numerical value divided by number according to a certain element of data sequence It is calculated according to after the numerical value summation of sequence all elements multiplied by using 360 (unit degree), pie radius of graph is according to page The length of surface vessel element and wide minimum value with 0.5 multiplied by being calculated.
After the profile of cake chart being drawn out according to the size of each section of cake chart in saleable vector graphics canvas element, The different colours set in number of colours group configuration item in the object of configuration item, are filled each section.
Preferably, after step 103, further include:
104th, when detecting the change in size of the change of the data sequence in configuration item and/or Page Container element, clearly Cake chart is repainted except original cake chart, and according to the data sequence after change and/or Page Container element.
In the present embodiment, in the case where data sequence change or Page Container element size change, automatic trigger pie Figure repaints, that is, removes original cake chart, and cake is re-started according to new configuration item object and Page Container element size The drafting of shape figure.
With reference to shown in Fig. 2, the embodiment of the invention discloses a kind of rendering method of cake chart, this method includes:
201st, the object for including each configuration item for drawing cake chart is received, and the configuration item is pre-processed;
202nd, according to the size of Page Container element, the saleable vector graphics canvas element for being used for drawing cake chart is set Size;
203rd, according to the size of the saleable vector graphics canvas element of setting, newly-built one can stretch in Page Container element Contracting vector graphics canvas element;
204th, according to the background colour set in configuration item, pie is drawn in current saleable vector graphics canvas element The background of figure;
205th, the data series in configuration item, draw profile of the cake chart including level and each section size, And the non-data sequence item in configuration item, draw the auxiliary information of cake chart;
206th, when detecting the change in size of the change of the data sequence in configuration item and/or Page Container element, clearly Cake chart is repainted except original cake chart, and according to the data sequence after change and/or Page Container element.
The detailed description of each step in the above method is can be found in for the detailed description of each step in this method, herein no longer Repeat.
With reference to shown in Fig. 3, the embodiment of the invention discloses a kind of presentation device of cake chart, which includes:
Canvas size module 31 is set, for the size according to Page Container element, set be used to drawing cake chart can The size of scaler vector graphics canvas element;
Newly-built graphic element module 32, for the size of the saleable vector graphics canvas element according to setting, in the page A saleable vector graphics canvas element is created in Container elements;
Drafting module 33, for according to pretreated configuration item, cake to be drawn with reference to saleable vector graphics canvas element Shape figure.
Further, drafting module 33 is specifically used for:
According to the background colour set in configuration item, cake chart is drawn in current saleable vector graphics canvas element Background, and background colour is defaulted as transparent;
Data series in configuration item, draw the profile of cake chart, and the non-data sequence in configuration item Item, draws the auxiliary information of cake chart.
Further, drafting module 33 also particularly useful for:
According to the structure of data sequence in the object comprising configuration item, the level of cake chart is obtained;
According to the level of cake chart, cake chart is drawn with reference to the non-data sequence item in the object comprising configuration item.
Further, drafting module 33 also particularly useful for:
According to the element in the data sequence of configuration item, the size of each section of calculating cake chart;
According to the size of each section, cake chart is drawn with reference to the saleable vector graphics canvas element.
Further, further include and repaint module 34, be specifically used for:
When detecting the change in size of the change of the data sequence in configuration item and/or Page Container element, remove former Some cake charts, and cake chart is repainted according to the data sequence after change and/or Page Container element.
It should be noted that the embodiment and beneficial effect of above-mentioned modules can be found in an embodiment Content, details are not described herein.
The rendering method and device of a kind of cake chart provided in an embodiment of the present invention, can set according to the size of page area The cake chart suitable for page area size is put, and the level of cake chart can be determined according to the nested situation of data, and root The cake chart suitable for different pieces of information structure is provided according to level, is improving the same of different screen size and device category user experience When, the cake chart met under different data format is shown.
In the above embodiment of the present invention, the description to each embodiment all emphasizes particularly on different fields, and does not have in some embodiment The part of detailed description, may refer to the associated description of other embodiment.
Those of ordinary skill in the art may realize that each exemplary work(described with reference to the embodiments described herein Can module and method and step, can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions Performed actually with hardware or software mode, application-specific and design constraint depending on technical solution.Professional technique Personnel specifically can realize described function to each using distinct methods, but this realization is it is not considered that super Go out the scope of the present invention.
In embodiment provided by the present invention, it should be understood that disclosed apparatus and method, can pass through others Mode is realized.For example, device embodiment described above is only schematical, for example, the division of above-mentioned module or unit, Only a kind of division of logic function, can there is an other dividing mode when actually realizing, such as multiple units or component can be with With reference to or be desirably integrated into another system, or some features can be ignored, or not perform.It is another, it is shown or discussed Mutual coupling or direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING of device or unit or Communication connection, can be electrical, machinery or other forms.
The above-mentioned unit illustrated as separating component may or may not be physically separate, be shown as unit The component shown may or may not be physical location, you can with positioned at a place, or can also be distributed to multiple In network unit.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
If above-mentioned integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or use When, it can be stored in a computer read/write memory medium.Based on such understanding, the present invention realizes above-described embodiment side All or part of flow in method, can also instruct relevant hardware to complete, above-mentioned computer by computer program Program can be stored in a computer-readable recording medium, and the computer program is when being executed by processor, it can be achieved that above-mentioned each The step of a embodiment of the method.Wherein, above computer program includes computer program code, and above computer program code can Think source code form, object identification code form, executable file or some intermediate forms etc..Above computer readable storage medium storing program for executing It can include:Any entity or device, recording medium, USB flash disk, mobile hard disk, the magnetic of above computer program code can be carried Dish, CD, computer storage, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It is it should be noted that above-mentioned It is appropriate that the content that computer-readable recording medium includes can be carried out according to legislation in jurisdiction and the requirement of patent practice Increase and decrease, such as in some jurisdictions, according to legislation and patent practice, computer-readable recording medium does not include electric carrier wave Signal and telecommunication signal.
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all the present invention spirit and Within principle, any modification, equivalent replacement, improvement and so on, should all be included in the protection scope of the present invention.

Claims (10)

1. a kind of rendering method of cake chart, it is characterised in that comprise the following steps:
According to the size of Page Container element, setting is used for the size for drawing the saleable vector graphics canvas element of cake chart;
According to the size of the saleable vector graphics canvas element of setting, a scalable polar plot is created in Page Container element Shape canvas element;
According to pretreated configuration item, cake chart is drawn with reference to the saleable vector graphics canvas element.
2. the rendering method of a kind of cake chart according to claim 1, it is characterised in that described to be matched somebody with somebody according to pretreated Item is put, is specially with reference to the step of saleable vector graphics canvas element drafting cake chart:
According to the structure of data sequence in the object comprising configuration item, the level of cake chart is obtained;
According to the level of the cake chart, cake chart is drawn with reference to the non-data sequence item in the object comprising configuration item.
A kind of 3. rendering method of cake chart according to claim 1 or 2, it is characterised in that the pre- place of the configuration item Reason process includes:
The incoming object for including each configuration item of cake chart is replicated, to generate an object copy;
Configuration item in the object copies is converted into array;
The configuration item of transformed array form and the object comprising configuration item default value are merged, obtained pretreated Configuration item.
4. a kind of cake chart rendering method according to claim 1, it is characterised in that described according to Page Container element The step of size, the size for setting the saleable vector graphics canvas element for being used for drawing cake chart, includes:
Before setting is used to draw the size of saleable vector graphics canvas element of cake chart, if current page Container elements In comprising the saleable vector graphics canvas element of cake chart created, then stretching the cake chart created Contracting vector graphics canvas element is removed.
A kind of 5. cake chart rendering method according to claim 1, it is characterised in that according to pretreated configuration item, It is specially with reference to the step of saleable vector graphics canvas element drafting cake chart:
According to the background colour set in configuration item, the back of the body of drafting cake chart in current saleable vector graphics canvas element Scape, and background colour is defaulted as transparent;
Data series in configuration item, draw the profile of cake chart, and the non-data sequence item in configuration item, paint The auxiliary information of cake chart processed.
A kind of 6. rendering method of cake chart according to claim 5, it is characterised in that the auxiliary information of the cake chart Title including cake chart, the legend of cake chart, the prompting frame of cake chart, the display field of cake chart.
7. according to a kind of rendering method of cake chart in claim 2, it is characterised in that described according to pretreated configuration , further included with reference to the step of saleable vector graphics canvas element drafting cake chart:
According to the element in the data sequence of configuration item, the size of each section of calculating cake chart;
According to the size of each section, cake chart is drawn with reference to the saleable vector graphics canvas element.
8. according to a kind of rendering method of cake chart in claim 1, it is characterised in that described according to pretreated configuration , further included afterwards with reference to the step of saleable vector graphics canvas element drafting cake chart:
When detecting the change in size of the change of the data sequence in configuration item and/or Page Container element, remove original Cake chart, and cake chart is repainted according to the data sequence after change and/or Page Container element.
A kind of 9. presentation device of cake chart, it is characterised in that including:
Canvas size module is set, for the size according to Page Container element, the scalable arrow for being used for drawing cake chart is set The size of spirogram shape canvas element;
Newly-built graphic element module, for the size of the saleable vector graphics canvas element according to setting, in Page Container member A saleable vector graphics canvas element is created in element;
Drafting module, for according to pretreated configuration item, pie to be drawn with reference to the saleable vector graphics canvas element Figure.
10. the presentation device of a kind of cake chart according to claim 9, it is characterised in that the drafting module is specifically used In:
According to the structure of data sequence in the object comprising configuration item, the level of cake chart is obtained;
According to the level of the cake chart, cake chart is drawn with reference to the non-data sequence item in the object comprising configuration item.
CN201711315790.2A 2017-12-08 2017-12-08 The rendering method and device of a kind of cake chart Pending CN107992593A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711315790.2A CN107992593A (en) 2017-12-08 2017-12-08 The rendering method and device of a kind of cake chart

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711315790.2A CN107992593A (en) 2017-12-08 2017-12-08 The rendering method and device of a kind of cake chart

Publications (1)

Publication Number Publication Date
CN107992593A true CN107992593A (en) 2018-05-04

Family

ID=62037340

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711315790.2A Pending CN107992593A (en) 2017-12-08 2017-12-08 The rendering method and device of a kind of cake chart

Country Status (1)

Country Link
CN (1) CN107992593A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105069092A (en) * 2015-08-05 2015-11-18 深圳联友科技有限公司 Report display method, system and mobile terminal
US20150379447A1 (en) * 2014-06-26 2015-12-31 Oracle International Corporation Resource demand-based project team staffing
CN105550373A (en) * 2016-01-29 2016-05-04 浪潮软件集团有限公司 Method, device and system for displaying data
CN106156369A (en) * 2016-08-24 2016-11-23 北京京东尚科信息技术有限公司 Multi-layer subordinate method for exhibiting data and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150379447A1 (en) * 2014-06-26 2015-12-31 Oracle International Corporation Resource demand-based project team staffing
CN105069092A (en) * 2015-08-05 2015-11-18 深圳联友科技有限公司 Report display method, system and mobile terminal
CN105550373A (en) * 2016-01-29 2016-05-04 浪潮软件集团有限公司 Method, device and system for displaying data
CN106156369A (en) * 2016-08-24 2016-11-23 北京京东尚科信息技术有限公司 Multi-layer subordinate method for exhibiting data and device

Similar Documents

Publication Publication Date Title
CN104267947B (en) A kind of editor's method of pop-up picture and pop-up picture editor's device
Grenander et al. Hands: A pattern theoretic study of biological shapes
US20170132814A1 (en) Interactive Scene Graph Manipulation For Visualization Authoring
CN103593456B (en) Worksheet self-defining method for designing and device
CN109727201A (en) Information processing equipment, image processing method and storage medium
CN109598340A (en) Method of cutting out, device and the storage medium of convolutional neural networks
CN106651301A (en) Process monitoring method and apparatus
CN109242775B (en) Attribute information migration method, device, equipment and readable storage medium
CN105608066A (en) Method and device for generating evidence report
CN106484432A (en) A kind of progress bar method for customizing, device and progress bar
CN106447295A (en) Sign-off file template generation method and apparatus thereof
CN105005568B (en) Web page front end processing device and method based on template
CN105493095A (en) Adaptive and recursive filtering for sample submission
CN108830780A (en) Image processing method and device, electronic equipment, storage medium
CN110058756A (en) A kind of mask method and device of image pattern
CN105912324A (en) Method and device for generating Web page
CN108876790A (en) Image, semantic dividing method and device, neural network training method and device
CN107463307A (en) Document display method and device
CN106169961A (en) The network parameter processing method and processing device of neutral net based on artificial intelligence
CN107092413A (en) A kind of visible controls corners processing method and system
CN110968749A (en) Visual display device and method based on big data containerized dispatching center system
CN114035803A (en) Code automatic generation method, device, equipment and computer readable storage medium
CN107992593A (en) The rendering method and device of a kind of cake chart
CN108874392A (en) User's guideline interface generation method and device
CN107704884A (en) Image tag processing method, image tag processing unit and electric terminal

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

Application publication date: 20180504

RJ01 Rejection of invention patent application after publication