JPH04266181A - Circle graph display device - Google Patents

Circle graph display device

Info

Publication number
JPH04266181A
JPH04266181A JP3060942A JP6094291A JPH04266181A JP H04266181 A JPH04266181 A JP H04266181A JP 3060942 A JP3060942 A JP 3060942A JP 6094291 A JP6094291 A JP 6094291A JP H04266181 A JPH04266181 A JP H04266181A
Authority
JP
Japan
Prior art keywords
pie chart
coordinate value
area
fan
coordinate
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP3060942A
Other languages
Japanese (ja)
Inventor
Kaori Sasaki
かおり 佐々木
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP3060942A priority Critical patent/JPH04266181A/en
Priority to US07/834,405 priority patent/US5475810A/en
Publication of JPH04266181A publication Critical patent/JPH04266181A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To offer the circle graph display device which improves operability by a person who executes an operation, and also, can designate an area of a circle graph even if the display space is small. CONSTITUTION:The center angle of each sector part, and a start point and an end point of plotting are stored in a RAM 12, and a coordinate value detecting part 14 detects a coordinate value of a coordinate instructed by an instructing device. In which sector part in a circle graph the coordinate value detected by the coordinate value detecting part 14 is contained is discriminated in an area discriminating part 15 by using the center angle of each sector part the center angle of the coordinate detected by the coordinate detecting part 14, and in the case the coordinate value is contained in the sector part, the processing corresponding to the sector part is executed.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、円グラフの扇部分をマ
ウス等によって指示することにより操作が可能となる円
グラフ表示装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a pie chart display device that can be operated by pointing to a sector of a pie chart using a mouse or the like.

【0002】0002

【従来技術】従来の円グラフ表示装置においては、表示
された円グラフの扇部分をマウス等の指示デバイスによ
って指示する場合に円グラフとは別に、操作を行なうた
めのボタン領域が設けられていた。図6は従来の円グラ
フ表示装置の表示イメ−ジを示した図である。
BACKGROUND OF THE INVENTION Conventional pie chart display devices have a button area separate from the pie chart for operations when pointing to the fan section of the displayed pie chart using a pointing device such as a mouse. . FIG. 6 is a diagram showing a display image of a conventional pie chart display device.

【0003】同図に示すとおり従来のこの種の装置では
、円グラフ60とは別に操作領域としてボタン領域A6
11、ボタン領域B612及びボタン領域C613が設
けられ、操作を行なう者は指定を行ないたい扇形領域に
対応するボタン領域を指示デバイスによって指定する。 ここで、ボタン領域を指示することによって該ボタン領
域に対応する扇形領域に関する処理を行なうプログラム
は予め定義されている。
As shown in the figure, in the conventional device of this type, a button area A6 is provided as an operation area in addition to the pie chart 60.
11. A button area B612 and a button area C613 are provided, and the operator specifies the button area corresponding to the fan-shaped area to be specified using the pointing device. Here, a program is defined in advance that, by specifying a button area, performs processing related to a fan-shaped area corresponding to the button area.

【0004】例えば、操作を行なう者が扇形領域A60
1について操作を行ないたい場合には、指示デバイスに
よってボタン領域A611を指定する。ボタン領域A6
11が指定されることによって扇形領域A601に関す
る処理プログラムが起動され、操作を行なう者は扇形領
域A601に関する処理を実行することができる。
[0004] For example, if the person performing the operation
If the user wishes to perform an operation on item 1, the button area A611 is specified using the instruction device. Button area A6
11 is specified, a processing program related to the fan-shaped area A601 is started, and the operator can execute the process related to the fan-shaped area A601.

【0005】[0005]

【発明が解決しようとする課題】しかしながら上記従来
の円グラフ表示装置は以下のような問題点があった。
However, the conventional pie chart display device described above has the following problems.

【0006】■表示された円グラフとボタン領域は別の
位置に表示されていて、表示と操作対象が別個のもので
あるため、操作を行なう者が、どの円グラフ中の扇形の
部分とどのボタン領域が対応しているかを確認する必要
があり、操作性が悪い。
[0006] ■The displayed pie chart and the button area are displayed in different positions, and the display and operation targets are separate. It is difficult to use because it is necessary to check whether the button areas are compatible.

【0007】■円グラフとボタン領域を表示する必要が
あるため、表示装置上に大きなスペ−スを必要とし、ま
た表示スペ−スが小さい場合には円グラフの表示が小さ
くなってしまう。
[0007] Since it is necessary to display the pie chart and the button area, a large space is required on the display device, and if the display space is small, the display of the pie chart becomes small.

【0008】本発明は上述した点に鑑みてなされたもの
で、操作を行なう者の操作性を向上せしめ、かつ小さな
表示スペ−スであっても、円グラフの領域の指定が可能
な円グラフ表示装置を提供することを目的とする。
The present invention has been made in view of the above-mentioned points, and provides a pie chart that improves the operability of the operator and allows the area of the pie chart to be specified even in a small display space. The purpose is to provide a display device.

【0009】[0009]

【課題を解決するための手段】上記課題を解決するため
に本発明は、円グラフの中心座標、及び円グラフの直径
又は半径、及び円グラフ中の各扇部分の座標値に基づい
て円グラフを表示する円グラフ表示装置において、各扇
部分の中心角を記憶する記憶手段と、指示デバイスによ
って指示された座標値を検出する座標値検出手段と、座
標値検出手段によって検出された座標値が、各扇部分に
包含されるか否かを判別する領域判別手段とを具備し、
領域判別手段によって指示された座標値が扇部分に包含
された場合に、扇部分に対応する処理を実行することを
特徴とする。
[Means for Solving the Problems] In order to solve the above problems, the present invention provides a pie chart based on the center coordinates of the pie chart, the diameter or radius of the pie chart, and the coordinate values of each fan section in the pie chart. A pie chart display device for displaying a pie chart, comprising: a storage means for storing the central angle of each sector; a coordinate value detection means for detecting the coordinate values indicated by the indicating device; and a coordinate value detection means for detecting the coordinate values indicated by the coordinate value detection means. , and area determination means for determining whether or not the area is included in each fan portion,
The present invention is characterized in that when the coordinate values specified by the area determination means are included in the fan portion, processing corresponding to the fan portion is executed.

【0010】0010

【作用】本発明は円グラフ表示装置を上述のごとく構成
し、円グラフの一部を指示デバイスによって直接指示す
ることにより、該指示された座標を含む円グラフ中の扇
部分に対応する処理を実行するため、表示と操作対象が
同一となり、小さな表示スペ−スであっても円グラフの
領域の指定が可能であり、また操作を行なう者は円グラ
フのみを見て領域の指定をすることができる。
[Operation] The present invention has a pie chart display device configured as described above, and by directly instructing a part of the pie chart with a pointing device, processing corresponding to the fan section in the pie chart including the designated coordinates is performed. Since the display and operation target are the same, it is possible to specify the area of the pie chart even in a small display space, and the person performing the operation can specify the area by looking only at the pie chart. Can be done.

【0011】[0011]

【実施例】以下、本発明の一実施例を図面を用いて説明
する。図1は本発明にかかる円グラフ表示装置の構成を
示すブロック図である。同図中、10は本実施例の円グ
ラフ表示装置全体の制御を行なうCPU、11はマウス
、キ−ボ−ド等の入力装置、12はデ−タ処理を行なう
ためのデ−タを格納するRAM、13はプログラム等が
格納されているROM、14は円グラフ表示部16上の
座標値を検出する座標値検出部、15は領域判別部、1
6はビットマップディスプレイ等によって構成されてい
る円グラフ表示部である。また、座標値検出部14及び
領域判別部15によってボタン実行部17は構成されて
いる。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the configuration of a pie chart display device according to the present invention. In the figure, 10 is a CPU that controls the entire pie chart display device of this embodiment, 11 is an input device such as a mouse and a keyboard, and 12 is a device that stores data for data processing. 13 is a ROM in which programs and the like are stored; 14 is a coordinate value detection unit that detects coordinate values on the pie chart display unit 16; 15 is an area determination unit;
Reference numeral 6 denotes a pie chart display section composed of a bitmap display or the like. Further, the coordinate value detection section 14 and the area discrimination section 15 constitute a button execution section 17 .

【0012】図2は円グラフ表示部16に表示された円
グラフの一例を表した図である。また、図3は本実施例
のRAM12に格納されたデ−タのメモリマップを表し
た図である。図3に示すようにRAM12は円表示用デ
−タエリア301と扇形領域用デ−タエリア302に分
けられる。以下、図2及び図3を用いて本実施例で使用
されるデ−タについて説明する。
FIG. 2 is a diagram showing an example of a pie chart displayed on the pie chart display section 16. Further, FIG. 3 is a diagram showing a memory map of data stored in the RAM 12 of this embodiment. As shown in FIG. 3, the RAM 12 is divided into a circular display data area 301 and a fan-shaped area data area 302. The data used in this embodiment will be explained below with reference to FIGS. 2 and 3.

【0013】円表示用デ−タエリア301には、表示さ
れた円グラフ20の円201の中心点の座標C(Cx,
Cy)の座標値や円201の半径Rの値が含まれる。
The circle display data area 301 contains the coordinates C (Cx,
Cy) coordinate values and the value of the radius R of the circle 201 are included.

【0014】扇形領域用デ−タエリア302には、扇形
領域表示用デ−タ及び処理プログラムが含まれ、さらに
扇形領域表示用デ−タは、扇形の描画開始点、描画終了
点、該扇形の中心角の値によって構成される。例えば図
2に示す扇形領域B202の表示用デ−タについては、
描画開始点S2(Sx2,Sy2)、描画終了点E2(
Ex2,Ey2)、中心角θ2、及び扇形領域B202
に対応する処理プログラムP2が図3に示すように、S
x2,Sy2321、Ex2,Ey2322、θ232
3、P2324の順に格納されている。
The fan-shaped area data area 302 includes data for displaying a fan-shaped area and a processing program, and the data for displaying a fan-shaped area includes a drawing start point, a drawing end point, and a drawing end point of the sector. Constructed by the value of the central angle. For example, regarding the display data of fan-shaped area B202 shown in FIG.
Drawing start point S2 (Sx2, Sy2), drawing end point E2 (
Ex2, Ey2), central angle θ2, and fan-shaped area B202
As shown in FIG. 3, the processing program P2 corresponding to S
x2, Sy2321, Ex2, Ey2322, θ232
3 and P2324.

【0015】次に、本実施例のボタン実行部17の動作
について説明する。ここで、図4はボタン実行部17の
処理を説明するフロ−チャ−ト、図5は円グラフに座標
が入力された状態を説明する図である。
Next, the operation of the button execution section 17 of this embodiment will be explained. Here, FIG. 4 is a flowchart for explaining the processing of the button execution unit 17, and FIG. 5 is a diagram for explaining a state in which coordinates are input into a pie chart.

【0016】(1)まず、円グラフ表示装置の使用者は
円グラフ50上の指定したい部分を、マウス等の指示デ
バイスによって入力する(ステップST401)。
(1) First, the user of the pie chart display device inputs a desired portion on the pie chart 50 using a pointing device such as a mouse (step ST401).

【0017】(2)座標値検出部14は、ステップST
401で入力された座標の位置を検出する。例えば図5
に示された円グラフ50においてXが入力された場合は
Xの座標値(Xx,Yy)が検出される(ステップST
402)。
(2) The coordinate value detection unit 14 performs step ST
In step 401, the position of the input coordinates is detected. For example, Figure 5
When X is input in the pie chart 50 shown in , the coordinate values (Xx, Yy) of X are detected (step ST
402).

【0018】(3)次に表示された円グラフ50の円の
半径Rと、入力された座標Xから円の中心点Cまでの距
離rを比較し、入力された座標が円グラフ50の内部に
あるかどうかを判定する(ステップST403)。
(3) Next, the radius R of the circle of the displayed pie chart 50 is compared with the distance r from the input coordinates X to the center point C of the circle. (step ST403).

【0019】(4)円グラフ50の描画開始線501と
入力された座標Xのなす角θを求める(ステップST4
04)。θは(1)式に基づいて求められる。 θ=arccos(Yy/r)          (
1)
(4) Find the angle θ between the drawing start line 501 of the pie chart 50 and the input coordinates X (step ST4
04). θ is determined based on equation (1). θ=arccos(Yy/r) (
1)

【0020】(5)ステップST404で求められ
るθは、0≦θ<2πの場合に2値を持つことになるの
で、円の中心点CのX座標Cxと入力された座標XのX
座標Xxの大小関係を調べる(ステップST405)。
(5) Since θ obtained in step ST404 has two values when 0≦θ<2π, the X coordinate Cx of the center point C of the circle and the
The magnitude relationship of the coordinates Xx is checked (step ST405).

【0021】(6)ステップST405でCx−Xx<
0であった場合には、θは(2)の式のように変換され
る(ステップST406)。 θ=2π−θ                  (
2)
(6) In step ST405, Cx−Xx<
If it is 0, θ is converted as shown in equation (2) (step ST406). θ=2π−θ (
2)

【0022】(7)ステップST404,406で
求められたθが、どの扇形領域に含まれるものであるか
を判別するため、個々の変数を初期化する。ここで、M
AXは円グラフ50に表示された扇形領域の総数、βs
umは扇形領域の中心角の総和である(ステップST4
07)。
(7) In order to determine which fan-shaped region includes θ obtained in steps ST404 and ST406, each variable is initialized. Here, M
AX is the total number of fan-shaped areas displayed in the pie chart 50, βs
um is the sum of the central angles of the fan-shaped area (step ST4
07).

【0023】(8)βsumを、i番目の扇形領域の中
心角βiとβsumの和とする(ステップST408)
。ここでβiは図3のメモリマップにおけるθi333
が該当する。
(8) Let βsum be the sum of the central angle βi of the i-th fan-shaped area and βsum (step ST408)
. Here, βi is θi333 in the memory map of FIG.
is applicable.

【0024】(9)θとβsumを比較する(ステップ
ST409)。ここでθの方が小さければ図5に示すよ
うにXはi番目の扇形領域内にあるので、i番目の領域
が指定されたものとして処理プログラムPiが存在する
かどうかを判別し(ステップST410)、存在した場
合には該処理プログラムPiを起動する(ステップST
411)。なお、i番目の扇形領域の処理プログラムP
iは図3に示すように、Pi334として格納されてい
る。
(9) Compare θ and βsum (step ST409). Here, if θ is smaller, as shown in FIG. 5, X is within the i-th fan-shaped area, so it is determined whether the processing program Pi exists or not, assuming that the i-th area is specified (step ST410). ), if it exists, launch the corresponding processing program Pi (step ST
411). Note that the processing program P for the i-th fan-shaped area
As shown in FIG. 3, i is stored as Pi334.

【0025】(10)ステップST409において、θ
の方が大きいと判断された場合には、次の扇形領域との
比較を行なうためiをインクリメントし(ステップST
412)、更にiがMAXを越えていない場合にはステ
ップST408に戻る(ステップST413)。
(10) In step ST409, θ
If it is determined that is larger than i, i is incremented for comparison with the next fan-shaped area (step ST
412), and if i does not exceed MAX, the process returns to step ST408 (step ST413).

【0026】[0026]

【発明の効果】以上説明したように本発明によると、円
グラフの表示部分を指示することによって、対応する処
理を行なわせるようにしたため、表示と操作対象が同一
となり、操作を行なう者の操作性が向上し、かつ小さな
表示スペ−スでも円グラフの表示が可能となる、という
優れた効果が得られる。
Effects of the Invention As explained above, according to the present invention, by specifying the display part of the pie chart, the corresponding process is performed, so that the display and the operation target are the same, and the operator can easily perform the operation. This provides an excellent effect in that the performance is improved and pie charts can be displayed even in a small display space.

【図面の簡単な説明】[Brief explanation of the drawing]

【図1】本発明にかかる円グラフ表示装置の構成を示す
ブロック図である。
FIG. 1 is a block diagram showing the configuration of a pie chart display device according to the present invention.

【図2】円グラフ表示部16に表示された円グラフの一
例を表した図である。
FIG. 2 is a diagram showing an example of a pie chart displayed on the pie chart display section 16.

【図3】RAM12に格納されたデ−タのメモリマップ
を表した図である。
FIG. 3 is a diagram showing a memory map of data stored in the RAM 12.

【図4】ボタン実行部17の処理フロ−を説明する図で
ある。
FIG. 4 is a diagram illustrating the processing flow of the button execution unit 17.

【図5】円グラフに座標が入力された状態を説明する図
である。
FIG. 5 is a diagram illustrating a state in which coordinates are input to a pie chart.

【図6】従来の円グラフ表示装置の表示イメ−ジを示し
た図である。
FIG. 6 is a diagram showing a display image of a conventional pie chart display device.

【符号の説明】[Explanation of symbols]

10    CPU 11    入力装置 12    RAM 13    ROM 14    座標値検出部 15    領域判別部 16    円グラフ表示部 10 CPU 11 Input device 12 RAM 13 ROM 14 Coordinate value detection section 15 Area determination unit 16 Pie chart display section

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】円グラフの中心座標、及び前記円グラフの
直径又は半径、及び前記円グラフ中の各扇部分の座標値
に基づいて円グラフを表示する円グラフ表示装置におい
て、前記各扇部分の中心角を記憶する記憶手段と、指示
デバイスによって指示された座標値を検出する座標値検
出手段と、前記座標値検出手段によって検出された座標
値が、前記各扇部分に包含されるか否かを判別する領域
判別手段とを具備し、前記領域判別手段によって前記座
標値が前記扇部分に包含された場合に、前記扇部分に対
応する処理を実行することを特徴とする円グラフ表示装
置。
1. A pie chart display device that displays a pie chart based on the center coordinates of the pie chart, the diameter or radius of the pie chart, and the coordinate values of each fan part in the pie chart, wherein each fan part a storage means for storing a central angle of the area; a coordinate value detection means for detecting a coordinate value indicated by an indicating device; and a coordinate value detection means for detecting a coordinate value indicated by the instruction device; a pie chart display device, comprising: an area discriminating means for discriminating whether the coordinate value is included in the fan section; and when the coordinate value is included in the fan section by the area discriminating means, a process corresponding to the fan section is executed. .
JP3060942A 1991-02-20 1991-02-20 Circle graph display device Pending JPH04266181A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP3060942A JPH04266181A (en) 1991-02-20 1991-02-20 Circle graph display device
US07/834,405 US5475810A (en) 1991-02-20 1992-02-12 Pie chart processing method and processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3060942A JPH04266181A (en) 1991-02-20 1991-02-20 Circle graph display device

Publications (1)

Publication Number Publication Date
JPH04266181A true JPH04266181A (en) 1992-09-22

Family

ID=13156940

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3060942A Pending JPH04266181A (en) 1991-02-20 1991-02-20 Circle graph display device

Country Status (1)

Country Link
JP (1) JPH04266181A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006277686A (en) * 2005-03-30 2006-10-12 Mizuho Bank Ltd Remittance processing support system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61229168A (en) * 1985-04-02 1986-10-13 インタ−ナショナル ビジネス マシ−ンズ コ−ポレ−ション Generation of graph using computer

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61229168A (en) * 1985-04-02 1986-10-13 インタ−ナショナル ビジネス マシ−ンズ コ−ポレ−ション Generation of graph using computer

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006277686A (en) * 2005-03-30 2006-10-12 Mizuho Bank Ltd Remittance processing support system

Similar Documents

Publication Publication Date Title
KR100382100B1 (en) Computer system and method for manipulating multiple graphical user interface components on a computer display having proximity pointers
US6883143B2 (en) Computer interface toolbar for acquiring most frequently accessed options using short cursor traverses
JP6371475B2 (en) Eye-gaze input device, eye-gaze input method, and eye-gaze input program
JPH07200221A (en) Arrangement of annotation to display device
JP2000298685A (en) Selection navigator
JPH08212005A (en) Three-dimensional position recognition type touch panel device
JP3186241B2 (en) Figure editing device
JPH0527906A (en) Graphic selector
JPH0876927A (en) Information processor
US5815150A (en) Display apparatus
JPH04266181A (en) Circle graph display device
JP4390371B2 (en) Menu selection apparatus and method, and computer-readable recording medium on which menu selection program is recorded
WO2016204241A1 (en) Image processing device, image processing method, program, and recording medium
US20130322600A1 (en) Rotation of an x-ray image on a display
JP3357760B2 (en) Character / graphic input editing device
JP2003344054A (en) Navigation apparatus, map display apparatus, and program
JP2004334718A (en) Input operation support program
JP3588527B2 (en) User interface device and instruction input method
JP6708917B1 (en) Shape detection method, shape detection system, program
US7046241B2 (en) Oriented three-dimensional editing glyphs
JPH0816825A (en) Method and device for editing three-dimensional solid arrangement
JP3388524B2 (en) Image input device
JP2829693B2 (en) Commandless CAD device
JPH05189139A (en) Command input method and information processor
JPS63305472A (en) Method for picking graphic