CN106446074A - Chart data display apparatus and method - Google Patents

Chart data display apparatus and method Download PDF

Info

Publication number
CN106446074A
CN106446074A CN201610808180.5A CN201610808180A CN106446074A CN 106446074 A CN106446074 A CN 106446074A CN 201610808180 A CN201610808180 A CN 201610808180A CN 106446074 A CN106446074 A CN 106446074A
Authority
CN
China
Prior art keywords
data
chart data
group
value
chart
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
CN201610808180.5A
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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201610808180.5A priority Critical patent/CN106446074A/en
Publication of CN106446074A publication Critical patent/CN106446074A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/248Presentation of query results

Abstract

The invention discloses a chart data display apparatus. The chart data display apparatus comprises an acquisition module used for acquiring to-be-displayed chart data, a determination module used for determining preset constant values corresponding to all groups of chart data, a computing module used for processing the groups of chart data according to the preset constant values corresponding to the groups of chart data to obtain data values of the groups of processed chart data, and a display module used for displaying the data values of the groups of processed chart data, as display results, in a chart, wherein each group of chart data corresponds to a preset constant value. The invention furthermore discloses a chart data display method. According to the apparatus and the method, the convenience of chart data adjustment in the chart data display process is improved.

Description

The display device of chart data and method
Technical field
The present invention relates to technical field of data processing, more particularly, to a kind of display device of chart data and method.
Background technology
In the system platform (as Zabbix, Nagios etc.) of statistics or monitoring class, all kinds of charts use very frequent. Under normal circumstances, for the consideration saving spacial flex, in a broken line graph, often there is a plurality of data lines, but due to The numerical intervals scope that each data wire comprises may be different, when the numerical intervals scope difference of different pieces of information line is larger, will no Method makes full use of the height of chart to be represented, and can lead to not normally find out the tendency of chart.
For such situation, generally require in current techniques manually data to be processed, but if what needs represented Chart is more, and numerical value change does not fix rule, can bring larger workload, during leading to chart data to show, Chart data adjustment is relatively complicated.
Content of the invention
Present invention is primarily targeted at proposing a kind of display device of chart data and method it is intended to solve existing figure Table data display process, the relatively complicated technical problem of chart data adjustment.
For achieving the above object, the display device of a kind of chart data that the present invention provides, the display of described chart data Device includes:
Acquisition module, for obtaining each group chart data to be shown;
Determining module, for determining the corresponding pre-set constant value of each group chart data, wherein, every group of chart data corresponding Individual pre-set constant value;
Computing module, for entering to described every group of chart data according to the corresponding pre-set constant value of described every group of chart data Row is processed, and obtains each data value after each group chart data is processed;
Display module, is shown in chart for each data value after processing each group chart data as display result In.
Alternatively, described determining module includes:
First acquisition unit, for obtaining the minimum data value of each group chart data;
Determining unit, for determine each group chart data minimum data value be located numerical intervals, by determine each Minimum boundary value corresponding to numerical intervals, as the pre-set constant value of each group chart data.
Alternatively, described computing module includes:
Second acquisition unit, for obtaining each data value in each group chart data;
Computing unit, for by each data value in each group chart data, presetting divided by each group chart data is corresponding Constant value, to obtain each data value after corresponding process.
Alternatively, described acquisition module includes:
Analytic unit, for when receiving the idsplay order of chart data, analyzing the idsplay order of described chart data Corresponding search condition;
Extraction unit, for extracting described search condition corresponding each group chart data in database;
Processing unit, for will extract each group chart data as each group chart data to be shown.
Alternatively, when the predeterminable area of described chart shows the title of each group chart data, described determining module, also use In determination each group chart data corresponding data unit after treatment;
The display device of described chart data also includes:
Add module, for being added to the data unit of each group chart data in the corresponding title of each group chart data.
Additionally, for achieving the above object, the present invention also proposes a kind of display methods of chart data, described chart data Display methods includes:
Obtain each group chart data to be shown;
Determine the corresponding pre-set constant value of each group chart data, wherein, every group of chart data corresponds to a pre-set constant value;
According to the corresponding pre-set constant value of described every group of chart data, described every group of chart data is processed, obtain each Each data value after group chart data process;
Each data value after each group chart data is processed shows in the graph as display result.
Alternatively, the described step determining the corresponding pre-set constant value of each group chart data includes:
Obtain the minimum data value of each group chart data;
Determine the numerical intervals that the minimum data value of each group chart data is located, corresponding to each numerical intervals that will determine Minimum boundary value, as the pre-set constant value of each group chart data.
Alternatively, described according to the corresponding pre-set constant value of described every group of chart data, described every group of chart data is carried out Process, the step obtaining each data value after each group chart data is processed includes:
Obtain each data value in each group chart data;
By each data value in each group chart data, divided by the corresponding pre-set constant value of each group chart data, to obtain Each data value after corresponding process.
Alternatively, the described step obtaining each group chart data to be shown includes:
When receiving the idsplay order of chart data, analyze the idsplay order corresponding search bar of described chart data Part;
Described search condition corresponding each group chart data is extracted in database;
Using each group chart data extracting as each group chart data to be shown.
Alternatively, when the predeterminable area of described chart shows the title of each group chart data, described chart data aobvious Show that method also includes:
Determine each group chart data corresponding data unit after treatment;
The data unit of each group chart data is added in the corresponding title of each group chart data.
The display device of chart data proposed by the present invention and method, first obtain each group chart data to be shown, then Determine the corresponding pre-set constant value of each group chart data, further according to the corresponding pre-set constant value of described every group of chart data to described Every group of chart data is processed, and obtains each data value after each group chart data is processed, the most at last at each group chart data Each data value after reason shows in the graph it is achieved that all preset every group of chart data according to corresponding as display result Constant value is adjusted, and without manually adjusting one by one, improves during chart data shows, chart data adjusts just Victory.
Brief description
Fig. 1 is the hardware architecture diagram realizing each embodiment of the present invention one alternatively mobile terminal;
Fig. 2 is the radio communication device schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is the module diagram of the display device first embodiment of chart data in the embodiment of the present invention;
Fig. 4 is the schematic diagram of a scenario that in current techniques, chart data shows;
Fig. 5 is the schematic diagram of a scenario that in the embodiment of the present invention, chart data shows;
Fig. 6 is a kind of refinement module schematic diagram of embodiment of determining module in Fig. 3;
Fig. 7 is a kind of refinement module schematic diagram of embodiment of computing module in Fig. 3;
Fig. 8 is a kind of refinement module schematic diagram of embodiment of acquisition module in Fig. 3;
Fig. 9 is the schematic flow sheet of the display methods first embodiment of chart data in the embodiment of the present invention;
Figure 10 is the refinement schematic flow sheet determining the corresponding pre-set constant value of each group chart data in the embodiment of the present invention;
Figure 11 is to described every group of figure in the embodiment of the present invention according to the corresponding pre-set constant value of described every group of chart data The refinement schematic flow sheet that table data is processed;
Figure 12 is the refinement schematic flow sheet obtaining each group chart data to be shown in the embodiment of the present invention.
The realization of the object of the invention, functional characteristics and advantage will explain in conjunction with the embodiments referring to the drawings.
Specific embodiment
It should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
Realize the mobile terminal of each embodiment of the present invention referring now to Description of Drawings.In follow-up description, use For represent element such as " module ", " part " or " unit " suffix only for being conducive to the explanation of the present invention, itself Not specific meaning.Therefore, " module " and " part " can mixedly use.
Mobile terminal can be implemented in a variety of manners.For example, the terminal described in the present invention can include such as moving Phone, smart phone, notebook computer, digit broadcasting receiver, PDA (personal digital assistant), PAD (panel computer), PMP The mobile terminal of (portable media player), guider etc. and such as numeral TV, desktop computer etc. consolidate Determine terminal.Hereinafter it is assumed that terminal is mobile terminal.However, it will be understood by those skilled in the art that, except being used in particular for moving Outside the element of purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Fig. 1 is the hardware architecture diagram realizing one of each embodiment of the present invention alternatively mobile terminal.
Mobile terminal 1 00 can include wireless communication unit 110, A/V (audio/video) input block 120, user input Unit 130, sensing unit 140, output unit 150, memory 160, interface unit 170, controller 180 and power subsystem 190 Etc..Fig. 1 shows the mobile terminal with various assemblies, it should be understood that being not required for implementing all groups illustrating Part.More or less of assembly can alternatively be implemented.Will be discussed in more detail below the element of mobile terminal.
Wireless communication unit 110 generally includes one or more assemblies, and it allows mobile terminal 1 00 and radio communication device Or the radio communication between network.For example, wireless communication unit can include broadcasting reception module 111, mobile communication module 112nd, at least one of wireless Internet module 113, short range communication module 114 and location information module 115.
Broadcasting reception module 111 receives broadcast singal and/or broadcast via broadcast channel from external broadcast management server Relevant information.Broadcast channel can include satellite channel and/or terrestrial channel.Broadcast management server can be generated and sent The broadcast singal generating before the server of broadcast singal and/or broadcast related information or reception and/or broadcast related information And send it to the server of terminal.Broadcast singal can include TV broadcast singal, radio signals, data broadcasting Signal etc..And, broadcast singal may further include the broadcast singal combining with TV or radio signals.Broadcast phase Pass information can also provide via mobile communications network, and in this case, broadcast related information can be by mobile communication mould Block 112 is receiving.Broadcast singal can exist in a variety of manners, and for example, it can be with the electronics of DMB (DMB) The form of program guide (EPG), the electronic service guidebooks (ESG) of digital video broadcast-handheld (DVB-H) etc. and exist.Broadcast Receiver module 111 can be broadcasted by using various types of broadcaster receipt signals.Especially, broadcasting reception module 111 Can be wide by using such as multimedia broadcasting-ground (DMB-T), DMB-satellite (DMB-S), digital video Broadcast-hand-held (DVB-H), forward link media (MediaFLO@) data broadcasting device, received terrestrial digital broadcasting integrated service Etc. (ISDB-T) digital broadcast apparatus receive digital broadcasting.Broadcasting reception module 111 may be constructed such that and is adapted to provide for extensively Broadcast the various broadcasters of signal and above-mentioned digital broadcast apparatus.Via broadcasting reception module 111 receive broadcast singal and/ Or broadcast related information can be stored in memory 160 (or other types of storage medium).
Mobile communication module 112 sends radio signals to base station (for example, access point, node B etc.), exterior terminal And at least one of server and/or receive from it radio signal.Such radio signal can include voice and lead to Words signal, video calling signal or the various types of data sending and/or receiving according to text and/or Multimedia Message.
Wireless Internet module 113 supports the Wi-Fi (Wireless Internet Access) of mobile terminal.This module can be internally or externally It is couple to terminal.Wi-Fi (Wireless Internet Access) technology involved by this module can include WLAN (WLAN) (Wi-Fi), Wibro (WiMAX), Wimax (worldwide interoperability for microwave accesses), HSDPA (high-speed downlink packet access) etc..
Short range communication module 114 is the module for supporting junction service.Some examples of short-range communication technology include indigo plant ToothTM, RF identification (RFID), Infrared Data Association (IrDA), ultra broadband (UWB), purple honeybeeTMEtc..
Location information module 115 be for check or obtain mobile terminal positional information module.Location information module Typical case be GPS (global pick device).According to current technology, GPS module 115 calculates and is derived from three or more satellites Range information and correct time information and for the Information application triangulation calculating, thus according to longitude, latitude Highly accurately calculate three-dimensional current location information.Currently, the method for calculating position and temporal information is defended using three Star and the error of the position that calculates by using other satellite correction and temporal information.Additionally, GPS module 115 Can be by Continuous plus current location information in real time come calculating speed information.
A/V input block 120 is used for receiving audio or video signal.
User input unit 130 can generate key input data to control each of mobile terminal according to the order of user input Plant operation.User input unit 130 allows the various types of information of user input, and can include keyboard, metal dome, touch Plate (for example, detection due to touched and lead to resistance, pressure, the change of electric capacity etc. sensitive component), roller, rocking bar etc. Deng.Especially, when touch pad is superimposed upon on display unit 151 as a layer, touch-screen can be formed.
Sensing unit 140 detect mobile terminal 1 00 current state, (for example, mobile terminal 1 00 open or close shape State), the position of mobile terminal 1 00, user is for the presence or absence of the contact (that is, touch input) of mobile terminal 1 00, mobile terminal 100 orientation, the acceleration of mobile terminal 1 00 or by mobile for speed and direction etc., and generate for controlling mobile terminal 1 00 The order of operation or signal.For example, when mobile terminal 1 00 is embodied as sliding-type mobile phone, sensing unit 140 can sense This sliding-type phone opens or cuts out.In addition, sensing unit 140 can detect power subsystem 190 whether provide electric power or Whether person's interface unit 170 is coupled with external device (ED).
Interface unit 170 is connected, with mobile terminal 1 00, the interface that can pass through as at least one external device (ED).For example, External device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or nothing Line FPDP, memory card port, the port of device for connection with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Identification module can be storage for verifying that user uses each of mobile terminal 1 00 Kind of information and subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM) can be included Etc..In addition, the device (hereinafter referred to as " identifying device ") with identification module can take the form of smart card, therefore, know Other device can be connected with mobile terminal 1 00 via port or other attachment means.Interface unit 170 can be used for reception and is derived from The input (for example, data message, electric power etc.) of the external device (ED) and input receiving is transferred in mobile terminal 1 00 One or more elements or can be used for transmission data between mobile terminal and external device (ED).
In addition, when mobile terminal 1 00 is connected with external base, interface unit 170 can serve as allowing by it by electricity Power provides the path of mobile terminal 1 00 from base or can serve as allowing the various command signals from base input to pass through it It is transferred to the path of mobile terminal.May serve as identifying that mobile terminal is from the various command signals of base input or electric power The no signal being accurately fitted within base.Output unit 150 is configured to defeated with the offer of vision, audio frequency and/or tactile manner Go out signal (for example, audio signal, vision signal, alarm signal, vibration signal etc.).Output unit 150 can include showing Unit 151.
Display unit 151 may be displayed on the information processing in mobile terminal 1 00.For example, when mobile terminal 1 00 is in electricity During words call mode, display unit 151 can show (for example, text messaging, the multimedia file that communicate with call or other Download etc.) related user interface (UI) or graphic user interface (GUI).When mobile terminal 1 00 is in video calling pattern Or during image capture mode, display unit 151 can show the image of capture and/or the image of reception, illustrate video or figure UI or GUI of picture and correlation function etc..
Meanwhile, when display unit 151 and the touch pad touch-screen with formation superposed on one another as a layer, display unit 151 can serve as input unit and output device.Display unit 151 can include liquid crystal display (LCD), thin film transistor (TFT) In LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc. at least A kind of.Some in these displays may be constructed such that transparence to allow user from outside viewing, and this is properly termed as transparent Display, typical transparent display can be, for example, TOLED (transparent organic light emitting diode) display etc..According to specific The embodiment wanted, mobile terminal 1 00 can include two or more display units (or other display device), for example, moves Dynamic terminal can include outernal display unit (not shown) and inner display unit (not shown).Touch-screen can be used for detection and touches Input pressure and touch input position and touch input area.
Memory 160 can store software program of the process being executed by controller 180 and control operation etc., or can Temporarily to store oneself data (for example, telephone directory, message, still image, video etc.) through exporting or will export.And And, memory 160 can be to store the vibration of various modes with regard to exporting and audio signal when touching and being applied to touch-screen Data.
Memory 160 can include the storage medium of at least one type, and described storage medium includes flash memory, hard disk, many Media card, card-type memory (for example, SD or DX memory etc.), random access storage device (RAM), static random-access storage Device (SRAM), read-only storage (ROM), Electrically Erasable Read Only Memory (EEPROM), programmable read only memory (PROM), magnetic storage, disk, CD etc..And, mobile terminal 1 00 can execute memory with by network connection The network storage device cooperation of 160 store function.
Controller 180 generally controls the overall operation of mobile terminal.For example, controller 180 execution and voice call, data The related control of communication, video calling etc. and process.In addition, controller 180 can be included for reproducing (or playback) many matchmakers The multi-media module 181 of volume data, multi-media module 181 can construct in controller 180, or it is so structured that and controls Device 180 separates.Controller 180 can be with execution pattern identifying processing, by the handwriting input executing on the touchscreen or picture Draw input and be identified as character or image.
Power subsystem 190 receives external power or internal power under the control of controller 180 and provides operation each unit Suitable electric power needed for part and assembly.
Various embodiment described herein can be with using such as computer software, hardware or its any combination of calculating Machine computer-readable recording medium is implementing.Hardware is implemented, embodiment described herein can be by using application-specific IC (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), scene can Program gate array (FPGA), processor, controller, microcontroller, microprocessor, be designed to execute function described herein At least one in electronic unit implementing, in some cases, can be implemented in controller 180 by such embodiment. Software is implemented, the embodiment of such as process or function can with allow to execute the single of at least one function or operation Software module is implementing.Software code can be come by the software application (or program) write with any suitable programming language Implement, software code can be stored in memory 160 and be executed by controller 180.
So far, oneself is through describing mobile terminal according to its function.Below, for the sake of brevity, will describe such as folded form, Slide type mobile terminal in various types of mobile terminals of board-type, oscillating-type, slide type mobile terminal etc. is as showing Example.Therefore, the present invention can be applied to any kind of mobile terminal, and is not limited to slide type mobile terminal.
As shown in Figure 1 mobile terminal 1 00 may be constructed such that using via frame or packet transmission data all if any Line and radio communication device and satellite-based communicator are operating.
The communicator being wherein operable to according to the mobile terminal of the present invention referring now to Fig. 2 description.
Such communicator can use different air interfaces and/or physical layer.For example, used by communicator Air interface includes such as frequency division multiple access (FDMA), time division multiple acess (TDMA), CDMA (CDMA) and universal mobile communications dress Put (UMTS) (especially, Long Term Evolution (LTE)), global mobile communication device (GSM) etc..As non-limiting example, under The description in face is related to cdma communication device, but such teaching is equally applicable to other types of device.
With reference to Fig. 2, cdma wireless communication device can include multiple mobile terminal 1s 00, multiple base station (BS) 270, base station Controller (BSC) 275 and mobile switching centre (MSC) 280.MSC280 is configured to and Public Switched Telephony Network (PSTN) 290 formation interfaces.MSC280 is also structured to and can form interface via the BSC275 that back haul link is couple to base station 270. If back haul link can construct according to any one in the interface that Ganji knows, described interface includes such as E1/T1, ATM, IP, PPP, frame relay, HDSL, ADSL or xDSL.It will be appreciated that device as shown in Figure 2 can include multiple BSC2750.
Each BS270 can service one or more subregions (or region), by the sky of multidirectional antenna or sensing specific direction Each subregion that line covers is radially away from BS270.Or, each subregion can by for diversity reception two or more Antenna covers.Each BS270 may be constructed such that support multiple frequency distribution, and the distribution of each frequency has specific frequency spectrum (for example, 1.25MHz, 5MHz etc.).
Intersecting that subregion and frequency are distributed can be referred to as CDMA Channel.BS270 can also be referred to as base station transceiver Device (BTS) or other equivalent terms.In this case, term " base station " can be used for broadly representing single BSC275 and at least one BS270.Base station can also be referred to as " cellular station ".Or, each subregion of specific BS270 can be claimed For multiple cellular stations.
As shown in Figure 2, broadcast singal is sent to the mobile terminal of operation in device by broadcsting transmitter (BT) 295 100.Broadcasting reception module 111 is arranged at mobile terminal 1 00 to receive the broadcast being sent by BT295 as shown in Figure 1 Signal.In fig. 2 it is shown that several global pick device (GPS) satellites 300.Satellite 300 helps position multiple mobile terminals At least one of 100.
In fig. 2, multiple satellites 300 are depicted, but it is understood that, it is possible to use any number of satellite obtains Useful location information.GPS module 115 is generally configured to coordinate with satellite 300 with determining that acquisition is wanted as shown in Figure 1 Position information.Substitute GPS tracking technique or outside GPS tracking technique, it is possible to use the position of mobile terminal can be followed the tracks of Other technology.In addition, at least one gps satellite 300 can optionally or additionally process satellite dmb transmission.
As a typical operation of radio communication device, BS270 receives the reverse link from various mobile terminal 1s 00 Signal.Mobile terminal 1 00 generally participates in call, information receiving and transmitting and other types of communication.Each of certain base station 270 reception is anti- Processed in specific BS270 to link signal.The data obtaining is forwarded to the BSC275 of correlation.BSC provides call Resource allocation and the mobile management function of including the coordination of soft switching process between BS270.BSC275 is also by the number receiving According to being routed to MSC280, it provides the extra route service for forming interface with PSTN290.Similarly, PSTN290 with MSC280 forms interface, and MSC and BSC275 form interface, and BSC275 correspondingly controls BS270 with by forward link signals It is sent to mobile terminal 1 00.
In existing automation operation platform, monitoring module needs to monitor various types of softwares and interface, and by result Show, but the data of monitoring is too many, typically can be represented these data with less chart, such O&M people Member only needs to check several chart pages.The problem that this brings is exactly although Various types of data is classified, and allows phase Data like species is placed in a chart, but or can there is the too big situation of chart data dimensional discrepancy, and go manually Adjustment preferably cannot represent chart, and workload is very big.And, manual regulation chart is it is impossible to adapt to Future Data change, The scope of some type of data may dynamic change always, the occupancy of such as memory space, first day accessing only There is one times of an amount, but behind 1 year accessing, its shared quantity will be 365 times of one day that is to say, that this chart Corresponding numerical value expanded 365 times compared with first day, and this when generally just cannot preferable demonstrating data.
Based on the structure of above-mentioned mobile terminal hardware configuration, communicator, and the problem that prior art exists, this is proposed Each embodiment of the display device of invention chart data.
The display device of the described chart data in the present invention is above-mentioned mobile terminal.
With reference to Fig. 3, Fig. 3 is the module diagram of the display device first embodiment of chart data of the present invention.
It is emphasized that it will be apparent to those skilled in the art that module map shown in Fig. 3 is only a preferred embodiment Exemplary plot, the module of the display device of chart data shown in around Fig. 3 for the those skilled in the art, can carry out new easily The supplement of module;The title of each module is self-defined title, is only used for assisting each that understand the display device of this chart data Program function block, is not used in restriction technical scheme, and the core of technical solution of the present invention is, the mould of each self-defined title Block function to be reached.
In the present embodiment, the display device of described chart data includes:
Acquisition module 10, for obtaining each group chart data to be shown;
In the present embodiment, first access database, database includes each group chart data, each group chart data can be with Tabular form stores in the database, and wherein, each group chart data represents different indexs respectively, for example, maximum access Number or average access number etc..It should be appreciated that every group of chart data all includes a number of coordinate points, such as X-axis coordinate is the time, and Y-axis coordinate is the value changing over time, such as number total amount.
In the present embodiment, acquisition module 10 obtains the mode of each group chart data to be shown and includes:Receiving figure During the idsplay order of table data, determine the corresponding search condition of described idsplay order, acquisition module 10 obtains described search condition Corresponding each group chart data, each group chart data that acquisition module 10 obtains the most at last is as each group chart numbers to be shown According to.Wherein, described search condition includes:
A, the chart data of preset time range, the such as maximum the number of visiting people of 2016-08-08 to 2016-08-14, and The average access number of 2016-08-08 to 2016-08-14;
B, the chart data of preset kind, for example, the maximum the number of visiting people of literature Books Marketing situation, and literature The average access number of Books Marketing situation;
The literature of the chart data of c, preset time range and preset kind, such as 2016-08-08 to 2016-08-14 The maximum the number of visiting people of Books Marketing situation, and the literature Books Marketing situation of 2016-08-08 to 2016-08-14 is flat All the number of visiting peoples.
Determining module 20, for determining the corresponding pre-set constant value of each group chart data, wherein, every group of chart data corresponds to One pre-set constant value;
After acquisition module 10 gets each group chart data to be shown, determining module 20 is in each group chart data Determine a pre-set constant value, in the present embodiment, preferably described pre-set constant value is 10 integral multiple, such as 10,100,1000 etc., Specific value mode, including:In the integral multiple that the minimum data value organizing chart data is 10, preferably according to each group chart numbers According to minimum data value determine, that is, described pre-set constant value can be the minimum data value in every group of chart data, for example, currently There are three groups of chart datas, the scope of three groups of chart datas is respectively 1-100,100-1000 and 1000-10000, now it is known that three The minimum data value of group chart data is respectively 1,100,1000.
Certainly, in the integral multiple that the minimum data value organizing chart data is not 10, that is, when the side of first three groups chart data Boundary's value range is not 10 integral multiple, for example, the scope of three groups of chart datas be respectively 103-1007,1006-10010 and 10011-100002, now it is known that the minimum data value of three groups of chart datas is respectively 103,1006 and 10011, if adopt Above-mentioned mode, subsequent execution calculates operation, because minimum data value is not 10 integral multiple, leads to the result calculating more numerous Trivial.Therefore, minimum data value can be rounded in the present embodiment, the mode that specifically rounds includes:Determine each group chart data Minimum data value be located numerical intervals, then by determine each numerical intervals corresponding to minimum boundary value, as each The minimum data value of group chart data.Wherein, the dividing mode of each numerical intervals is preferably also to be carried out using 10 integral multiple Divide, for example, each numerical intervals is divided into [10-100], [100-1000], [1000-10000], then understand minimum data The numerical intervals that value 103 is located are [100-1000], and therefore, value range is that this group chart data of 103-1007 is corresponding default Constant value is exactly 100, and the mode of the determination of the pre-set constant value of other each groups is consistent with the above, is no longer repeated herein.
It should be appreciated that described pre-set constant value according to specific needs, can also be set to the integral multiple of other numerical value, 10 integral multiple only preferably value, the present invention does not limit.
Computing module 30, for according to the corresponding pre-set constant value of described every group of chart data to described every group of chart data Processed, obtained each data value after each group chart data is processed;
After determining module 20 determines the corresponding pre-set constant value of each group chart data, computing module 30 is according to described The corresponding pre-set constant value of every group of chart data is processed to described every group of chart data, obtains after each group chart data processes Each data value, wherein, described computing module 30 is according to the corresponding pre-set constant value of described every group of chart data to described every The mode that group chart data is processed preferably includes:Obtain each data value in each group chart data, and by each group chart Each data value in data, divided by the corresponding pre-set constant value of each group chart data, each to obtain after corresponding process Data value.
Display module 40, is shown in chart for each data value after processing each group chart data as display result In.
In the present embodiment, the display result of each group chart data can carry out figure by display module 40 using ECharts Table represents.Wherein, Echarts is the chart storehouse of a pure Javascript, can be smooth operate in PC (Personal Computer, PC) and mobile device on, compatibility currently most browser (IE8/9/10/11, Chrome, Firefox, Safari etc.), bottom relies on the Canvas class libraries ZRender of lightweight, provides directly perceived, vividly, can interact, can be high The data visualization chart of degree personalized customization.
For being best understood from the present embodiment, citing application scenarios are as follows:
With reference to Fig. 4, currently there are three groups of chart datas, represented with 1 group, 2 groups and 3 groups respectively, the data of 1 group, 2 groups and 3 groups Boundary value be respectively 103-1000,1006-5010 and 5011-10000, according to content above, 1 group, 2 groups and 3 groups Pre-set constant value respectively value is 100,1000 and 5000, if now 1 group have in the corresponding data value of any 5 time points 110th, 600,300,1000,750,2 groups have 1010 in the corresponding data value of 5 time points of identical, 3000,5000,3500, 4500,3 groups have 5000,7010,10000,9000,7500 in the corresponding data value of 5 time points of identical.So, by 1 group Each data value 110,600,300,1000,750 is respectively divided by 1 group of corresponding pre-set constant value 100, you can after being processed Each data value is 1.1,6,3,10,7.5;2 groups each data value 1010,3000,5000,3500,4500 is respectively divided by 2 Organize corresponding pre-set constant value 1000, you can each data value after being processed is 1.01,3,5,3.5,4.5;Each by 3 groups Individual data value 5000,7010,10000,9000,7500 is respectively divided by 3 groups of corresponding pre-set constant value 5000, you can processed Each data value afterwards is 1,1.4,2,1.6,1.5, and each data value after each group chart data is processed can refer to Fig. 5.Referring to Fig. 4 and Fig. 5 understands, the value of each group chart data before adjustment difference larger so that the space of chart does not obtain reasonable profit With, and the value of each group chart data after adjusting is more or less the same substantially, fully can show in a certain panel region of chart.
The display device of the chart data that the present embodiment proposes, first obtains each group chart data to be shown, it is then determined that The corresponding pre-set constant value of each group chart data, further according to the corresponding pre-set constant value of described every group of chart data to described every group Chart data is processed, and obtains each data value after each group chart data is processed, after each group chart data is processed the most at last Each data value show in the graph it is achieved that by every group of chart data all according to corresponding preset constant as display result Value is adjusted, and without manually adjusting one by one, improves during chart data shows, chart data adjustment convenient Property.Meanwhile, each group chart data needing display automatically according to this carries out the adjustment that chart represents, and reduces workload, and Be adapted to the scope of each group chart data following it may happen that change.
Further, the second embodiment of the display device of chart data of the present invention is proposed.
The difference of the first embodiment of the second embodiment of the display device of chart data and the display device of chart data It is, with reference to Fig. 6, described determining module 20 includes:
First acquisition unit 21, for obtaining the minimum data value of each group chart data;
Determining unit 22, the numerical intervals that the minimum data value for determining each group chart data is located, each by determine Minimum boundary value corresponding to individual numerical intervals, as the pre-set constant value of each group chart data.
In the present embodiment, when acquisition module 10 gets each group chart data to be shown, first travel through each group chart Data, is then respectively adopted a minimum value field and records, to record each group chart data to each group chart data Small data value, and minimum data value is saved in a minimum of a value array.Subsequently, first acquisition unit 21 traversal each group chart The minimum data value of data is to obtain minimum data value, then, it is determined that unit 22 determines described minimum data value place numerical value area Between, and determining whether minimum data value is equal to the minimum boundary value of place numerical intervals, the dividing mode of described numerical intervals is excellent Choosing is also to be divided using 10 integral multiple, can be divided into [10-100], [100-1000], [1000-10000], if institute State the minimum boundary value that minimum data value is equal to place numerical intervals, then directly the minimum data value in each group chart data is made For the pre-set constant value of each group chart data, if described minimum data value is not equal to the minimum boundary value of place numerical intervals, By corresponding for described minimum data value place numerical intervals minimum boundary value, as the minimum data value of each group chart data.
It should be appreciated that the interval dividing mode of described default value, other can also be set to according to specific needs Mode, the integral multiple according to 10 carries out dividing only preferably mode, and the present invention does not limit.
In the present embodiment, determining unit 22 determine each group chart data minimum data value be located numerical intervals it Before, can first estimate the maximum that the corresponding index of all data of chart data to be shown is likely to occur.Here maximum Value, refer to is not the maximum of this group chart data, but the peak value that all data are likely to occur.For example, there is one group of chart numbers According to maximum be only 10000, but the maximum in each group chart data to be shown is 10000000, then, institute Have the maximum in data to be ten million, unit that may adopt just have thousand, ten thousand, 100,000, million, ten million (least unit this While have selected thousand, reality can be specified according to business certainly), that is, according to maximum, so that it is determined that the dividing unit of data.
In the present embodiment, the numerical intervals that the minimum data value of each group chart data is located are determined, and each by determine Minimum boundary value corresponding to individual numerical intervals, the minimum data value as each group chart data it is achieved that minimum data value not Equal to numerical intervals minimum boundary value when, using the minimum boundary value of numerical intervals as each group chart data minimum data Value, when preventing from being subsequently adjusted according to minimum data value, because minimum data value is not unit amount, the calculating causing is numerous Trivial, embodiment improves the determination of minimum data value is intelligent.
Further, the 3rd embodiment of the display device of chart data of the present invention is proposed.
The difference of the second embodiment of the 3rd embodiment of the display device of chart data and the display device of chart data It is, with reference to Fig. 7, described computing module 30 includes:
Second acquisition unit 31, for obtaining each data value in each group chart data;
Computing unit 32, for by each data value in each group chart data, corresponding pre- divided by each group chart data If constant value, to obtain each data value after corresponding process.
After determining module 20 determines the corresponding pre-set constant value of each group chart data, second acquisition unit 31 obtains Each data value in each group chart data, then computing unit 32 is by each data value in each group chart data, divided by each The group corresponding pre-set constant value of chart data, to obtain each data value after corresponding process.
It is understood that by each data value in each group chart data, presetting divided by each group chart data is corresponding Constant value, is the equal of to be reduced each data value of each group chart data according to preset ratio, this preset ratio is exactly The corresponding pre-set constant value of every group of chart data, finally, obtains each data value after reducing in every group of chart data.Achieve Every group of chart data is all adjusted according to corresponding pre-set constant value, and without manually adjusting one by one, improves chart The efficiency of data point reuse.
Further, by each data value in each group chart data, divided by the corresponding preset constant of each group chart data Value, rather than by each group chart data all divided by identical value so that each data value finally giving is all according to this group figure The pre-set constant value of table data reduces, even if the data boundary value difference of each group chart data is larger, also due to according to this The pre-set constant value of group chart data is reduced so that the result being finally given will not differ larger, thus improve data adjusting Whole accuracy and flexibility.
Further, the fourth embodiment of the display device of chart data of the present invention is proposed.
The difference of the first embodiment of the fourth embodiment of the display device of chart data and the display device of chart data It is, with reference to Fig. 8, described acquisition module 10 includes:
Analytic unit 11, for when receiving the idsplay order of chart data, the display analyzing described chart data refers to Make corresponding search condition;
Extraction unit 12, for extracting described search condition corresponding each group chart data in database;
Processing unit 13, for will extract each group chart data as each group chart data to be shown.
In the present embodiment, described search condition includes:
A, the chart data of preset time range, the such as maximum the number of visiting people of 2016-08-08 to 2016-08-14, and The average access number of 2016-08-08 to 2016-08-14;
B, the chart data of preset kind, for example, the maximum the number of visiting people of literature Books Marketing situation, and literature The average access number of Books Marketing situation;
The literature of the chart data of c, preset time range and preset kind, such as 2016-08-08 to 2016-08-14 The maximum the number of visiting people of Books Marketing situation, and the literature Books Marketing situation of 2016-08-08 to 2016-08-14 is flat All the number of visiting peoples.
, when receiving the idsplay order of chart data, analytic unit 11 first analyzes this idsplay order pair taking described a as a example The preset time range answered, described preset time range just refers to search time, and for example current search time is 2016-08- 08 to 2016-08-14, then first determine this search time corresponding each group chart data, e.g., 2016-08-08 in database To the maximum the number of visiting people of 2016-08-14, and the average access number of 2016-08-08 to 2016-08-14, then, extract Unit 12 extracts this search time corresponding each group chart data, and each group chart data extracting is made by final process unit 13 For each group chart data to be shown.
In the present embodiment, first determine the corresponding search condition of idsplay order of chart data, then carry from database Take out the corresponding chart data of search condition determining, because search condition includes various situations so that the acquisition of chart data More flexible.
Further, the 5th embodiment of the display device of chart data of the present invention is proposed.
5th embodiment of the display device of chart data and first to fourth embodiment of the display device of chart data Difference be, when described chart predeterminable area show each group chart data title when, described determining module 20, be additionally operable to Determine each group chart data corresponding data unit after treatment;
The display device of described chart data also includes:
Add module, for being added to the data unit of each group chart data in the corresponding title of each group chart data.
In the present embodiment, described determining module 20 can be in each after each group chart data is processed by display module 40 While data value shows in the graph as display result, determine each group chart data corresponding data sheet after treatment Position, then the data unit of each group chart data is added in the corresponding title of each group chart data add module.
Further, described determining module 20 can also be in the minimum data value of every group of chart data of traversal.And it is described Computing module 30 according to the corresponding pre-set constant value of described every group of chart data described every group of chart data is processed same When, determine each group chart data corresponding data unit after treatment, then add module is by the data of each group chart data Unit is added in the corresponding title of each group chart data;
Further, can also be in the minimum data value of every group of chart data of traversal.And described computing module 30 basis While the corresponding pre-set constant value of described every group of chart data is processed to described every group of chart data, described determining module Then each group chart data is processed by 20 determination each group chart data corresponding data units after treatment in display module 40 While each data value afterwards shows in the graph as display result, add module is by the data unit of each group chart data It is added in the corresponding title of each group chart data.
For example, the minimum data value of current chart data is 1,000, and original coordinate explanation is " average access people Coordinate because 1,000 corresponding units are thousand, is then illustrated to add below unit, such as " average access number (thousand) " by number ".
In the present embodiment, when the predeterminable area of described chart shows the title of each group chart data, by each group chart The data unit of data is added in the corresponding title of each group chart data, even if the data value of every group of chart data is all contracted Little, but specific unit is shown in the corresponding title of each group chart data, is easy to user and obtains real data, and improves The accuracy that chart data shows.
The present invention also provides a kind of display methods of chart data.
With reference to Fig. 9, Fig. 9 is the schematic flow sheet of the display methods first embodiment of chart data of the present invention.
In the present embodiment, the display methods of described chart data includes:
Step S10, obtains each group chart data to be shown;
In the present embodiment, first access database, database includes each group chart data, each group chart data can be with Tabular form stores in the database, and wherein, each group chart data represents different indexs respectively, for example, maximum access Number or average access number etc..It should be appreciated that every group of chart data all includes a number of coordinate points, such as X-axis coordinate is the time, and Y-axis coordinate is the value changing over time, such as number total amount.
In the present embodiment, the mode obtaining each group chart data to be shown includes:Receiving the aobvious of chart data When showing instruction, determine the corresponding search condition of described idsplay order, then obtain described search condition corresponding each group chart data, The each group chart data obtaining the most at last is as each group chart data to be shown.Wherein, described search condition includes:
A, the chart data of preset time range, the such as maximum the number of visiting people of 2016-08-08 to 2016-08-14, and The average access number of 2016-08-08 to 2016-08-14;
B, the chart data of preset kind, for example, the maximum the number of visiting people of literature Books Marketing situation, and literature The average access number of Books Marketing situation;
The literature of the chart data of c, preset time range and preset kind, such as 2016-08-08 to 2016-08-14 The maximum the number of visiting people of Books Marketing situation, and the literature Books Marketing situation of 2016-08-08 to 2016-08-14 is flat All the number of visiting peoples.
Step S20, determines the corresponding pre-set constant value of each group chart data, and wherein, every group of chart data corresponds to one in advance If constant value;
After getting each group chart data to be shown, each group chart data determines a pre-set constant value, this In embodiment, preferably described pre-set constant value is 10 integral multiple, such as 10,100,1000 etc., specific value mode, and bag Include:In the integral multiple that the minimum data value organizing chart data is 10, preferably true according to the minimum data value of each group chart data Fixed, that is, described pre-set constant value can be the minimum data value in every group of chart data, for example, currently have three groups of chart datas, The scope of three groups of chart datas be respectively 1-100,100-1000 and 1000-10000, now it is known that three groups of chart datas Small data value is respectively 1,100,1000.
Certainly, in the integral multiple that the minimum data value organizing chart data is not 10, that is, when the side of first three groups chart data Boundary's value range is not 10 integral multiple, for example, the scope of three groups of chart datas be respectively 103-1007,1006-10010 and 10011-100002, now it is known that the minimum data value of three groups of chart datas is respectively 103,1006 and 10011, if adopt Above-mentioned mode, subsequent execution calculates operation, because minimum data value is not 10 integral multiple, leads to the result calculating more numerous Trivial.Therefore, minimum data value can be rounded in the present embodiment, the mode that specifically rounds includes:Determine each group chart data Minimum data value be located numerical intervals, then by determine each numerical intervals corresponding to minimum boundary value, as each The minimum data value of group chart data.Wherein, the dividing mode of each numerical intervals is preferably also to be carried out using 10 integral multiple Divide, for example, each numerical intervals is divided into [10-100], [100-1000], [1000-10000], then understand minimum data The numerical intervals that value 103 is located are [100-1000], and therefore, value range is that this group chart data of 103-1007 is corresponding default Constant value is exactly 100, and the mode of the determination of the pre-set constant value of other each groups is consistent with the above, is no longer repeated herein.
It should be appreciated that described pre-set constant value according to specific needs, can also be set to the integral multiple of other numerical value, 10 integral multiple only preferably value, the present invention does not limit.
Step S30, according to the corresponding pre-set constant value of described every group of chart data to described every group of chart data at Reason, obtains each data value after each group chart data is processed;
After determining the corresponding pre-set constant value of each group chart data, corresponding pre- according to described every group of chart data If constant value is processed to described every group of chart data, obtain each data value after each group chart data is processed, wherein, institute The mode according to the corresponding pre-set constant value of described every group of chart data is processed to described every group of chart data of stating preferably is wrapped Include:Obtain each data value in each group chart data, and by each data value in each group chart data, divided by each group chart The corresponding pre-set constant value of data, to obtain each data value after corresponding process.
Step S40, each data value after each group chart data is processed shows in the graph as display result.
In the present embodiment, the display result of each group chart data can carry out chart using ECharts and represents.Wherein, Echarts is the chart storehouse of a pure Javascript, and (Personal Computer, individual is electric for the PC that operates in that can be smooth Brain) and mobile device on, compatibility currently most browsers (IE8/9/10/11, Chrome, Firefox, Safari etc.), Bottom relies on the Canvas class libraries ZRender of lightweight, provides directly perceived, vividly, can interact, can height personalized customization data Visual Chart.
For being best understood from the present embodiment, citing application scenarios are as follows:
With reference to Fig. 4, currently there are three groups of chart datas, represented with 1 group, 2 groups and 3 groups respectively, the data of 1 group, 2 groups and 3 groups Boundary value be respectively 103-1000,1006-5010 and 5011-10000, according to content above, 1 group, 2 groups and 3 groups Pre-set constant value respectively value is 100,1000 and 5000, if now 1 group have in the corresponding data value of any 5 time points 110th, 600,300,1000,750,2 groups have 1010 in the corresponding data value of 5 time points of identical, 3000,5000,3500, 4500,3 groups have 5000,7010,10000,9000,7500 in the corresponding data value of 5 time points of identical.So, by 1 group Each data value 110,600,300,1000,750 is respectively divided by 1 group of corresponding pre-set constant value 100, you can after being processed Each data value is 1.1,6,3,10,7.5;2 groups each data value 1010,3000,5000,3500,4500 is respectively divided by 2 Organize corresponding pre-set constant value 1000, you can each data value after being processed is 1.01,3,5,3.5,4.5;Each by 3 groups Individual data value 5000,7010,10000,9000,7500 is respectively divided by 3 groups of corresponding pre-set constant value 5000, you can processed Each data value afterwards is 1,1.4,2,1.8,1.5, and each data value after each group chart data is processed can refer to Fig. 5.Referring to Fig. 4 and Fig. 5 understands, the value of each group chart data before adjustment difference larger so that the space of chart does not obtain reasonable profit With, and the value of each group chart data after adjusting is more or less the same substantially, fully can show in a certain panel region of chart.
The display methods of the chart data that the present embodiment proposes, first obtains each group chart data to be shown, it is then determined that The corresponding pre-set constant value of each group chart data, further according to the corresponding pre-set constant value of described every group of chart data to described every group Chart data is processed, and obtains each data value after each group chart data is processed, after each group chart data is processed the most at last Each data value show in the graph it is achieved that by every group of chart data all according to corresponding preset constant as display result Value is adjusted, and without manually adjusting one by one, improves during chart data shows, chart data adjustment convenient Property.Meanwhile, each group chart data needing display automatically according to this carries out the adjustment that chart represents, and reduces workload, and Be adapted to the scope of each group chart data following it may happen that change.
Further, the second embodiment of the display methods of chart data of the present invention is proposed.
The difference of the first embodiment of the second embodiment of the display methods of chart data and the display methods of chart data It is, with reference to Figure 10, described step S20 includes:
Step S21, obtains the minimum data value of each group chart data;
Step S22, determines the numerical intervals that the minimum data value of each group chart data is located, each numerical value area that will determine Between corresponding minimum boundary value, as the pre-set constant value of each group chart data.
In the present embodiment, when getting each group chart data to be shown, first travel through each group chart data, then right Each group chart data is respectively adopted a minimum value field and is recorded, to record the minimum data value of each group chart data, and Minimum data value is saved in a minimum of a value array.Subsequently, the minimum data value of traversal each group chart data is to obtain Small data value, then, it is determined that described minimum data value place numerical intervals, and determine whether minimum data value is equal to place numerical value Interval minimum boundary value, the dividing mode of described numerical intervals is preferably also to be divided using 10 integral multiple, Ke Yihua It is divided into [10-100], [100-1000], [1000-10000], if described minimum data value is equal to the minimum edge of place numerical intervals Dividing value, then directly using the minimum data value in each group chart data as each group chart data pre-set constant value, if described Small data value is not equal to the minimum boundary value of place numerical intervals, then will be corresponding for described minimum data value place numerical intervals Little boundary value, as the minimum data value of each group chart data.
It should be appreciated that the interval dividing mode of described default value, other can also be set to according to specific needs Mode, the integral multiple according to 10 carries out dividing only preferably mode, and the present invention does not limit.
In the present embodiment, before determining the numerical intervals that the minimum data value of each group chart data is located, can first estimate The maximum that once the corresponding index of all data of chart data to be shown is likely to occur.Here maximum, refer to is not The maximum of this group chart data, but the peak value that all data are likely to occur.For example, only there is the maximum of one group of chart data It is only 10000, but the maximum in each group chart data to be shown is 10000000, then, in all data Maximum is ten million, unit that may adopt just have thousand, ten thousand, 100,000, million, ten million (least unit this side have selected thousand, when So reality can be specified according to business), that is, according to maximum, so that it is determined that the dividing unit of data.
In the present embodiment, the numerical intervals that the minimum data value of each group chart data is located are determined, and each by determine Minimum boundary value corresponding to individual numerical intervals, the minimum data value as each group chart data it is achieved that minimum data value not Equal to numerical intervals minimum boundary value when, using the minimum boundary value of numerical intervals as each group chart data minimum data Value, when preventing from being subsequently adjusted according to minimum data value, because minimum data value is not unit amount, the calculating causing is numerous Trivial, embodiment improves the determination of minimum data value is intelligent.
Further, the 3rd embodiment of the display methods of chart data of the present invention is proposed.
The difference of the second embodiment of the 3rd embodiment of the display methods of chart data and the display methods of chart data It is, with reference to Figure 11, described step S30 includes:
Step S31, obtains each data value in each group chart data;
Step S32, by each data value in each group chart data, divided by the corresponding preset constant of each group chart data Value, to obtain each data value after corresponding process.
After determining the corresponding pre-set constant value of each group chart data, first obtain each number in each group chart data According to value, then by each data value in each group chart data, divided by the corresponding pre-set constant value of each group chart data, to obtain Each data value after corresponding process.
It is understood that by each data value in each group chart data, presetting divided by each group chart data is corresponding Constant value, is the equal of to be reduced each data value of each group chart data according to preset ratio, this preset ratio is exactly The corresponding pre-set constant value of every group of chart data, finally, obtains each data value after reducing in every group of chart data.Achieve Every group of chart data is all adjusted according to corresponding pre-set constant value, and without manually adjusting one by one, improves chart The efficiency of data point reuse.
Further, by each data value in each group chart data, divided by the corresponding preset constant of each group chart data Value, rather than by each group chart data all divided by identical value so that each data value finally giving is all according to this group figure The pre-set constant value of table data reduces, even if the data boundary value difference of each group chart data is larger, also due to according to this The pre-set constant value of group chart data is reduced so that the result being finally given will not differ larger, thus improve data adjusting Whole accuracy and flexibility.
Further, the fourth embodiment of the display methods of chart data of the present invention is proposed.
The difference of the first embodiment of the fourth embodiment of the display methods of chart data and the display methods of chart data It is, with reference to Figure 12, described step S10 includes:
Step S11, when receiving the idsplay order of chart data, the idsplay order analyzing described chart data is corresponding Search condition;
Step S12, extracts described search condition corresponding each group chart data in database;
Step S13, using each group chart data extracting as each group chart data to be shown.
In the present embodiment, described search condition includes:
A, the chart data of preset time range, the such as maximum the number of visiting people of 2016-08-08 to 2016-08-14, and The average access number of 2016-08-08 to 2016-08-14;
B, the chart data of preset kind, for example, the maximum the number of visiting people of literature Books Marketing situation, and literature The average access number of Books Marketing situation;
The literature of the chart data of c, preset time range and preset kind, such as 2016-08-08 to 2016-08-14 The maximum the number of visiting people of Books Marketing situation, and the literature Books Marketing situation of 2016-08-08 to 2016-08-14 is flat All the number of visiting peoples.
, when receiving the idsplay order of chart data taking described a as a example, first analyze this idsplay order corresponding default when Between scope, described preset time range just refers to search time, and for example current search time is 2016-08-08 to 2016- 08-14, then first determine this search time corresponding each group chart data, e.g., 2016-08-08 to 2016- in database The maximum the number of visiting people of 08-14, and the average access number of 2016-08-08 to 2016-08-14, then, extract this and search Rope time corresponding each group chart data, each group chart data extracting the most at last is as each group chart data to be shown.
In the present embodiment, first determine the corresponding search condition of idsplay order of chart data, then carry from database Take out the corresponding chart data of search condition determining, because search condition includes various situations so that the acquisition of chart data More flexible.
Further, the 5th embodiment of the display methods of chart data of the present invention is proposed.
5th embodiment of the display methods of chart data and first to fourth embodiment of the display methods of chart data Difference be, when described chart predeterminable area show each group chart data title when, the display side of described chart data Method also includes:
Determine each group chart data corresponding data unit after treatment;
The data unit of each group chart data is added in the corresponding title of each group chart data.
In the present embodiment, can determine that each group chart data is corresponding after treatment while execution step S40 Data unit, then the data unit of each group chart data is added in the corresponding title of each group chart data.
Further, can also be in the minimum data value of every group of chart data of traversal.And complete the same of described step S30 When, determine each group chart data corresponding data unit after treatment, then the data unit of each group chart data is added To in the corresponding title of each group chart data;
Further, can also be in the minimum data value of every group of chart data of traversal.And complete the same of described step S30 When, determine each group chart data corresponding data unit after treatment, then while execution step S40, by each group figure The data unit of table data is added in the corresponding title of each group chart data.
For example, the minimum data value of current chart data is 1,000, and original coordinate explanation is " average access people Coordinate because 1,000 corresponding units are thousand, is then illustrated to add below unit, such as " average access number (thousand) " by number ".
In the present embodiment, when the predeterminable area of described chart shows the title of each group chart data, by each group chart The data unit of data is added in the corresponding title of each group chart data, even if the data value of every group of chart data is all contracted Little, but specific unit is shown in the corresponding title of each group chart data, is easy to user and obtains real data, and improves The accuracy that chart data shows.
It should be noted that herein, term " inclusion ", "comprising" or its any other variant are intended to non-row The comprising of his property, so that including a series of process of key elements, method, article or system not only include those key elements, and And also include other key elements of being not expressly set out, or also include intrinsic for this process, method, article or system institute Key element.In the absence of more restrictions, the key element being limited by sentence "including a ..." is it is not excluded that including being somebody's turn to do Also there is other identical element in the process of key element, method, article or system.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by the mode of software plus necessary general hardware platform naturally it is also possible to pass through hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme is substantially done to prior art in other words Go out partly can embodying in the form of software product of contribution, this computer software product is stored in a storage medium In (as ROM/RAM, magnetic disc, CD), including some instructions with so that a station terminal equipment (can be mobile phone, computer, clothes Business device, air-conditioner, or network equipment etc.) method described in execution each embodiment of the present invention.
These are only the preferred embodiments of the present invention, not thereby limit the present invention the scope of the claims, every using this Equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in the skills of other correlations Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of display device of chart data is it is characterised in that the display device of described chart data includes:
Acquisition module, for obtaining each group chart data to be shown;
Determining module, for determining the corresponding pre-set constant value of each group chart data, wherein, every group of chart data corresponds to one in advance If constant value;
Computing module, at according to the corresponding pre-set constant value of described every group of chart data to described every group of chart data Reason, obtains each data value after each group chart data is processed;
Display module, shows in the graph as display result for each data value after processing each group chart data.
2. the display device of chart data as claimed in claim 1 is it is characterised in that described determining module includes:
First acquisition unit, for obtaining the minimum data value of each group chart data;
Determining unit, the numerical intervals that the minimum data value for determining each group chart data is located, each numerical value that will determine Minimum boundary value corresponding to interval, as the pre-set constant value of each group chart data.
3. the display device of chart data as claimed in claim 2 is it is characterised in that described computing module includes:
Second acquisition unit, for obtaining each data value in each group chart data;
Computing unit, for by each data value in each group chart data, divided by the corresponding preset constant of each group chart data Value, to obtain each data value after corresponding process.
4. the display device of chart data as claimed in claim 1 is it is characterised in that described acquisition module includes:
Analytic unit, the idsplay order for when receiving the idsplay order of chart data, analyzing described chart data corresponds to Search condition;
Extraction unit, for extracting described search condition corresponding each group chart data in database;
Processing unit, for will extract each group chart data as each group chart data to be shown.
5. the display device of the chart data as described in any one of claim 1-4 is it is characterised in that work as the default of described chart When region shows the title of each group chart data, described determining module, it is additionally operable to determine that each group chart data is right after treatment The data unit answered;
The display device of described chart data also includes:
Add module, for being added to the data unit of each group chart data in the corresponding title of each group chart data.
6. a kind of display methods of chart data is it is characterised in that the display methods of described chart data includes:
Obtain each group chart data to be shown;
Determine the corresponding pre-set constant value of each group chart data, wherein, every group of chart data corresponds to a pre-set constant value;
According to the corresponding pre-set constant value of described every group of chart data, described every group of chart data is processed, obtain each group figure Each data value after table data processing;
Each data value after each group chart data is processed shows in the graph as display result.
7. the display methods of chart data as claimed in claim 6 is it is characterised in that described determination each group chart data corresponds to The step of pre-set constant value include:
Obtain the minimum data value of each group chart data;
Determine the numerical intervals that the minimum data value of each group chart data is located, corresponding to each numerical intervals that will determine Little boundary value, as the pre-set constant value of each group chart data.
8. chart data as claimed in claim 7 display methods it is characterised in that described according to described every group of chart data Corresponding pre-set constant value is processed to described every group of chart data, obtains each data value after each group chart data is processed Step include:
Obtain each data value in each group chart data;
By each data value in each group chart data, divided by the corresponding pre-set constant value of each group chart data, to be corresponded to Process after each data value.
9. the display methods of chart data as claimed in claim 6 is it is characterised in that described acquisition each group chart to be shown The step of data includes:
When receiving the idsplay order of chart data, analyze the corresponding search condition of idsplay order of described chart data;
Described search condition corresponding each group chart data is extracted in database;
Using each group chart data extracting as each group chart data to be shown.
10. the display methods of the chart data as described in any one of claim 6-9 is it is characterised in that work as the pre- of described chart If region shows the title of each group chart data, the display methods of described chart data also includes:
Determine each group chart data corresponding data unit after treatment;
The data unit of each group chart data is added in the corresponding title of each group chart data.
CN201610808180.5A 2016-09-07 2016-09-07 Chart data display apparatus and method Pending CN106446074A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610808180.5A CN106446074A (en) 2016-09-07 2016-09-07 Chart data display apparatus and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610808180.5A CN106446074A (en) 2016-09-07 2016-09-07 Chart data display apparatus and method

Publications (1)

Publication Number Publication Date
CN106446074A true CN106446074A (en) 2017-02-22

Family

ID=58165360

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610808180.5A Pending CN106446074A (en) 2016-09-07 2016-09-07 Chart data display apparatus and method

Country Status (1)

Country Link
CN (1) CN106446074A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107133347A (en) * 2017-05-22 2017-09-05 智器云南京信息科技有限公司 The methods of exhibiting and device of visual analyzing chart, readable storage medium storing program for executing, terminal
WO2020135143A1 (en) * 2018-12-28 2020-07-02 阿里巴巴集团控股有限公司 Application performance management information display method and apparatus, device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102110097A (en) * 2009-12-25 2011-06-29 上海汉光知识产权数据科技有限公司 System and method for analyzing patent family trend of applicant
CN103376184A (en) * 2012-04-24 2013-10-30 上海北玻镀膜技术工业有限公司 Tendency chart monitoring system based on vacuum environment and application method thereof
CN105718603A (en) * 2016-03-31 2016-06-29 北京理工大学 Candlestick graph-based time series data visualization method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102110097A (en) * 2009-12-25 2011-06-29 上海汉光知识产权数据科技有限公司 System and method for analyzing patent family trend of applicant
CN103376184A (en) * 2012-04-24 2013-10-30 上海北玻镀膜技术工业有限公司 Tendency chart monitoring system based on vacuum environment and application method thereof
CN105718603A (en) * 2016-03-31 2016-06-29 北京理工大学 Candlestick graph-based time series data visualization method and device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107133347A (en) * 2017-05-22 2017-09-05 智器云南京信息科技有限公司 The methods of exhibiting and device of visual analyzing chart, readable storage medium storing program for executing, terminal
CN107133347B (en) * 2017-05-22 2020-03-10 智器云南京信息科技有限公司 Method and device for displaying visual analysis chart, readable storage medium and terminal
WO2020135143A1 (en) * 2018-12-28 2020-07-02 阿里巴巴集团控股有限公司 Application performance management information display method and apparatus, device and storage medium

Similar Documents

Publication Publication Date Title
CN104915141A (en) Method and device for previewing object information
CN105549891B (en) A kind of screenshot method and mobile terminal based on backside pressure sensor
CN106911806A (en) A kind of method of PUSH message, terminal, server and system
CN106407341A (en) Page processing method, apparatus and system
CN105426097A (en) Real time adjustment method for split screen size and split screen apparatus
CN105260083A (en) Mobile terminal and method for realizing split screens
CN106406996A (en) Management method and device of background application program
CN104967802A (en) Mobile terminal, recording method of screen multiple areas and recording device of screen multiple areas
CN105303398A (en) Information display method and system
CN106249989A (en) Social networking application program icon aligning method during a kind of sharing contents and mobile terminal
CN105718200A (en) Page switching device and method based on pressure sensor, and terminal
CN105353947A (en) Mobile terminal and application display content controlling method
CN107132931A (en) A kind of searching method and server
CN105487766A (en) Picture capture method and apparatus
CN105302864A (en) Picture loading apparatus and method according to screen resolution
CN104777961A (en) Mobile terminal and method and device for quickly arranging desktop icons of mobile terminal
CN106528576A (en) Page search method and system, and terminal
CN105335055A (en) Self-response type realization method and system of menu as well as terminal equipment
CN105681654A (en) Photographing method and mobile terminal
CN105573916A (en) Fault detection method and mobile terminal
CN105183830B (en) picture browsing method and device
CN106446284A (en) Map loading device and method
CN106357936A (en) Control method of map application and mobile terminal
CN104731484B (en) The method and device that picture is checked
CN106455009A (en) A network search device and method

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20170222