CN103995654A - Chart granularity adjusting method and device - Google Patents

Chart granularity adjusting method and device Download PDF

Info

Publication number
CN103995654A
CN103995654A CN201310053591.4A CN201310053591A CN103995654A CN 103995654 A CN103995654 A CN 103995654A CN 201310053591 A CN201310053591 A CN 201310053591A CN 103995654 A CN103995654 A CN 103995654A
Authority
CN
China
Prior art keywords
granularity
chart
real
user
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201310053591.4A
Other languages
Chinese (zh)
Other versions
CN103995654B (en
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201310053591.4A priority Critical patent/CN103995654B/en
Publication of CN103995654A publication Critical patent/CN103995654A/en
Application granted granted Critical
Publication of CN103995654B publication Critical patent/CN103995654B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a chart granularity adjusting method and device, and belongs to the field of data mining. The chart granularity adjusting method includes the steps of obtaining a coordinate of a first point triggered by a user on a chart, obtaining the positions slide and operated by the user in real time, determining granularities corresponding to the positions, obtaining data corresponding to the granularities, keeping the coordinate of the first point in the granularity adjusting direction to be unchanged, and updating data on the chart in real time according to the granularities and the corresponding data. The chart granularity adjusting device comprises a first triggering module, a first obtaining module and a first adjusting module. By means of the chart granularity adjusting method and device, real-tine adjustment and accurate adjustment on the chart granularities are achieved, the granularity adjusting efficiency and the granularity adjusting accuracy are improved, and user operation is simplified.

Description

Regulate the method and apparatus of chart granularity
Technical field
The present invention relates to Data Mining, particularly a kind of method and apparatus that regulates chart granularity.
Background technology
In the time carrying out data statistics, conventionally carry out display data with chart.Such as in network management system, obtained one time performance data every 5 minutes, then taking the time as transverse axis, performance data as the longitudinal axis build chart, can clearly reflect performance data situation over time.But owing to being subject to the impact of the factor such as data transmission, system refresh, the chart time granularity that O&M personnel see is thicker, as being a hour granularity, is therefore not easy to data statistics and analysis.In order to analyze more accurately data, often need to regulate the granularity of chart, so that mining data more in depth.
At present, conventional a kind of scheme is: give each chart configuration time or apart from equigranular conditioning box, or, for multiple charts configure same granularity conditioning box, by dragging or click granularity conditioning box, the granularity of chart is adjusted, as zoomed in or out.Another kind of scheme is: first select enlarged drawing table button, then in chart, select to need the region of amplifying, select to finish the amplification that the rear page just switches to selected area and show chart.
In the first scheme, if a corresponding chart of granularity conditioning box, page info redundancy, and operation is more loaded down with trivial details, inefficiency; If the corresponding multiple charts of granularity conditioning box, bring granularity to regulate the problem of directive property confusion, affect the accuracy that granularity regulates.In first scheme, after adjusting granularity, the chart page shows with switching mode, and redirect is more unexpected, affects user and experiences.
Summary of the invention
While regulating chart granularity in order to solve in prior art, efficiency is low, accuracy is not high, and the problem such as poor user experience, the invention provides a kind of method and apparatus that regulates chart granularity.
Described technical scheme is as follows:
First aspect, the invention provides a kind of method that regulates chart granularity, comprising:
On chart, obtain the coordinate of first that user triggers;
Real-time Obtaining user operates the position of slip, and determines granularity corresponding to each position;
Obtain data corresponding to each granularity;
Keep regulate the coordinate in direction constant in granularity at described first, according to the data on chart described in the data real-time update of described each granularity and correspondence.
In conjunction with first aspect, under the first embodiment of first aspect, described chart comprises mutually perpendicular the first coordinate axis and the second coordinate axis, after obtaining the coordinate of first of user's triggering, also comprises on chart:
Show the conditioning box that comprises control, described conditioning box is for regulating the granularity of described chart on described the first change in coordinate axis direction;
Correspondingly, Real-time Obtaining user operates the position of slip, and determines granularity corresponding to each position, comprising:
The position of the described control that Real-time Obtaining user regulates in described conditioning box, and determine granularity corresponding to each position.
In conjunction with the first embodiment of first aspect, under the second embodiment of first aspect, the position of the described control that Real-time Obtaining user regulates in described conditioning box, and determine granularity corresponding to each position, comprising:
The position of the described control that Real-time Obtaining user regulates in described conditioning box;
Determine the region at place, each position;
According to default region and other corresponding relation of particle size fraction, obtain the granularity rank that regional is corresponding;
Determine according to the granularity rank obtaining the granularity that each position is corresponding.
In conjunction with the first or the second embodiment of first aspect, under the third embodiment of first aspect, the position of the described control that Real-time Obtaining user regulates in described conditioning box, comprising:
When user is by mouse or finger while regulating described control along first direction, control is in each position of described first party upward sliding described in Real-time Obtaining.
In conjunction with the third embodiment of first aspect, under the 4th kind of embodiment of first aspect, described method also comprises:
After the data on chart described in the data real-time update of described each granularity and correspondence, on described chart, obtain the coordinate of the second point of user's triggering, show the conditioning box that comprises described control, in the time that user regulates described control by mouse or finger along second direction, described in Real-time Obtaining, control is in each position of described second party upward sliding, wherein, described second direction is contrary with described first direction;
Determine granularity corresponding to each position in the second direction of having obtained;
Obtain data corresponding to each granularity;
Keep described second point to regulate the coordinate in direction constant in granularity, according to the data on chart described in the data real-time update of described each granularity and correspondence.
In conjunction with the third embodiment of first aspect, under the 5th kind of embodiment of first aspect, in described conditioning box, comprise a regulating shaft, described control is button, and described button can slide on described regulating shaft.
In conjunction with first aspect, under the 6th kind of embodiment of first aspect, Real-time Obtaining user operates the position of slip, and determines granularity corresponding to each position, comprising:
When user is by described in two finger manipulations when chart, each position that Real-time Obtaining user's finger contacts point slides, and granularity corresponding to definite each position;
Wherein, described in, be operating as in stretching or contraction.
In conjunction with the 6th kind of embodiment of first aspect, under the 7th kind of embodiment of first aspect, when user is by described in two finger manipulations when chart, each position that Real-time Obtaining user's finger contacts point slides, and granularity corresponding to definite each position, comprising:
When user is by described in two finger manipulations when chart, each position of Real-time Obtaining user's finger contacts point slip;
According to the flexible ratio of chart described in the location positioning obtaining;
According to default ratio and other corresponding relation of particle size fraction, obtain granularity rank corresponding to each ratio;
Determine according to the granularity rank obtaining the granularity that each position is corresponding.
In conjunction with the 6th kind of embodiment of first aspect, under the 8th kind of embodiment of first aspect, described method also comprises:
After the data on chart described in the data real-time update of described each granularity and correspondence, on described chart, obtain the coordinate thirdly that user triggers, in the time that user operates described chart again by two fingers, each position that Real-time Obtaining user's finger contacts point slides, wherein, described be again operating as stretch or shrink in another;
Determine granularity corresponding to each position of having obtained;
Obtain data corresponding to each granularity;
Described in maintenance, thirdly regulate the coordinate in direction constant in granularity, according to the data on chart described in the data real-time update of described each granularity and correspondence.
In conjunction with the 6th kind, the 7th kind or the 8th kind of embodiment of first aspect, under the 9th kind of embodiment of first aspect, described stretching is for the granularity of described chart on described the first change in coordinate axis direction diminished, and described contraction is for making the granularity of described chart on described the first change in coordinate axis direction become large; Or,
Described stretching is for making the granularity of described chart on described the first change in coordinate axis direction become large, and described contraction is for diminishing the granularity of described chart on described the first change in coordinate axis direction.
Second aspect, the present invention also provides a kind of device that regulates chart granularity, and described device comprises:
The first trigger module, the coordinate of first triggering for obtain user on chart;
The first acquisition module, operates the position of slip for Real-time Obtaining user, and determines granularity corresponding to each position; Obtain data corresponding to each granularity;
The first adjustment module, for keeping regulate the coordinate in direction constant in granularity at described first, according to the data on chart described in the data real-time update of described each granularity and correspondence.
In conjunction with second aspect, under the first embodiment of second aspect, described chart comprises mutually perpendicular the first coordinate axis and the second coordinate axis;
Described the first trigger module also for, obtain the coordinate of first that user triggers on chart after, show the conditioning box that comprises control, described conditioning box is for regulating the granularity of described chart on described the first change in coordinate axis direction;
Described the first acquisition module is used for, the position of the described control that Real-time Obtaining user regulates in described conditioning box, and determine granularity corresponding to each position.
In conjunction with the first embodiment of second aspect, under the second embodiment of second aspect, described the first acquisition module is used for:
The position of the described control that Real-time Obtaining user regulates in described conditioning box; Determine the region at place, each position; According to default region and other corresponding relation of particle size fraction, obtain the granularity rank that regional is corresponding; Determine according to the granularity rank obtaining the granularity that each position is corresponding.
In conjunction with the first or the second embodiment of second aspect, under the third embodiment of second aspect, described the first acquisition module is used for:
When user is by mouse or finger while regulating described control along first direction, control is in each position of described first party upward sliding described in Real-time Obtaining.
In conjunction with the third embodiment of second aspect, under the 4th kind of embodiment of second aspect, described device also comprises:
The second trigger module for after described the first adjustment module is according to the data on chart described in the data real-time update of described each granularity and correspondence, obtains the coordinate of the second point of user's triggering on described chart, shows the conditioning box that comprises described control;
The second acquisition module, for when user is by mouse or finger while regulating described control along second direction, control is in each position of described second party upward sliding described in Real-time Obtaining, and wherein, described second direction is contrary with described first direction; Determine granularity corresponding to each position in the second direction of having obtained; Obtain data corresponding to each granularity;
The second adjustment module, for keeping described second point to regulate the coordinate in direction constant in granularity, according to the data on chart described in the data real-time update of described each granularity and correspondence.
In conjunction with the third embodiment of second aspect, under the 5th kind of embodiment of second aspect, in described conditioning box, comprise a regulating shaft, described control is button, and described button can slide on described regulating shaft.
In conjunction with second aspect, under the 6th kind of embodiment of second aspect, described the first acquisition module is used for:
When user is by described in two finger manipulations when chart, each position that Real-time Obtaining user's finger contacts point slides, and granularity corresponding to definite each position;
Wherein, described in, be operating as in stretching or contraction.
In conjunction with the 6th kind of embodiment of second aspect, under the 7th kind of embodiment of second aspect, described the first acquisition module is used for:
When user is by described in two finger manipulations when chart, each position of Real-time Obtaining user's finger contacts point slip;
According to the flexible ratio of chart described in the location positioning obtaining;
According to default ratio and other corresponding relation of particle size fraction, obtain granularity rank corresponding to each ratio;
Determine according to the granularity rank obtaining the granularity that each position is corresponding.
In conjunction with the 6th kind of embodiment of second aspect, under the 8th kind of embodiment of second aspect, described device also comprises:
The 3rd trigger module for after described the first adjustment module is according to the data on chart described in the data real-time update of described each granularity and correspondence, obtains the coordinate thirdly that user triggers on described chart;
The 3rd acquisition module, in the time that user operates described chart again by two fingers, Real-time Obtaining user's finger contacts point slide each position, wherein, described be again operating as stretch or shrink in another; Determine granularity corresponding to each position of having obtained; Obtain data corresponding to each granularity;
The 3rd adjustment module thirdly regulates the coordinate in direction constant in granularity described in keeping, according to the data on chart described in the data real-time update of described each granularity and correspondence.
In conjunction with the 6th kind, the 7th kind or the 8th kind of embodiment of second aspect, under the 9th kind of embodiment of second aspect, described stretching is for the granularity of described chart on described the first change in coordinate axis direction diminished, and described contraction is for making the granularity of described chart on described the first change in coordinate axis direction become large; Or,
Described stretching is for making the granularity of described chart on described the first change in coordinate axis direction become large, and described contraction is for diminishing the granularity of described chart on described the first change in coordinate axis direction.
The beneficial effect that technical scheme provided by the invention is brought is:
The coordinate of first triggering by obtain user on chart, Real-time Obtaining user operates the position of slip, determines the granularity that each position is corresponding and obtains data corresponding to each granularity; Keep regulate the coordinate in direction constant in granularity at first, according to the data on the data real-time update chart of described each granularity and correspondence, realize the real-time adjusting of chart granularity, and fine adjustment, efficiency and accuracy that granularity regulates are improved, simplify user's operation, so that mining data more in depth; Data in chart are along with the variation real-time update of granularity, and adjustment process is corresponding during with fructufy, and chart page flow display is without redirect, has promoted user's experience.
Brief description of the drawings
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing of required use during embodiment is described is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the method flow diagram of the adjusting chart granularity that provides of the embodiment of the present invention 1;
Fig. 2 is the method flow diagram of the adjusting chart granularity that provides of the embodiment of the present invention 2;
Fig. 3 is the schematic diagram of the regulating shaft that provides of the embodiment of the present invention 2;
Fig. 4 is that the mouse that the embodiment of the present invention 2 provides triggers the schematic diagram that granularity regulates;
Fig. 5 is that the finger that the embodiment of the present invention 2 provides triggers the schematic diagram that granularity regulates;
Fig. 6 is the method flow diagram of the adjusting chart granularity that provides of the embodiment of the present invention 3;
Fig. 7 is that two fingers that the embodiment of the present invention 3 provides trigger the schematic diagram that granularity regulates;
Fig. 8 is the structure drawing of device of the adjusting chart granularity that provides of the embodiment of the present invention 4;
Fig. 9 is the structure drawing of device of the adjusting chart granularity that provides of the embodiment of the present invention 5.
Embodiment
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Embodiment 1
Referring to Fig. 1, the present embodiment provides a kind of method that regulates chart granularity, comprising:
101: on chart, obtain the coordinate of first that user triggers;
102: Real-time Obtaining user operates the position of slip, and determine granularity corresponding to each position;
103: obtain data corresponding to each granularity;
104: keep regulate the coordinate in direction constant in granularity at described first, according to the data on the data real-time update chart of described each granularity and correspondence.
In the present embodiment, described chart refers to two-dimentional data drawing list, and this chart comprises mutually perpendicular the first coordinate axis and the second coordinate axis, conventionally represents data with two coordinate figures.For example, the first coordinate axis is the time, and the second coordinate axis is number percent; Or the first coordinate axis is distance, the second coordinate axis is number of users etc., and the present invention is not specifically limited this.Wherein, one of them is horizontal direction for the first coordinate axis and the second coordinate axis, and another is vertical direction.For example, the first coordinate axis is horizontal direction, and the second coordinate axis is vertical direction, and now, chart is shown as landscape layout; Or the first coordinate axis is vertical direction, the second coordinate axis is horizontal direction, and now, chart is shown as longitudinal layout, and the present invention is also not specifically limited this.
Under normal circumstances, the data on chart be to multi collect to the numerical value that obtains after calculating of data, as averaged etc., the present invention is not specifically limited this.For example, on the chart that current granularity shows, have two adjacent abscissa value X1 and X2, wherein, the ordinate value Y2 that X2 is corresponding is the numerical value obtaining after all data averaged that collect between X1 and X2.
Under the first embodiment, described chart comprises mutually perpendicular the first coordinate axis and the second coordinate axis, after obtaining the coordinate of first of user's triggering, also comprises on chart:
Show the conditioning box that comprises control, described conditioning box is for regulating the granularity of described chart on described the first change in coordinate axis direction;
Correspondingly, Real-time Obtaining user operates the position of slip, and determines granularity corresponding to each position, comprising:
The position of the described control that Real-time Obtaining user regulates in described conditioning box, and determine granularity corresponding to each position.
In conjunction with above-mentioned the first embodiment, under the second embodiment, the position of the described control that Real-time Obtaining user regulates in described conditioning box, and determine granularity corresponding to each position, comprising:
The position of the described control that Real-time Obtaining user regulates in described conditioning box;
Determine the region at place, each position;
According to default region and other corresponding relation of particle size fraction, obtain the granularity rank that regional is corresponding;
Determine according to the granularity rank obtaining the granularity that each position is corresponding.
In conjunction with above-mentioned the first or the second embodiment, under the third embodiment, the position of the described control that Real-time Obtaining user regulates in described conditioning box, comprising:
When user is by mouse or finger while regulating described control along first direction, control is in each position of described first party upward sliding described in Real-time Obtaining.
In conjunction with the third embodiment, under the 4th kind of embodiment, described method also comprises:
After the data on chart described in the data real-time update of described each granularity and correspondence, on described chart, obtain the coordinate of the second point of user's triggering, show the conditioning box that comprises described control, in the time that user regulates described control by mouse or finger along second direction, described in Real-time Obtaining, control is in each position of described second party upward sliding, wherein, described second direction is contrary with described first direction;
Determine granularity corresponding to each position in the second direction of having obtained;
Obtain data corresponding to each granularity;
Keep described second point to regulate the coordinate in direction constant in granularity, according to the data on chart described in the data real-time update of described each granularity and correspondence.
In conjunction with the third embodiment, under the 5th kind of embodiment, in described conditioning box, comprise a regulating shaft, described control is button, and described button can slide on described regulating shaft.
In conjunction with said method, under the 6th kind of embodiment, Real-time Obtaining user operates the position of slip, and determines granularity corresponding to each position, comprising:
When user is by described in two finger manipulations when chart, each position that Real-time Obtaining user's finger contacts point slides, and granularity corresponding to definite each position;
Wherein, described in, be operating as in stretching or contraction.
In conjunction with the 6th kind of embodiment, under the 7th kind of embodiment, when user is by described in two finger manipulations when chart, each position that Real-time Obtaining user's finger contacts point slides, and granularity corresponding to definite each position, comprising:
When user is by described in two finger manipulations when chart, each position of Real-time Obtaining user's finger contacts point slip;
According to the flexible ratio of chart described in the location positioning obtaining;
According to default ratio and other corresponding relation of particle size fraction, obtain granularity rank corresponding to each ratio;
Determine according to the granularity rank obtaining the granularity that each position is corresponding.
In conjunction with the 6th kind of embodiment, under the 8th kind of embodiment, described method also comprises:
After the data on chart described in the data real-time update of described each granularity and correspondence, on described chart, obtain the coordinate thirdly that user triggers, in the time that user operates described chart again by two fingers, each position that Real-time Obtaining user's finger contacts point slides, wherein, described be again operating as stretch or shrink in another;
Determine granularity corresponding to each position of having obtained;
Obtain data corresponding to each granularity;
Described in maintenance, thirdly regulate the coordinate in direction constant in granularity, according to the data on chart described in the data real-time update of described each granularity and correspondence.
In conjunction with above-mentioned the 6th kind, the 7th kind or the 8th kind of embodiment, under the 9th kind of embodiment, described stretching is for the granularity of described chart on described the first change in coordinate axis direction diminished, and described contraction is for making the granularity of described chart on described the first change in coordinate axis direction become large; Or,
Described stretching is for making the granularity of described chart on described the first change in coordinate axis direction become large, and described contraction is for diminishing the granularity of described chart on described the first change in coordinate axis direction.
The said method that the present embodiment provides, the coordinate of first triggering by obtain user on chart, Real-time Obtaining user operates the position of slip, determines the granularity that each position is corresponding and obtains data corresponding to each granularity; Keep regulate the coordinate in direction constant in granularity at first, according to the data on the data real-time update chart of described each granularity and correspondence, realize the real-time adjusting of chart granularity, and fine adjustment, efficiency and accuracy that granularity regulates are improved, simplify user's operation, so that mining data more in depth; Data in chart are along with the variation real-time update of granularity, and adjustment process is corresponding during with fructufy, and chart page flow display is without redirect, has promoted user's experience.
Embodiment 2
Referring to Fig. 2, the present embodiment provides a kind of method that regulates chart granularity, and the method specifically comprises:
201: on chart, obtain the coordinate of first that user triggers;
In the present embodiment, described chart refers to two-dimentional data drawing list, and comprises mutually perpendicular the first coordinate axis and the second coordinate axis; Conventionally represent data with two coordinate figures.
For example, the first coordinate axis is the time, and the second coordinate axis is number percent; Or the first coordinate axis is distance, the second coordinate axis is number of users etc.Wherein, one of them is horizontal direction for the first coordinate axis and the second coordinate axis, and another is vertical direction, and the present invention is not specifically limited this.
202: show the conditioning box that comprises control, described conditioning box is for regulating the granularity of chart on the first change in coordinate axis direction;
In the present embodiment, described conditioning box is presented on described chart, and particular location is not limit, as can above in the of first, below, left or right-hand etc.Described control is the page elements being presented in this conditioning box, can move, and user can trigger granularity by mobile control and regulate.
Preferably, can comprise a regulating shaft in described conditioning box, described control is button, and described button can slide on described regulating shaft.Wherein, can indicate unit or the rank of granularity on regulating shaft, the present invention is not specifically limited this.For example, on regulating shaft, mark respectively 1,2,3 etc., represent the granularity of each rank; Or on regulating shaft, mark respectively min, h, day etc., each granularity units such as representative minute, hour, day.
Wherein, described regulating shaft can represent with various ways, as represented with rectangle is rectangular, or represent with the slender cylinder of laterally placing, or represent with the triangle of prolate, or represent etc. with the rectangular strip of color gradient, the present invention is not specifically limited this.
For example, referring to Fig. 3, the schematic diagram of the regulating shaft providing for the present embodiment.Wherein, regulating shaft in Fig. 3 (a) is rectangle, the end points at two ends, left and right is respectively M and N, interval between M and N has represented the particle size range that can regulate, round button on this regulating shaft represents control, for user's executable operations, user can horizontally slip with finger or this round button of mouse drag on the regulating shaft of rectangle; Regulating shaft in Fig. 3 (b) is triangle, the end points at two ends, left and right is respectively M and N, interval between M and N has represented the particle size range that can regulate, round button on this regulating shaft represents control, for user's executable operations, user can horizontally slip with finger or this round button of mouse drag on leg-of-mutton regulating shaft; The rectangle that regulating shaft in Fig. 3 (c) is color gradient, the end points at two ends, left and right is respectively M and N, interval between M and N has represented the particle size range that can regulate, round button on this regulating shaft represents control, for user's executable operations, user can horizontally slip with finger or this round button of mouse drag on the rectangle regulating shaft of color gradient.
203: the position of the described control that Real-time Obtaining user regulates in described conditioning box; Determine the region at place, each position;
Wherein, the position of the described control that Real-time Obtaining user regulates in described conditioning box, comprising:
When user is by mouse or finger while regulating described control along first direction, control is in each position of described first party upward sliding described in Real-time Obtaining.
In the present embodiment, can set in advance acquisition time, as the position of control of per interval t collection in conditioning box.In addition, in conditioning box, can also divide regional according to position in advance, the corresponding granularity rank in each region, if several positions of control all fall in same region, thinks the corresponding same granularity in these positions.
204: according to default region and other corresponding relation of particle size fraction, obtain the granularity rank that regional is corresponding;
In the present embodiment, pre-set other one-to-one relationship of region and particle size fraction, by corresponding each region of dividing in a conditioning box granularity rank.Granularity rank can arrange as required, after granularity rank sets, can, according to other number of particle size fraction, mark off the same number of region in conditioning box.For example, conditioning box is divided into 5 regions according to horizontal range, respectively corresponding 5 granularity ranks etc., the present invention is not specifically limited this.
205: determine according to the granularity rank obtaining the granularity that each position is corresponding;
206: obtain data corresponding to each granularity;
207: keep regulate the coordinate in direction constant in granularity at described first, according to the data on the data real-time update chart of described each granularity and correspondence.
Further, said method can also comprise the following steps:
After the data on chart described in the data real-time update of described each granularity and correspondence, on this chart, obtain the coordinate of the second point of user's triggering, show the conditioning box that comprises described control, in the time that user regulates described control by mouse or finger along second direction, described in Real-time Obtaining, control is in each position of described second party upward sliding, wherein, described second direction is contrary with described first direction;
Determine granularity corresponding to each position in the second direction of having obtained;
Obtain data corresponding to each granularity;
Keep described second point to regulate the coordinate in direction constant in granularity, according to the data on chart described in the data real-time update of described each granularity and correspondence.
By above operation, can realize after user carries out the granularity adjusting of a direction, can also be reversed granularity and regulate, can realize and return to the granularity adjusting chart page before, the granularity that has easily realized any direction regulates, the dirigibility that greatly provides granularity to regulate.For example, can first granularity be turned down, and then granularity is tuned up; Or, can first granularity be tuned up, and then granularity is turned down, the present invention is not specifically limited this.
In the present embodiment, data are all to gather according to the default time interval conventionally, and as gathered every 10 minutes or 20 minutes once etc., the present invention is not specifically limited this.In the time carrying out granularity adjusting, each granularity that can regulate is generally the integral multiple in the time interval of described image data.For example, the time interval of image data is 20 minutes, and the granularity that can regulate comprises: 1 hour, 40 minutes, 20 minutes etc.Wherein, the time interval of image data is exactly the minimum particle size that can regulate.
Referring to Fig. 4, the mouse providing for the present embodiment triggers the schematic diagram that granularity regulates.Wherein, Fig. 4 (a) is clicked or is moved to a point on chart for user by mouse, triggers and near this point, ejects a conditioning box.In conditioning box, show the coordinate of this trigger point, horizontal ordinate is that current time is 8:00, ordinate is 23%, wherein, this 23% mean value that is multiple values of gathering between 7:00 to 8:00, as gathered altogether 4 secondary data between 7:00 to 8:00, collect 4 data averaged are obtained to 23%, set it as numerical value corresponding to 8:00 on chart.And, in conditioning box, also shown a rectangle regulating shaft, the below of regulating shaft has marked three units of granularity, is followed successively by from left to right min, h, day, respectively represent minute, hour and day.There are a round button, the granularity of corresponding h in these regulating shaft central authorities.Fig. 4 (b) drags this round button left for user on regulating shaft by mouse, the granularity of chart is turned down, and now, this round button is positioned at the centre position of min and h, corresponding granularity is 30 minutes, correspondingly, the data on chart synchronously refresh, and the horizontal ordinate of this trigger point is constant, still be 8:00, ordinate has been updated to the mean value 30% of the data that gather between 7:30 to 8:00, and meanwhile, the data of this left and right sides all refresh according to new granularity for 30 minutes.Fig. 4 (c) continues to drag this round button left until minimum particle size min by mouse for user, correspondingly, data on chart synchronously refresh, the horizontal ordinate of this trigger point is constant, still be 8:00, ordinate has been updated to the mean value 40% of the data that gather between 7:50 to 8:00, simultaneously, the data of this left and right sides all refresh according to new granularity for 10 minutes, visible granularity has been adjusted to 10 minutes by original 1 hour, show chart data in greater detail, be convenient to more in depth mining data.
Referring to Fig. 5, the finger providing for the present embodiment triggers the schematic diagram that granularity regulates.Mainly be not to be that with the difference of Fig. 4 mouse triggers, carry out granularity adjusting but user points triggering, chart is carried out scene of granularity adjusting etc. as user on the electronic equipment of touch-screen.Wherein, Fig. 5 (a), for user clicks a point on chart by finger, triggers and near this point, ejects a conditioning box.In conditioning box, shown the coordinate of this trigger point, horizontal ordinate is that current time is 8:00, and ordinate is the mean value 23% of multiple values of gathering between 7:00 to 8:00.And, in conditioning box, also shown a rectangle regulating shaft, the below of regulating shaft has marked three units of granularity, is followed successively by from left to right min, h, day, respectively represent minute, hour and day.There are a round button, the granularity of corresponding h in these regulating shaft central authorities.Fig. 5 (b) is that user drags this round button left by finger on regulating shaft, the granularity of chart is turned down, and now, this round button is positioned at the centre position of min and h, corresponding granularity is 30 minutes, correspondingly, the data on chart synchronously refresh, and the horizontal ordinate of this trigger point is constant, still be 8:00, ordinate has been updated to the mean value 30% of the data that gather between 7:30 to 8:00, and meanwhile, the data of this left and right sides all refresh according to new granularity for 30 minutes.Fig. 5 (c) continues to drag this round button left until minimum particle size min by finger for user, correspondingly, data on chart synchronously refresh, the horizontal ordinate of this trigger point is constant, still be 8:00, ordinate has been updated to the mean value 40% of the data that gather between 7:50 to 8:00, simultaneously, the data of this left and right sides all refresh according to new granularity for 10 minutes, visible granularity has been adjusted to 10 minutes by original 1 hour, show chart data in greater detail, be convenient to more in depth mining data.
The said method that the present embodiment provides, the coordinate of first triggering by obtain user on chart, Real-time Obtaining user operates the position of slip, determines the granularity that each position is corresponding and obtains data corresponding to each granularity; Keep regulate the coordinate in direction constant in granularity at first, according to the data on the data real-time update chart of described each granularity and correspondence, realize the real-time adjusting of chart granularity, and fine adjustment, efficiency and accuracy that granularity regulates are improved, simplify user's operation, so that mining data more in depth; Data in chart are along with the variation real-time update of granularity, and adjustment process is corresponding during with fructufy, and chart page flow display is without redirect, has promoted user's experience.And user can also be reversed granularity and regulate after carrying out the granularity adjusting of a direction, can return to arbitrary data granularity state, the granularity that has easily realized any direction regulates, the dirigibility that greatly provides granularity to regulate.
Embodiment 3
Referring to Fig. 6, the present embodiment provides a kind of method that regulates chart granularity, and the method specifically comprises:
601: on chart, obtain the coordinate of first that user triggers;
In the present embodiment, described chart refers to two-dimentional data drawing list, and comprises that mutually perpendicular the first coordinate axis and the second coordinate axis represent data with two coordinates conventionally.
For example, the first coordinate axis is the time, and the second coordinate axis is number percent; Or the first coordinate axis is distance, the second coordinate axis is number of users etc.Wherein, one of them is horizontal direction for the first coordinate axis and the second coordinate axis, and another is vertical direction, and the present invention is not specifically limited this.
In the present embodiment, if user uses a finger to trigger when screen, can be using this finger the contact point on screen as the first point, and obtain this coordinate of first.If user uses two fingers to trigger when screen, can be optional a bit as the first point in the contact point of two fingers, or any point that also can be between these two contact points is as the first point; And obtain this coordinate of first.
602: when user is by described in two finger manipulations when chart, each position that Real-time Obtaining user's finger contacts point slides, and determine granularity corresponding to each position, described in be operating as stretch or contraction in one;
In the present embodiment, user can trigger granularity by this chart of finger manipulation and regulate.Described operation comprises this chart of stretching or shrinks this chart.
In the present embodiment, preferably, described stretching is for the granularity of described chart on described the first change in coordinate axis direction diminished, and described contraction is for making the granularity of described chart on described the first change in coordinate axis direction become large.Certainly, in other application scenarios, also can be set to described stretching for making the granularity of described chart on described the first change in coordinate axis direction become large, described contraction is for diminishing the granularity of described chart on described the first change in coordinate axis direction, and the present invention is not specifically limited this.
In the present embodiment, this step can specifically comprise:
When user is by described in two finger manipulations when chart, each position of Real-time Obtaining user's finger contacts point slip;
According to the flexible ratio of chart described in the location positioning obtaining;
According to default ratio and other corresponding relation of particle size fraction, obtain granularity rank corresponding to each ratio;
Determine according to the granularity rank obtaining the granularity that each position is corresponding.
603: obtain data corresponding to each granularity;
604: keep regulate the coordinate in direction constant in granularity at described first, according to the data on the data real-time update chart of described each granularity and correspondence.
Further, said method can also comprise the following steps:
After the data on chart described in the data real-time update of described each granularity and correspondence, on described chart, obtain the coordinate thirdly that user triggers, in the time that user operates described chart again by two fingers, each position that Real-time Obtaining user's finger contacts point slides, wherein, described be again operating as stretch or shrink in another;
Determine granularity corresponding to each position of having obtained;
Obtain data corresponding to each granularity;
Described in maintenance, thirdly regulate the coordinate in direction constant in granularity, according to the data on chart described in the data real-time update of described each granularity and correspondence.
Referring to Fig. 7, two fingers that provide for the present embodiment trigger the schematic diagram that granularity regulates.Wherein, Fig. 7 (a), for user triggers chart by two fingers, obtains the coordinate of first according to two trigger points of user's finger, as obtained the mid point of these two contact points.Fig. 7 (b) is for user is by stretch on the horizontal coordinate direction of principal axis process of this chart of two fingers, along with user points the operation of stretch chart, the granularity of chart diminishes gradually, by hour being adjusted to 10 minutes, wherein, the horizontal ordinate of first remains unchanged, and all the other each points on chart carry out real-time update, thereby has completed granularity adjustment process.Check for the ease of user, the direction of user's finger manipulation can be presented on screen, as two arrows in figure, to show the direction of user's finger manipulation.
The said method that the present embodiment provides, the coordinate of first triggering by obtain user on chart, Real-time Obtaining user operates the position of slip, determines the granularity that each position is corresponding and obtains data corresponding to each granularity; Keep regulate the coordinate in direction constant in granularity at first, according to the data on the data real-time update chart of described each granularity and correspondence, realize the real-time adjusting of chart granularity, and fine adjustment, efficiency and accuracy that granularity regulates are improved, simplify user's operation, so that mining data more in depth; Data in chart are along with the variation real-time update of granularity, and adjustment process is corresponding during with fructufy, and chart page flow display is without redirect, has promoted user's experience.And user can also be reversed granularity and regulate after carrying out the granularity adjusting of a direction, can return to arbitrary data granularity state, the granularity that has easily realized any direction regulates, the dirigibility that greatly provides granularity to regulate.
Embodiment 4
Referring to Fig. 8, the present embodiment provides a kind of device that regulates chart granularity, comprising:
The first trigger module 801, the coordinate of first triggering for obtain user on chart;
The first acquisition module 802, operates the position of slip for Real-time Obtaining user, and determines granularity corresponding to each position; Obtain data corresponding to each granularity;
The first adjustment module 803, for keeping regulate the coordinate in direction constant in granularity at described first, according to the data on chart described in the data real-time update of described each granularity and correspondence.
In conjunction with said apparatus, under the first embodiment, described chart comprises mutually perpendicular the first coordinate axis and the second coordinate axis;
The first trigger module 801 also for, obtain the coordinate of first that user triggers on chart after, show the conditioning box that comprises control, described conditioning box is for regulating the granularity of described chart on described the first change in coordinate axis direction;
The position of the described control that the first acquisition module 802 regulates for, Real-time Obtaining user in described conditioning box, and determine granularity corresponding to each position.
In conjunction with the first embodiment, under the second embodiment, the first acquisition module 802 for:
The position of the described control that Real-time Obtaining user regulates in described conditioning box; Determine the region at place, each position; According to default region and other corresponding relation of particle size fraction, obtain the granularity rank that regional is corresponding; Determine according to the granularity rank obtaining the granularity that each position is corresponding.
In conjunction with above-mentioned the first or the second embodiment, under the third embodiment, described the first acquisition module is used for:
When user is by mouse or finger while regulating described control along first direction, control is in each position of described first party upward sliding described in Real-time Obtaining.
In conjunction with the third embodiment, under the 4th kind of embodiment, described device also comprises:
The second trigger module for after the first adjustment module 803 is according to the data on chart described in the data real-time update of described each granularity and correspondence, obtains the coordinate of the second point of user's triggering on described chart, shows the conditioning box that comprises described control;
The second acquisition module, for when user is by mouse or finger while regulating described control along second direction, control is in each position of described second party upward sliding described in Real-time Obtaining, and wherein, described second direction is contrary with described first direction; Determine granularity corresponding to each position in the second direction of having obtained; Obtain data corresponding to each granularity;
The second adjustment module, for keeping described second point to regulate the coordinate in direction constant in granularity, according to the data on chart described in the data real-time update of described each granularity and correspondence.
In conjunction with the third embodiment, under the 5th kind of embodiment, in described conditioning box, comprise a regulating shaft, described control is button, and described button can slide on described regulating shaft.
In conjunction with said apparatus, under the 6th kind of embodiment, the first acquisition module 802 for:
When user is by described in two finger manipulations when chart, each position that Real-time Obtaining user's finger contacts point slides, and granularity corresponding to definite each position;
Wherein, described in, be operating as in stretching or contraction.
In conjunction with the 6th kind of embodiment, under the 7th kind of embodiment, the first acquisition module 802 for:
When user is by described in two finger manipulations when chart, each position of Real-time Obtaining user's finger contacts point slip;
According to the flexible ratio of chart described in the location positioning obtaining;
According to default ratio and other corresponding relation of particle size fraction, obtain granularity rank corresponding to each ratio;
Determine according to the granularity rank obtaining the granularity that each position is corresponding.
In conjunction with the 6th kind of embodiment, under the 8th kind of embodiment, described device also comprises:
The 3rd trigger module for after described the first adjustment module is according to the data on chart described in the data real-time update of described each granularity and correspondence, obtains the coordinate thirdly that user triggers on described chart;
The 3rd acquisition module, in the time that user operates described chart again by two fingers, Real-time Obtaining user's finger contacts point slide each position, wherein, described be again operating as stretch or shrink in another; Determine granularity corresponding to each position of having obtained; Obtain data corresponding to each granularity;
The 3rd adjustment module thirdly regulates the coordinate in direction constant in granularity described in keeping, according to the data on chart described in the data real-time update of described each granularity and correspondence.
In conjunction with the 6th kind, the 7th kind or the 8th kind of embodiment, under the 9th kind of embodiment, described stretching is for the granularity of described chart on described the first change in coordinate axis direction diminished, and described contraction is for making the granularity of described chart on described the first change in coordinate axis direction become large; Or,
Described stretching is for making the granularity of described chart on described the first change in coordinate axis direction become large, and described contraction is for diminishing the granularity of described chart on described the first change in coordinate axis direction.
The said apparatus that the present embodiment provides can be provided by the method providing in above-mentioned either method embodiment, and detailed process is shown in the description in embodiment of the method, does not repeat herein.
The said apparatus that the present embodiment provides, the coordinate of first triggering by obtain user on chart, Real-time Obtaining user operates the position of slip, determines the granularity that each position is corresponding and obtains data corresponding to each granularity; Keep regulate the coordinate in direction constant in granularity at first, according to the data on the data real-time update chart of described each granularity and correspondence, realize the real-time adjusting of chart granularity, and fine adjustment, efficiency and accuracy that granularity regulates are improved, simplify user's operation, so that mining data more in depth; Data in chart are along with the variation real-time update of granularity, and adjustment process is corresponding during with fructufy, and chart page flow display is without redirect, has promoted user's experience.And user can also be reversed granularity and regulate after carrying out the granularity adjusting of a direction, can return to arbitrary data granularity state, the granularity that has easily realized any direction regulates, the dirigibility that greatly provides granularity to regulate.
Embodiment 5
Referring to Fig. 9, the present embodiment provides a kind of device that regulates chart granularity, comprising:
Processor 901, the coordinate of first triggering for obtain user on chart, Real-time Obtaining user operates the position of slip, determines the granularity that each position is corresponding; Obtain data corresponding to each granularity, keep regulate the coordinate in direction constant in granularity at described first, according to the data on chart described in the data real-time update of described each granularity and correspondence;
Storer 902, for storing the data of described chart.
In conjunction with said apparatus, under the first embodiment, described chart comprises mutually perpendicular the first coordinate axis and the second coordinate axis;
Processor 901 also for, obtain the coordinate of first of user's triggering on chart after, show the conditioning box that comprises control, described conditioning box is for regulating the granularity of described chart on described the first change in coordinate axis direction, the position of the described control also regulating for Real-time Obtaining user in described conditioning box, and determine granularity corresponding to each position.
In conjunction with the first embodiment, under the second embodiment, processor 901 for:
The position of the described control that Real-time Obtaining user regulates in described conditioning box; Determine the region at place, each position; According to default region and other corresponding relation of particle size fraction, obtain the granularity rank that regional is corresponding; Determine according to the granularity rank obtaining the granularity that each position is corresponding.
In conjunction with above-mentioned the first or the second embodiment, under the third embodiment, processor 901 for:
When user is by mouse or finger while regulating described control along first direction, control is in each position of described first party upward sliding described in Real-time Obtaining.
In conjunction with the third embodiment, under the 4th kind of embodiment, described processor 901 also for:
After the data according on chart described in the data real-time update of described each granularity and correspondence, on described chart, obtain the coordinate of the second point of user's triggering, show the conditioning box that comprises described control;
When user is by mouse or finger while regulating described control along second direction, control is in each position of described second party upward sliding described in Real-time Obtaining, and wherein, described second direction is contrary with described first direction; Determine granularity corresponding to each position in the second direction of having obtained; Obtain data corresponding to each granularity;
Keep described second point to regulate the coordinate in direction constant in granularity, according to the data on chart described in the data real-time update of described each granularity and correspondence.
In conjunction with the third embodiment, under the 5th kind of embodiment, in described conditioning box, comprise a regulating shaft, described control is button, and described button can slide on described regulating shaft.
In conjunction with said apparatus, under the 6th kind of embodiment, processor 901 for:
When user is by described in two finger manipulations when chart, each position that Real-time Obtaining user's finger contacts point slides, and granularity corresponding to definite each position;
Wherein, described in, be operating as in stretching or contraction.
In conjunction with the 6th kind of embodiment, under the 7th kind of embodiment, processor 901 for:
When user is by described in two finger manipulations when chart, each position of Real-time Obtaining user's finger contacts point slip;
According to the flexible ratio of chart described in the location positioning obtaining;
According to default ratio and other corresponding relation of particle size fraction, obtain granularity rank corresponding to each ratio;
Determine according to the granularity rank obtaining the granularity that each position is corresponding.
In conjunction with the 6th kind of embodiment, under the 8th kind of embodiment, described processor 901 also for:
After the data according on chart described in the data real-time update of described each granularity and correspondence, on described chart, obtain the coordinate thirdly that user triggers;
In the time that user operates described chart again by two fingers, Real-time Obtaining user's finger contacts point slide each position, wherein, described be again operating as stretch or shrink in another; Determine granularity corresponding to each position of having obtained; Obtain data corresponding to each granularity;
Described in maintenance, thirdly regulate the coordinate in direction constant in granularity, according to the data on chart described in the data real-time update of described each granularity and correspondence.
In conjunction with the 6th kind, the 7th kind or the 8th kind of embodiment, under the 9th kind of embodiment, described stretching is for the granularity of described chart on described the first change in coordinate axis direction diminished, and described contraction is for making the granularity of described chart on described the first change in coordinate axis direction become large; Or,
Described stretching is for making the granularity of described chart on described the first change in coordinate axis direction become large, and described contraction is for diminishing the granularity of described chart on described the first change in coordinate axis direction.
The said apparatus that the present embodiment provides can be provided by the method providing in above-mentioned either method embodiment, and detailed process is shown in the description in embodiment of the method, does not repeat herein.
The said apparatus that the present embodiment provides, the coordinate of first triggering by obtain user on chart, Real-time Obtaining user operates the position of slip, determines the granularity that each position is corresponding and obtains data corresponding to each granularity; Keep regulate the coordinate in direction constant in granularity at first, according to the data on the data real-time update chart of described each granularity and correspondence, realize the real-time adjusting of chart granularity, and fine adjustment, efficiency and accuracy that granularity regulates are improved, simplify user's operation, so that mining data more in depth; Data in chart are along with the variation real-time update of granularity, and adjustment process is corresponding during with fructufy, and chart page flow display is without redirect, has promoted user's experience.And user can also be reversed granularity and regulate after carrying out the granularity adjusting of a direction, can return to arbitrary data granularity state, the granularity that has easily realized any direction regulates, the dirigibility that greatly provides granularity to regulate.
One of ordinary skill in the art will appreciate that all or part of step that realizes above-described embodiment can complete by hardware, also can carry out the hardware that instruction is relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be ROM (read-only memory), disk or CD etc.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any amendment of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (20)

1. a method that regulates chart granularity, is characterized in that, described method comprises:
On chart, obtain the coordinate of first that user triggers;
Real-time Obtaining user operates the position of slip, and determines granularity corresponding to each position;
Obtain data corresponding to each granularity;
Keep regulate the coordinate in direction constant in granularity at described first, according to the data on chart described in the data real-time update of described each granularity and correspondence.
2. method according to claim 1, is characterized in that, described chart comprises mutually perpendicular the first coordinate axis and the second coordinate axis, after obtaining the coordinate of first of user's triggering, also comprises on chart:
Show the conditioning box that comprises control, described conditioning box is for regulating the granularity of described chart on described the first change in coordinate axis direction;
Correspondingly, Real-time Obtaining user operates the position of slip, and determines granularity corresponding to each position, comprising:
The position of the described control that Real-time Obtaining user regulates in described conditioning box, and determine granularity corresponding to each position.
3. method according to claim 2, is characterized in that, the position of the described control that Real-time Obtaining user regulates in described conditioning box, and determine granularity corresponding to each position, comprising:
The position of the described control that Real-time Obtaining user regulates in described conditioning box;
Determine the region at place, each position;
According to default region and other corresponding relation of particle size fraction, obtain the granularity rank that regional is corresponding;
Determine according to the granularity rank obtaining the granularity that each position is corresponding.
4. according to the method in claim 2 or 3, it is characterized in that, the position of the described control that Real-time Obtaining user regulates in described conditioning box, comprising:
When user is by mouse or finger while regulating described control along first direction, control is in each position of described first party upward sliding described in Real-time Obtaining.
5. method according to claim 4, is characterized in that, described method also comprises:
After the data on chart described in the data real-time update of described each granularity and correspondence, on described chart, obtain the coordinate of the second point of user's triggering, show the conditioning box that comprises described control, in the time that user regulates described control by mouse or finger along second direction, described in Real-time Obtaining, control is in each position of described second party upward sliding, wherein, described second direction is contrary with described first direction;
Determine granularity corresponding to each position in the second direction of having obtained;
Obtain data corresponding to each granularity;
Keep described second point to regulate the coordinate in direction constant in granularity, according to the data on chart described in the data real-time update of described each granularity and correspondence.
6. method according to claim 4, is characterized in that, comprises a regulating shaft in described conditioning box, and described control is button, and described button can slide on described regulating shaft.
7. method according to claim 1, is characterized in that, Real-time Obtaining user operates the position of slip, and determines granularity corresponding to each position, comprising:
When user is by described in two finger manipulations when chart, each position that Real-time Obtaining user's finger contacts point slides, and granularity corresponding to definite each position;
Wherein, described in, be operating as in stretching or contraction.
8. method according to claim 7, is characterized in that, when user is by described in two finger manipulations when chart, each position that Real-time Obtaining user's finger contacts point slides, and granularity corresponding to definite each position, comprising:
When user is by described in two finger manipulations when chart, each position of Real-time Obtaining user's finger contacts point slip;
According to the flexible ratio of chart described in the location positioning obtaining;
According to default ratio and other corresponding relation of particle size fraction, obtain granularity rank corresponding to each ratio;
Determine according to the granularity rank obtaining the granularity that each position is corresponding.
9. method according to claim 7, is characterized in that, described method also comprises:
After the data on chart described in the data real-time update of described each granularity and correspondence, on described chart, obtain the coordinate thirdly that user triggers, in the time that user operates described chart again by two fingers, each position that Real-time Obtaining user's finger contacts point slides, wherein, described be again operating as stretch or shrink in another;
Determine granularity corresponding to each position of having obtained;
Obtain data corresponding to each granularity;
Described in maintenance, thirdly regulate the coordinate in direction constant in granularity, according to the data on chart described in the data real-time update of described each granularity and correspondence.
10. according to the method described in claim 7,8 or 9, it is characterized in that,
Described stretching is for the granularity of described chart on described the first change in coordinate axis direction diminished, and described contraction is for making the granularity of described chart on described the first change in coordinate axis direction become large; Or,
Described stretching is for making the granularity of described chart on described the first change in coordinate axis direction become large, and described contraction is for diminishing the granularity of described chart on described the first change in coordinate axis direction.
11. 1 kinds regulate the device of chart granularity, it is characterized in that, described device comprises:
The first trigger module, the coordinate of first triggering for obtain user on chart;
The first acquisition module, operates the position of slip for Real-time Obtaining user, and determines granularity corresponding to each position; Obtain data corresponding to each granularity;
The first adjustment module, for keeping regulate the coordinate in direction constant in granularity at described first, according to the data on chart described in the data real-time update of described each granularity and correspondence.
12. devices according to claim 11, is characterized in that, described chart comprises mutually perpendicular the first coordinate axis and the second coordinate axis;
Described the first trigger module also for, obtain the coordinate of first that user triggers on chart after, show the conditioning box that comprises control, described conditioning box is for regulating the granularity of described chart on described the first change in coordinate axis direction;
Described the first acquisition module is used for, the position of the described control that Real-time Obtaining user regulates in described conditioning box, and determine granularity corresponding to each position.
13. devices according to claim 12, is characterized in that, described the first acquisition module is used for:
The position of the described control that Real-time Obtaining user regulates in described conditioning box; Determine the region at place, each position; According to default region and other corresponding relation of particle size fraction, obtain the granularity rank that regional is corresponding; Determine according to the granularity rank obtaining the granularity that each position is corresponding.
14. according to the device described in claim 12 or 13, it is characterized in that, described the first acquisition module is used for:
When user is by mouse or finger while regulating described control along first direction, control is in each position of described first party upward sliding described in Real-time Obtaining.
15. devices according to claim 14, is characterized in that, described device also comprises:
The second trigger module for after described the first adjustment module is according to the data on chart described in the data real-time update of described each granularity and correspondence, obtains the coordinate of the second point of user's triggering on described chart, shows the conditioning box that comprises described control;
The second acquisition module, for when user is by mouse or finger while regulating described control along second direction, control is in each position of described second party upward sliding described in Real-time Obtaining, and wherein, described second direction is contrary with described first direction; Determine granularity corresponding to each position in the second direction of having obtained; Obtain data corresponding to each granularity;
The second adjustment module, for keeping described second point to regulate the coordinate in direction constant in granularity, according to the data on chart described in the data real-time update of described each granularity and correspondence.
16. devices according to claim 14, is characterized in that, comprise a regulating shaft in described conditioning box, and described control is button, and described button can slide on described regulating shaft.
17. devices according to claim 11, is characterized in that, described the first acquisition module is used for:
When user is by described in two finger manipulations when chart, each position that Real-time Obtaining user's finger contacts point slides, and granularity corresponding to definite each position;
Wherein, described in, be operating as in stretching or contraction.
18. devices according to claim 17, is characterized in that, described the first acquisition module is used for:
When user is by described in two finger manipulations when chart, each position of Real-time Obtaining user's finger contacts point slip;
According to the flexible ratio of chart described in the location positioning obtaining;
According to default ratio and other corresponding relation of particle size fraction, obtain granularity rank corresponding to each ratio;
Determine according to the granularity rank obtaining the granularity that each position is corresponding.
19. devices according to claim 17, is characterized in that, described device also comprises:
The 3rd trigger module for after described the first adjustment module is according to the data on chart described in the data real-time update of described each granularity and correspondence, obtains the coordinate thirdly that user triggers on described chart;
The 3rd acquisition module, in the time that user operates described chart again by two fingers, Real-time Obtaining user's finger contacts point slide each position, wherein, described be again operating as stretch or shrink in another; Determine granularity corresponding to each position of having obtained; Obtain data corresponding to each granularity;
The 3rd adjustment module thirdly regulates the coordinate in direction constant in granularity described in keeping, according to the data on chart described in the data real-time update of described each granularity and correspondence.
20. according to the device described in claim 17,18 or 19, it is characterized in that,
Described stretching is for the granularity of described chart on described the first change in coordinate axis direction diminished, and described contraction is for making the granularity of described chart on described the first change in coordinate axis direction become large; Or,
Described stretching is for making the granularity of described chart on described the first change in coordinate axis direction become large, and described contraction is for diminishing the granularity of described chart on described the first change in coordinate axis direction.
CN201310053591.4A 2013-02-19 2013-02-19 The method and apparatus for adjusting chart granularity Expired - Fee Related CN103995654B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310053591.4A CN103995654B (en) 2013-02-19 2013-02-19 The method and apparatus for adjusting chart granularity

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310053591.4A CN103995654B (en) 2013-02-19 2013-02-19 The method and apparatus for adjusting chart granularity

Publications (2)

Publication Number Publication Date
CN103995654A true CN103995654A (en) 2014-08-20
CN103995654B CN103995654B (en) 2017-11-24

Family

ID=51309837

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310053591.4A Expired - Fee Related CN103995654B (en) 2013-02-19 2013-02-19 The method and apparatus for adjusting chart granularity

Country Status (1)

Country Link
CN (1) CN103995654B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106339411A (en) * 2016-08-11 2017-01-18 广东芬尼克兹节能设备有限公司 Processing method and device of monitoring data
CN108228783A (en) * 2017-12-27 2018-06-29 中国石油化工股份有限公司江汉油田分公司勘探开发研究院 Shale gas well collecting method and device
CN108509446A (en) * 2017-02-27 2018-09-07 南京橙红科技股份有限公司 Graphical data based on iOS system is drawn and the system and method for statistical analysis
CN108664194A (en) * 2017-03-29 2018-10-16 中兴通讯股份有限公司 Display methods and device
CN112860961A (en) * 2021-01-29 2021-05-28 支付宝(杭州)信息技术有限公司 Visual data processing method and device and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6061062A (en) * 1991-12-20 2000-05-09 Apple Computer, Inc. Zooming controller
US20020063737A1 (en) * 2000-11-30 2002-05-30 Ephraim Feig Zoom-capable scrollbar
CN101482794A (en) * 2004-07-30 2009-07-15 苹果公司 Mode-based graphical user interfaces for touch sensitive input devices
CN101751221A (en) * 2008-12-15 2010-06-23 索尼株式会社 Information processing apparatus, information processing method and program
CN102375930A (en) * 2010-08-04 2012-03-14 通用电气公司 Systems and methods for large data set navigation on a mobile device
CN102622155A (en) * 2011-01-26 2012-08-01 华晶科技股份有限公司 Electronic device with touch display interface and method for displaying images and diagrams in accordance with time intervals

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6061062A (en) * 1991-12-20 2000-05-09 Apple Computer, Inc. Zooming controller
US20020063737A1 (en) * 2000-11-30 2002-05-30 Ephraim Feig Zoom-capable scrollbar
CN101482794A (en) * 2004-07-30 2009-07-15 苹果公司 Mode-based graphical user interfaces for touch sensitive input devices
CN101751221A (en) * 2008-12-15 2010-06-23 索尼株式会社 Information processing apparatus, information processing method and program
CN102375930A (en) * 2010-08-04 2012-03-14 通用电气公司 Systems and methods for large data set navigation on a mobile device
CN102622155A (en) * 2011-01-26 2012-08-01 华晶科技股份有限公司 Electronic device with touch display interface and method for displaying images and diagrams in accordance with time intervals

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106339411A (en) * 2016-08-11 2017-01-18 广东芬尼克兹节能设备有限公司 Processing method and device of monitoring data
CN108509446A (en) * 2017-02-27 2018-09-07 南京橙红科技股份有限公司 Graphical data based on iOS system is drawn and the system and method for statistical analysis
CN108664194A (en) * 2017-03-29 2018-10-16 中兴通讯股份有限公司 Display methods and device
CN108228783A (en) * 2017-12-27 2018-06-29 中国石油化工股份有限公司江汉油田分公司勘探开发研究院 Shale gas well collecting method and device
CN112860961A (en) * 2021-01-29 2021-05-28 支付宝(杭州)信息技术有限公司 Visual data processing method and device and electronic equipment

Also Published As

Publication number Publication date
CN103995654B (en) 2017-11-24

Similar Documents

Publication Publication Date Title
CN103995654A (en) Chart granularity adjusting method and device
CN110072087B (en) Camera linkage method, device, equipment and storage medium based on 3D map
CN110675728B (en) Generation method, device and equipment of thermodynamic diagram and computer readable storage medium
AU2017341160A1 (en) Network topology self-adapting data visualization method, device, apparatus, and storage medium
CN109215486B (en) Electronic map marking and displaying method and device, terminal equipment and storage medium
CN109727298A (en) Poster generation method, device, equipment and computer storage medium
DE102014112837A1 (en) Electronic device and information processing method
CN109089070A (en) A kind of layout switching method and system of video conference terminal
US20160269795A1 (en) Instructing mode switching method and device based on smart television interface
CN103413339B (en) 1000000000 pixel high dynamic range images are rebuild and the method for display
CN103543922B (en) A kind of focus mobility method, system and smart machine
CN110032296B (en) Method and device for determining virtual object in terminal, terminal and storage medium
CN105117107A (en) Application program icon managing method and application program icon managing system
CN102710900A (en) Device and method for implementing output display of video matrix and video matrix apparatus
EP3008558A1 (en) Network visualization systems and methods
CN104657033B (en) The control method and device of icon in mobile terminal
CN104850333A (en) Interface operating method
CN104317988A (en) Method, equipment and system of automatically generating looped network graph based on GIS (geographic information system) distributing graph
US11688114B2 (en) Systems and methods for generating dynamic pipeline visualizations
CN115048254A (en) Simulation test method, system, equipment and readable medium of data distribution strategy
CN104391898B (en) Method for exhibiting data and device
US20230044973A1 (en) Electrical power grid visualization
CN103905752B (en) Remote terminal remote control thereof, device and display terminal display packing, device
CN111046079A (en) Environmental parameter control method, device, equipment and storage medium
CN109164950A (en) A kind of mobile terminal system interface setting method, device, medium and equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20171124

Termination date: 20190219

CF01 Termination of patent right due to non-payment of annual fee