CN105068807A - Generation method and system for multi-axis curve graph - Google Patents
Generation method and system for multi-axis curve graph Download PDFInfo
- Publication number
- CN105068807A CN105068807A CN201510485020.7A CN201510485020A CN105068807A CN 105068807 A CN105068807 A CN 105068807A CN 201510485020 A CN201510485020 A CN 201510485020A CN 105068807 A CN105068807 A CN 105068807A
- Authority
- CN
- China
- Prior art keywords
- axis
- information
- curve
- dynamic data
- module
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Processing Or Creating Images (AREA)
Abstract
The present invention relates to a generation method and system for a multi-axis curve graph. The method comprises the following steps of: step 1: reading a local configuration file to obtain curve dynamic data information of a plurality of curves with the same X axis information; step 2: loading the curve dynamic data information into a memory; step 3: establishing the multi-axis curve graph with the same X axis and a plurality of Y axes according to the curve dynamic data information in the memory; and step 4: finishing the generation of the multi-axis curve graph. According to the generation method, multiple groups of data change information can be displayed in one curve graph according to the plurality of Y axes in a batch configuration manner; change conditions of telecommunications service statistical data are visually fed back; and by using the configurable multi-axis curve graph, the data change information can be displayed in one curve graph according to the plurality of Y axes, and the multi-axis curve graph is very helpful to statistical analysis of a business department.
Description
Technical field
The present invention relates to a kind of multiple-axis plot map generalization method and system.
Background technology
Along with telecom operators' business constantly develops, in the business datum day by day increased is analyzed, curve map is also more and more software developer's concern and research as the important component part of statistical forms.Along with data be on the increase, in traditional form, application curves figure shows that the application of analysis result also gets more and more.
Traditional curve map displaying generally only supports single X-axis, Y-axis graphic plotting.Usually use many suites line to show for the multi-group data be associated, the incidence relation between data can not be embodied.Such as certain telecom operators monthly need the voice call charge adding up of that month every day, and GPRS takes the morning, and note is taken, the number of minutes of voice dial, the time of GPRS online, the number of short message sending, the quantity of user.These data are all daily add up, but the unit of Y-axis is different, has expense, the number of minutes, has number, number of users.
Summary of the invention
Technical matters to be solved by this invention is to provide a kind of realization and uses configuration file flexibly, the generation method and system that the multiple-axis plot drawing out statistical forms is easily shown.
The technical scheme that the present invention solves the problems of the technologies described above is as follows: a kind of multiple-axis plot map generalization method, specifically comprises the following steps:
Step 1: read local profile, obtains the curve dynamic data information with multiple curves of same X-axis information;
Step 2: loading curve dynamic data information is in internal memory;
Step 3: set up the multiple-axis plot with same X-axis and many Y-axis according to the curve dynamic data information in internal memory, terminates.
The invention has the beneficial effects as follows: the present invention configuration mode in batches can show multi-group data change information by many Y-axis in a curve map; Feed back the situation of change of telecommunication service statistics intuitively; Using configurable multiple-axis plot, can show these data variation information in a curve map by many Y-axis, for the statistical study of business department, is very helpful multiple-axis plot.
On the basis of technique scheme, the present invention can also do following improvement.
Further, described curve dynamic data information comprises database SQL statement corresponding to the heading message of curve map, the background information of curve map, the colouring information of coordinate axis dotted line, the information of X-axis, the information of multiple Y-axis and curve diagram data.
Further, described step 3 specifically comprises the following steps:
Step 3.1: the drawing area setting up curve map according to the curve dynamic data information in internal memory is also drawing area configuration background;
Step 3.2: the information of foundation X-axis information and multiple Y-axis draws the reference axis of X-axis and many Y-axis in drawing area;
Step 3.3: according to the size of drawing area and the information of X-axis, the X-axis of drawing is split, set up coordinate net ruling;
Step 3.4: the heading message reading the curve map in curve dynamic data information, is plotted to above curve map;
Step 3.5: read the information of X-axis in curve dynamic data information and the information of multiple Y-axis, convert X-axis and the Y-axis coordinate parameters of many Y-axis homologous thread to, obtain the coordinate parameters record set of X-axis and Y-axis respectively;
Step 3.6: according to the coordinate parameters record set curve plotting of X-axis and Y-axis.
Further, width and height parameter is generated according to the information of the information of the X-axis in curve dynamic data information and multiple Y-axis in described step 3.1; Curve map drawing area is created according to the width generated and height parameter; By the background information space filling curve figure background of curve map.
Further, the background information of described curve map comprises background picture parameter and background color parameter.
The technical scheme that the present invention solves the problems of the technologies described above is as follows: a kind of generation system of multiple-axis plot, comprises read module, load-on module and graphics module;
Described read module, for reading local profile, obtains the curve dynamic data information with multiple curves of same X-axis information;
Described load-on module is used for loading curve dynamic data information in internal memory;
Described graphics module is used for setting up the multiple-axis plot with same X-axis and many Y-axis according to the curve dynamic data information in internal memory.
The invention has the beneficial effects as follows: the present invention configuration mode in batches can show multi-group data change information by many Y-axis in a curve map; Feed back the situation of change of telecommunication service statistics intuitively; Using configurable multiple-axis plot, can show these data variation information in a curve map by many Y-axis, for the statistical study of business department, is very helpful multiple-axis plot.
On the basis of technique scheme, the present invention can also do following improvement.
Further, described curve dynamic data information comprises database SQL statement corresponding to the heading message of curve map, the background information of curve map, the colouring information of coordinate axis dotted line, the information of X-axis, the information of multiple Y-axis and curve diagram data.
Further, described graphics module comprises region drafting module, axis drafting module, grid drawing module, title drafting module, coordinate drafting module and Drawing of Curve module;
Described region drafting module is used for setting up the drawing area of curve map according to the curve dynamic data information in internal memory and is drawing area configuration background;
Described axis drafting module is used for the information drafting X-axis of foundation X-axis information and multiple Y-axis in drawing area and the reference axis of many Y-axis;
Described grid drawing module is used for splitting the X-axis of drawing according to the size of drawing area and the information of X-axis, sets up coordinate net ruling;
Described title drafting module, for reading the heading message of the curve map in curve dynamic data information, is plotted to above curve map;
Described coordinate drafting module, for the information of the information and multiple Y-axis that read the X-axis in curve dynamic data information, converts X-axis and the Y-axis coordinate parameters of many Y-axis homologous thread to, obtains the coordinate parameters record set of X-axis and Y-axis respectively;
Described Drawing of Curve module is used for the coordinate parameters record set curve plotting according to X-axis and Y-axis.
Further, width and height parameter is generated according to the information of the information of the X-axis in curve dynamic data information and multiple Y-axis in the drafting module of described region; Curve map drawing area is created according to the width generated and height parameter; By the background information space filling curve figure background of curve map.
Further, the background information of described curve map comprises background picture parameter and background color parameter.
Accompanying drawing explanation
Fig. 1 is a kind of multiple-axis plot map generalization method flow diagram of the present invention;
Fig. 2 is the generation system structured flowchart of a kind of multiple-axis plot of the present invention.
In accompanying drawing, the list of parts representated by each label is as follows:
1, read module, 2, load-on module, 3, graphics module, 31, region drafting module, 32, axis drafting module, 33, grid drawing module, 34, title drafting module, 35, coordinate drafting module, 36, Drawing of Curve module.
Embodiment
Be described principle of the present invention and feature below in conjunction with accompanying drawing, example, only for explaining the present invention, is not intended to limit scope of the present invention.
As shown in Figure 1, be a kind of multiple-axis plot map generalization method of the present invention, specifically comprise the following steps:
Step 1: read local profile, obtains the curve dynamic data information with multiple curves of same X-axis information;
Step 2: loading curve dynamic data information is in internal memory;
Step 3: the drawing area setting up curve map according to the curve dynamic data information in internal memory is also drawing area configuration background;
Step 4: the information of foundation X-axis information and multiple Y-axis draws the reference axis of X-axis and many Y-axis in drawing area;
Step 5: according to the size of drawing area and the information of X-axis, the X-axis of drawing is split, set up coordinate net ruling;
Step 6: the heading message reading the curve map in curve dynamic data information, is plotted to above curve map;
Step 7: read the information of X-axis in curve dynamic data information and the information of multiple Y-axis, convert X-axis and the Y-axis coordinate parameters of many Y-axis homologous thread to, obtain the coordinate parameters record set of X-axis and Y-axis respectively;
Step 8: according to the coordinate parameters record set curve plotting of X-axis and Y-axis, terminates.
Described curve dynamic data information comprises database SQL statement corresponding to the heading message of curve map, the background information of curve map, the colouring information of coordinate axis dotted line, the information of X-axis, the information of multiple Y-axis and curve diagram data.
Width and height parameter is generated according to the information of the information of the X-axis in curve dynamic data information and multiple Y-axis in described step 3; Curve map drawing area is created according to the width generated and height parameter; By the background information space filling curve figure background of curve map.
The background information of described curve map comprises background picture parameter and background color parameter.
As shown in Figure 2, be the generation system of a kind of multiple-axis plot of the present invention, comprise read module 1, load-on module 2 and graphics module 3;
Described read module 1, for reading local profile, obtains the curve dynamic data information with multiple Y-axis coordinate information and same X-axis information;
Described load-on module 2 for loading curve dynamic data information in internal memory;
Described graphics module 3 is for setting up the multiple-axis plot with same X-axis and many Y-axis according to the curve dynamic data information in internal memory.
Described curve dynamic data information comprises database SQL statement corresponding to the heading message of curve map, the background information of curve map, the colouring information of coordinate axis dotted line, the information of X-axis, the information of multiple Y-axis and curve diagram data.
Described graphics module 3 comprises region drafting module 31, axis drafting module 32, grid drawing module 33, title drafting module 34, coordinate drafting module 35 and Drawing of Curve module 36;
Described region drafting module 31 is also drawing area configuration background for setting up the drawing area of curve map according to the curve dynamic data information in internal memory;
The information drafting X-axis of described axis drafting module 32 for foundation X-axis information and multiple Y-axis in drawing area and the reference axis of many Y-axis;
Described grid drawing module 33, for splitting the X-axis of drawing according to the size of drawing area and the information of X-axis, sets up coordinate net ruling;
Described title drafting module 34, for reading the heading message of the curve map in curve dynamic data information, is plotted to above curve map;
Described coordinate drafting module 35, for the information of the information and multiple Y-axis that read the X-axis in curve dynamic data information, converts X-axis and the Y-axis coordinate parameters of many Y-axis homologous thread to, obtains the coordinate parameters record set of X-axis and Y-axis respectively;
Described Drawing of Curve module 36 is for the coordinate parameters record set curve plotting according to X-axis and Y-axis.
Width and height parameter is generated according to the information of the information of the X-axis in curve dynamic data information and multiple Y-axis in described region drafting module 31; Curve map drawing area is created according to the width generated and height parameter; By the background information space filling curve figure background of curve map.
The background information of described curve map comprises background picture parameter and background color parameter.
The method of the curve plotting figure described in the specific embodiment of the invention, concrete steps are as follows:
The first step: the drawing area setting up curve map:
Second step: fill picture background:
3rd step: set up coordinate axis, draw reference axis:
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (10)
1. a multiple-axis plot map generalization method, is characterized in that, specifically comprises the following steps:
Step 1: read local profile, obtains the curve dynamic data information with multiple curves of same X-axis information;
Step 2: loading curve dynamic data information is in internal memory;
Step 3: set up the multiple-axis plot with same X-axis and many Y-axis according to the curve dynamic data information in internal memory, terminates.
2. a kind of multiple-axis plot map generalization method according to claim 1, it is characterized in that, described curve dynamic data information comprises database SQL statement corresponding to the heading message of curve map, the background information of curve map, the colouring information of coordinate axis dotted line, the information of X-axis, the information of multiple Y-axis and curve diagram data.
3. a kind of multiple-axis plot map generalization method according to claim 2, it is characterized in that, described step 3 specifically comprises the following steps:
Step 3.1: the drawing area setting up curve map according to the curve dynamic data information in internal memory is also drawing area configuration background;
Step 3.2: the information of foundation X-axis information and multiple Y-axis draws the reference axis of X-axis and many Y-axis in drawing area;
Step 3.3: according to the size of drawing area and the information of X-axis, the X-axis of drawing is split, set up coordinate net ruling;
Step 3.4: the heading message reading the curve map in curve dynamic data information, is plotted to above curve map;
Step 3.5: read the information of X-axis in curve dynamic data information and the information of multiple Y-axis, convert X-axis and the Y-axis coordinate parameters of many Y-axis homologous thread to, obtain the coordinate parameters record set of X-axis and Y-axis respectively;
Step 3.6: according to the coordinate parameters record set curve plotting of X-axis and Y-axis, terminates.
4. a kind of multiple-axis plot map generalization method according to claim 3, is characterized in that, generates width and height parameter in described step 3.1 according to the information of the information of the X-axis in curve dynamic data information and multiple Y-axis; Curve map drawing area is created according to the width generated and height parameter; By the background information space filling curve figure background of curve map.
5. a kind of multiple-axis plot map generalization method according to claim 4, is characterized in that, the background information of described curve map comprises background picture parameter and background color parameter.
6. a generation system for multiple-axis plot, is characterized in that, comprises read module, load-on module and graphics module;
Described read module, for reading local profile, obtains the curve dynamic data information with multiple curves of same X-axis information;
Described load-on module is used for loading curve dynamic data information in internal memory;
Described graphics module is used for setting up the multiple-axis plot with same X-axis and many Y-axis according to the curve dynamic data information in internal memory.
7. the generation system of a kind of multiple-axis plot according to claim 6, it is characterized in that, described curve dynamic data information comprises database SQL statement corresponding to the heading message of curve map, the background information of curve map, the colouring information of coordinate axis dotted line, the information of X-axis, the information of multiple Y-axis and curve diagram data.
8. the generation system of a kind of multiple-axis plot according to claim 7, is characterized in that, described graphics module comprises region drafting module, axis drafting module, grid drawing module, title drafting module, coordinate drafting module and Drawing of Curve module;
Described region drafting module is used for setting up the drawing area of curve map according to the curve dynamic data information in internal memory and is drawing area configuration background;
Described axis drafting module is used for the information drafting X-axis of foundation X-axis information and multiple Y-axis in drawing area and the reference axis of many Y-axis;
Described grid drawing module is used for splitting the X-axis of drawing according to the size of drawing area and the information of X-axis, sets up coordinate net ruling;
Described title drafting module, for reading the heading message of the curve map in curve dynamic data information, is plotted to above curve map;
Described coordinate drafting module, for the information of the information and multiple Y-axis that read the X-axis in curve dynamic data information, converts X-axis and the Y-axis coordinate parameters of many Y-axis homologous thread to, obtains the coordinate parameters record set of X-axis and Y-axis respectively;
Described Drawing of Curve module is used for the coordinate parameters record set curve plotting according to X-axis and Y-axis.
9. the generation system of a kind of multiple-axis plot according to claim 8, is characterized in that, generates width and height parameter in the drafting module of described region according to the information of the information of the X-axis in curve dynamic data information and multiple Y-axis; Curve map drawing area is created according to the width generated and height parameter; By the background information space filling curve figure background of curve map.
10. the generation system of a kind of multiple-axis plot according to claim 9, is characterized in that, the background information of described curve map comprises background picture parameter and background color parameter.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510485020.7A CN105068807A (en) | 2015-08-07 | 2015-08-07 | Generation method and system for multi-axis curve graph |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510485020.7A CN105068807A (en) | 2015-08-07 | 2015-08-07 | Generation method and system for multi-axis curve graph |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105068807A true CN105068807A (en) | 2015-11-18 |
Family
ID=54498187
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510485020.7A Pending CN105068807A (en) | 2015-08-07 | 2015-08-07 | Generation method and system for multi-axis curve graph |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105068807A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105786427A (en) * | 2016-02-15 | 2016-07-20 | 深圳市东仪电子有限公司 | Method and device for achieving curve conversion display of collected data |
CN107122487A (en) * | 2017-05-10 | 2017-09-01 | 贵州大学 | One kind is applicable multifactor result plan Drawing method |
CN108334507A (en) * | 2017-01-19 | 2018-07-27 | 阿里巴巴集团控股有限公司 | A kind of methods of exhibiting of chart, device and electronic equipment |
CN110956676A (en) * | 2019-11-15 | 2020-04-03 | 度亘激光技术(苏州)有限公司 | Multi-axis curve drawing method and device and electronic equipment |
CN112380279A (en) * | 2020-11-17 | 2021-02-19 | 北京中电普华信息技术有限公司 | Curve generating method and system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6451103B1 (en) * | 2000-09-22 | 2002-09-17 | Toyo Ink Mfg. Co., Ltd. | Self-dispersible aqueous pigment dispersion |
CN102096688A (en) * | 2009-12-11 | 2011-06-15 | 中国移动通信集团山西有限公司 | Method and device for generating data report |
CN104035785A (en) * | 2014-07-01 | 2014-09-10 | 浪潮(北京)电子信息产业有限公司 | Double-axis curve graph drawing method and device |
CN104317600A (en) * | 2014-10-31 | 2015-01-28 | 北京思特奇信息技术股份有限公司 | Configurable graph generation method and system |
-
2015
- 2015-08-07 CN CN201510485020.7A patent/CN105068807A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6451103B1 (en) * | 2000-09-22 | 2002-09-17 | Toyo Ink Mfg. Co., Ltd. | Self-dispersible aqueous pigment dispersion |
CN102096688A (en) * | 2009-12-11 | 2011-06-15 | 中国移动通信集团山西有限公司 | Method and device for generating data report |
CN104035785A (en) * | 2014-07-01 | 2014-09-10 | 浪潮(北京)电子信息产业有限公司 | Double-axis curve graph drawing method and device |
CN104317600A (en) * | 2014-10-31 | 2015-01-28 | 北京思特奇信息技术股份有限公司 | Configurable graph generation method and system |
Non-Patent Citations (1)
Title |
---|
早坂清志: "《职场力!最具说服力的Excel图表技法》", 30 September 2014, 中国铁道出版社 * |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105786427A (en) * | 2016-02-15 | 2016-07-20 | 深圳市东仪电子有限公司 | Method and device for achieving curve conversion display of collected data |
CN105786427B (en) * | 2016-02-15 | 2019-01-01 | 深圳市东仪电子有限公司 | A kind of method and device that will be acquired data progress Curve transform and show |
CN108334507A (en) * | 2017-01-19 | 2018-07-27 | 阿里巴巴集团控股有限公司 | A kind of methods of exhibiting of chart, device and electronic equipment |
CN108334507B (en) * | 2017-01-19 | 2021-09-07 | 阿里巴巴集团控股有限公司 | Chart display method and device and electronic equipment |
CN107122487A (en) * | 2017-05-10 | 2017-09-01 | 贵州大学 | One kind is applicable multifactor result plan Drawing method |
CN110956676A (en) * | 2019-11-15 | 2020-04-03 | 度亘激光技术(苏州)有限公司 | Multi-axis curve drawing method and device and electronic equipment |
CN112380279A (en) * | 2020-11-17 | 2021-02-19 | 北京中电普华信息技术有限公司 | Curve generating method and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105068807A (en) | Generation method and system for multi-axis curve graph | |
CN103488377B (en) | The display packing of a kind of desktop icons and mobile terminal | |
CN107193918B (en) | Distributed GIS state monitoring system based on open source map | |
CN103106188A (en) | Imaging analysis system and imaging analysis method of data model | |
CN104134121A (en) | Method for achieving visualization of power grid information system business data | |
CN104715052A (en) | Method and system for generating statement | |
CN105550373A (en) | Method, device and system for displaying data | |
CN102368259A (en) | Electronic map data storage and query method, device and system | |
CN104573065A (en) | Report display engine based on metadata | |
US9311726B2 (en) | System and method for mapping and comparing choroplethic housing statistics | |
CN103257959A (en) | Method and device for generating spreadsheet report | |
CN106408248A (en) | Power transmission line plotting field data acquisition system and processing method thereof | |
CN103617496A (en) | Informatization report automatic generating method and system | |
CN115840567A (en) | Application editing method and related equipment | |
CN102929494B (en) | A kind of assisted user is checked the method and apparatus of message | |
CN105512099A (en) | Gantt chart generation method and device | |
CN111125284A (en) | Integrated space-time big data and geographic information public service cloud platform | |
CN112990861A (en) | Daily newspaper step-by-step summarizing system | |
CN102958030A (en) | Charging method and charging system | |
CN111401023B (en) | Report generation method, report generation device, server and storage medium | |
CN113284407A (en) | Geographic element map matching system supporting multiple map sources and multiple scales | |
CN106981084A (en) | A kind of method and device of drawing isoline | |
CN109241510A (en) | A kind of autochart generation system and its implementation based on wechat small routine | |
CN108959439A (en) | A kind of data template generation method and system | |
CN105912723A (en) | Storage method of custom field |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20151118 |
|
RJ01 | Rejection of invention patent application after publication |