KR101915773B1 - Big data chart displaying method and apparatus - Google Patents
Big data chart displaying method and apparatus Download PDFInfo
- Publication number
- KR101915773B1 KR101915773B1 KR1020180023099A KR20180023099A KR101915773B1 KR 101915773 B1 KR101915773 B1 KR 101915773B1 KR 1020180023099 A KR1020180023099 A KR 1020180023099A KR 20180023099 A KR20180023099 A KR 20180023099A KR 101915773 B1 KR101915773 B1 KR 101915773B1
- Authority
- KR
- South Korea
- Prior art keywords
- chart
- data
- display
- chart area
- area
- Prior art date
Links
Images
Classifications
-
- G06F17/30554—
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/248—Presentation of query results
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computational Linguistics (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
Description
본 발명은 차트 표시 방법 및 그 장치에 관한 것으로, 보다 상세하게는 빅 데이터와 같은 매우 많은 양의 데이터를 다양한 크기의 차트로 표시할 수 있는 방법 및 그 장치에 관한 것이다. BACKGROUND OF THE
빅 데이터(big data)는 그 양이 매우 방대하여 기존의 데이터베이스 관리도구로 수집, 저장, 검색, 분석, 시각화 등이 어려운 정형 또는 비정형 데이터 집합을 의미한다. 따라서 빅 데이터를 분석하고 처리하기 위해서는 별도의 도구가 개발되어야 한다.Big data refers to a set of fixed or unstructured data that is difficult to collect, store, search, analyze, and visualize using existing database management tools. Therefore, separate tools must be developed to analyze and process big data.
예를 들어, 수백만 또는 수천만 건에 이르는 빅 데이터를 한 눈에 볼 수 있는 차트를 그리고자 할 경우에 수백만 또는 수천만 건의 데이터를 일일이 화면에 표시하여야 하는데, 이는 일반적인 컴퓨터의 처리 용량을 벗어날 뿐만 아니라 고성능의 서버를 이용한다고 하여도 빅 데이터에 대한 하나의 차트를 그리는데 매우 많은 시간이 걸리므로 현실적으로 어렵다. 더구나 대용량의 데이터에 대한 차트를 그린 후 그 차트를 축소 또는 확대할 때마다 처음부터 차트를 다시 그린다는 것은 거의 불가능하다.For example, if you want to chart millions or tens of millions of big data at a glance, you have to display millions or tens of millions of data on the screen, It is very difficult to draw a single chart for big data because it takes a lot of time. Moreover, it is almost impossible to draw a chart on a large amount of data, and then redraw the chart from the beginning whenever the chart is reduced or enlarged.
본 발명이 이루고자 하는 기술적 과제는, 데이터의 양에 관계없이 전체 데이터를 다양한 크기의 차트로 표시할 수 있는 방법 및 그 장치를 제공하는 데 있다.SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and it is an object of the present invention to provide a method and apparatus for displaying all data on a chart of various sizes regardless of the amount of data.
상기의 기술적 과제를 달성하기 위한, 본 발명의 실시 예에 따른 차트표시방법의 일 예는, 디스플레이장치의 최대해상도에 따라 설정된 기본차트영역을 기준으로 원천 데이터의 각 데이터 요소의 좌표값을 파악하는 단계; 화면에 표시되는 표시차트영역과 상기 기본차트영역 사이의 크기 비율을 파악하는 단계; 및 각 데이터 요소의 좌표값을 상기 크기 비율에 따라 변경하여 상기 표시차트영역에 데이터 요소를 표시하는 단계;를 포함한다.According to another aspect of the present invention, there is provided a method of displaying a chart, the method comprising the steps of: determining a coordinate value of each data element of the source data based on a basic chart area set according to a maximum resolution of the display device step; Determining a size ratio between a display chart area displayed on the screen and the basic chart area; And displaying data elements in the display chart area by changing coordinate values of the data elements according to the size ratio.
상기의 기술적 과제를 달성하기 위한, 본 발명의 실시 예에 따른 차트표시장치의 일 예는, 디스플레이장치의 최대해상도 크기에 따라 설정된 기본차트영역을 기준으로 생성한 각 데이터 요소의 픽셀 좌표값을 포함하는 차트 데이터를 저장하는 데이터베이스; 차트를 표시할 화면상의 표시차트영역과 상기 기본차트영역 사이의 크기 비율을 기초로 차트 데이터에 포함된 각 데이터 요소에 대한 표시차트영역에서의 픽셀 좌표값을 파악하는 좌표변형부; 및 상기 표시차트영역에서의 픽셀 좌표값을 기초로 차트 데이터에 포함된 각 데이터 요소를 상기 표시차트영역에 표시하는 표시부;를 포함한다.According to another aspect of the present invention, there is provided an apparatus for displaying a chart, including a display unit for displaying a plurality of data elements, A database for storing chart data; A coordinate transformation unit for grasping pixel coordinate values in a display chart area for each data element included in the chart data based on a size ratio between a display chart area on the screen for displaying the chart and the basic chart area; And a display unit displaying each data element included in the chart data on the display chart area based on pixel coordinate values in the display chart area.
상기의 기술적 과제를 달성하기 위한, 본 발명의 실시 예에 따른 데이터 기록매체의 일 예는, 복수 개의 데이터 요소를 포함하는 원천 데이터; 디스플레이장치의 최대해상도 크기에 따라 설정된 기본 차트영역의 픽셀과 데이터 요소의 맵핑관계를 포함하는 차트 데이터;를 포함하고, 상기 차트 데이터는 적어도 둘 이상의 데이터 요소가 중첩되는 중첩 픽셀에 대해 기 설정된 기준에 따라 적어도 둘 이상의 데이터 요소 중 어느 하나의 데이터 요소와의 맵핑관계를 포함한다.According to an aspect of the present invention, there is provided a data recording medium including: source data including a plurality of data elements; Chart data including a mapping relationship of pixels and data elements in a basic chart area set according to a maximum resolution size of a display device, the chart data including at least two data elements, And a mapping relationship with at least one of the at least two data elements.
본 발명에 따르면, 빅 데이터와 같은 매우 많은 양의 데이터를 차트로 시각화할 수 있을 뿐만 아니라 차트를 다양한 크기로 표시 가능하다. 또한, 한 화면에 복수의 차트를 다양한 크기로 동시에 표시할 수 있다. 차트를 표시하고 크기를 변형하는데 소요되는 시간을 매우 단축할 수 있을 뿐만 아니라, 차트의 데이터 용량이 작으므로 이를 다른 사용자와 용이하게 공유하거나 전송할 수 있다.According to the present invention, not only a very large amount of data such as big data can be visualized on a chart, but also a chart can be displayed in various sizes. In addition, a plurality of charts can be simultaneously displayed in various sizes on one screen. Not only does it greatly reduce the amount of time it takes to display and resize charts, but the data capacity of charts is small, so you can easily share or transfer them to other users.
도 1은 본 발명의 실시 예에 따른 차트의 확대 및 축소 개념을 도시한 도면,
도 2는 본 발명의 실시 예에 따른 차트영역을 이미지로 변환하여 확대하거나 축소하는 경우에 범례 크기 변화를 도시한 도면,
도 3은 본 발명의 실시 예에 따른 차트표시장치의 구성의 일 예를 도시한 도면,
도 4는 본 발명의 실시 예에 따른 기본차트영역의 개념을 도시한 도면,
도 5는 본 발명의 실시 예에 따른 데이터베이스의 일 예를 도시한 도면,
도 6은 차트 데이터에 포함되는 내용의 일 예를 도시한 도면,
도 7은 본 발명의 실시 예에 따른 데이터 요소의 좌표 식별값 생성 방법의 일 예를 도시한 도면,
도 8은 본 발명의 실시 예에 따른 차트 데이터의 계층적 구조의 일 예를 도시한 도면,
도 9는 본 발명의 실시 예에 따른 좌표 변환 방법의 일 예를 도시한 도면,
도 10은 본 발명의 실시 예에 따라 차트영역의 크기를 변화할 때 레이블을 변경하는 방법의 일 예를 도시한 도면, 그리고,
도 11은 본 발명의 실시 예에 따른 차트 표시 방법의 일 예를 도시한 흐름도이다. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a diagram showing the concept of enlargement and reduction of a chart according to an embodiment of the present invention; Fig.
FIG. 2 is a view showing a change in a leg size when a chart area is converted into an image and enlarged or reduced according to an embodiment of the present invention; FIG.
3 is a diagram showing an example of a configuration of a chart display device according to an embodiment of the present invention,
4 is a diagram illustrating a concept of a basic chart area according to an embodiment of the present invention;
5 is a diagram illustrating an example of a database according to an embodiment of the present invention;
6 is a view showing an example of contents included in the chart data,
7 is a diagram illustrating an example of a method of generating coordinate identification values of data elements according to an embodiment of the present invention.
8 is a diagram illustrating an example of a hierarchical structure of chart data according to an embodiment of the present invention;
9 is a diagram illustrating an example of a coordinate transformation method according to an embodiment of the present invention.
10 is a diagram illustrating an example of a method of changing a label when a size of a chart area is changed according to an embodiment of the present invention,
11 is a flowchart illustrating an example of a chart display method according to an embodiment of the present invention.
이하에서, 첨부된 도면들을 참조하여 본 발명의 실시 예에 따른 차트표시방법 및 그 장치에 대해 상세히 설명한다.DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, a chart display method and apparatus according to an embodiment of the present invention will be described in detail with reference to the accompanying drawings.
도 1은 본 발명의 실시 예에 따른 차트의 확대 및 축소 개념을 도시한 도면이다.BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a diagram showing the concept of enlargement and reduction of a chart according to an embodiment of the present invention. Fig.
도 1을 참조하면, 복수 개의 데이터 요소를 포함하는 원천 데이터(raw data)는 다양한 형태의 차트(예를 들어, 원 차트, 막대 차트, 꺽은선 차트, 산포도 차트(scatter chart), 박스플랏(boxplot), 트리맵(treemap) 등)로 디스플레이장치의 화면에 표시될 수 있다. Referring to FIG. 1, raw data including a plurality of data elements may include various types of charts (e.g., a circle chart, a bar chart, a crisscross chart, a scatter chart, a box plot ), A treemap, etc.) can be displayed on the screen of the display device.
차트영역(100,110,120)은 복수 개의 픽셀로 구성되고, 차트영역(100,110,120)이 표시하는 값의 범위에 따라 각 픽셀이 표시하는 값의 범위가 결정된다. 예를 들어, 차트영역(100)이 100 X 100 픽셀로 구성되고, 차트 가로축이 표시하는 값의 범위가 0~10이고, 차트 세로축에 표현하는 값의 범위가 0~20이라고 하자. 이 경우 가로 방향은 픽셀당 최소 0.1(=10/100)의 값을 표현할 수 있고, 세로 방향은 픽셀당 최소 0.2(20/100)의 값을 표현할 수 있다. 차트영역(100)의 좌하측의 꼭짓점을 원점(0,0)이라고 할 때, 데이터 요소의 값이 (2,10)이면, 이 데이터 요소는 차트영역(100) 내 픽셀 좌표값 (20(=2/0.1), 50(=10/0.2))와 맵핑된다. The
디스플레이장치의 화면에 표시된 차트영역(100)을 축소하거나 확대하는 경우에 차트영역(100)에 표시된 데이터 요소의 좌표가 변경되므로, 차트영역의 크기가 변경될 때마다 원천 데이터의 데이터 요소를 읽어 변경된 차트영역(110,120)에 데이터 요소를 표시하는 과정을 수행할 수 있다.Since the coordinates of the data elements displayed in the
그러나 빅 데이터와 같이 원천 데이터의 데이터 요소 개수가 수백 만개 이상이라면, 수백만 개의 데이터 요소를 차트영역의 크기가 변경될 때마다 매번 다시 읽어 그린다는 것은 현실적으로 거의 불가능하다. 더구나 한 화면에 다수 개의 차트를 표시하고, 다수 개의 차트영역을 사용자가 원하는 크기로 빈번하게 조정한다면 이는 컴퓨터의 처리용량을 벗어날 것이다. However, if the number of data elements in the source data is more than several million, such as Big Data, it is practically impossible to re-read millions of data elements every time the chart area size changes. Furthermore, if multiple charts are displayed on one screen and the user frequently adjusts the number of chart areas to the desired size, this will deviate from the processing capacity of the computer.
이에 다른 방법으로 화면에 표시된 차트영역(100,110,120)을 이미지(예를 들어, 비트맵 이미지, GIF 이미지, PNG 이미지, PDF 이미지 등)로 저장하고 이미지를 축소하거나 확대하는 방법이다. 이 경우 차트를 처음 생성할 때 수백만 개의 데이터 요소를 읽어 표시하는데 상당한 시간이 소요되나, 차트영역(100,110,120)를 축소 또는 확대할 때에는 원천 데이터를 다시 읽지 않는 장점이 있다. 그러나 차트를 이미지로 만들어 축소하거나 확대하는 경우에 도 2와 같이 데이터 요소의 일부가 보이지 않거나 흐릿하게 보이는 등 차트가 보여주는 정보가 왜곡 또는 변형되는 문제점이 존재한다.Alternatively, the
따라서 본 실시 예는 차트영역(100,110,120)의 크기가 축소되거나 확대되어도 원천 데이터를 매번 다시 읽을 필요가 없을 뿐만 아니라 데이터 요소를 표시하는 범례(102,112,122)의 크기를 일정 크기로 유지하여 차트가 왜곡되거나 변형되는 문제점을 해결한다. 예를 들어, 본 실시 예에서 데이터 요소를 표시하는 사각형 형태의 범례(102,112,122)는 차트영역(100,110,120)이 축소되거나 확대되어도 그 크기를 일정 크기로 유지할 수 있다. Therefore, in this embodiment, even if the size of the
도 2는 본 발명의 실시 예에 따른 차트영역을 이미지로 변환하여 확대하거나 축소하는 경우에 범례 크기 변화를 도시한 도면이다. 2 is a diagram showing a change in the size of a legend when a chart area is converted into an image and enlarged or reduced according to an embodiment of the present invention.
도 2를 참조하면, 3X3 픽셀의 사각형 모양의 범례(200)로 데이터 요소를 차트영역에 표시한다. 차트영역의 이미지를 축소한다면, 이미지에 포함된 범례의 크기 또한 차트영역의 축소비율과 동일한 비율로 축소한다. 예를 들어, 가로축 및 세로축이 각각 1/3만큼 축소한다면 3X3 크기의 범례(200)는 1X1 크기의 범례(210)로 축소하며, 이미지를 더 작게 축소한다면 해당 데이터 요소를 나타내는 범례(210)는 화면에 보이지 않을 수 있다. Referring to FIG. 2, a data element is displayed in a chart area with a
반대로 차트영역의 이미지를 확대한다면, 이미지에 포함된 범례(200)의 크기는 차트영역의 확대 비율과 동일한 비율로 확대한다. 이때 확대되는 범례(220)의 모양이나 크기가 흐릿해지거나 왜곡 또는 변형될 수 있다. Conversely, if the image of the chart area is enlarged, the size of the
일 예로, 차트영역의 이미지를 가로축으로 1/3 축소하고 세로축으로 4배 확대한다면, 3X3의 범례는 가로축으로 1/3 축소되고 세로축으로 4배 확대되어 12X1의 직선 형태로 변경되므로 차트를 전혀 다른 모습으로 왜곡하는 문제점이 발생한다.For example, if the image of the chart area is reduced by 1/3 on the horizontal axis and enlarged by 4 times on the vertical axis, the legend of 3X3 is reduced by 1/3 on the horizontal axis and enlarged by 4 times on the vertical axis to be changed into a linear form of 12X1. A problem arises that distortion occurs.
일 예로, 차트영역의 이미지를 가로축과 세로축의 비율을 달리하여 축소하거나 확대하면, 사각형 모양의 범례(200)가 직사각형 등으로 찌그러져 차트의 내용을 왜곡하는 문제점이 발생한다.For example, if the image of the chart area is reduced or enlarged by varying the ratio of the horizontal axis to the vertical axis, the
다른 예로, 차트영역이 100 X 100 픽셀로 구성되고, 가로축 및 세로축의 범위가 모두 0~10이라고 하자. 이 경우 가로 방향은 픽셀당 최소 0.1(=10/100)의 값을 표현할 수 있고, 세로 방향 또한 픽셀당 최소 0.1(10/100)의 값을 표현할 수 있다. 두 데이터 요소의 값이 각각 (2.1,10.02), (1.98,9.99)이면, 두 데이터 요소의 값은 픽셀이 표시할 수 있는 최소값의 정수배(즉, 0.1의 정수배)로 변환되어 차트영역에서 동일한 픽셀 좌표값(20, 10)에 표시된다. 즉, 차트영역에 하나의 데이터 요소만 표시된다. 위와 동일한 예에서 차트영역이 1000 X 1000 픽셀로 구성된다면 가로 방향 및 세로 방향의 픽셀당 표시할 수 있는 최소값은 각각 0.01이 되고, 위 두 데이터 요소의 값이 표시되는 픽셀 좌표값은 각각 (210, 1002), (198, 999)으로 서로 다르므로, 두 데이터 요소가 모두 표시된다. As another example, assume that the chart area is composed of 100 X 100 pixels, and the horizontal and vertical axes are all in the range of 0 to 10. In this case, the horizontal direction can express a minimum value of 0.1 (= 10/100) per pixel, and the vertical direction can also express a minimum value of 0.1 (10/100) per pixel. If the values of the two data elements are (2.1,10.02), (1.98,9.99), then the values of the two data elements are converted to integer multiples of the minimum value the pixel can display (i.e., an integral multiple of 0.1) Is displayed on the coordinate values (20, 10). That is, only one data element is displayed in the chart area. In the above example, if the chart area is composed of 1000
따라서 100 X 100 픽셀로 구성된 차트영역을 이미지로 만들어 1000 X 1000 픽셀의 크기로 확대한다면, 확대된 이미지에는 그대로 하나의 데이터 요소만이 표시될 뿐 두 데이터 요소가 서로 다른 좌표에 표시되지 않는 문제점이 있다. 본 실시 예는 100 X 100 픽셀로 구성된 차트영역을 1000 X 1000 픽셀의 크기로 확대하는 경우에 두 데이터 요소가 서로 다른 위치에 정상적으로 표시될 수 있도록 한다.Therefore, if you make an image of a chart area composed of 100 X 100 pixels as an image and enlarge it to 1000 X 1000 pixels, the enlarged image will show only one data element as it is, have. The present embodiment allows two data elements to be normally displayed at different positions when enlarging a chart area composed of 100 X 100 pixels to a size of 1000 X 1000 pixels.
도 3은 본 발명의 실시 예에 따른 차트표시장치의 구성의 일 예를 도시한 도면이다.3 is a diagram showing an example of a configuration of a chart display device according to an embodiment of the present invention.
도 3을 참조하면, 컴퓨터나 서버 등으로 구현되는 차트표시장치(300)는 데이터베이스(310), 화면제어부(320), 좌표변형부(330) 및 표시부(340)를 포함한다. 3, a
데이터베이스(310)는 원천 데이터와 차트 데이터를 포함한다. 원천 데이터는 수백만 건 이상의 데이터 요소를 포함하는 빅 데이터일 수 있다. 차트 데이터는 디스플레이장치(350)의 최대해상도 크기를 가지는 기본차트영역에 차트를 표시한다고 할 때 원천 데이터의 각 데이터 요소가 맵핑되는 픽셀 좌표값을 포함한다. 데이터 요소와 픽셀 좌표값의 맵핑 방법의 일 예가 도 7에 도시되어 있다. 최대해상도는 도 4와 같이 디스플레이장치(350)의 화면(400)을 구성하는 최대 픽셀 개수에 의해 결정될 수 있다. 범례의 종류에 따라 각 층(layer)으로 구분되는 차트 데이터를 구성될 수 있으며, 이에 대한 예가 도 8에 도시되어 있다. The
좌표변형부(330)는 디스플레이장치(350)의 화면에서 차트가 표시되는 표시차트영역과 기본차트영역 사이의 크기 비율을 파악하고, 그 크기 비율에 따라 데이터 요소의 픽셀 좌표값을 변형한 값을 파악한다. 예를 들어, 차트 데이터에 저장된 데이터 요소의 픽셀 좌표값이 (2,10)이고, 표시차트영역이 기본차트영역 대비 1/2로 축소되었다면, 좌표변형부(330)는 픽셀 좌표값 (2,10)을 1/2만큼 축소시킨 변형 좌표값 (1,5)을 생성한다. 여기서 좌표값은 각 차트영역(예를 들어, 기본차트영역 또는 표시차트영역)의 특정 위치(예를 들어, 차트 영역의 사각형 꼭짓점 중 어느 하나, 또는 사각형 영역의 가운데 등)를 원점으로 하는 좌표계의 값일 수 있다. 좌표를 변형하는 일 예가 도 9에 도시되어 있다. The coordinate transforming
일 실시 예로, 좌표변형부(330)는 표시차트영역의 크기가 변화하는 경우에 범례의 크기, 레이블의 크기나 표시간격, 또는 문자나 숫자의 크기를 이전과 동일하게 유지하거나 표시차트영역과 기본차트영역 사이의 크기 비율에 따라 변경할 수 있다. 이에 대한 예가 도 10에 도시되어 있다. In one embodiment, the coordinate
표시부(340)는 변형 좌표값을 이용하여 원천 데이터의 데이터 요소를 표시차트영역에 표시한다. 표시부(340)는 데이터 요소를 표시할 때 하나의 점으로 표시하거나 기 정의된 다양한 범례(선, 막대, 도형, 무늬, 채도, 색상, 기호, 숫자, 문자 등)로 표시할 수 있다. 예를 들어, 표시차트영역의 픽셀 좌표값 (1,5)에 데이터 요소를 표시할 때 3X3 크기의 사각형 모양의 범례로 표시할 수 있다.The
화면제어부(320)는 사용자의 제어명령에 따라 표시차트영역의 크기를 변경하거나 표시차트영역을 화면 내에서 이동한다. 예를 들어, 사용자는 마우스나 키보드 또는 터치 스크린 등을 통해 표시차트영역의 가로 또는 세로의 크기를 조절할 수 있다. The
도 4는 본 발명의 실시 예에 따른 기본차트영역의 개념을 도시한 도면이다.4 is a diagram illustrating a concept of a basic chart area according to an embodiment of the present invention.
도 4를 참조하면, 기본차트영역은 디스플레이장치(350)의 화면(400)을 구성하는 최대 픽셀 수에 따라 설정되는 영역을 의미한다. 디스플레이장치(350)의 종류에 따라 최대해상도가 서로 상이할 수 있다. 그러나 일반적으로 사용자가 사용하는 디스플레이장치의 최대해상도는 일정 범위 내에 존재한다. Referring to FIG. 4, the basic chart area means an area set according to the maximum number of pixels constituting the
기본차트영역은 시중의 모든 디스플레이장치의 최대해상도 중 가장 큰 최대해상도를 기준으로 설정될 수 있다. 예를 들어, A 디스플레이장치의 최대해상도는 1920 X 1080이고, B 디스플레이장치의 최대해상도는 1290 X 960이며, 차트표시장치가 B 디스플레이장치에 연결되어 있는 경우에, B 디스플레이장치보다 더 큰 최대해상도를 가진 A 디스플레이장치가 존재하므로, 기본차트영역은 A 디스플레이장치의 최대해상도인 1920 X 1080의 크기로 설정할 수 있다. 기본차트영역은 디스플레이장치의 최대해상도와 반드시 일치하여야 하는 것은 아니며, 실시 예에 따라 2000 X 1500, 1900 X 1000 등과 같이 최대해상도를 기준으로 일정 범위 내의 크기로 설정할 수 있다.The basic chart area can be set based on the largest maximum resolution among the maximum resolutions of all the display devices on the market. For example, if the maximum resolution of the A display device is 1920 X 1080, the maximum resolution of the B display device is 1290 X 960, and the chart display device is connected to the B display device, then the maximum resolution , The basic chart area can be set to a size of 1920 x 1080 which is the maximum resolution of the A display device. The basic chart area does not necessarily correspond to the maximum resolution of the display device, and may be set within a certain range based on the maximum resolution such as 2000 X 1500, 1900
기본차트영역의 크기는 사용자에 의해 미리 차트표시장치에 설정될 수 있다. 다른 실시 예로, 차트표시장치는 연결된 디스플레이장치의 최대해상도를 자동으로 파악한 후 기본차트영역을 파악한 최대해상도에 따라 자동으로 설정할 수 있다. The size of the basic chart area can be set by the user in advance on the chart display device. In another embodiment, the chart display device can automatically determine the maximum resolution of the connected display device and automatically set the basic chart area according to the determined maximum resolution.
도 5는 본 발명의 실시 예에 따른 데이터베이스의 일 예를 도시한 도면이고, 도 6은 차트 데이터에 포함되는 내용의 일 예를 도시한 도면이다. FIG. 5 is a diagram illustrating an example of a database according to an embodiment of the present invention, and FIG. 6 is a diagram illustrating an example of contents included in chart data.
도 5 및 도 6을 참조하면, 데이터베이스(310)는 원천 데이터(500)와 차트 데이터(510)를 포함한다. 데이터베이스는 실시 예에 따라 다양하게 변형 가능하며, 이 외의 다양한 정보를 더 포함할 수 있다. Referring to FIGS. 5 and 6, the
차트 데이터(510)는 픽셀 좌표값(600), 데이터 요소 인덱스(610), 범례 정보(620) 등을 포함할 수 있다. 픽셀 좌표값(600)은 기본차트영역을 구성하는 각 픽셀의 좌표값을 의미한다. 데이터 요소 인덱스(610)는 원천 데이터에 포함된 각 데이터 요소를 구분하는 식별값이다. 범례정보(620)는 해당 데이터 요소를 차트영역에 표시할 때 어떤 형태로 표시할지 나타내는 정보이다. 실시 예에 따라 범례정보는 생략될 수 있다. 또 다른 실시 예로, 차트 데이터(510)는 범례의 종류별로 생성될 수 있다. 예를 들어, 도 8과 같이 삼각형 모양의 범례에 대한 제1 층 차트 데이터 및 원형 모양의 범례에 대한 제2 층 차트 데이터와 같이 복수 층의 차트 데이터로 구성될 수 있다. The
디스플레이장치의 화면을 구성하는 픽셀의 좌표는 정수이다. 데이터 요소에 대한 픽셀 좌표값(600)은 정수가 아닐 수 있다. 예를 들어, 기본차트영역의 크기가 1920 X 1080의 픽셀로 구성되고, 차트의 가로축 및 세로축에서 표시하는 값의 범위가 각각 0~2000, 0~1000이라고 하자. 데이터 요소의 값이 (1000, 500)이라고 한다면, 데이터 요소에 대한 기본차트영역의 위치를 소수 셋째 자리까지 표시하면 (1041.666(=1000 * (2000/1920)), 462.962(=500 * (1000/1080))이 된다. The coordinates of the pixels constituting the screen of the display device are integers. The pixel coordinate
따라서 차트표시장치는 데이터 요소에 대한 픽셀 좌표값을 기본차트영역의 각 픽셀의 좌표인 정수 형태로 변환하여 차트 데이터(510)에 저장하거나, 기 설정된 소수점 자리까지의 실수를 그대로 차트 데이터의 픽셀 좌표값(600)에 저장할 수 있다. 차트 데이터(510)의 픽셀 좌표값(600)이 소수점 이하의 값을 포함하는 실수 형태인 경우에, 차트표시장치는 화면에 실제 표시할 때 픽셀 좌표값을 정수로 만들어 해당 픽셀의 위치에 표시한다. 즉, 앞의 예에서 데이터 요소의 픽셀 좌표값이 (1041.666, 462.962)인 경우에, 차트표시장치는 소수점 이하를 반올림하여 (1042, 463)의 픽셀 좌표에 데이터 요소를 표시할 수 있다. Therefore, the chart display device converts the pixel coordinate value of the data element into the integer form, which is the coordinate of each pixel of the basic chart area, and stores it in the
표시차트영역에 차트를 표시하는 경우에, 차트 데이터에 포함된 데이터 요소의 픽셀 좌표값은 표시차트영역과 기본차트영역의 크기 비율에 따라 변경된다. 차트 데이터(510)의 픽셀 좌표값(실수 또는 정수)(600)에 크기 비율을 곱하여 구한 표시차트영역의 픽셀 좌표값은 실수 또는 정수일 수 있다. 표시차트영역의 픽셀 좌표값이 실수이면, 차트표시장치는 데이터 요소를 표시차트영역에 표시할 때 실수의 좌표값을 정수로 변환하여 해당 픽셀의 위치를 파악한다. Display When displaying a chart in a chart area, the pixel coordinate values of the data elements included in the chart data are changed according to the size ratio of the display chart area and the basic chart area. The pixel coordinate value of the display chart area obtained by multiplying the pixel coordinate value (real number or integer) 600 of the
차트 데이터(510)는 원천 데이터에 포함된 모든 데이터 요소에 대한 픽셀 좌표값을 포함할 수 있다. 원천 데이터가 수백만 개의 데이터 요소를 포함하는 빅 데이터인 경우에, 수백만 개의 데이터 요소에 대한 픽셀 좌표값을 차트 데이터에 저장한 후, 각 데이터 요소의 픽셀 좌표값을 이용하여 수백만 개의 데이터 요소를 일일이 화면에 표시하여 차트를 생성할 수 있다. 그러나 수백만 개의 데이터 요소를 화면에 그리기 위해서는 수백만 번의 그리기 동작이 수행되어야 하므로, 매우 많은 시간이 소요되며 데이터 요소의 개수가 더 많아지거나 복수 개의 차트를 그리는 경우에는 컴퓨터의 처리 용량을 초과하여 실질적으로 차트를 그리는 것이 거의 불가능하다. 이를 해결하는 방법의 일 예가 도 7에 도시되어 있다.The
도 7은 본 발명의 실시 예에 따른 데이터 요소의 좌표 식별값 생성 방법의 일 예를 도시한 도면이다.FIG. 7 is a diagram illustrating an example of a method of generating coordinate identification values of data elements according to an embodiment of the present invention.
도 7을 참조하면, 원천 데이터의 데이터 요소들 중에 기본차트영역에서 동일한 좌표에 표시되는 둘 이상의 데이터 요소가 존재할 수 있다. 예를 들어, 제l 데이터 요소의 픽셀 좌표값(710)과 제m 데이터 요소의 픽셀 좌표값(720)이 모두 (xm,ym)으로 동일하고, 제l 데이터 요소의 표시순서가 제m 데이터 요소의 표시순서보다 늦다면 사용자 눈에 보이는 데이터 요소는 제l 데이터 요소이다. 따라서 차트표시장치는 두 데이터 요소에 대한 그리기 동작을 모두 수행할 필요없이 제l 데이터 요소에 대한 그리기 동작만을 수행하면 된다. 이를 위해 차트 데이터는 픽셀 좌표값 (xm,ym)(700)과 제1 데이터 요소 인덱스를 맵핑하여 저장한다. Referring to FIG. 7, among the data elements of the source data, there may be two or more data elements displayed in the same coordinates in the basic chart area. For example, if the pixel coordinate
이와 같이, 적어도 둘 이상의 데이터 요소가 중첩되는 중첩 픽셀에 대해 기 설정된 기준(표시순서 등)에 따라 어느 하나의 데이터 요소를 결정하여 중첩 픽셀과 맵핑하여 저장하면, 하나의 픽셀에는 하나의 데이터 요소만이 맵핑된다. 원천 데이터의 데이터 요소의 개수가 수천백만 개라고 하여도, 기본차트영역의 크기가 1920 X 1080이라면, 차트표시장치는 기본차트영역을 구성하는 최대 픽셀 개수 이하의 그리기 동작만을 수행하면 된다. 다시 말해, 차트표시장치는 기본차트영역 또는 표시차트영역 내 픽셀과 데이터 요소 사이의 일대일 맵핑관계를 이용하여 각 픽셀에 대해 한 번의 그리기를 수행하여 차트를 표시할 수 있다.As described above, if any one data element is determined according to a preset reference (display order or the like) for an overlapping pixel in which at least two data elements are overlapped and stored by mapping with the overlapping pixel, only one data element Are mapped. Even if the number of data elements in the source data is in the millions of millions, if the size of the basic chart area is 1920 X 1080, the chart display device needs only to perform the drawing operation below the maximum number of pixels constituting the basic chart area. In other words, the chart display device can display the chart by performing one drawing for each pixel using the one-to-one mapping relationship between the pixels and the data elements in the basic chart area or display chart area.
표시차트영역이 기본차트영역보다 작은 경우에, 복수의 데이터 요소가 어느 하나의 픽셀에 중복될 수 있다. 이 경우 또한 표시차트영역의 각 픽셀과 데이터 요소 사이의 맵핑관계를 도 7에 도시된 방법으로 파악하여, 한 픽셀에 대해 한 범의 그리기를 수행하여 차트를 표시할 수 있다. When the display chart area is smaller than the basic chart area, a plurality of data elements can be overlapped with any one of the pixels. In this case, the mapping relationship between each pixel of the display chart area and the data element can be grasped by the method shown in FIG. 7, and a chart can be displayed by performing one drawing on one pixel.
도 8은 본 발명의 실시 예에 따른 차트 데이터의 계층적 구조의 일 예를 도시한 도면이다.8 is a diagram illustrating an example of a hierarchical structure of chart data according to an embodiment of the present invention.
도 8을 참조하면, 원천 데이터의 데이터 요소는 다양한 범례로 표시될 수 있다. 예를 들어, 일부 데이터는 삼각형 모양의 범례로 표시되고, 나머지 데이터는 원형 모양의 범례로 표시될 수 있다. Referring to FIG. 8, the data elements of the source data can be displayed in various legends. For example, some data may be displayed as a triangle shape legend, and the remaining data may be displayed as a legend of a circular shape.
이와 같이 서로 다른 모양의 범례로 표시되는 데이터 요소가 존재하는 경우에, 차트표시장치는 각 범례를 서로 다른 층으로 구분하여 데이터 요소의 좌표값을 파악한다. 예를 들어, 차트표시장치는 삼각형 모양의 범례로 표시되는 제1 층(800)의 데이터 요소들에 대한 제1층 차트 데이터와 원형 모양의 범례로 표시되는 제2 층(810)의 데이터 요소들에 대한 제2층 차트 데이터를 생성한다.When there are data elements displayed as legends of different shapes, the chart display device divides each legend into different layers and grasps the coordinate values of the data elements. For example, the chart display may include first layer chart data for the data elements of the
차트표시장치는 제1층의 차트 데이터와 제2층 차트 데이터를 기 설정된 순서에 따라 순차적으로 차트영역(기본차트영역 또는 표시차트영역)에 표시하여 차트를 생성한다. 예를 들어, 삼각형 모양의 범례가 원형 모양의 범례보다 먼저 표시된다면, 차트표시장치는 삼각형 모양의 범례에 대한 제1층 차트 데이터를 이용하여 데이터 요소를 표시한 후 원형 모양의 범례에 대한 제2층 차트 데이터를 이용하여 데이터 요소를 표시한다. The chart display device sequentially displays the chart data of the first layer and the second layer chart data in a predetermined order in a chart area (a basic chart area or a display chart area) to generate a chart. For example, if the triangle-shaped legend is displayed before the legend of the circular shape, the chart display device displays the data element using the first layer chart data for the triangle-shaped legend, Data elements are displayed using layer chart data.
복수의 층으로 구성된 차트 데이터를 표시차트영역에 표시하는 경우에, 차트표시장치는 각 층(800,810)별로 데이터 요소의 픽셀 좌표값을 표시차트영역과 기본차트영역의 크기 비율에 따라 변형하여 표시차트영역의 픽셀 좌표값을 파악하고, 각 층의 표시순서에 따라 각 층의 데이터 요소를 표시차트영역에 표시한다.When chart data composed of a plurality of layers is displayed in the display chart area, the chart display device transforms pixel coordinate values of data elements for each layer (800, 810) according to the size ratio of the display chart area and the basic chart area, The pixel coordinate values of the area are grasped and the data elements of each layer are displayed in the display chart area according to the display order of each layer.
다른 실시 예로, 범례의 모양은 동일하나, 색상이나 무늬 등이 다른 경우에는 하나의 층으로 구성된 차트 데이터를 생성할 수 있다. 이 경우, 차트표시장치는 차트 데이터에 포함된 범례정보를 이용하여 데이터 요소를 표시할 수 있다. In another embodiment, the shapes of the legends are the same, but when the colors, patterns, and the like are different, chart data composed of one layer can be generated. In this case, the chart display device can display the data elements using the legend information included in the chart data.
도 9는 본 발명의 실시 예에 따른 좌표 변환 방법의 일 예를 도시한 도면이다.9 is a diagram illustrating an example of a coordinate transformation method according to an embodiment of the present invention.
도 9를 참조하면, 가로축 및 세로축의 픽셀 개수가 각각 X 및 Y 개의 기본차트영역(900)에 제1 데이터 요소(902) 및 제2 데이터 요소(904)가 픽셀 좌표 (x1, y1), (x1, y2)에 각각 표시되어 있다. Referring to FIG. 9, a
표시차트영역(910)에 데이터 요소를 표시하는 경우, 제1 데이터 요소(902) 및 제2 데이터 요소(904)의 픽셀 좌표값은 표시차트영역(910)과 기본차트영역(900)의 크기 비율에 따라 변경된다. 예를 들어, 표시차트영역(910)의 가로축 및 세로축의 픽셀 개수가 각각 A1 및 B1 개라면, 가로축은 A1/X 크기 비율로 축소되고, 세로축은 B1/Y 크기 비율로 축소된다. 따라서 표시차트영역(910)에 표시되는 데이터 요소(912)의 각 픽셀 좌표값은 (x1* (A1/X)), y1*(B1/Y)), (x1* (A1/X)), y2*(B1/Y))가 된다. 이때 y1*(B1/Y) 및 y2*(B1/Y)의 두 값의 차이가 픽셀이 표시하는 값의 최소 범위보다 작은 경우에 두 값은 모두 동일한 픽셀 좌표 (a1, b1)에 표시될 수 있다. 즉, 표시차트영역(910)에 두 데이터 요소(902,904)가 하나의 데이터 요소(912)로 표시된다.The pixel coordinate values of the
표시차트영역(910)을 확대하는 경우, 차트표시장치는 단순히 표시차트영역(910)의 이미지를 확대하는 것이 아니라, 기본차트영역(900)과 확대된 표시차트영역(920)의 크기 비율을 파악한 후 기본차트영역(900)의 각 데이터 요소(902,904)의 픽셀 좌표값을 크기 비율에 따라 변경하여 표시차트영역(920)의 픽셀 좌표값을 파악한다. 즉 두 데이터 요소(922,924)의 각 픽셀 좌표값은 (x1* (A2/X)), y1*(B2/Y)), (x1* (A2/X)), y2*(B2/Y))가 된다. y1*(B2/Y) 및 y2*(B2/Y)의 값이 서로 다른 픽셀 좌표를 나타내는 경우에, 확대된 표시차트영역(920)에는 두 데이터 요소(922,924)가 각각 (a2, b2), (a2, b3)에 표시된다. 따라서 데이터 요소의 값이 차트표시장치의 축소나 확대와 관계없이 항상 정확하게 표시될 수 있다.When the
도 10은 본 발명의 실시 예에 따라 차트영역의 크기를 변화할 때 레이블을 변경하는 방법의 일 예를 도시한 도면이다.10 is a diagram illustrating an example of a method of changing a label when a size of a chart area is changed according to an embodiment of the present invention.
도 10을 참조하면, 표시차트영역(1050)의 축소나 확대에 따라 차트에 표시되는 각종 레이블(label)이나 범례, 숫자나 문자 등의 크기 등을 일정하게 유지하거나 표시차트영역(1050)과 기본차트영역(100)의 크기 비율에 따라 변경할 수 있다.10, various labels, legends, sizes of numbers, characters, and the like displayed on the chart are kept constant in accordance with the reduction or enlargement of the
예를 들어, 기본차트영역(1000)이 삼각형 모양의 범례(1020)와 가로축 및 세로축에 각각 0~10의 레이블(1010)을 표시한다. 차트를 이미지로 만들어 축소한다면 범례(1020)와 레이블(1010) 등이 함께 축소되어 범례와 레이블이 화면에 잘 보이지 않을 수 있다. For example, the
본 실시 예에 따르면, 표시차트영역(1050)을 축소하는 경우에, 표시차트영역(1050)의 범례(1070)나 레이블(1060)을 기본차트영역(1000)의 범례(1020)나 레이블(1020)의 크기와 동일하게 유지하거나 표시차트영역(1050)과 기본차트영역(1010)의 크기 비율에 따라 축소하되 기 설정된 크기 이하가 되지 않도록 유지할 수 있다. 또한, 표시차트영역(1050)의 크기가 작아지는 경우에 0~10까지의 레이블을 모두 표시하기 어려울 수 있으므로, 차트표시장치는 0~10까지의 레이블을 각 레이블을 크기와 표시차트영역에서 레이블을 표시하는 영역의 크기를 고려하여 레이블 표시영역에 표시될 수 있는 레이블의 개수 등을 파악한 후 레이블(1060)을 일정 간격으로 표시할 수 있다. The
다른 실시 예로, 표시차트영역을 확대하는 경우에, 표시차트영역의 범례나 레이블을 기본차트영역의 레이블 크기와 동일하게 유지하거나 표시차트영역과 기본차트영역의 크기 비율에 따라 확대하되 기 설정된 크기 이상이 되지 않도록 유지할 수 있다. 또한, 표시차트영역의 크기가 확대되는 경우에 앞서 든 레이블의 축소와 반대로 레이블의 전체를 레이블 표시 영역에 표시할 수 있다.In another embodiment, when the display chart area is enlarged, the legend or label of the display chart area is kept equal to the label size of the basic chart area or enlarged according to the size ratio of the display chart area and the basic chart area, Can be maintained. In addition, when the size of the display chart area is enlarged, the entire label can be displayed in the label display area as opposed to the reduction of the label.
도 11은 본 발명의 실시 예에 따른 차트 표시 방법의 일 예를 도시한 흐름도이다. 11 is a flowchart illustrating an example of a chart display method according to an embodiment of the present invention.
도 11을 참조하면, 차트표시장치는 디스플레이장치의 최대해상도에 따라 설정된 기본차트영역을 기준으로 원천 데이터의 각 데이터 요소의 좌표값을 파악한다(S1100). 차트표시장치는 차트영역(기본차트영역 또는 표시차트영역)에 차트를 표시할 때 각 픽셀당 한 번의 그리기로 차트를 표시할 수 있도록, 적어도 둘 이상의 데이터 요소가 중첩되는 중첩 픽셀에 대해 기 설정된 기준에 따라 어느 하나의 데이터 요소를 결정하여 중첩 픽셀과 맵핑할 수 있다. Referring to FIG. 11, the chart display device grasps the coordinate values of the respective data elements of the source data based on the basic chart area set according to the maximum resolution of the display device (S1100). When a chart display device displays a chart in the chart area (the default chart area or the display chart area), the default criteria for nested pixels where at least two data elements overlap is displayed so that the chart can be displayed with one drawing per pixel And can map any one of the data elements to the overlapping pixel.
차트표시장치는 화면에 표시되는 표시 차트영역과 상기 기본차트영역 사이의 크기 비율을 파악하고(S1110), 각 데이터 요소의 좌표값을 크기 비율에 따라 변경하여 표시차트영역에 차트를 표시한다(S1120).The chart display device grasps the size ratio between the display chart area displayed on the screen and the basic chart area (S1110), changes the coordinate value of each data element according to the size ratio, and displays the chart on the display chart area (S1120 ).
일 예로, 차트표시장치는 원천 데이터의 각 데이터 요소의 범례 모양별로 서로 다른 층으로 구분되는 데이터 요소의 좌표값을 파악할 수 있다. 이 경우에 차트표시장치는 크기 비율을 파악하는 단계(S1110) 및 표시 차트 영역에 차트를 표시하는 단계(S1120)를 각 층별로 수행할 수 있다. For example, the chart display device can grasp the coordinate values of data elements classified into different layers according to the legend shape of each data element of the source data. In this case, the chart display device can perform step S1110 of grasping the size ratio and step S1120 of displaying a chart on the display chart area for each layer.
다른 예로, 차트표시장치는 표시차트영역에 표시되는 범례의 크기, 레이블의 크기나 표시간격, 또는 문자나 숫자의 크기를 일정하게 유지하거나, 표시차트영역과 기본차트영역의 크기 비율에 따라 변경할 수 있다. As another example, the chart display can change the size of the legend displayed in the display chart area, the size or spacing of the label, or the size of letters or numbers, or the size of the display chart area and the default chart area have.
본 발명은 또한 컴퓨터로 읽을 수 있는 기록매체에 컴퓨터가 읽을 수 있는 코드로서 구현하는 것이 가능하다. 컴퓨터가 읽을 수 있는 기록매체는 컴퓨터 시스템에 의하여 읽혀질 수 있는 데이터가 저장되는 모든 종류의 기록장치를 포함한다. 컴퓨터가 읽을 수 있는 기록매체의 예로는 ROM, RAM, CD-ROM, 자기 테이프, 플로피디스크, 광데이터 저장장치 등이 있다. 또한 컴퓨터가 읽을 수 있는 기록매체는 네트워크로 연결된 컴퓨터 시스템에 분산되어 분산방식으로 컴퓨터가 읽을 수 있는 코드가 저장되고 실행될 수 있다.The present invention can also be embodied as computer-readable codes on a computer-readable recording medium. A computer-readable recording medium includes all kinds of recording apparatuses in which data that can be read by a computer system is stored. Examples of the computer-readable recording medium include ROM, RAM, CD-ROM, magnetic tape, floppy disk, optical data storage, and the like. The computer-readable recording medium may also be distributed over a networked computer system so that computer readable code can be stored and executed in a distributed manner.
이제까지 본 발명에 대하여 그 바람직한 실시예들을 중심으로 살펴보았다. 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자는 본 발명이 본 발명의 본질적인 특성에서 벗어나지 않는 범위에서 변형된 형태로 구현될 수 있음을 이해할 수 있을 것이다. 그러므로 개시된 실시예들은 한정적인 관점이 아니라 설명적인 관점에서 고려되어야 한다. 본 발명의 범위는 전술한 설명이 아니라 특허청구범위에 나타나 있으며, 그와 동등한 범위 내에 있는 모든 차이점은 본 발명에 포함된 것으로 해석되어야 할 것이다.The present invention has been described with reference to the preferred embodiments. It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims. Therefore, the disclosed embodiments should be considered in an illustrative rather than a restrictive sense. The scope of the present invention is defined by the appended claims rather than by the foregoing description, and all differences within the scope of equivalents thereof should be construed as being included in the present invention.
Claims (12)
디스플레이장치의 최대해상도에 따라 설정된 기본차트영역을 기준으로 원천 데이터의 각 데이터 요소의 좌표값을 파악하는 단계;
화면에 표시되는 표시차트영역과 상기 기본차트영역 사이의 크기 비율을 파악하는 단계; 및
상기 기본차트영역의 각 좌표값에 맵핑되는 데이터 요소의 좌표값을 상기 크기 비율에 따라 변경하고, 상기 기본차트영역의 각 좌표값에 맵핑되는 데이터 요소를 상기 표시차트영역에 표시하는 단계;를 포함하고,
상기 표시차트영역은 사용자에 의해 축소 또는 확대되는 영역이고,
상기 기본차트영역은 디스플레이장치의 화면을 구성하는 최대 픽셀 수에 따라 크기가 결정되는 영역이고, 상기 기본차트영역의 각 좌표값은 최대 하나의 데이터 요소와 맵핑되고,
상기 표시차트영역의 축소 또는 확대시마다 상기 기본차트영역을 기준으로 데이터 요소의 좌표값을 기준으로 변경함에 따라, 제1 크기의 표시차트영역에서 동일 좌표값을 가지는 제1 데이터 요소와 제2 데이터 요소는 일정 이상 확대된 제2 크기의 표시차트영역에서 서로 다른 좌표값을 가지는 것을 특징으로 하는 차트표시방법.A chart display method of big data performed by a chart display device,
Determining coordinate values of each data element of the source data based on a basic chart area set according to the maximum resolution of the display device;
Determining a size ratio between a display chart area displayed on the screen and the basic chart area; And
Changing a coordinate value of a data element mapped to each coordinate value of the basic chart area according to the size ratio and displaying a data element mapped to each coordinate value of the basic chart area on the display chart area and,
Wherein the display chart area is an area that is reduced or enlarged by a user,
Wherein the basic chart area is an area whose size is determined according to a maximum number of pixels constituting a screen of a display device, each coordinate value of the basic chart area is mapped with a maximum of one data element,
The first and second data elements having the same coordinate value in the display chart area of the first size and the second data element having the same coordinate value in the display chart area of the first size are changed on the basis of the coordinate values of the data elements on the basis of the basic chart area, Are different from each other in a display chart area of a second size enlarged by a predetermined amount or more.
상기 원천 데이터의 각 데이터 요소를 상기 기본차트영역 내 각 픽셀에 맵핑할 때 적어도 둘 이상의 데이터 요소가 중첩되는 중첩 픽셀에 대해 기 설정된 기준에 따라 어느 하나의 데이터 요소를 결정하여 중첩 픽셀과 맵핑하는 단계;를 포함하고,
상기 기본차트영역 내 각 픽셀은 하나의 데이터 요소와 맵핑되는 것을 특징으로 하는 차트표시방법.The method of claim 1, wherein the step of determining the coordinate value comprises:
Determining one data element according to a preset reference for the superposed pixel in which at least two data elements overlap when mapping each data element of the source data to each pixel in the base chart area and mapping the data element to the superposed pixel Lt; / RTI >
Wherein each pixel in the basic chart area is mapped to one data element.
상기 기본차트영역 또는 상기 표시차트영역 내 픽셀과 데이터 요소 사이의 일대일 맵핑관계를 이용하여 각 픽셀에 대해 한 번의 그리기를 수행하여 차트를 표시하는 단계;를 포함하는 것을 특징으로 하는 차트표시방법.The method according to claim 2, wherein the step of displaying on the display chart area comprises:
And displaying the chart by performing one drawing for each pixel using the one-to-one mapping relationship between the basic chart area or the pixels in the display chart area and the data elements.
상기 좌표값을 파악하는 단계는, 원천 데이터의 각 데이터 요소의 범례 모양별로 서로 다른 층으로 구분하여 데이터 요소의 좌표값을 파악하는 단계;를 포함하고,
상기 크기 비율을 파악하는 단계 및 상기 표시 차트 영역에 표시하는 단계를 각 층별로 수행하는 것을 특징으로 하는 차트표시방법.The method according to claim 1,
The step of grasping the coordinate value includes the step of discriminating the coordinates of the data element by dividing the data element into different layers according to the legend shape of each data element of the source data,
The step of determining the size ratio and the step of displaying in the display chart area are performed for each layer.
상기 크기 비율에 따라 상기 표시차트영역에 표시되는 범례의 크기, 레이블의 크기나 표시간격, 또는 문자나 숫자의 크기를 결정하는 단계;를 포함하는 것을 특징으로 하는 차트표시방법.2. The method of claim 1, wherein the determining the size ratio comprises:
Determining a size of the legend, a size of the label, a display interval, or a size of a character or a number displayed on the display chart area according to the size ratio.
차트를 표시할 화면상의 표시차트영역과 상기 기본차트영역 사이의 크기 비율을 기초로 차트 데이터에 포함된 각 데이터 요소에 대한 표시차트영역에서의 픽셀 좌표값을 파악하는 좌표변형부; 및
상기 표시차트영역에서의 픽셀 좌표값을 기초로 차트 데이터에 포함된 각 데이터 요소를 상기 표시차트영역에 표시하는 표시부;를 포함하고,
상기 차트 데이터는 상기 기본차트영역의 각 좌표값과 최대 하나의 데이터 요소의 맵핑관계를 저장하고,
상기 표시차트영역은 사용자에 의해 축소 또는 확대되는 영역이고,
상기 기본차트영역은 디스플레이장치의 화면을 구성하는 최대 픽셀 수에 따라 크기가 결정되는 영역이고, 상기 기본차트영역의 각 좌표값은 최대 하나의 데이터 요소와 맵핑되고,
상기 표시차트영역의 축소 또는 확대시마다 상기 기본차트영역을 기준으로 데이터 요소의 좌표값을 기준으로 변경함에 따라, 제1 크기의 표시차트영역에서 동일 좌표값을 가지는 제1 데이터 요소와 제2 데이터 요소는 일정 이상 확대된 제2 크기의 표시차트영역에서 서로 다른 좌표값을 가지는 것을 특징으로 하는 차트표시장치.A database for storing chart data including pixel coordinate values of each data element generated based on a basic chart area set according to a maximum resolution size of the display device;
A coordinate transformation unit for grasping pixel coordinate values in a display chart area for each data element included in the chart data based on a size ratio between a display chart area on the screen for displaying the chart and the basic chart area; And
And a display unit for displaying each data element included in the chart data on the display chart area based on pixel coordinate values in the display chart area,
Wherein the chart data stores respective coordinate values of the basic chart area and a mapping relation of a maximum of one data element,
Wherein the display chart area is an area that is reduced or enlarged by a user,
Wherein the basic chart area is an area whose size is determined according to a maximum number of pixels constituting a screen of a display device, each coordinate value of the basic chart area is mapped with a maximum of one data element,
The first and second data elements having the same coordinate value in the display chart area of the first size and the second data element having the same coordinate value in the display chart area of the first size are changed on the basis of the coordinate values of the data elements on the basis of the basic chart area, Have different coordinate values in a display chart area of a second size enlarged by a predetermined amount or more.
제어 명령에 따라 표시차트영역의 가로 또는 세로의 크기를 변경하거나 표시 차트영역을 이동하는 화면제어부;를 더 포함하고,
상기 좌표변형부는, 상기 화면제어부에 의한 표시차트영역의 가로 또는 세로의 크기 변경시에 표시차트영역과 상기 기본차트영역과의 크기 비율을 파악하고, 파악된 크기 비율에 따라 크기 변경된 표시차트영역에서의 픽셀 좌표값을 파악하는 것을 특징으로 하는 차트표시장치.The method according to claim 6,
Further comprising a screen control unit for changing a horizontal or vertical size of the display chart area or moving a display chart area according to a control command,
The coordinate transforming unit may determine a size ratio between the display chart area and the basic chart area when the horizontal or vertical size of the display chart area is changed by the screen control unit, And the pixel coordinate value of the pixel of interest.
상기 차트 데이터는, 상기 기본차트영역 내 각 픽셀과 데이터 요소 사이의 맵핑관계를 포함하고,
적어도 둘 이상의 데이터 요소가 중첩되는 중첩 픽셀의 경우 기 설정된 기준에 따라 적어도 둘 이상의 데이터 요소 중 어느 하나의 데이터 요소와 중첩 픽셀이 맵핑되는 것을 특징으로 하는 차트표시장치.The method according to claim 6,
Wherein the chart data includes a mapping relationship between each pixel and a data element in the basic chart area,
Wherein in the case of an overlapping pixel in which at least two data elements overlap, the overlapping pixel is mapped to any one of the at least two data elements according to a preset reference.
상기 기본차트영역 또는 상기 표시차트영역 내 픽셀과 데이터 요소 사이의 일대일 맵핑관계를 이용하여 각 픽셀에 대해 한 번의 그리기를 수행하여 차트를 표시하는 것을 특징으로 하는 차트표시장치.The display device according to claim 6,
Wherein the chart is displayed by performing one drawing for each pixel using the one-to-one mapping relationship between the basic chart area or the pixels in the display chart area and the data elements.
디스플레이장치의 최대해상도 크기에 따라 설정된 기본 차트영역의 픽셀과 데이터 요소의 맵핑관계를 포함하는 차트 데이터;를 포함하고,
상기 기본차트영역은 디스플레이장치의 화면을 구성하는 최대 픽셀 수에 따라 크기가 결정되는 영역이고, 상기 기본차트영역의 각 좌표값은 최대 하나의 데이터 요소와 맵핑되고,
상기 차트 데이터가 표시되는 표시차트영역의 축소 또는 확대시마다 상기 기본차트영역을 기준으로 데이터 요소의 좌표값을 기준으로 변경함에 따라, 제1 크기의 표시차트영역에서 동일 좌표값을 가지는 제1 데이터 요소와 제2 데이터 요소는 일정 이상 확대된 제2 크기의 표시차트영역에서 서로 다른 좌표값을 가지며,
상기 차트 데이터는 적어도 둘 이상의 데이터 요소가 중첩되는 중첩 픽셀에 대해 기 설정된 기준에 따라 적어도 둘 이상의 데이터 요소 중 어느 하나의 데이터 요소와의 맵핑관계를 포함하는, 데이터를 기록한 컴퓨터로 읽을 수 있는 기록매체.Source data comprising a plurality of data elements;
Chart data including a mapping relationship of pixels and data elements in a basic chart area set according to a maximum resolution size of a display device,
Wherein the basic chart area is an area whose size is determined according to a maximum number of pixels constituting a screen of a display device, each coordinate value of the basic chart area is mapped with a maximum of one data element,
A first data element having the same coordinate value in the display chart area of the first size is changed in accordance with the coordinate value of the data element based on the basic chart area at each time when the display chart area on which the chart data is displayed is reduced or enlarged, And the second data element have different coordinate values in a display chart area of a second size enlarged by a certain amount or more,
Wherein the chart data comprises a mapping relationship with any one of the at least two data elements according to a predetermined criterion for an overlapping pixel in which at least two data elements overlap, .
상기 차트 데이터는 범례의 모양에 따라 서로 다른 층으로 구분하여 층별 데이터 요소의 맵핑관계를 포함하는 것을 특징으로 하는 기록매체.11. The method of claim 10,
Wherein the chart data includes a mapping relationship of the layered data elements by dividing the layered data into different layers according to the shape of the legend.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020180023099A KR101915773B1 (en) | 2018-02-26 | 2018-02-26 | Big data chart displaying method and apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020180023099A KR101915773B1 (en) | 2018-02-26 | 2018-02-26 | Big data chart displaying method and apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
KR101915773B1 true KR101915773B1 (en) | 2018-11-06 |
Family
ID=64329466
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020180023099A KR101915773B1 (en) | 2018-02-26 | 2018-02-26 | Big data chart displaying method and apparatus |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR101915773B1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20200104035A (en) * | 2019-02-26 | 2020-09-03 | 주식회사퍼즐시스템즈 | A system that displays large amounts of data on a chart without memory capacity limitation by using a binary file storage structure per column |
KR20200121130A (en) * | 2019-04-15 | 2020-10-23 | 주식회사 스캐터엑스 | Apparatus and method for chart generation |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009147562A (en) | 2007-12-12 | 2009-07-02 | Canon Inc | Image processing device and method, and program |
-
2018
- 2018-02-26 KR KR1020180023099A patent/KR101915773B1/en active IP Right Grant
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009147562A (en) | 2007-12-12 | 2009-07-02 | Canon Inc | Image processing device and method, and program |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20200104035A (en) * | 2019-02-26 | 2020-09-03 | 주식회사퍼즐시스템즈 | A system that displays large amounts of data on a chart without memory capacity limitation by using a binary file storage structure per column |
KR102177792B1 (en) * | 2019-02-26 | 2020-11-11 | 주식회사 퍼즐시스템즈 | A system that displays large amounts of data on a chart without memory capacity limitation by using a binary file storage structure per column |
KR20200121130A (en) * | 2019-04-15 | 2020-10-23 | 주식회사 스캐터엑스 | Apparatus and method for chart generation |
KR102223090B1 (en) | 2019-04-15 | 2021-03-04 | 주식회사 스캐터엑스 | Apparatus and method for chart generation |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6104410A (en) | Method and apparatus for displaying stacked symbols to create a multi-dimensional view | |
US7483592B2 (en) | Method and apparatus for magnifying computer screen display | |
US5883635A (en) | Producing a single-image view of a multi-image table using graphical representations of the table data | |
US6111573A (en) | Device independent window and view system | |
US20040135782A1 (en) | System and method for the visual display of data in an interactive zebra chart | |
CN105760401B (en) | Report data exchange method and system based on mobile terminal | |
US9785336B2 (en) | Macro-enabled, verbally accessible graphical data visualizations for visually impaired users | |
US10565560B2 (en) | Alternative people charting for organizational charts | |
EP3304339A1 (en) | Method and system for visualizing or interacting with array data using limited-resolution display devices | |
KR101915773B1 (en) | Big data chart displaying method and apparatus | |
US20120268464A1 (en) | Method and device for processing spatial data | |
KR101788250B1 (en) | Apparatus and method for data visualization | |
Zhang et al. | Topotext: Context-preserving text data exploration across multiple spatial scales | |
US10169734B2 (en) | Dynamic layout for organizational charts | |
CA2128578C (en) | Method and system for producing a table image having focus and context areas showing direct and indirect data representations | |
EP0644500B1 (en) | Method and system for producing a table image having focus and context areas showing direct and indirect data representations | |
Brath et al. | Evaluating lossiness and fidelity in information visualization | |
US11600028B1 (en) | Semantic resizing of line charts | |
Mauri | Information Visualization for the Construction Industry | |
US20110316878A1 (en) | Computer Implemented Process for Interactive Appreciation of Fine Art | |
US10248916B2 (en) | Organizational chart exporting with layout preview and customization | |
CN111724195B (en) | Bench layout generation and display method and device | |
EP3910518A1 (en) | Augmenting a schematic representation of a technical infrastructure | |
JP6385033B2 (en) | System, method, map server, terminal, and program for controlling display of divided map image according to enlargement ratio | |
CN113254558A (en) | Echarts chart display method and device based on GIS map |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant |