[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN109254976A - A kind of method for drafting of figure, device, electronic equipment and storage medium - Google Patents

A kind of method for drafting of figure, device, electronic equipment and storage medium Download PDF

Info

Publication number
CN109254976A
CN109254976A CN201710561320.8A CN201710561320A CN109254976A CN 109254976 A CN109254976 A CN 109254976A CN 201710561320 A CN201710561320 A CN 201710561320A CN 109254976 A CN109254976 A CN 109254976A
Authority
CN
China
Prior art keywords
data
value
parameter
axis
component data
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
CN201710561320.8A
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.)
China Mobile Communications Group Co Ltd
China Mobile Group Beijing Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Group Beijing 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 China Mobile Communications Group Co Ltd, China Mobile Group Beijing Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201710561320.8A priority Critical patent/CN109254976A/en
Publication of CN109254976A publication Critical patent/CN109254976A/en
Pending legal-status Critical Current

Links

Classifications

    • 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

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Processing Or Creating Images (AREA)

Abstract

本发明公开了一种图形的绘制方法、装置、电子设备及存储介质,用以解决当需要用户将绘制图形时所需的参数对应的数据进行手动输入,给用户带来较差体验的问题。该方法包括:接收用户的图形绘制请求,向用户提供进行图形绘制的元数据参数;根据用户选择的第一元数据参数,生成查询语句,其中第一元数据参数至少包括:图形的横坐标的参数和纵坐标的参数;根据查询语句以及预先配置的业务数据库,确定与第一元数据参数对应的每个目标数组;根据每个目标数组及第一元数据参数中包括的图形的类型,图形的横、纵坐标的参数,绘制图形并展示。由于在本发明实施例中,不需要用户将绘制图形时所需的数据进行手动输入,给用户带来方便,提高了用户的体验。

The invention discloses a graphics drawing method, device, electronic device and storage medium, which are used to solve the problem that users need to manually input data corresponding to parameters required for drawing graphics, which brings poor experience to users. The method includes: receiving a graphic drawing request from a user, and providing the user with metadata parameters for graphic drawing; generating a query statement according to a first metadata parameter selected by the user, wherein the first metadata parameter at least includes: the abscissa of the graphic parameters and the parameters of the ordinate; according to the query statement and the pre-configured business database, determine each target array corresponding to the first metadata parameter; according to each target array and the type of graphics included in the first metadata parameter, the graphics The parameters of the horizontal and vertical coordinates are drawn and displayed. Because in the embodiment of the present invention, the user does not need to manually input the data required for drawing graphics, which brings convenience to the user and improves the user's experience.

Description

A kind of method for drafting of figure, device, electronic equipment and storage medium
Technical field
The present invention relates to data analysis technique field, in particular to a kind of method for drafting of figure, device, electronic equipment and Storage medium.
Background technique
With the continuous amplification of various businesses, business datum is also constantly increasing, in order to accurately understand business datum Variation tendency, the business datum that usual user can be analysed to is depicted as figure, is shown analysis, such as be depicted as histogram Figure, line chart etc..Analysis business datum is shown by way of figure, makes the variation of user's more intuitive understanding business datum Situation.
In the prior art, when user wants to be shown analysis to the variation tendency of business datum by way of figure, The type of determining figure is usually required, and the data analyzed will be needed to be input in the corresponding parameter of graphic plotting tool. For example, certain user wants to understand the situation of change of 2015 to 2017 incomes, the first class of the determining figure to be drawn of user Type, and determine horizontal, the corresponding parameter of ordinate, for example, the type for the figure drawn is line chart, the parameter of abscissa is day Phase, the parameter of ordinate are Revenue (unit: member), and when drawing the line chart, drawing tool can provide a tables of data, user 2015 to 2017 Revenues and corresponding date are filled up in tables of data, such as filled in January, 2015: 5000; 2 months: 5500 ... 2015, drawing tool then generated corresponding line chart according to the tables of data that user fills in, for customer analysis.
The prior art is every time in graphing, required parameter and corresponding data when being required to user for graphing It is filled in, greatly wastes manpower and time in this way, it is very inconvenient, and it is possible to fill in mistake, cause figure exhibition Show inaccuracy, poor usage experience is brought to user.
Summary of the invention
The embodiment of the invention discloses a kind of method for drafting of figure, device, electronic equipment and storage mediums, to solve The corresponding data of required parameter are manually entered when needing user in the prior art for graphing, are brought to user poor The problem of experience.
In order to achieve the above objectives, the embodiment of the invention discloses a kind of method for drafting of figure, which comprises
The graphic plotting request for receiving user, the metadata parameters for carrying out graphic plotting are provided to the user;
According to the first metadata parameters that user selects, query statement is generated, wherein first metadata parameters are at least It include: the parameter of the abscissa of figure and the parameter of ordinate;
According to the query statement and preconfigured service database, determination is corresponding with first metadata parameters Each target array;
According to the type for the figure for including in each target array and first metadata parameters, the abscissa of figure The parameter of parameter and ordinate, graphing are simultaneously shown.
Further, the type according to the figure for including in each target array and first metadata parameters, The parameter of the abscissa of figure and the parameter of ordinate, graphing include:
For each target array, corresponding first component data of parameter of the abscissa in the target array is extracted, and First component data and second component data are constituted subnumber group by the corresponding second component data of the parameter of ordinate;
According to the length and width of the painting canvas pre-saved, corresponding first number of components of each of extraction target array According to second component data, graphing.
Further, the length and width for the painting canvas that the basis pre-saves, each of extraction target array pair The first component data and second component data, graphing answered include:
Identify in the first maximum value in first component data and the first minimum value and second component data Second minimum value of two maximum value sums;
According to the of the width of painting canvas and length, first maximum value and the first minimum value, the second maximum value sum Two minimum values, and the maximum radius pre-saved determine the data area that X-axis is shown and the data area that Y-axis is shown;
For each subnumber group, according in the width of painting canvas and length, the subnumber group the first component data and second point Data are measured, and the data area that the data area that shows of X-axis and Y-axis determined is shown, determines the subnumber group on painting canvas Display position.
Further, described according to the width and length of painting canvas, first maximum value and the first minimum value, described second Maximum value and the second minimum value, and the maximum radius pre-saved determine data area and Y that the X-axis in reference axis is shown The data area that axis is shown includes:
According to formula:
Xmax 2=Xmax 1+ (Xmax 1-Xmin 1)/Width*Rmax, determines the maximum data value that X-axis is shown;
Xmin 2=Xmin 1- (Xmax 1-Xmin 1)/Width*Rmax, determines the minimum data value that X-axis is shown;
Ymax 2=Ymax 1+ (Ymax 1-Ymin 1)/Lenght*Rmax, determines the maximum data value that Y-axis is shown;
Ymin 2=Ymin 1- (Ymax 1-Ymin 1)/Length*Rmax, determines the minimum data value that Y-axis is shown;
Wherein, Xmax 2 is the maximum data value that X-axis is shown, Xmin 2 is the minimum data value that X-axis is shown, Ymax 2 is The maximum data value that Y-axis is shown, Ymin 2 are the minimum data value that show of Y-axis, and Xmax 1 is the first maximum value, and Xmin 1 is the One minimum value, Ymax 1 are the second maximum value, and Ymin 1 is the second minimum value, and Width is the width of painting canvas, and Lenght is painting canvas Length, Rmax is the maximum radius pre-saved.
Further, the width and length according to painting canvas, the first component data and second component in the subnumber group Data, and the data area that the data area that show of X-axis and Y-axis that determine are shown, determine the subnumber group showing on painting canvas Show that position includes:
According to formula:
Rx=(X-Xmin 2)/(Xmax2-Xmin2) * Width determines the numerical value of the subnumber group on the width of painting canvas;
Ry=(Y-Ymin 2)/(Ymax2-Ymin2) * Length determines the numerical value of the subnumber group in the length of painting canvas;
Wherein, Rx is numerical value of the subnumber group on the width of painting canvas, and Ry is numerical value of the subnumber group in the length of painting canvas, X For the first component data in the subnumber group, Y is the second component data in the subnumber group.
Further, in first metadata parameters further include: quantization parameter;
The method also includes:
The corresponding each third component data of quantization parameter in each target array is extracted, according to preset maximum radius And the value of least radius and the corresponding third component data of each data point, determine the display radius of each data point.
Further, the method also includes:
For the corresponding data point of each subnumber group, according to adjacent each corresponding first component data of two data points and Second component data, the number of the data point after preset division and preset algorithm, two data points adjacent between this Line be smoothed, and show.
Further, the preset algorithm includes:
Secondary Bezier algorithm.
The embodiment of the invention discloses a kind of drawing apparatus of figure, described device includes:
Receiving module, the graphic plotting for receiving user are requested, and the first number for carrying out graphic plotting is provided to the user According to parameter;
Generation module, the first metadata parameters for being selected according to user generate query statement, wherein described first yuan Data parameters include at least: the parameter of the abscissa of figure and the parameter of ordinate;
Determining module, for determining and described first according to the query statement and preconfigured service database The corresponding each target array of metadata parameters;
Drafting module, for the type according to the figure for including in each target array and first metadata parameters, The parameter of the abscissa of figure and the parameter of ordinate, graphing are simultaneously shown.
The embodiment of the invention discloses a kind of electronic equipment, the electronic equipment includes: memory, processor and transmitting-receiving Machine;
The transceiver, the graphic plotting for receiving user under the control of a processor are requested;
The processor executes following process: realizing following steps: to institute for reading the program in the memory It states user and the metadata parameters for carrying out graphic plotting is provided;According to the first metadata parameters that user selects, query statement is generated, Wherein first metadata parameters include at least: the parameter of the abscissa of figure and the parameter of ordinate;According to the inquiry Sentence and preconfigured service database determine each target array corresponding with first metadata parameters;According to The type for the figure for including in each target array and first metadata parameters, the parameter and ordinate of the abscissa of figure Parameter, graphing simultaneously shows.
Further, the processor is specifically used for being directed to each target array, extracts the abscissa in the target array Corresponding first component data of parameter and ordinate the corresponding second component data of parameter, by first component data Subnumber group is constituted with second component data;According to the length and width of the painting canvas pre-saved, each of extraction number of targets Corresponding first component data of group and second component data, graphing.
Further, the processor, specifically for identifying the first maximum value and first in first component data Second minimum value of the second maximum value sum in minimum value and second component data;According to the width of painting canvas and length, described Second minimum value of the first maximum value and the first minimum value, the second maximum value sum, and the maximum radius pre-saved, really Determine the data area that X-axis is shown and the data area that Y-axis is shown;For each subnumber group, according to the width of painting canvas and length, it is somebody's turn to do The first component data and second component data in subnumber group, and the number that the data area that shows of X-axis and Y-axis that determine are shown According to range, the display position of the subnumber group on painting canvas is determined.
Further, the processor is specifically used for according to formula:
Xmax 2=Xmax 1+ (Xmax 1-Xmin 1)/Width*Rmax, determines the maximum data value that X-axis is shown;
Xmin 2=Xmin 1- (Xmax 1-Xmin 1)/Width*Rmax, determines the minimum data value that X-axis is shown;
Ymax 2=Ymax 1+ (Ymax 1-Ymin 1)/Lenght*Rmax, determines the maximum data value that Y-axis is shown;
Ymin 2=Ymin 1- (Ymax 1-Ymin 1)/Length*Rmax, determines the minimum data value that Y-axis is shown;Its In, Xmax 2 is the maximum data value that X-axis is shown, Xmin 2 is the minimum data value that X-axis is shown, Ymax 2 is what Y-axis was shown Maximum data value, Ymin 2 are the minimum data value that Y-axis is shown, Xmax 1 is the first maximum value, and Xmin 1 is the first minimum value, Ymax 1 is the second maximum value, and Ymin 1 is the second minimum value, and Width is the width of painting canvas, and Lenght is the length of painting canvas, Rmax is the maximum radius pre-saved.
Further, the processor is specifically used for according to formula:
Rx=(X-Xmin 2)/(Xmax2-Xmin2) * Width determines the numerical value of the subnumber group on the width of painting canvas;
Ry=(Y-Ymin 2)/(Ymax2-Ymin2) * Length determines the numerical value of the subnumber group in the length of painting canvas;
Wherein, Rx is numerical value of the subnumber group on the width of painting canvas, and Ry is numerical value of the subnumber group in the length of painting canvas, X For the first component data in the subnumber group, Y is the second component data in the subnumber group.
Further, in first metadata parameters further include: quantization parameter;
The processor is also used to extract the corresponding each third component data of quantization parameter in each target array, According to the value of preset maximum radius and least radius and the corresponding third component data of each data point, every number is determined The display radius at strong point.
Further, the processor is also used to for the corresponding data point of each subnumber group, according to two adjacent numbers Each corresponding first component data in strong point and second component data, the number of the data point after preset division and preset Algorithm, the line two data points adjacent between this is smoothed, and is showed.
The embodiment of the invention discloses a kind of electronic equipment, comprising: processor, communication interface, memory and communication bus, Wherein, processor, communication interface, memory complete mutual communication by communication bus;
It is stored with computer program in the memory, when described program is executed by the processor, so that the place The step of reason device executes the method for any of the above-described graphic plotting.
The embodiment of the invention discloses a kind of computer readable storage medium, it is stored with the meter that can be executed by electronic equipment Calculation machine program, when described program is run on the electronic equipment, so that the electronic equipment executes any of the above-described figure and draws The step of method of system.
The embodiment of the invention discloses a kind of method for drafting of figure, device, electronic equipment and storage medium, this method packets It includes: receiving the graphic plotting request of user, the metadata parameters for carrying out graphic plotting are provided to the user;It is selected according to user The first metadata parameters, generate query statement, wherein first metadata parameters include at least: the ginseng of the abscissa of figure Several and ordinate parameter;According to the query statement and preconfigured service database, determining and first yuan of number According to the corresponding each target array of parameter;According to the class for the figure for including in each target array and first metadata parameters Type, the parameter of the abscissa of figure and the parameter of ordinate, graphing are simultaneously shown.Due in embodiments of the present invention, according to The parameter of the cross of user's selection, ordinate, generates query statement, according to query statement and preconfigured service database, Determine target array, and then according to target array, the transverse and longitudinal of the type of figure and figure, the parameter of coordinate, graphing.No Required data are manually entered when needing user for graphing, are brought conveniently to user, are improved the experience of user.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of drawing process schematic diagram for figure that the embodiment of the present invention 1 provides;
Fig. 2 is a kind of electronic equipment internal structure chart provided in an embodiment of the present invention;
Fig. 3 is a kind of flow chart of graphing provided in an embodiment of the present invention;
Fig. 4 is a kind of four-quadrant diagram provided in an embodiment of the present invention;
Fig. 5 is a kind of drawing apparatus structure chart for figure that the embodiment of the present invention 5 provides;
Fig. 6 is the schematic diagram for a kind of electronic equipment that the embodiment of the present invention 6 provides;
Fig. 7 is the schematic diagram for a kind of electronic equipment that the embodiment of the present invention 7 provides.
Specific embodiment
Required data when in order to obtain graphing automatically improve user experience, the embodiment of the invention provides A kind of method for drafting of figure, device, electronic equipment and storage medium.
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
Embodiment 1:
Fig. 1 is the drawing process schematic diagram of a kind of figure that the embodiment of the present invention 1 provides, the process the following steps are included:
S101: the graphic plotting request of user is received, the metadata parameters for carrying out graphic plotting are provided to the user.
The method for drafting of figure provided in an embodiment of the present invention is applied to electronic equipment.
User wants graphing in the electronic device, after entering drawing interface, electronic equipment can provide a user into The metadata parameters of row graphic plotting, user can according to their own needs select metadata parameters, metadata parameters Such as it can be the type etc. of income, province, population, time and figure.
S102: the first metadata parameters selected according to user generate query statement, wherein first metadata parameters It includes at least: the parameter of the abscissa of figure and the parameter of ordinate.
User selects the first metadata parameters according to the metadata parameters that electronic equipment provides, and electronic equipment is selected according to user The first metadata parameters selected generate query statement, the specific can be that, metadata parameters library is pre-saved in electronic equipment, And the mode of query statement is generated, after user has selected the first metadata parameters, electronic equipment can be according to first yuan The generating mode of data parameters and query statement generates query statement.Query statement can be structured query language (Structured Query Language, SQL) sentence.Under normal circumstances, user wants graphing, can draw and meet certainly The figure of the type of own demand, and horizontal, ordinate parameter will also meet the demand of oneself in the figure of drafting, so, User should include at least when selecting the first metadata parameters: the parameter and ordinate of the abscissa of the type and figure of figure Parameter.
The type of figure for example can be, line chart, histogram etc..
The parameter of abscissa includes at least one characteristic parameter and the corresponding content of characteristic parameter, the parameter packet of ordinate Include at least one characteristic parameter and the corresponding content of characteristic parameter.Characteristic parameter in the parameter of abscissa for example can be receipts Enter, province etc., the characteristic parameter in the parameter of ordinate for example can be date, population etc..
The characteristic parameter for including in the parameter of the characteristic parameter and ordinate that include in the parameter of abscissa can be completely It is different, it is also possible to have that part is identical, generally, a characteristic parameter cannot be chosen as the parameter of abscissa simultaneously and vertical sit Target parameter, if this feature parameter is selected as the parameter of abscissa by user, this feature parameter cannot be chosen as ordinate Parameter.
Some characteristic parameter is province, and corresponding content for example can be for Hebei province, Shaanxi Province, Shandong Province etc., some Characteristic parameter is the date, and corresponding content can be for example the August in -2017 years 2015 or -2017 years in March, 2017 Deng.
It is province that user, which can choose the corresponding parameter of abscissa, and selects Hebei province, selects the corresponding parameter of ordinate For the time, and select the August in -2017 years in March, 2017.
The first metadata parameters that electronic equipment is selected according to user generate query statement, primarily to inquiry is being drawn Required data, unrelated with the type of figure when shape of charting, so when generating query statement, it, can not in order to simpler Using the type of figure as the call parameter for generating query statement.
S103: determining to join with first metadata according to the query statement and preconfigured service database The corresponding each target array of number.
Service database is pre-saved in electronic equipment, service database can be user configuration into electronic equipment 's.Electronic equipment is in order to obtain the data required in graphing, can be according to the inquiry of generation after generating query statement Sentence and preconfigured service database determine each target array corresponding with first metadata parameters.Each mesh Mark each corresponding component data of parameter that the parameter and ordinate of abscissa are included at least in array.According to query statement and business Database determines that the process of target array belongs to the prior art, in embodiments of the present invention to this without repeating.
S104: according to the type for the figure for including in each target array and first metadata parameters, the cross of figure The parameter of coordinate and the parameter of ordinate, graphing are simultaneously shown.
When electronic equipment has determined the type of figure, parameter, the parameter of ordinate of abscissa, and cross, ordinate The corresponding each target array of parameter, so that it may graphing, and by the pattern exhibition of drafting to user.
In graphing, the specific can be that, for each target array, extract the abscissa in the target array The corresponding second component data of parameter of corresponding first component data of parameter and ordinate, by the first component data and second Component data constitutes a sub- array, the corresponding data point of each subnumber group, according to each first component data and each the Two component datas determine reference axis, and in conjunction with the size of the display screen of electronic equipment, each data point is shown in reference axis.
Due in embodiments of the present invention, according to the parameter of the cross of user's selection, ordinate, generating query statement, according to Query statement and preconfigured service database, determine target array, so according to target array, the type of figure and Transverse and longitudinal, the parameter of coordinate of figure, graphing.Required data are manually entered when not needing user for graphing, It is brought conveniently to user, improves the experience of user.
Embodiment 2:
The painting canvas for graphing is preserved in general electronic equipment, painting canvas has its corresponding length and width, painting canvas Size and electronic equipment display screen size can different from, in order to make the figure drawn be more in line with the need of user It asks, and figure is more aesthetically showed into user in the canvas area that electronic equipment is specified, on the basis of above-described embodiment On, in embodiments of the present invention, the class according to the figure for including in each target array and first metadata parameters Type, the parameter of the abscissa of figure and the parameter of ordinate, graphing include:
For each target array, corresponding first component data of parameter of the abscissa in the target array is extracted, and First component data and second component data are constituted subnumber group by the corresponding second component data of the parameter of ordinate;
According to the length and width of the painting canvas pre-saved, corresponding first number of components of each of extraction target array According to second component data, graphing.
In embodiments of the present invention, the painting canvas for graphing is preserved in electronic equipment, and preserves painting canvas Length and width.It, can be for each after electronic equipment has determined each target array corresponding with the first metadata parameters The parameter of target array, corresponding first component data of parameter and ordinate that extract the abscissa in the target array is corresponding Second component data, the first component data and second component data are constituted into a sub- array, each subnumber group is one corresponding Data point.
Electronic equipment can be according to the length and width of the painting canvas pre-saved, and each target array extracted is corresponding The first component data and the first component data and second component data in second component data, that is, each subnumber group, Graphing.
In the length and width according to the painting canvas pre-saved, and corresponding first component of each target array extracted Data and second component data when graphing, can be and arrange reference axis on painting canvas, draw in the width direction of painting canvas X-axis in reference axis, Y-axis is carried out with the length of painting canvas corresponding, that is, X-axis is parallel with the broadside of painting canvas, Y-axis and painting canvas Long side it is parallel, be also possible to carry out the Y-axis in reference axis with the width of painting canvas it is corresponding, by X-axis and the length of painting canvas into Row corresponds to.
If the X-axis in reference axis is carried out with the width of painting canvas it is corresponding, Y-axis is carried out with the length of painting canvas it is corresponding, Can determine position of the origin of reference axis on painting canvas first, and according to the length and width of painting canvas, the first component data and The numerical value of second component data, it is reasonable to determine X-axis numerical value corresponding with the unit length of Y-axis, then according to the first number of components According to the numerical value with second component data, X-axis numerical value corresponding with the unit length of Y-axis determines each data point, that is, each Display position of the subnumber group in painting canvas.
General user will not be such that data point is located on the boundary line of painting canvas in graphing, but on the boundary of painting canvas Line position is slightly left white, so that the figure drawn out is more beautiful, in embodiments of the present invention, the picture that the basis pre-saves The length and width of cloth, corresponding first component data of each of extraction target array and second component data draw figure Shape includes:
Identify in the first maximum value in first component data and the first minimum value and second component data Second minimum value of two maximum value sums;
According to the of the width of painting canvas and length, first maximum value and the first minimum value, the second maximum value sum Two minimum values, and the maximum radius pre-saved determine the data area that X-axis is shown and the data area that Y-axis is shown;
For each subnumber group, according in the width of painting canvas and length, the subnumber group the first component data and second point Data are measured, and the data area that the data area that shows of X-axis and Y-axis determined is shown, determines the subnumber group on painting canvas Display position.
In embodiments of the present invention, in the length and width according to the painting canvas pre-saved, each of extraction target Corresponding first component data of array and second component data when graphing, can be identified first in first component data The first maximum value and the second maximum value sum in the first minimum value and second component data the second minimum value, according to picture The width and length of cloth, the first maximum value in the first component data and second in the first minimum value, second component data are most Second minimum value of big value sum, and the maximum radius pre-saved determine that range that X-axis data are shown and Y-axis data are shown Range, and determine the display model of corresponding data in the indication range of corresponding data and the length of painting canvas on the width of painting canvas It encloses.
Abscissa is corresponded to the width of painting canvas, the length of painting canvas corresponds to ordinate, specifically, can be, according to formula:
Xmax 2=Xmax 1+ (Xmax 1-Xmin 1)/Width*Rmax, determines the maximum data value that X-axis is shown;
Xmin 2=Xmin 1- (Xmax 1-Xmin 1)/Width*Rmax, determines the minimum data value that X-axis is shown;
Ymax 2=Ymax 1+ (Ymax 1-Ymin 1)/Lenght*Rmax, determines the maximum data value that Y-axis is shown;
Ymin 2=Ymin 1- (Ymax 1-Ymin 1)/Length*Rmax, determines the minimum data value that Y-axis is shown;
Wherein, Xmax 2 is the maximum data value that X-axis is shown, Xmin 2 is the minimum data value that X-axis is shown, Ymax 2 is The maximum data value that Y-axis is shown, Ymin 2 are the minimum data value that show of Y-axis, and Xmax 1 is the first maximum value, and Xmin 1 is the One minimum value, Ymax 1 are the second maximum value, and Ymin 1 is the second minimum value, and Width is the width of painting canvas, and Lenght is painting canvas Length, Rmax is the maximum radius pre-saved.
The minimum data value that the maximum data value and X-axis shown according to X-axis is shown determines the data area that X-axis is shown, root The minimum data value that the maximum data value and Y-axis shown according to Y-axis is shown determines that the data area that Y-axis is shown, that is, X-axis are shown Data area be maximum data value that minimum data value to the X-axis that show of X-axis is shown, the data area that Y-axis is shown shows for Y-axis The maximum data value that minimum data value to the Y-axis shown is shown.
Then, for each subnumber group, according to the first component data and in the width of painting canvas and length, the subnumber group Two component datas, and the data area that the data area that shows of X-axis and Y-axis that determine are shown, determine the subnumber group in painting canvas On display position.
Specifically, can be according to formula:
Rx=(X-Xmin 2)/(Xmax2-Xmin2) * Width determines the numerical value of the subnumber group on the width of painting canvas;
Ry=(Y-Ymin 2)/(Ymax2-Ymin2) * Length determines the numerical value of the subnumber group in the length of painting canvas;
Wherein, Rx is numerical value of the subnumber group on the width of painting canvas, and Ry is numerical value of the subnumber group in the length of painting canvas, X For the first component data in the subnumber group, Y is the second component data in the subnumber group.
But in order to make the figure drawn be more in line with the demand of user, user is made preferably to analyze data according to figure, It, can be after having determined display position of the subnumber group on painting canvas in graphing, then arrange that reference axis is aobvious on painting canvas Show position, the X-axis in reference axis and axis are to carry out region division to the display position of sub- array i.e. data point.It determines and sits Display position of the intersection point of the namely determining X-axis in display position of the parameter on painting canvas and Y-axis in reference axis, is determining intersection point When, the X-axis and Y in reference axis can be determined according to corresponding first component data of each target array and second component data The corresponding first object classification data of the intersection point of axis and the second target component data, the specific can be that by the first component data Minimum value or intermediate value or maximum value be determined as first object classification data, by second component data minimum value or in Value or maximum value are determined as the second target component data.
Electronic equipment internal structure chart as shown in Figure 2, includes represent layer, data Layer and data source in electronic equipment, and one As electronic equipment in graphing, the drawing interface that user can see is known as represent layer, to provide the user with metadata The figure that parameter and displaying are drawn relies primarily on the graph drawing engine in represent layer in graphing.When user wants On an electronic device when graphing, user is initially entered, and represent layer requests to carry out the metadata ginseng of graphic plotting to data Layer Number, metadata parameters are stored in the metadata parameters library of data source, and user selects the first metadata parameters, and represent layer is to data Layer sends the data acquisition request for carrying the first metadata parameters.Represent layer is interacted with data Layer by blaze agreement.
Data Layer uses traditional Spring frame, and data Layer is obtained in the data for receiving represent layer transmission, accesses first number According to parameter library, the first metadata parameters are parsed, and generate query statement according to metadata configurations, that is, according to first The generating mode of metadata parameters and query statement generates SQL statement.According to the SQL statement of generation, the industry in data source is accessed Business database, obtains data required when graphing, that is, according to the query statement and preconfigured business number According to library, each target array corresponding with first metadata parameters is determined.Data Layer and data source are handed over by JDBC mode Mutually.
Data in service database are not distinctly claimed, as long as meeting true table, metadata parameters library is basis What service database was configured.
For data Layer after getting data i.e. target array, each target array that can be extracted is first point corresponding Amount data and second component data identify maximum value therein, minimum value, the specific data processing engine in data Layer Carry out identifying processing.When each target array is sent to represent layer, the maximum of the first component data identified can be marked The maximum value and minimum value of value and minimum value and second component data, such represent layer can reduce workload, and figure Drawing engine can determine corresponding on the width of painting canvas first according to the width and length of maximum value, minimum value and painting canvas The indication range of corresponding data in the indication range of data and the length of painting canvas.Then further according in each target data One component data and second component data determine display position of the data point on painting canvas.
Data Layer, can be with used figure organization object to target when the corresponding data of target array are sent to represent layer Data in array are packaged according to format needed for graphic plotting, are then forwarded to represent layer, are packaged term to data The prior art, in embodiments of the present invention to the process without repeating.
Embodiment 3:
In graphing, horizontal, ordinate the corresponding data of parameter can be not only shown on figure, can also be shown The corresponding data of the third parameter can be in order to make user quickly and accurately understand the size of the corresponding data of the third parameter It is to indicate the corresponding data of the third parameter by the size of each data point in figure.In the base of the various embodiments described above On plinth, in embodiments of the present invention, in first metadata parameters further include: quantization parameter;
The method also includes:
The corresponding each third component data of quantization parameter in each target array is extracted, according to preset maximum radius And the value of least radius and the corresponding third component data of each data point, determine the display radius of each data point.
In embodiments of the present invention, further include quantization parameter in the first metadata parameters of user's selection, pass through data point The corresponding third component data of size reflection quantization parameter size, generally, the value of third component data is bigger, corresponding number Strong point is also bigger, and the value of third component data is smaller, and corresponding data point is also just smaller.
It also include quantization in the query statement of generation in the first metadata parameters of user's selection when including quantization parameter Parameter, then according to including the corresponding third component data of quantization parameter in the determining target array of query statement, electronic equipment can To extract the corresponding each third component data of the quantization parameter in each target array, specifically, electronic equipment is determining mesh When marking array, position of the corresponding component data of each parameter in target array can be preserved, therefore can accurately extract Corresponding first component data of the parameter of abscissa, the corresponding second component data of parameter of ordinate and quantization parameter are corresponding Third component data.
Maximum radius and the corresponding value of least radius are preserved in electronic equipment, when being extracted each third component data Afterwards, each data can be determined according to maximum radius, the value of least radius and the corresponding third component data of each data point The display radius of point.The wherein method of determination of data point are as follows: be directed to each target array, extract the abscissa in the target array Corresponding first component data of parameter and ordinate the corresponding second component data of parameter, by the first component data and Two component datas constitute a sub- array, the corresponding data point of each subnumber group.
The specific can be that the radius of the corresponding data point of maximum value in third component data is determined as maximum half The radius of the corresponding data point of minimum value in third component data is determined as least radius, other third component datas by diameter The radius of corresponding data point, determines under a proportional relationship.
In the radius for determining data point, the graph drawing engine that can be in the represent layer in Fig. 2 carries out calculating determination , but in order to save the workload of represent layer, it is also possible to the data processing engine in data Layer and each data point has been determined After showing radius, it is sent to represent layer.
Embodiment 4:
When the type that user wants the figure drawn is tendency chart, the line between two data points can be straight line, with The variation tendency of the data between two data points is indicated, in order to keep the line before data point more beautiful, to user with dynamic Feeling, on the basis of the various embodiments described above, in embodiments of the present invention, the method also includes:
For the corresponding data point of each subnumber group, according to adjacent each corresponding first component data of two data points and Second component data, the number of the data point after preset division and preset algorithm, two data points adjacent between this Line be smoothed, and show.
In embodiments of the present invention, each subnumber group corresponds to a data point, and number a little is pre-saved in electronic equipment Amount and algorithm can be when the line between two adjacent data points to be smoothed according to two adjacent numbers Corresponding first component data of each data point and second component data in strong point, the quantity of preset point and preset Algorithm, the line between two data points adjacent to this is smoothed, and is showed.
Line between two data points adjacent to this is smoothed, that is, determines that the point of preset quantity is each right The data answered, i.e., the first component data and second component data in subnumber group.Then using determining subnumber group on painting canvas The mode of display position shows corresponding position of each data point on painting canvas, and connects to preset quantity data point It connects.
The preset algorithm can be secondary Bezier algorithm.
Specifically, smoothly being located according to secondary Bezier algorithm to the line between two adjacent data points When reason, determined according to the function B (t) of fixed point P0, P1, P2, wherein
B (t)=(1-t)2P0+2t(1-t)P1+t2The constant interval of P2, t are 0-1.
In embodiments of the present invention, the forward data point in using P0 as two data points, that is, line is corresponding Beginning data point, using P1 as the data point rearward in two data points, that is, the corresponding end data point of line, P2 For the intermediate data points between corresponding two data points of line, preferably, the corresponding data point of P2 is that two data points are corresponding The intermediate value of data, it is, the first component data of P2 is the intermediate value of the first component data of P1 and P0, the second component number of P2 According to the intermediate value of the second component data for P1 and P0.The constant interval of t is split, the number of segmentation adds 1 to be data point Quantity be preferably divided into a with and the constant interval of t divided equally, then the quantity of data point be N=1/a, by P0, P1, The component data of the corresponding data point of P2 and the value of t are updated in function B (t), that is, can determine that each in N number of data point Data point represent component data, N number of data point is attached, then can to the line between two adjacent data points into Row smoothing processing.
For example, the corresponding data of the corresponding beginning data point P0 of the line being smoothed are (20,100), terminate number P2 corresponding data in strong point are (30,200), and the corresponding data of intermediate data points P1 are (25,150), are divided into 0.05 couple of t's with Constant interval is split, then the quantity of data point is 1/0.05=20, and first quantity point namely starts data point The value of (20,100) corresponding t is 0, and the value of the corresponding t of second quantity point is 0.05 ... ..., and the 20th quantity point is also The value for being the corresponding t of end data point (30,200) is 1.
Start corresponding first component data of data point:
X=(1-0)2*20+2*0*(1-0)*25+02* 30=20, t=0;
Start the corresponding second component data of data point:
Y=(1-0)2*100+2*0*(1-0)*150+02* 200=100, t=0;It is overlapped with P0.
Corresponding first component data of second data point:
X=(1-0.05)2*20+2*0.05*(1-0.05)*25+0.052* 30=20.5, t=0.05;
Y=(1-0.05)2*100+2*0.05*(1-0.05)*150+0.052* 200=105, t=0.05;
And so on, the last one point, t=1, then the data point calculated is overlapped with P2.
All data points are linked up to a curve for then forming P0 a to P2, usually, the value of t is more, Curve is more smooth.
User can draw multiple figures using aforesaid way, if multiple figures are according to the time in graphing It successively sorts, multiple figures can also continuously be shown, the specific can be that, with the speed of 60 frame per second by multiple figures Shape is continuously shown.
User can also according to the demand of user mark some data point or some display area in graphing Color etc..
The flow chart of graphing as shown in Figure 3, represent layer receives the first metadata parameters of user's selection, to data Layer sends the data acquisition request for carrying the figure of the first metadata parameters, and data Layer is visited after receiving data acquisition request It asks metadata parameters library, parses the first metadata parameters, generate query statement.According to query statement, service database is accessed, is obtained Data needed for taking graphing, and according to the calculating of data progress partial data, such as the display radius of data point is calculated, it will The data for obtaining data and calculating are packaged, by organizing Drawing Object to be sent to represent layer.
Represent layer receives the data that data Layer obtains, and carries out Drawing Object and is parsed, i.e., is parsed according to encapsulation format Data, and on coordinates computed axis data indication range, and determine the display position of each data point on painting canvas.And it is right Line between two adjacent data points is smoothed, and to embody motion profile, and is shown.
Fig. 4 is a kind of four-quadrant diagram provided in an embodiment of the present invention, the parameter of abscissa be Add User income (unit: Member), the parameter of ordinate is operation income, through the foregoing embodiment in calculating, can obtain: the maximum data value that X-axis is shown is 10000000, the minimum data value that X-axis is shown is 5,000,000, and the maximum data value that Y-axis is shown is 100,000,000 yuan, the minimum number that Y-axis is shown It is to have the data point to differ in size in 10,000,000, Fig. 4 according to value, the size of each data point represents the corresponding third point of quantization parameter Measure data size, through the foregoing embodiment in the line two adjacent points is smoothed, embody it Motion profile.
Embodiment 5:
Fig. 5 is a kind of drawing apparatus structure chart for figure that the embodiment of the present invention 5 provides, and described device includes:
Receiving module 51, the graphic plotting for receiving user are requested, and the member for carrying out graphic plotting is provided to the user Data parameters;
Generation module 52, the first metadata parameters for being selected according to user generate query statement, wherein described first Metadata parameters include at least: the parameter of the abscissa of figure and the parameter of ordinate;
Determining module 53, it is determining with described for according to the query statement and preconfigured service database The corresponding each target array of one metadata parameters;
Drafting module 54, for the class according to the figure for including in each target array and first metadata parameters Type, the parameter of the abscissa of figure and the parameter of ordinate, graphing are simultaneously shown.
The drafting module 54 is specifically used for being directed to each target array, extracts the ginseng of the abscissa in the target array The corresponding second component data of parameter of corresponding first component datas of number and ordinate, by first component data and the Two component datas constitute subnumber group;According to the length and width of the painting canvas pre-saved, each of extraction target array pair The first component data and second component data answered, graphing.
The drafting module 54, specifically for identifying the first maximum value and the first minimum in first component data Second minimum value of value and the second maximum value sum in second component data;According to the width of painting canvas and length, described first Second minimum value of maximum value and the first minimum value, the second maximum value sum, and the maximum radius pre-saved, determine X The data area that the data area and Y-axis that axis is shown are shown;For each subnumber group, according to the width of painting canvas and length, the son The first component data and second component data in array, and the data that the data area that shows of X-axis and Y-axis that determine are shown Range determines the display position of the subnumber group on painting canvas.
The drafting module 54 is specifically used for according to formula:
Xmax 2=Xmax 1+ (Xmax 1-Xmin 1)/Width*Rmax, determines the maximum data value that X-axis is shown;
Xmin 2=Xmin 1- (Xmax 1-Xmin 1)/Width*Rmax, determines the minimum data value that X-axis is shown;
Ymax 2=Ymax 1+ (Ymax 1-Ymin 1)/Lenght*Rmax, determines the maximum data value that Y-axis is shown;
Ymin 2=Ymin 1- (Ymax 1-Ymin 1)/Length*Rmax, determines the minimum data value that Y-axis is shown;
Wherein, Xmax 2 is the maximum data value that X-axis is shown, Xmin 2 is the minimum data value that X-axis is shown, Ymax 2 is The maximum data value that Y-axis is shown, Ymin 2 are the minimum data value that show of Y-axis, and Xmax 1 is the first maximum value, and Xmin 1 is the One minimum value, Ymax 1 are the second maximum value, and Ymin 1 is the second minimum value, and Width is the width of painting canvas, and Lenght is painting canvas Length, Rmax is the maximum radius pre-saved.
The drafting module 54 is specifically used for according to formula:
Rx=(X-Xmin 2)/(Xmax2-Xmin2) * Width determines the numerical value of the subnumber group on the width of painting canvas;
Ry=(Y-Ymin 2)/(Ymax2-Ymin2) * Length determines the numerical value of the subnumber group in the length of painting canvas;
Wherein, Rx is numerical value of the subnumber group on the width of painting canvas, and Ry is numerical value of the subnumber group in the length of painting canvas, X For the first component data in the subnumber group, Y is the second component data in the subnumber group.
In first metadata parameters further include: quantization parameter;
The determining module 53 is also used to extract the corresponding each third number of components of quantization parameter in each target array According to determining each according to the value of preset maximum radius and least radius and the corresponding third component data of each data point The display radius of data point.
The drafting module 54 is also used to for the corresponding data point of each subnumber group, according to two adjacent data points Each corresponding first component data and second component data, the number of the data point after preset division and preset algorithm, Line two data points adjacent between this is smoothed, and is showed.
Embodiment 6:
On the basis of the various embodiments described above, a kind of electricity is additionally provided based on the same inventive concept, in the embodiment of the present invention Sub- equipment, since the principle that electronic equipment solves the problems, such as is similar to the method for drafting of figure, the electronics in the present embodiment is set Standby implementation may refer to the implementation of method, and overlaps will not be repeated.
The embodiment of the invention also provides a kind of electronic equipment, as shown in Figure 6, comprising: processor 61, memory 62 and receipts Hair machine 63;
In Fig. 6, bus architecture may include the bus and bridge of any number of interconnection, specifically be represented by processor 61 The various circuits for the memory that one or more processors and memory 62 represent link together.Bus architecture can also will be all If various other circuits of peripheral equipment, voltage-stablizer and management circuit or the like link together, these are all this fields Known, therefore, it will not be further described herein.Transceiver 63 can be multiple element, that is, include transmitter And receiver, the unit for communicating over a transmission medium with various other devices is provided.Processor 61 is responsible for the total coil holder of management Structure and common processing, memory 62 can store the used data when executing operation of processor 61.
Optionally, processor 61 can be CPU (centre buries device), ASIC (Application Specific Integrated Circuit, specific integrated circuit), (Field-Programmable Gate Array, scene can compile FPGA Journey gate array) or CPLD (Complex Programmable Logic Device, Complex Programmable Logic Devices).
The transceiver 63, for receiving the graphic plotting request of user under the control of processor 61;
The processor 61 executes following process for reading the program in the memory 62: realize following steps: The metadata parameters for carrying out graphic plotting are provided to the user;According to the first metadata parameters that user selects, inquiry is generated Sentence, wherein first metadata parameters include at least: the parameter of the abscissa of figure and the parameter of ordinate;According to described Query statement and preconfigured service database determine each target array corresponding with first metadata parameters; According to the type for the figure for including in each target array and first metadata parameters, the parameter of the abscissa of figure and vertical The parameter of coordinate, graphing are simultaneously shown.
The processor 61 is specifically used for being directed to each target array, extracts the parameter of the abscissa in the target array The corresponding second component data of the parameter of corresponding first component data and ordinate, by first component data and second Component data constitutes subnumber group;According to the length and width of the painting canvas pre-saved, each of extraction target array is corresponding The first component data and second component data, graphing.
The processor 61, specifically for identifying the first maximum value and the first minimum value in first component data, And the second minimum value of the second maximum value sum in second component data;Most according to the width of painting canvas and length, described first Big value and the first minimum value, the second minimum value of the second maximum value sum, and the maximum radius pre-saved, determine X-axis The data area that the data area and Y-axis of display are shown;For each subnumber group, according to the width of painting canvas and length, the subnumber The first component data and second component data in group, and the data model that the data area that shows of X-axis and Y-axis that determine are shown It encloses, determines the display position of the subnumber group on painting canvas.
The processor 61 is specifically used for according to formula:
Xmax 2=Xmax 1+ (Xmax 1-Xmin 1)/Width*Rmax, determines the maximum data value that X-axis is shown;
Xmin 2=Xmin 1- (Xmax 1-Xmin 1)/Width*Rmax, determines the minimum data value that X-axis is shown;
Ymax 2=Ymax 1+ (Ymax 1-Ymin 1)/Lenght*Rmax, determines the maximum data value that Y-axis is shown;
Ymin 2=Ymin 1- (Ymax 1-Ymin 1)/Length*Rmax, determines the minimum data value that Y-axis is shown;Its In, Xmax 2 is the maximum data value that X-axis is shown, Xmin 2 is the minimum data value that X-axis is shown, Ymax 2 is what Y-axis was shown Maximum data value, Ymin 2 are the minimum data value that Y-axis is shown, Xmax 1 is the first maximum value, and Xmin 1 is the first minimum value, Ymax 1 is the second maximum value, and Ymin 1 is the second minimum value, and Width is the width of painting canvas, and Lenght is the length of painting canvas, Rmax is the maximum radius pre-saved.
The processor 61 is specifically used for according to formula:
Rx=(X-Xmin 2)/(Xmax2-Xmin2) * Width determines the numerical value of the subnumber group on the width of painting canvas;
Ry=(Y-Ymin 2)/(Ymax2-Ymin2) * Length determines the numerical value of the subnumber group in the length of painting canvas;
Wherein, Rx is numerical value of the subnumber group on the width of painting canvas, and Ry is numerical value of the subnumber group in the length of painting canvas, X For the first component data in the subnumber group, Y is the second component data in the subnumber group.
In first metadata parameters further include: quantization parameter;
The processor 61 is also used to extract the corresponding each third number of components of quantization parameter in each target array According to determining each according to the value of preset maximum radius and least radius and the corresponding third component data of each data point The display radius of data point.
The processor 61 is also used to for the corresponding data point of each subnumber group, each according to two adjacent data points Corresponding first component data and second component data, the number of the data point after preset division and preset algorithm, it is right Line between two adjacent data points is smoothed, and is showed.
In embodiments of the present invention, when processor executes the program stored on memory, what realization was selected according to user Horizontal, ordinate parameter generates query statement according to query statement and preconfigured service database and determines number of targets Group, and then according to target array, the transverse and longitudinal of the type of figure and figure, the parameter of coordinate, graphing.Not needing user will Required data are manually entered when graphing, are brought conveniently to user, are improved the experience of user.
Embodiment 7:
On the basis of the various embodiments described above, the embodiment of the invention also provides a kind of electronic equipment, as shown in fig. 7, packet It includes: processor 71, communication interface 72, memory 73 and communication bus 74, wherein processor 71, communication interface 72, memory 73 Mutual communication is completed by communication bus 74;
It is stored with computer program in the memory, when described program is executed by the processor, so that the place It manages device and executes following steps:
The graphic plotting request for receiving user, the metadata parameters for carrying out graphic plotting are provided to the user;
According to the first metadata parameters that user selects, query statement is generated, wherein first metadata parameters are at least It include: the parameter of the abscissa of figure and the parameter of ordinate;
According to the query statement and preconfigured service database, determination is corresponding with first metadata parameters Each target array;
According to the type for the figure for including in each target array and first metadata parameters, the abscissa of figure The parameter of parameter and ordinate, graphing are simultaneously shown.
Electronic equipment provided in an embodiment of the present invention be specifically as follows desktop computer, portable computer, smart phone, Tablet computer, personal digital assistant (Personal Digital Assistant, PDA), network side equipment etc..
The communication bus that above-mentioned electronic equipment is mentioned can be Peripheral Component Interconnect standard (Peripheral Component Interconnect, PCI) bus or expanding the industrial standard structure (Extended Industry Standard Architecture, EISA) bus etc..The communication bus can be divided into address bus, data/address bus, control bus etc..For just It is only indicated with a thick line in expression, figure, it is not intended that an only bus or a type of bus.
Communication interface 72, for the communication between above-mentioned electronic equipment and other equipment.
Memory may include random access memory (Random Access Memory, RAM), also may include non-easy The property lost memory (Non-Volatile Memory, NVM), for example, at least a magnetic disk storage.Optionally, memory may be used also To be storage device that at least one is located remotely from aforementioned processor.
Above-mentioned processor can be general processor, including central processing unit, network processing unit (Network Processor, NP) etc.;It can also be digital signal processor (Digital Signal Processing, DSP), dedicated collection At circuit, field programmable gate array or other programmable logic device, discrete gate or transistor logic, discrete hard Part component etc..
In embodiments of the present invention, when processor executes the program stored on memory, what realization was selected according to user Horizontal, ordinate parameter generates query statement according to query statement and preconfigured service database and determines number of targets Group, and then according to target array, the transverse and longitudinal of the type of figure and figure, the parameter of coordinate, graphing.Not needing user will Required data are manually entered when graphing, are brought conveniently to user, are improved the experience of user.
Embodiment 8:
On the basis of the various embodiments described above, the embodiment of the invention also provides a kind of computer readable storage medium, institutes Stating computer-readable recording medium storage has the computer program that can be executed by electronic equipment, when described program is set in the electronics When standby upper operation, so that the electronic equipment executes following steps:
The graphic plotting request for receiving user, the metadata parameters for carrying out graphic plotting are provided to the user;
According to the first metadata parameters that user selects, query statement is generated, wherein first metadata parameters are at least It include: the parameter of the abscissa of figure and the parameter of ordinate;
According to the query statement and preconfigured service database, determination is corresponding with first metadata parameters Each target array;
According to the type for the figure for including in each target array and first metadata parameters, the abscissa of figure The parameter of parameter and ordinate, graphing are simultaneously shown.
Above-mentioned computer readable storage medium can be any usable medium that the processor in electronic equipment can access Or data storage device, including but not limited to magnetic storage such as floppy disk, hard disk, tape, magneto-optic disk (MO) etc., optical memory Such as CD, DVD, BD, HVD and semiconductor memory such as ROM, EPROM, EEPROM, nonvolatile memory (NAND FLASH), solid state hard disk (SSD) etc..
Computer program, computer program are provided in the computer readable storage medium provided in embodiments of the present invention Realize the parameter of the cross, ordinate that selects according to user when being executed by processor, generation query statement, according to query statement and Preconfigured service database, determines target array, so according to target array, the transverse and longitudinal of the type of figure and figure, The parameter of coordinate, graphing.Required data are manually entered when not needing user for graphing, are brought to user It is convenient, improve the experience of user.
The embodiment of the invention discloses a kind of method for drafting of figure, device, electronic equipment and storage medium, this method packets It includes: receiving the graphic plotting request of user, the metadata parameters for carrying out graphic plotting are provided to the user;It is selected according to user The first metadata parameters, generate query statement, wherein first metadata parameters include at least: the ginseng of the abscissa of figure Several and ordinate parameter;According to the query statement and preconfigured service database, determining and first yuan of number According to the corresponding each target array of parameter;According to the class for the figure for including in each target array and first metadata parameters Type, the parameter of the abscissa of figure and the parameter of ordinate, graphing are simultaneously shown.Due in embodiments of the present invention, according to The parameter of the cross of user's selection, ordinate, generates query statement, according to query statement and preconfigured service database, Determine target array, and then according to target array, the transverse and longitudinal of the type of figure and figure, the parameter of coordinate, graphing.No Required data are manually entered when needing user for graphing, are brought conveniently to user, are improved the experience of user.
For systems/devices embodiment, since it is substantially similar to the method embodiment, so the comparison of description is simple Single, the relevent part can refer to the partial explaination of embodiments of method.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality Body or an operation are distinguished with another entity or another operation, without necessarily requiring or implying these entities Or there are any actual relationship or orders between operation.
It should be understood by those skilled in the art that, embodiments herein can provide as method, system or computer program Product.Therefore, the reality of complete hardware embodiment, complete Application Example or connected applications and hardware aspect can be used in the application Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the application, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
The application is referring to method, the process of equipment (system) and computer program product according to the embodiment of the present application Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
Although the preferred embodiment of the application has been described, it is created once a person skilled in the art knows basic Property concept, then additional changes and modifications can be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as It selects embodiment and falls into all change and modification of the application range.
Obviously, those skilled in the art can carry out various modification and variations without departing from the essence of the application to the application Mind and range.In this way, if these modifications and variations of the application belong to the range of the claim of this application and its equivalent technologies Within, then the application is also intended to include these modifications and variations.

Claims (18)

1.一种图形的绘制方法,其特征在于,所述方法包括:1. a kind of drawing method of figure, is characterized in that, described method comprises: 接收用户的图形绘制请求,向所述用户提供进行图形绘制的元数据参数;Receive a user's graphic drawing request, and provide the user with metadata parameters for graphic drawing; 根据用户选择的第一元数据参数,生成查询语句,其中所述第一元数据参数至少包括:图形的横坐标的参数和纵坐标的参数;Generate a query statement according to the first metadata parameter selected by the user, wherein the first metadata parameter includes at least: a parameter of the abscissa and a parameter of the ordinate of the graphic; 根据所述查询语句以及预先配置的业务数据库,确定与所述第一元数据参数对应的每个目标数组;Determine each target array corresponding to the first metadata parameter according to the query statement and the preconfigured business database; 根据每个目标数组及所述第一元数据参数中包括的图形的类型,图形的横坐标的参数和纵坐标的参数,绘制图形并展示。According to each target array and the type of graphics included in the first metadata parameter, the parameters of the abscissa and the parameter of the ordinate of the graphics, the graphics are drawn and displayed. 2.如权利要求1所述的方法,其特征在于,所述根据每个目标数组及所述第一元数据参数中包括的图形的类型,图形的横坐标的参数和纵坐标的参数,绘制图形包括:2. The method according to claim 1, wherein, according to the type of the graphics included in each target array and the first metadata parameter, the parameters of the abscissa of the graphics and the parameters of the ordinate, draw Graphics include: 针对每个目标数组,提取该目标数组中的横坐标的参数对应的第一分量数据,及纵坐标的参数对应的第二分量数据,将所述第一分量数据和第二分量数据构成子数组;For each target array, extract the first component data corresponding to the parameter of the abscissa and the second component data corresponding to the parameter of the ordinate in the target array, and form the first component data and the second component data into a sub-array ; 根据预先保存的画布的长度与宽度,提取的每个所述目标数组对应的第一分量数据和第二分量数据,绘制图形。According to the pre-stored length and width of the canvas, the first component data and the second component data corresponding to each of the target arrays are extracted to draw a graphic. 3.如权利要求2所述的方法,其特征在于,所述根据预先保存的画布的长度与宽度,提取的每个所述目标数组对应的第一分量数据和第二分量数据,绘制图形包括:3. The method according to claim 2, wherein the first component data and the second component data corresponding to each of the target arrays extracted according to the length and width of the pre-saved canvas, and the drawing of the graphics comprises: : 识别所述第一分量数据中的第一最大值和第一最小值,以及第二分量数据中的第二最大值和的第二最小值;identifying a first maximum value and a first minimum value in the first component data, and a second maximum value and a second minimum value in the second component data; 根据画布的宽度和长度、所述第一最大值和第一最小值、所述第二最大值和的第二最小值,以及预先保存的最大半径,确定X轴显示的数据范围和Y轴显示的数据范围;According to the width and length of the canvas, the first maximum value and the first minimum value, the second maximum value and the second minimum value, and the pre-saved maximum radius, determine the data range displayed on the X-axis and the display on the Y-axis range of data; 针对每个子数组,根据画布的宽度和长度、该子数组中的第一分量数据和第二分量数据,以及确定的X轴显示的数据范围和Y轴显示的数据范围,确定该子数组在画布上的显示位置。For each sub-array, according to the width and length of the canvas, the first component data and the second component data in the sub-array, and the determined data range displayed on the X-axis and data range displayed on the Y-axis, determine the sub-array on the canvas display position on the . 4.如权利要求3所述的方法,其特征在于,所述根据画布的宽度和长度、所述第一最大值和第一最小值、所述第二最大值和第二最小值,以及预先保存的最大半径,确定坐标轴中的X轴显示的数据范围和Y轴显示的数据范围包括:4. The method of claim 3, wherein the method is based on the width and length of the canvas, the first maximum value and the first minimum value, the second maximum value and the second minimum value, and a The maximum radius saved, which determines the data range displayed on the X axis and the data range displayed on the Y axis in the coordinate axis includes: 根据公式:According to the formula: Xmax 2=Xmax 1+(Xmax 1-Xmin 1)/Width*Rmax,确定X轴显示的最大数据值;Xmax 2=Xmax 1+(Xmax 1-Xmin 1)/Width*Rmax, determine the maximum data value displayed on the X-axis; Xmin 2=Xmin 1-(Xmax 1-Xmin 1)/Width*Rmax,确定X轴显示的最小数据值;Xmin 2=Xmin 1-(Xmax 1-Xmin 1)/Width*Rmax, determine the minimum data value displayed on the X-axis; Ymax 2=Ymax 1+(Ymax 1-Ymin 1)/Lenght*Rmax,确定Y轴显示的最大数据值;Ymax 2=Ymax 1+(Ymax 1-Ymin 1)/Lenght*Rmax, determine the maximum data value displayed on the Y-axis; Ymin 2=Ymin 1-(Ymax 1-Ymin 1)/Length*Rmax,确定Y轴显示的最小数据值;Ymin 2=Ymin 1-(Ymax 1-Ymin 1)/Length*Rmax, determine the minimum data value displayed on the Y-axis; 其中,Xmax 2为X轴显示的最大数据值,Xmin 2为X轴显示的最小数据值,Ymax 2为Y轴显示的最大数据值,Ymin 2为Y轴显示的最小数据值,Xmax 1为第一最大值,Xmin 1为第一最小值,Ymax 1为第二最大值,Ymin 1为第二最小值,Width为画布的宽度,Lenght为画布的长度,Rmax为预先保存的最大半径。Among them, Xmax 2 is the maximum data value displayed on the X-axis, Xmin 2 is the minimum data value displayed on the X-axis, Ymax 2 is the maximum data value displayed on the Y-axis, Ymin 2 is the minimum data value displayed on the Y-axis, and Xmax 1 is the first A maximum value, Xmin 1 is the first minimum value, Ymax 1 is the second maximum value, Ymin 1 is the second minimum value, Width is the width of the canvas, Lenght is the length of the canvas, and Rmax is the pre-saved maximum radius. 5.如权利要求4所述的方法,其特征在于,所述根据画布的宽度和长度、该子数组中的第一分量数据和第二分量数据,以及确定的X轴显示的数据范围和Y轴显示的数据范围,确定该子数组在画布上的显示位置包括:5. The method according to claim 4, characterized in that, according to the width and length of the canvas, the first component data and the second component data in the subarray, and the determined data range and Y displayed on the X axis The data range displayed by the axis, which determines the display position of the subarray on the canvas includes: 根据公式:According to the formula: Rx=(X-Xmin 2)/(Xmax2-Xmin2)*Width,确定该子数组在画布的宽度上的数值;Rx=(X-Xmin 2)/(Xmax2-Xmin2)*Width, determine the value of the sub-array on the width of the canvas; Ry=(Y-Ymin 2)/(Ymax2-Ymin2)*Length,确定该子数组在画布的长度上的数值;Ry=(Y-Ymin 2)/(Ymax2-Ymin2)*Length, determine the value of the sub-array on the length of the canvas; 其中,Rx为子数组在画布的宽度上的数值,Ry为子数组在画布的长度上的数值,X为该子数组中的第一分量数据,Y为该子数组中的第二分量数据。Among them, Rx is the value of the subarray on the width of the canvas, Ry is the value of the subarray on the length of the canvas, X is the first component data in the subarray, and Y is the second component data in the subarray. 6.如权利要求2-5任一项所述的方法,其特征在于,所述第一元数据参数中还包括:量化参数;6. The method according to any one of claims 2-5, wherein the first metadata parameter further comprises: a quantization parameter; 所述方法还包括:The method also includes: 提取每个目标数组中的量化参数对应的每个第三分量数据,根据预设的最大半径和最小半径,以及每个数据点对应的第三分量数据的值,确定每个数据点的显示半径。Extract each third component data corresponding to the quantization parameter in each target array, and determine the display radius of each data point according to the preset maximum radius and minimum radius, and the value of the third component data corresponding to each data point . 7.如权利要求2-5任一项所述的方法,其特征在于,所述方法还包括:7. The method according to any one of claims 2-5, wherein the method further comprises: 针对每个子数组对应的数据点,根据相邻的两个数据点各对应的第一分量数据和第二分量数据,预设的划分后的数据点的个数,以及预设的算法,对该相邻的两个数据点间的连线进行平滑处理,并展现。For the data points corresponding to each sub-array, according to the first component data and the second component data corresponding to the adjacent two data points, the preset number of divided data points, and the preset algorithm, for the The connection between two adjacent data points is smoothed and displayed. 8.如权利要求7所述的方法,其特征在于,所述预设的算法包括:8. The method of claim 7, wherein the preset algorithm comprises: 二次贝塞尔曲线算法。Quadratic Bezier Curve Algorithm. 9.一种图形的绘制装置,其特征在于,所述装置包括:9. A device for drawing graphics, wherein the device comprises: 接收模块,用于接收用户的图形绘制请求,向所述用户提供进行图形绘制的元数据参数;a receiving module, configured to receive a graphic drawing request from a user, and provide the user with metadata parameters for graphic drawing; 生成模块,用于根据用户选择的第一元数据参数,生成查询语句,其中所述第一元数据参数至少包括:图形的横坐标的参数和纵坐标的参数;a generating module, configured to generate a query statement according to the first metadata parameter selected by the user, wherein the first metadata parameter includes at least: the parameter of the abscissa and the parameter of the ordinate of the graph; 确定模块,用于根据所述查询语句以及预先配置的业务数据库,确定与所述第一元数据参数对应的每个目标数组;a determining module, configured to determine each target array corresponding to the first metadata parameter according to the query statement and the preconfigured business database; 绘制模块,用于根据每个目标数组及所述第一元数据参数中包括的图形的类型,图形的横坐标的参数和纵坐标的参数,绘制图形并展示。The drawing module is configured to draw and display the graph according to the type of each target array and the graph included in the first metadata parameter, the parameter of the abscissa and the parameter of the ordinate of the graph. 10.一种电子设备,其特征在于,所述电子设备包括:存储器、处理器和收发机;10. An electronic device, characterized in that the electronic device comprises: a memory, a processor, and a transceiver; 所述收发机,用于在处理器的控制下接收用户的图形绘制请求;The transceiver is used to receive a user's graphics drawing request under the control of the processor; 所述处理器,用于读取所述存储器中的程序,执行下列过程:实现如下步骤:向所述用户提供进行图形绘制的元数据参数;根据用户选择的第一元数据参数,生成查询语句,其中所述第一元数据参数至少包括:图形的横坐标的参数和纵坐标的参数;根据所述查询语句以及预先配置的业务数据库,确定与所述第一元数据参数对应的每个目标数组;根据每个目标数组及所述第一元数据参数中包括的图形的类型,图形的横坐标的参数和纵坐标的参数,绘制图形并展示。The processor is configured to read the program in the memory and execute the following process: implement the following steps: provide the user with metadata parameters for drawing graphics; generate a query statement according to the first metadata parameter selected by the user , wherein the first metadata parameter includes at least: the parameter of the abscissa of the graph and the parameter of the ordinate; according to the query statement and the pre-configured business database, determine each target corresponding to the first metadata parameter Array; according to each target array and the type of the graph included in the first metadata parameter, the parameter of the abscissa and the parameter of the ordinate of the graph, the graph is drawn and displayed. 11.如权利要求10所述的电子设备,其特征在于,所述处理器,具体用于针对每个目标数组,提取该目标数组中的横坐标的参数对应的第一分量数据,及纵坐标的参数对应的第二分量数据,将所述第一分量数据和第二分量数据构成子数组;根据预先保存的画布的长度与宽度,提取的每个所述目标数组对应的第一分量数据和第二分量数据,绘制图形。11. The electronic device according to claim 10, wherein the processor is specifically configured to, for each target array, extract the first component data corresponding to the parameter of the abscissa in the target array, and the ordinate According to the second component data corresponding to the parameters of The second component data, plotted. 12.如权利要求10所述的电子设备,其特征在于,所述处理器,具体用于识别所述第一分量数据中的第一最大值和第一最小值,以及第二分量数据中的第二最大值和的第二最小值;根据画布的宽度和长度、所述第一最大值和第一最小值、所述第二最大值和的第二最小值,以及预先保存的最大半径,确定X轴显示的数据范围和Y轴显示的数据范围;针对每个子数组,根据画布的宽度和长度、该子数组中的第一分量数据和第二分量数据,以及确定的X轴显示的数据范围和Y轴显示的数据范围,确定该子数组在画布上的显示位置。12. The electronic device according to claim 10, wherein the processor is specifically configured to identify the first maximum value and the first minimum value in the first component data, and the first minimum value in the second component data The second minimum value of the second maximum value and the second minimum value; according to the width and length of the canvas, the first maximum value and the first minimum value, the second minimum value of the second maximum value sum, and the pre-stored maximum radius, Determine the data range displayed on the X axis and the data range displayed on the Y axis; for each subarray, according to the width and length of the canvas, the first and second component data in the subarray, and the determined data displayed on the X axis The range and the data range displayed on the Y-axis determine the display position of the subarray on the canvas. 13.如权利要求12所述的电子设备,其特征在于,所述处理器,具体用于根据公式:13. The electronic device according to claim 12, wherein the processor is specifically configured to: Xmax 2=Xmax 1+(Xmax 1-Xmin 1)/Width*Rmax,确定X轴显示的最大数据值;Xmax 2=Xmax 1+(Xmax 1-Xmin 1)/Width*Rmax, determine the maximum data value displayed on the X-axis; Xmin 2=Xmin 1-(Xmax 1-Xmin 1)/Width*Rmax,确定X轴显示的最小数据值;Xmin 2=Xmin 1-(Xmax 1-Xmin 1)/Width*Rmax, determine the minimum data value displayed on the X-axis; Ymax 2=Ymax 1+(Ymax 1-Ymin 1)/Lenght*Rmax,确定Y轴显示的最大数据值;Ymax 2=Ymax 1+(Ymax 1-Ymin 1)/Lenght*Rmax, determine the maximum data value displayed on the Y-axis; Ymin 2=Ymin 1-(Ymax 1-Ymin 1)/Length*Rmax,确定Y轴显示的最小数据值;其中,Xmax 2为X轴显示的最大数据值,Xmin 2为X轴显示的最小数据值,Ymax 2为Y轴显示的最大数据值,Ymin 2为Y轴显示的最小数据值,Xmax 1为第一最大值,Xmin 1为第一最小值,Ymax1为第二最大值,Ymin 1为第二最小值,Width为画布的宽度,Lenght为画布的长度,Rmax为预先保存的最大半径。Ymin 2=Ymin 1-(Ymax 1-Ymin 1)/Length*Rmax, determine the minimum data value displayed on the Y-axis; where Xmax 2 is the maximum data value displayed on the X-axis, and Xmin 2 is the minimum data value displayed on the X-axis , Ymax 2 is the maximum data value displayed on the Y-axis, Ymin 2 is the minimum data value displayed on the Y-axis, Xmax 1 is the first maximum value, Xmin 1 is the first minimum value, Ymax1 is the second maximum value, and Ymin 1 is the first Two minimum values, Width is the width of the canvas, Lenght is the length of the canvas, and Rmax is the pre-saved maximum radius. 14.如权利要求13所述的电子设备,其特征在于,所述处理器,具体用于根据公式:14. The electronic device of claim 13, wherein the processor is specifically configured to: Rx=(X-Xmin 2)/(Xmax2-Xmin2)*Width,确定该子数组在画布的宽度上的数值;Rx=(X-Xmin 2)/(Xmax2-Xmin2)*Width, determine the value of the sub-array on the width of the canvas; Ry=(Y-Ymin 2)/(Ymax2-Ymin2)*Length,确定该子数组在画布的长度上的数值;Ry=(Y-Ymin 2)/(Ymax2-Ymin2)*Length, determine the value of the sub-array on the length of the canvas; 其中,Rx为子数组在画布的宽度上的数值,Ry为子数组在画布的长度上的数值,X为该子数组中的第一分量数据,Y为该子数组中的第二分量数据。Among them, Rx is the value of the subarray on the width of the canvas, Ry is the value of the subarray on the length of the canvas, X is the first component data in the subarray, and Y is the second component data in the subarray. 15.如权利要求11-14任一项所述的电子设备,其特征在于,所述第一元数据参数中还包括:量化参数;15. The electronic device according to any one of claims 11-14, wherein the first metadata parameter further comprises: a quantization parameter; 所述处理器,还用于提取每个目标数组中的量化参数对应的每个第三分量数据,根据预设的最大半径和最小半径,以及每个数据点对应的第三分量数据的值,确定每个数据点的显示半径。The processor is also used to extract each third component data corresponding to the quantization parameter in each target array, according to the preset maximum radius and minimum radius, and the value of the third component data corresponding to each data point, Determines the display radius for each data point. 16.如权利要求11-14任一项所述的电子设备,其特征在于,所述处理器,还用于针对每个子数组对应的数据点,根据相邻的两个数据点各对应的第一分量数据和第二分量数据,预设的划分后的数据点的个数,以及预设的算法,对该相邻的两个数据点间的连线进行平滑处理,并展现。16. The electronic device according to any one of claims 11 to 14, wherein the processor is further configured to, for the data points corresponding to each sub-array, according to the first data point corresponding to each of the adjacent two data points. The first component data and the second component data, the preset number of divided data points, and the preset algorithm perform smooth processing on the connection between the two adjacent data points, and display them. 17.一种电子设备,其特征在于,包括:处理器、通信接口、存储器和通信总线,其中,处理器,通信接口,存储器通过通信总线完成相互间的通信;17. An electronic device, comprising: a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus; 所述存储器中存储有计算机程序,当所述程序被所述处理器执行时,使得所述处理器执行权利要求1~8任一权利要求所述方法的步骤。A computer program is stored in the memory, and when the program is executed by the processor, the processor causes the processor to perform the steps of the method according to any one of claims 1 to 8. 18.一种计算机可读存储介质,其特征在于,其存储有可由电子设备执行的计算机程序,当所述程序在所述电子设备上运行时,使得所述电子设备执行权利要求1~8任一所述方法的步骤。18. A computer-readable storage medium, characterized in that it stores a computer program executable by an electronic device, and when the program runs on the electronic device, causes the electronic device to execute any one of claims 1 to 8. a step of the method.
CN201710561320.8A 2017-07-11 2017-07-11 A kind of method for drafting of figure, device, electronic equipment and storage medium Pending CN109254976A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710561320.8A CN109254976A (en) 2017-07-11 2017-07-11 A kind of method for drafting of figure, device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710561320.8A CN109254976A (en) 2017-07-11 2017-07-11 A kind of method for drafting of figure, device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN109254976A true CN109254976A (en) 2019-01-22

Family

ID=65050975

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710561320.8A Pending CN109254976A (en) 2017-07-11 2017-07-11 A kind of method for drafting of figure, device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109254976A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110992443A (en) * 2019-12-18 2020-04-10 政采云有限公司 Business flow chart construction method and device and computer readable storage medium
CN111045768A (en) * 2019-11-27 2020-04-21 青岛歌尔智能传感器有限公司 Graph module application method, graph module application device and storage medium
CN111696169A (en) * 2019-03-13 2020-09-22 珠海金山办公软件有限公司 Method and device for generating equilateral polygon and electronic equipment
CN112529984A (en) * 2020-12-23 2021-03-19 中移(杭州)信息技术有限公司 Method and device for drawing polygon, electronic equipment and storage medium
CN112884349A (en) * 2021-03-12 2021-06-01 沈阳麟龙科技股份有限公司 Stock technical index display method, device and system
CN113536748A (en) * 2020-04-15 2021-10-22 北京沃东天骏信息技术有限公司 Method and device for generating chart data
CN114529630A (en) * 2022-01-27 2022-05-24 深圳市明源云空间电子商务有限公司 Method, device and equipment for generating sector primitives and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104484353A (en) * 2014-11-28 2015-04-01 华为技术有限公司 Data imaging method, data imaging device and database server
CN105335508A (en) * 2015-10-29 2016-02-17 苏州国云数据科技有限公司 Method for visually displaying data source information by dragging on basis of browser
CN105389170A (en) * 2015-11-20 2016-03-09 中国农业大学 Drawing method and system
CN105808682A (en) * 2016-03-02 2016-07-27 浪潮软件股份有限公司 Relational graph display method and apparatus
CN106651994A (en) * 2015-10-30 2017-05-10 北京国双科技有限公司 Bubble chart display method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104484353A (en) * 2014-11-28 2015-04-01 华为技术有限公司 Data imaging method, data imaging device and database server
CN105335508A (en) * 2015-10-29 2016-02-17 苏州国云数据科技有限公司 Method for visually displaying data source information by dragging on basis of browser
CN106651994A (en) * 2015-10-30 2017-05-10 北京国双科技有限公司 Bubble chart display method and device
CN105389170A (en) * 2015-11-20 2016-03-09 中国农业大学 Drawing method and system
CN105808682A (en) * 2016-03-02 2016-07-27 浪潮软件股份有限公司 Relational graph display method and apparatus

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111696169A (en) * 2019-03-13 2020-09-22 珠海金山办公软件有限公司 Method and device for generating equilateral polygon and electronic equipment
CN111045768A (en) * 2019-11-27 2020-04-21 青岛歌尔智能传感器有限公司 Graph module application method, graph module application device and storage medium
CN111045768B (en) * 2019-11-27 2023-06-23 青岛歌尔智能传感器有限公司 Application method of chart module, application device of chart module and storage medium
CN110992443A (en) * 2019-12-18 2020-04-10 政采云有限公司 Business flow chart construction method and device and computer readable storage medium
CN110992443B (en) * 2019-12-18 2023-09-26 政采云有限公司 Business flow chart construction method and device and computer readable storage medium
CN113536748A (en) * 2020-04-15 2021-10-22 北京沃东天骏信息技术有限公司 Method and device for generating chart data
CN113536748B (en) * 2020-04-15 2024-12-06 北京沃东天骏信息技术有限公司 A method and device for generating chart data
CN112529984A (en) * 2020-12-23 2021-03-19 中移(杭州)信息技术有限公司 Method and device for drawing polygon, electronic equipment and storage medium
CN112529984B (en) * 2020-12-23 2023-12-26 中移(杭州)信息技术有限公司 Method, device, electronic equipment and storage medium for drawing polygon
CN112884349A (en) * 2021-03-12 2021-06-01 沈阳麟龙科技股份有限公司 Stock technical index display method, device and system
CN114529630A (en) * 2022-01-27 2022-05-24 深圳市明源云空间电子商务有限公司 Method, device and equipment for generating sector primitives and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN109254976A (en) A kind of method for drafting of figure, device, electronic equipment and storage medium
CN107256265B (en) A kind of search-engine results data visualization methods of exhibiting and system
CN104281447B (en) The system and method that a kind of form is quickly generated and issued
US7737966B2 (en) Method, apparatus, and system for processing geometric data of assembled parts
CN110675728B (en) Generation method, device and equipment of thermodynamic diagram and computer readable storage medium
CN110503556A (en) The visual configuration method and device of trading strategies model
CN109543162A (en) More diagrammatic representation method, apparatus, computer equipment and the storage medium of data
US10650559B2 (en) Methods and systems for simplified graphical depictions of bipartite graphs
CN107958330A (en) BIM account valuations management method and its system based on browser
EP3438843A1 (en) Uniform chart formatting based on semantics in data models
CN108520142B (en) A method, device, equipment and storage medium for identifying the boundary of urban agglomeration
CN107357812A (en) A kind of data query method and device
CN112000747A (en) Data multidimensional analysis method, device and system
CN103577524A (en) Business object representations and detail boxes display
CN109800401A (en) Information report automatic generation method and device
CN109858934A (en) Pricing method, device and computer readable storage medium
CN108090952A (en) 3 d modeling of building method and apparatus
US10067950B1 (en) Systems and methods for efficiently organizing map styling information
CN115081414B (en) Spreadsheet generation method, device, equipment and medium based on data model
CN108961406A (en) Geographical information visualization method, apparatus and user terminal
CN110689608B (en) A three-dimensional display method and system for a digital grid
CN110309208A (en) The implementation method and device of data visualization
WO2021008489A1 (en) Method and apparatus for visualizing periodic change law of economic and financial data, and medium
US11961060B2 (en) Systems and methods for assigning attribution weights to nodes
US20150019367A1 (en) Generating a Product with an Invoice Simulation Product Builder

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: 20190122

RJ01 Rejection of invention patent application after publication