CN103345359B - A kind of gesture is switched the mthods, systems and devices of chart ranks - Google Patents

A kind of gesture is switched the mthods, systems and devices of chart ranks Download PDF

Info

Publication number
CN103345359B
CN103345359B CN201310215707.XA CN201310215707A CN103345359B CN 103345359 B CN103345359 B CN 103345359B CN 201310215707 A CN201310215707 A CN 201310215707A CN 103345359 B CN103345359 B CN 103345359B
Authority
CN
China
Prior art keywords
chart
ranks
displacement
preset value
user
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.)
Active
Application number
CN201310215707.XA
Other languages
Chinese (zh)
Other versions
CN103345359A (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.)
Beijing Kingsoft Office Software Inc
Zhuhai Kingsoft Office Software Co Ltd
Original Assignee
Beijing Kingsoft Office Software Inc
Zhuhai Kingsoft Office Software 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 Beijing Kingsoft Office Software Inc, Zhuhai Kingsoft Office Software Co Ltd filed Critical Beijing Kingsoft Office Software Inc
Priority to CN201310215707.XA priority Critical patent/CN103345359B/en
Publication of CN103345359A publication Critical patent/CN103345359A/en
Application granted granted Critical
Publication of CN103345359B publication Critical patent/CN103345359B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Position Input By Displaying (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present invention proposes a kind of mthods, systems and devices of gesture switching chart ranks, and first system detects user and be applied to the locational sustained touch action of chart legend in the method; Calculate the displacement of this touch action, and this displacement is compared with preset value, wherein: in the time that the displacement occurring is less than the first preset value, judge that this displacement is the adjustment action of user to legend position, adjusts the position of legend in chart with the movement of user touch location; In the time that the displacement occurring is greater than the first preset value, judge that this displacement is the switching action of user to chart ranks, the preview effect that provides the ranks of chart to switch; Continue to increase to and be more than or equal to the second preset value at the displacement occurring, and detect when user finishes its touch action, complete the switching of chart ranks. The space that chart ranks changing method switching ranks of the present invention take is relatively little, and mobile legend position can complete switches action, convenient and swift.

Description

A kind of gesture is switched the mthods, systems and devices of chart ranks
Technical field
The present invention relates to a kind of gesture and switch the mthods, systems and devices of chart ranks, belong to mobile application.
Background technology
Chart be the most frequently used in electrical form be also one of the most useful function, can allow easily user's presenting more diversified data, vividerization. Ranks switch, and are not change in the type basis of chart, the most direct mode of one that the display effect adjustment of chart is optimized. Application on mobile device at present seldom provides the mode that chart ranks switch, and is all the form by dialog box even if provide, and does not meet mobile operating habit, a whole dialog box is provided, and is positioned at a unremarkable position, is easy to allow people ignore.
The mode of the switching ranks that provide on PC is at present switched for enter into change graphics data source dialog box by right-click menu after, it is relatively large that this mode is switched the shared space of ranks, on mobile device, there is no enough large space, be not suitable for being applied on mobile device, and switching mode is relatively hidden, user is difficult for finding.
Related application on mobile device only provides the selection of serial generation in the time inserting chart at the beginning at present, and the option of function setting is more, switches this option setting than being easier to ignore ranks. And once setting, can not change.
Summary of the invention
For the defect of above prior art, the object of the present invention is to provide the gesture on a kind of suitable mobile device to switch linescan method, the displacement that is applied to the locational touch action of ranks of chart according to user switches this chart ranks, facilitates the display effect of user's adjusting diagram.
Technical scheme of the present invention is:
Gesture is switched a method for chart ranks, contains following steps:
Detect user and be applied to the locational sustained touch action of chart legend;
Calculate the displacement of this touch action, and this displacement is compared with preset value, wherein:
In the time that the displacement occurring is less than the first preset value, judge that this displacement is the adjustment action of user to legend position, adjusts the position of legend in chart with the movement of user touch location;
In the time that the displacement occurring is greater than the first preset value, judge that this displacement is the switching action of user to chart ranks, the preview effect that provides the ranks of chart to switch;
Continue to increase to and be more than or equal to the second preset value at the displacement occurring, and detect when user finishes its touch action, complete the switching of chart ranks.
In addition, the invention allows for the system of corresponding above method and the device that contains this system, wherein said system comprises:
Touch detector, detect user and be applied to the locational sustained touch action of chart legend;
Displacement calculator, calculates the displacement of this touch action;
Relatively determining device, compares this displacement with preset value, wherein:
In the time that the displacement occurring is less than the first preset value, judge that this displacement is the adjustment action of user to legend position, adjusts the position of legend in chart with the movement of user touch location;
In the time that the displacement occurring is greater than the first preset value, judge that this displacement is the switching action of user to chart ranks, the preview effect that provides the ranks of chart to switch;
Continue to increase to and be more than or equal to the second preset value at the displacement occurring, and detect when user finishes its touch action, complete the switching of chart ranks.
The device that contains the above system for gesture switching chart ranks comprises smart mobile phone and the mobile device with touch-screen.
One as above technical scheme is improved, and described the first preset value and the second preset value size and/or the resolution ratio based on user device screen is determined.
One as above technical scheme is improved, and described the first preset value and the second preset value figure table size based on showing in user device screen is determined.
One as above technical scheme is improved, and in the time that the displacement occurring is more than or equal to the second preset value but does not detect that user finishes its touch action, continues the preview effect that provides ranks to switch.
The space that chart ranks changing method switching ranks of the present invention take is relatively little, and mobile legend position can complete switches action, and with respect to existing switching mode, not only effect is directly perceived, and convenient to operation, and the user that can improve greatly application experiences.
Brief description of the drawings
Below in conjunction with drawings and Examples, the invention will be further described, wherein:
Fig. 1 is that ranks of the present invention switch schematic diagram.
Detailed description of the invention
Fig. 1 shows a specific embodiment of the method for the gesture switching chart ranks of invention proposition, taking common bunch shape column diagram as example, because the screen of portable equipment is less, as common smart mobile phone only has the screen of 3-5 cun conventionally, the column diagram of opening can occupy most of position of screen. In this case, be simple and easy to, effect intuitively ranks switching mode just seem particularly important.
The application of employing this method first calling system service detects judgement to user's touch action. In this embodiment, system judges whether user's finger is pressed (so-called legend position is the scope that in chart, the various figures of representative data occupy, and for instance, is the scope that column occupies in bar chart) on the legend position on chart. Determine that in system user points by behind column position, calculates the displacement of user's finger touch position. A small amount of displacement is occurring, and when the displacement occurring is less than the first default preset value, system judges that user's touch action is only for the position of legend is adjusted, and then adjusts legend position with moving of user's finger. If during user cancel its touch action, the legend of chart is placed on to the position of the last contact of user.
When detecting user, system points a large amount of displacements of generation, be that system detects that the displacement that user points is greater than the first default preset value, or in other words, in the time that legend is about to touch the reference axis X-axis of chart, (X-axis may be in bottom, middle part or top, actual conditions by chart determine) time, system produces ranks and is about to the preview image switching, the effect after switching for user's preview ranks. If during user cancel its touch action, the legend position of chart is back to home position, do not make any change.
Last continue to increase at displacement be more than or equal to the second default preset value, and detecting that user finishes after its touch action (loosing one's grip), system completes the switching of ranks. Typically, this second preset value can be chosen suitable value according to screen size, makes to equal legend at that time and just touch at displacement the X-axis of chart coordinate.
Certainly, in a further embodiment, user's touch also can realize by felt pen.
In above embodiment, described the first and second preset values can arrange according to the size of the screen resolution of mobile device, size and chart, for instance, for showing column diagram to erect screen mode on 4 cun of screens common 854 × 480, can choose the first preset value according to the size of chart is dozens of pixel, the second preset value is chosen according to the distance between the legend position of chart and reference axis, and wherein the first preset value is less than the second preset value.
Existing smart mobile phone and can apply easily above gesture and switch the method for chart ranks with the mobile device of touch-screen, the space taking in the time switching chart ranks is relatively little, mobile legend position can complete switches action, with respect to existing switching mode, not only effect is directly perceived, and convenient to operation, the user that can improve greatly application experiences.
The present invention is except above-mentioned embodiment, and its equivalent technical solutions also should, within its protection domain, be narrated at this no longer one by one.

Claims (9)

1. gesture is switched a method for chart ranks, it is characterized in that, contains following steps:
Detect user and be applied to the locational sustained touch action of chart legend;
Calculate the displacement of this touch action, and this displacement is compared with preset value, wherein:
In the time that the displacement occurring is less than the first preset value, judge that this displacement is the adjustment action of user to legend position, with userThe movement of touch location and adjust the position of legend in chart;
In the time that the displacement occurring is greater than the first preset value, judge that this displacement is the switching action of user to chart ranks, provides figureThe preview effect that the ranks of table switch;
Continue to increase to while being more than or equal to the second preset value at the displacement occurring, and detect when user finishes its touch action,Complete the switching of chart ranks.
2. gesture according to claim 1 is switched the method for chart ranks, it is characterized in that described the first preset value and theSize and/or the resolution ratio of two preset values based on user device screen is determined.
3. gesture according to claim 1 is switched the method for chart ranks, it is characterized in that described the first preset value and theThe figure table size of two preset values based on showing in user device screen determined.
4. gesture according to claim 1 is switched the method for chart ranks, it is characterized in that, is greater than at the displacement occurringEqual the second preset value but do not detect when user finishes its touch action, the preview effect that provides ranks to switch is provided.
5. gesture is switched a system for chart ranks, it is characterized in that, comprising:
Touch detector, detect user and be applied to the locational sustained touch action of chart legend;
Displacement calculator, calculates the displacement of this touch action;
Relatively determining device, compares this displacement with preset value, wherein:
In the time that the displacement occurring is less than the first preset value, judge that this displacement is the adjustment action of user to legend position, with userThe movement of touch location and adjust the position of legend in chart;
In the time that the displacement occurring is greater than the first preset value, judge that this displacement is the switching action of user to chart ranks, provides figureThe preview effect that the ranks of table switch;
Continue to increase to and be more than or equal to the second preset value at the displacement occurring, and detect when user finishes its touch action,Complete the switching of chart ranks.
6. gesture according to claim 5 is switched the system of chart ranks, it is characterized in that described the first preset value and theSize and/or the resolution ratio of two preset values based on user device screen is determined.
7. gesture according to claim 5 is switched the system of chart ranks, it is characterized in that described the first preset value and theThe figure table size of two preset values based on showing in user device screen determined.
8. gesture according to claim 5 is switched the system of chart ranks, it is characterized in that, is greater than at the displacement occurringEqual the second preset value but do not detect when user finishes its touch action, the preview effect that provides ranks to switch is provided.
9. contain gesture described in claim 5 and switch a device for the system of chart ranks, it is characterized in that described device bagDraw together the mobile device with touch-screen.
CN201310215707.XA 2013-06-03 2013-06-03 A kind of gesture is switched the mthods, systems and devices of chart ranks Active CN103345359B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310215707.XA CN103345359B (en) 2013-06-03 2013-06-03 A kind of gesture is switched the mthods, systems and devices of chart ranks

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310215707.XA CN103345359B (en) 2013-06-03 2013-06-03 A kind of gesture is switched the mthods, systems and devices of chart ranks

Publications (2)

Publication Number Publication Date
CN103345359A CN103345359A (en) 2013-10-09
CN103345359B true CN103345359B (en) 2016-05-11

Family

ID=49280159

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310215707.XA Active CN103345359B (en) 2013-06-03 2013-06-03 A kind of gesture is switched the mthods, systems and devices of chart ranks

Country Status (1)

Country Link
CN (1) CN103345359B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10095389B2 (en) * 2014-08-22 2018-10-09 Business Objects Software Ltd. Gesture-based on-chart data filtering

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101408841A (en) * 2008-11-26 2009-04-15 浪潮集团山东通用软件有限公司 General-purpose data multidimensional component exhibiting method
CN102156614A (en) * 2010-01-06 2011-08-17 苹果公司 Device, method, and graphical user interface for manipulating tables using multi-contact gestures
CN102879471A (en) * 2012-09-21 2013-01-16 何鲜峰 Structural tomography method based on chart control

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4462983B2 (en) * 2004-03-31 2010-05-12 株式会社湯山製作所 Electronic medical record device
US20080168402A1 (en) * 2007-01-07 2008-07-10 Christopher Blumenberg Application Programming Interfaces for Gesture Operations
WO2012088474A2 (en) * 2010-12-23 2012-06-28 Apple Inc. Device, method, and graphical user interface for switching between two user interfaces

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101408841A (en) * 2008-11-26 2009-04-15 浪潮集团山东通用软件有限公司 General-purpose data multidimensional component exhibiting method
CN102156614A (en) * 2010-01-06 2011-08-17 苹果公司 Device, method, and graphical user interface for manipulating tables using multi-contact gestures
CN102879471A (en) * 2012-09-21 2013-01-16 何鲜峰 Structural tomography method based on chart control

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
基于行列转换的统计功能研究与应用张;张娜;《中国优秀硕士学位论文全文数据库(电子期刊)》;20130228;I138-824 *
报表行列转置Excel应用浅析;邢伟平 等;《财会通讯》;20110131(第1期);第121-122页 *

Also Published As

Publication number Publication date
CN103345359A (en) 2013-10-09

Similar Documents

Publication Publication Date Title
KR101951135B1 (en) Method for scaling video image, and mobile terminal
US20170199662A1 (en) Touch operation method and apparatus for terminal
AU2013223015A1 (en) Method and apparatus for moving contents in terminal
US20140152593A1 (en) Method And System For Operating Portable Devices
CN107250969B (en) Screen opening method and device and electronic equipment
CN102880420B (en) Method and system for starting and executing region selection operation based on touch screen
JP6273081B2 (en) Content moving method and apparatus using pointing device
EP2575013A2 (en) Pen system and method for performing input operations to mobile device via the same
US10901587B2 (en) Widget area adjustment method and apparatus
CN104238887B (en) The icon lookup method and device of conventional application program
CN104750495A (en) Screenshot method and device
KR20150026360A (en) Method and apparatus for providing multiple applications
CN109683763A (en) A kind of icon moving method and mobile terminal
KR20150134674A (en) User terminal device, and Method for controlling for User terminal device, and multimedia system thereof
CN105404423A (en) Touch display device and pressure sensing touch method therefor
US20110199326A1 (en) Touch panel device operating as if in the equivalent mode even when detected region is smaller than display region of display device
CN109597548A (en) Menu display method, device, equipment and storage medium
CN105872816A (en) Method and device for amplifying video image
US20120313968A1 (en) Image display system, information processing apparatus, display device, and image display method
CN105262889A (en) Icon arrangement method and device
CN103558957A (en) Method and device for screen operation of mobile terminal
CN106020692A (en) Operation method and system of touch screen mobile phone
US20160170596A1 (en) Image display apparatus, image display method, and image-display program product
CN103345359B (en) A kind of gesture is switched the mthods, systems and devices of chart ranks
CN103905752A (en) Method and device for remote control of remote control terminal and method and device for display of display terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C56 Change in the name or address of the patentee
CP01 Change in the name or title of a patent holder

Address after: Jinshan software building No. 8 Jingshan Hill Road, Lane 519015 Lianshan Jida Zhuhai city in Guangdong Province

Patentee after: Zhuhai Kingsoft Office Software Co., Ltd.

Patentee after: Beijing Kingsoft office software Limited by Share Ltd

Address before: Jinshan software building No. 8 Jingshan Hill Road, Lane 519015 Lianshan Jida Zhuhai city in Guangdong Province

Patentee before: Zhuhai Kingsoft Office Software Co., Ltd.

Patentee before: Beijing Kingsoft WPS Office Co., Ltd.