JPH0991446A - Graphics generating device - Google Patents

Graphics generating device

Info

Publication number
JPH0991446A
JPH0991446A JP24935395A JP24935395A JPH0991446A JP H0991446 A JPH0991446 A JP H0991446A JP 24935395 A JP24935395 A JP 24935395A JP 24935395 A JP24935395 A JP 24935395A JP H0991446 A JPH0991446 A JP H0991446A
Authority
JP
Japan
Prior art keywords
display
graph
item names
item
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.)
Pending
Application number
JP24935395A
Other languages
Japanese (ja)
Inventor
Yasuhisa Nakamura
泰久 中村
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.)
KOBE NIPPON DENKI SOFTWARE KK
NEC Software Kobe Ltd
Original Assignee
KOBE NIPPON DENKI SOFTWARE KK
NEC Software Kobe 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 KOBE NIPPON DENKI SOFTWARE KK, NEC Software Kobe Ltd filed Critical KOBE NIPPON DENKI SOFTWARE KK
Priority to JP24935395A priority Critical patent/JPH0991446A/en
Publication of JPH0991446A publication Critical patent/JPH0991446A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To eliminate the overlapping of item names displayed on the X axis in the case of displaying a graphics by deciding the arrangement of the item names whose overlapped indication is to be eliminated when the overlapping of display of the drawn item names takes place and revising the display arrangement of the item names based on the arrangement. SOLUTION: A control means 11 allows a character string check means 6 to check an overlapping degree of an X axis item name character string based on data from a graphic data entry means 5. The character string check means 6 extracts data of the item name added to the X axis required for graphic display among the data to check the overlapping off character strings. A display method decision means 7 decides whether the character string of the item names is to be displayed in a single lateral way, in the indication of plural lateral strings, in longitudinal indication or in skip indication based on the check result. An item name generating means 8 revises the arrangement of the item names according to the display method. Thus, the overlapping of the item names displayed on the X axis in the case of graphics display.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】この発明は、グラフ生成装置
に関し、特に、グラフ図形を表示するとき、X軸に表示
される項目名の重なりを解消するグラフ生成装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a graph generation device, and more particularly to a graph generation device that eliminates overlapping of item names displayed on the X axis when displaying a graph figure.

【0002】[0002]

【従来の技術】表示装置の画面に図形あるいはシンボル
を表示し、それらにタグや名称を併せて表示すると、タ
グや名称が重なって、読み取りを難しくする場合があ
る。重なり表示された従来例を図5に示すと、図5
(a)に示すデータをグラフ化して表示するとき、図5
(b)に示すように、X軸に付される単位名を含む項目
名は、表示位置,文字数,フォントは既定であるため、
表示される項目名が重なることがある。項目名ABCD
EのEと項目名FGHIJのFとの重なりが例示されて
いる。特開平04−160470号公報によれば、解消
させる表示位置を移動可能にしている。この公報によれ
ば、文字列の占有短形領域を定義し、該領域が他の文字
列の占有領域との重なりを検知し、該重なりを最小化す
るよう一方の占有領域を移動させる方法を開示してい
る。しかし、表示する文字列を消滅させる危険があるこ
と、また領域の移動による重なり解消は文字列が傾くこ
と、あるいは表示位置が離れることなど、識認のしやす
さを損うことは望ましくない。
2. Description of the Related Art When a graphic or symbol is displayed on the screen of a display device and a tag or name is displayed together with the graphic or symbol, the tag or name may be overlapped, which may make reading difficult. FIG. 5 shows a conventional example in which overlapping display is performed.
When the data shown in (a) is displayed as a graph, FIG.
As shown in (b), since the display position, the number of characters, and the font of the item name including the unit name attached to the X axis are default,
Displayed item names may overlap. Item name ABCD
Overlapping of E of E and F of item name FGHIJ is illustrated. According to Japanese Patent Laid-Open No. 04-160470, the display position to be eliminated is movable. According to this publication, a method for defining an occupied rectangular area of a character string, detecting an overlap of the occupied area with an occupied area of another character string, and moving one occupied area so as to minimize the overlap. Disclosure. However, it is not desirable that there is a risk of erasing the character string to be displayed, and that the elimination of overlap due to movement of areas impairs the recognizability such as the character string tilting or the display position separating.

【0003】[0003]

【発明が解決しようとする課題】グラフのX軸に付する
項目名の表示が重なって視認しずらいとき、項目名を適
切な表示位置に認識しやすく配列し直して表示する。
When the display of the item names attached to the X axis of the graph overlaps and is difficult to visually recognize, the item names are rearranged and displayed in an appropriate display position for easy recognition.

【0004】[0004]

【課題を解決するための手段】この発明の目的は、グラ
フのX軸に付される項目名の表示が重なるとき、項目名
の文字列を再配列して重なりを解消することにある。
SUMMARY OF THE INVENTION An object of the present invention is to eliminate the overlap by rearranging the character strings of the item names when the item names displayed on the X axis of the graph overlap.

【0005】このため、この発明のグラフ描画に用いる
データの入力装置と、グラフを描画表示する出力装置
と、前記データを前記入力装置から取得するグラフデー
タ入力手段と、前記出力装置に表示するグラフイメージ
を生成するグラフイメージ生成手段と、前記グラフイメ
ージを前記出力装置に出力するグラフイメージ出力手段
と、前記データおよび前記グラフイメージの受け渡しを
制御する制御手段と、を具備するグラフ生成装置におい
て、前記データを用いてX軸に項目名を描画表示すると
き、描画される項目名の表示に重なりが生じているか否
かをチェックする文字列チェック手段と、前記項目名の
表示に重なりが生じるとき、前記表示の重なりを解消す
る前記項目名の配列を決定する表示方法決定手段と、前
記配列に基づいて、前記項目名の表示配置を変更する項
目名生成手段と、を有することを特徴とする。
Therefore, the input device of the data used for the graph drawing of the present invention, the output device for drawing and displaying the graph, the graph data input means for acquiring the data from the input device, and the graph for displaying on the output device. A graph generation apparatus comprising: a graph image generation unit that generates an image; a graph image output unit that outputs the graph image to the output device; and a control unit that controls the transfer of the data and the graph image, When an item name is drawn and displayed on the X-axis using data, a character string checking means for checking whether or not the displayed item name is overlapped, and when the item name is overlapped, Display method determining means for determining an arrangement of the item names that eliminates the overlap of the display, and based on the arrangement, And item name generation means for changing the display arrangement of the serial field names, and having a.

【0006】さらに、前記配列は、項目名を横列で表示
する単一横表示,項目名を2行乃至5行の複数行で表示
する複数横表示,項目名を縦列で表示する縦表示,項目
名を間引く飛ばし表示であることを特徴とする。
Further, the array has a single horizontal display in which item names are displayed in rows, a plurality of horizontal displays in which item names are displayed in a plurality of lines from 2 to 5 lines, a vertical display in which item names are displayed in vertical columns, and items. It is characterized by skipped display of names.

【0007】[0007]

【発明の実施の形態】次に、この発明について図面を参
照して説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described with reference to the drawings.

【0008】この発明の一実施例の構成を示す図1を参
照すると、グラフ生成装置1は、グラフを描画するデー
タを入力する入力装置2と、グラフを表示出力する出力
装置3と、X軸の項目名を最適表示するグラフ生成部4
と、を含む。グラフ生成部4は、利用者のグラフ出力指
示によって、自身の動作を制御する制御手段11と、入
力装置2からデータを受けるグラフデータ入力手段5
と、該データの中からグラフ表示に必要となるX軸に付
する項目名のデータの抽出し、文字列の重なりをチェッ
クする文字列チェック手段6と、該チェック結果に基づ
いて、項目名の文字列を単一横表示にするか、複数横表
示にするか、縦表示にするか、飛ばし表示にするかを決
定する表示方法決定手段7と、該表示方法に従い、項目
名の配列を変更する項目名生成手段8と、変更した配列
の項目名や単位のデータに基づいて、グラフイメージを
生成するグラフイメージ生成手段9と、グラフイメージ
を出力装置3に出力するグラフイメージ出力手段10
と、を有する。出力装置3は、グラフイメージをグラフ
イメージ出力手段10より受け取り、グラフを画面に表
示出力する。
Referring to FIG. 1 showing the configuration of an embodiment of the present invention, a graph generating apparatus 1 includes an input device 2 for inputting data for drawing a graph, an output device 3 for displaying and outputting a graph, and an X-axis. Graph generation unit 4 that optimally displays the item names of
And, including. The graph generator 4 controls the operation of the graph generator 4 according to a graph output instruction from the user, and the graph data input device 5 receives data from the input device 2.
Then, from the data, character string check means 6 for extracting the data of the item name to be added to the X-axis necessary for the graph display and checking the overlapping of the character strings, and the item name of the item name based on the check result. Display method determining means 7 for determining whether the character string is displayed in a single horizontal display mode, a plurality of horizontal display modes, a vertical display mode, or a skip display mode, and the arrangement of item names is changed according to the display method. Item name generating means 8, a graph image generating means 9 for generating a graph image based on the changed array item names and unit data, and a graph image outputting means 10 for outputting the graph image to the output device 3.
And. The output device 3 receives the graph image from the graph image output means 10 and outputs the graph displayed on the screen.

【0009】次に、この実施例の動作を説明する。Next, the operation of this embodiment will be described.

【0010】制御手段11の動作の流れを示す図2を参
照すると、まず制御手段11は、グラフデータ入力手段
にグラフ出力するためのデータを取得させ(ステップ2
1)、該データをもとに、文字列チェック手段6にX軸
項目名文字列の重なり具合をチェックさせる(ステップ
22)。制御手段11は、該結果をもとに表示方法決定
手段7に表示方法の決定を行わせる(ステップ23)。
制御手段11は、決定された表示方法に従い、項目名生
成手段8にX軸項目名文字列配列を変更させ(ステップ
24)、グラフイメージ生成手段9にグラフイメージを
生成させる(ステップ25)。更にグラフイメージ出力
手段10にグラフイメージを出力装置3に表示出力させ
る(ステップ26)。
Referring to FIG. 2 showing the flow of operation of the control means 11, first, the control means 11 causes the graph data input means to acquire data for graph output (step 2).
1) Based on the data, the character string checking means 6 is caused to check the degree of overlap of the X-axis item name character strings (step 22). The control means 11 causes the display method determination means 7 to determine the display method based on the result (step 23).
According to the determined display method, the control means 11 causes the item name generation means 8 to change the X-axis item name character string array (step 24) and causes the graph image generation means 9 to generate a graph image (step 25). Further, the graph image output means 10 causes the output device 3 to display and output the graph image (step 26).

【0011】次に、X軸項目名文字列の重なり具合をチ
ェックする文字列チェック手段6の動作の流れを示す図
3を参照すると、文字列チェック手段6は、グラフのX
軸の描画領域サイズをもとに項目名当たりの領域割当て
サイズを算出し(ステップ31)、そのサイズと項目名
の文字数をすべての項目名について比較する(ステップ
32)、すべての項目名が描画割当てサイズに納まると
き、重なりフラグを0にして処理を終了し(ステップ3
3のYES)、項目名の一つが割当てサイズに納まらな
いものがあれば(ステップ33のNO)、すべての項目
名をX軸に表示できる領域サイズを算出し(ステップ3
4)、重なりフラグを1にして処理を終了する。
Next, referring to FIG. 3 showing a flow of the operation of the character string checking means 6 for checking the overlapping condition of the X-axis item name character strings, the character string checking means 6 indicates the X of the graph.
The area allocation size per item name is calculated based on the drawing area size of the axis (step 31), the size and the number of characters of the item name are compared for all the item names (step 32), and all the item names are drawn. When the size fits within the allocated size, the overlap flag is set to 0, and the process ends (step 3
3), if one of the item names does not fit in the allocated size (NO in step 33), the area size that can display all the item names on the X axis is calculated (step 3).
4) Then, the overlap flag is set to 1 and the process ends.

【0012】更に、表示方法を決定する表示方法決定手
段7の動作の流れを示す図4を参照すると、文字列チェ
ックの結果、重なりフラグが0であれば(ステップ41
のYES)表示方法を単一横表示に決定し(ステップ4
2)、重なりフラグが0でなければ(ステップ41のN
O)、すべての項目名を描画する領域サイズが描画割当
て領域の2倍未満であれば(ステップ43のYES)、
表示方法を2段横表示に決定し(ステップ44)、3倍
未満であれば(ステップ45のYES)、表示方法を3
段横表示に決定し(ステップ46)、4倍未満であれば
(ステップ47のYES)、表示方法を4段横表示に決
定し(ステップ48)、5倍未満であれば(ステップ4
9のYES)、表示方法を5段横表示に決定する(ステ
ップ50)。描画割当て領域の5倍以上の場合は、X軸
項目数×1文字表示に必要な領域サイズが描画割当て領
域より小さい場合(ステップ51のYES)、表示方法
を縦表示に決定し(ステップ52)、縦表示でも表示し
きれない場合(ステップ51のNO)、項目名を間引い
て間隔を空ける飛ばし表示に決定し(ステップ53)、
処理を終了する。
Further, referring to FIG. 4 showing the operation flow of the display method determining means 7 for determining the display method, if the result of the character string check is that the overlap flag is 0 (step 41).
YES) The display method is determined to be single horizontal display (step 4
2) If the overlap flag is not 0 (N in step 41)
O), if the area size for drawing all the item names is less than twice the drawing allocation area (YES in step 43),
The display method is determined to be two-stage horizontal display (step 44), and if it is less than 3 times (YES in step 45), the display method is set to 3
If horizontal display is determined (step 46), and the display method is less than 4 times (YES in step 47), the display method is determined to be four horizontal display (step 48), and if it is less than 5 times (step 4).
(YES of 9), the display method is determined to be a 5-step horizontal display (step 50). If the drawing allocation area is five times or more, or if the area size required for the number of X-axis items x 1 character display is smaller than the drawing allocation area (YES in step 51), the display method is determined to be vertical display (step 52). If it cannot be displayed even in the vertical display (NO in step 51), the item names are thinned out and the skipped display with a space is determined (step 53).
The process ends.

【0013】[0013]

【発明の効果】以上説明したように、この発明によれ
ば、利用者が入力したデータに対してX軸項目名の文字
列の重なり具合をチェックし、単一横表示,複数横表
示,縦表示,飛ばし表示のいずれかを選択して、X軸の
項目名の文字列の重なりの無い認識しやすいグラフを描
画できる。
As described above, according to the present invention, the degree of overlap of the character string of the X-axis item name with respect to the data input by the user is checked, and single horizontal display, multiple horizontal display, vertical display are performed. By selecting either display or skip display, it is possible to draw a graph that is easy to recognize without overlapping of character strings of item names on the X axis.

【図面の簡単な説明】[Brief description of drawings]

【図1】この発明の一実施例の構成を示す図である。FIG. 1 is a diagram showing a configuration of an embodiment of the present invention.

【図2】図1の制御手段の動作の流れを示す図である。FIG. 2 is a diagram showing a flow of operations of the control means in FIG.

【図3】図2の文字列の重なり具合チェック動作の流れ
を示す図である。
FIG. 3 is a diagram showing a flow of an operation of checking the overlapping condition of the character strings in FIG.

【図4】図2のX軸項目名の表示方法決定動作の流れを
示す図である。
FIG. 4 is a diagram showing a flow of a display method determination operation of an X-axis item name of FIG.

【図5】分図(a)は、グラフ描画に用いるグラフデー
タの例示、分図(b)は該グラフデータをグラフに描画
したとき、X軸項目名の重なり具合を例示する。
FIG. 5A shows an example of graph data used for drawing a graph, and FIG. 5B shows an example of how X-axis item names overlap when the graph data is drawn on a graph.

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

1 グラフ生成装置 2 入力装置 3 出力装置 4 グラフ生成部 5 グラフデータ入力手段 6 文字列チェック手段 7 表示方法決定手段 8 項目名生成手段 9 グラフイメージ生成手段 10 グラフデータ出力手段 11 制御手段 DESCRIPTION OF SYMBOLS 1 graph generation device 2 input device 3 output device 4 graph generation unit 5 graph data input means 6 character string check means 7 display method determination means 8 item name generation means 9 graph image generation means 10 graph data output means 11 control means

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 グラフ描画に用いるデータの入力装置
と、グラフを描画表示する出力装置と、前記データを前
記入力装置から取得するグラフデータ入力手段と、前記
出力装置に表示するグラフイメージを生成するグラフイ
メージ生成手段と、前記グラフイメージを前記出力装置
に出力するグラフイメージ出力手段と、前記データおよ
び前記グラフイメージの受け渡しを制御する制御手段
と、を具備するグラフ生成装置において、 前記データを用いてX軸に項目名を描画表示するとき、
描画される項目名の表示に重なりが生じているか否かを
チェックする文字列チェック手段と、 前記項目名の表示に重なりが生じるとき、前記表示の重
なりを解消する前記項目名の配列を決定する表示方法決
定手段と、 前記配列に基づいて、前記項目名の表示配置を変更する
項目名生成手段と、 を有することを特徴とするグラフ生成装置。
1. An input device for data used for drawing a graph, an output device for drawing and displaying a graph, a graph data input means for acquiring the data from the input device, and a graph image for display on the output device. In a graph generation device comprising a graph image generation means, a graph image output means for outputting the graph image to the output device, and a control means for controlling the transfer of the data and the graph image, using the data When displaying the item name on the X-axis,
A character string checking means for checking whether or not there is an overlap in the display of the item names to be drawn, and when the overlap of the display of the item names occurs, an array of the item names for eliminating the overlap of the displays is determined. A graph generating apparatus comprising: a display method determining unit; and an item name generating unit that changes a display arrangement of the item names based on the array.
【請求項2】 前記配列は、 項目名を横列で表示する単一横表示,項目名を2行乃至
5行の複数行で表示する複数横表示,項目名を縦列で表
示する縦表示,項目名を間引く飛ばし表示であることを
特徴とする請求項1記載のグラフ装置。
2. The array includes a single horizontal display for displaying item names in rows, a plurality of horizontal display for displaying item names in multiple lines of 2 to 5 rows, a vertical display for displaying item names in vertical columns, and items. The graph device according to claim 1, wherein the display is skipped names.
JP24935395A 1995-09-27 1995-09-27 Graphics generating device Pending JPH0991446A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24935395A JPH0991446A (en) 1995-09-27 1995-09-27 Graphics generating device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24935395A JPH0991446A (en) 1995-09-27 1995-09-27 Graphics generating device

Publications (1)

Publication Number Publication Date
JPH0991446A true JPH0991446A (en) 1997-04-04

Family

ID=17191772

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24935395A Pending JPH0991446A (en) 1995-09-27 1995-09-27 Graphics generating device

Country Status (1)

Country Link
JP (1) JPH0991446A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006114013A (en) * 2004-10-18 2006-04-27 Microsoft Corp System and method for automatic label placement on chart

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6265080A (en) * 1985-09-17 1987-03-24 カシオ計算機株式会社 Graph display system
JPS62267858A (en) * 1986-05-15 1987-11-20 Nec Corp Producing and editing device for intra-rectangle character string

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6265080A (en) * 1985-09-17 1987-03-24 カシオ計算機株式会社 Graph display system
JPS62267858A (en) * 1986-05-15 1987-11-20 Nec Corp Producing and editing device for intra-rectangle character string

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006114013A (en) * 2004-10-18 2006-04-27 Microsoft Corp System and method for automatic label placement on chart

Similar Documents

Publication Publication Date Title
US6289361B1 (en) Document display apparatus for displaying a plurality of multimedia documents
US4823303A (en) Display control apparatus for use in composite document processing apparatus
US4831568A (en) Handwritten-image input apparatus
EP0259827A2 (en) Display apparatus
JPH05298289A (en) Word processor
KR890001011A (en) CRT / Plasma Display Controller
EP0361911B1 (en) Word processor with text layout display function
US5010324A (en) Sequential page unit image display device having display control memory
JPH0991446A (en) Graphics generating device
KR970031883A (en) TV screen control method using touch screen
JPH03213367A (en) Multicolor printer
JP2973906B2 (en) Character user interface device
JPH0764524A (en) Image display device
JPH1011044A (en) Character display processing system
JPH05108866A (en) Method and device for processing picture
JPH081549B2 (en) Character processor
JP2001188505A (en) Display device and display control method
JP2005055715A (en) On-screen display device
JPH05303478A (en) Character expanding/contracting system
JPH0527937A (en) Display controller
JPH09325872A (en) Sfc production device
JPH03147058A (en) Document generating device
JPH03239289A (en) Multi-display device
JPS63201820A (en) Picture layout setting system for interactive computer system
JPH0950535A (en) Image data output device

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19980331