# US 2016/0260233 A1 · Method and system for generating data-efficient 2d plots

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2016/0260233 A1
- Document ID: US20160260233A1
- Status: Published application
- Kind: A1
- Application number: 14/635,787
- Filed: 2015-03-02
- Published: 2016-09-08
- Earliest claimed: 2015-03-02
- Assignees: Sap SE
- Inventors: Uwe JUGEL
- Web page: https://patentgrep.com/patent/US20160260233A1

## CPC

- G06T 11/26: Drawing of charts or graphs
- G06T 15/405: {using Z-buffer}
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

In one aspect, a method can include a computing system receiving data for rendering as a plurality of objects in a chart, and rendering the plurality of objects in a first order in a first graph in a virtual display. The method can include swapping a first object and a second object in the first order of the plurality of objects creating a second order of the plurality of objects, rendering the objects in a second graph in the virtual display based on the second order, determining that a number of visible objects in the first graph is less than a number of visible objects in the second graph, and outputting the second order of the plurality of objects for rendering on a display device based on determining that a number of visible objects in the first graph is less than a number of visible objects in the second graph.

## Claims

### Claim 1

A non-transitory, machine-readable medium having instructions stored thereon, the instructions, when executed by a processor, cause a computing device to:
receive data for rendering as a plurality of objects in a chart;
render the objects in a first graph in a virtual display based on a first order;
swap a first object and a second object in the first order of the plurality of objects creating a second order of the plurality of objects;
render the objects in a second graph in the virtual display based on the second order;
determine that a number of visible objects in the first graph is less than a number of visible objects in the second graph; and
output the second order of the plurality of objects for rendering on a display device based on determining that a number of visible objects in the first graph is less than a number of visible objects in the second graph.

### Claim 2 (depends on 1)

The medium of claim 1, wherein the objects are three-dimensional objects.

### Claim 3 (depends on 1)

The medium of claim 1, wherein the objects are graphics primitives.

### Claim 4 (depends on 1)

The medium of claim 1, wherein the objects are circles, wherein the first graph is a first bubble graph, and wherein the second graph is a second bubble graph.

### Claim 5 (depends on 1)

The medium of claim 1, wherein the objects are shapes that include at least one pixel of the available pixels for rendering the plurality of objects.

### Claim 6 (depends on 1)

The medium of claim 1, the instructions further causing the computing device to:
sort the objects into the first order based on at least one criterion associated with each of the plurality of objects.

### Claim 7 (depends on 6)

The medium of claim 6, wherein the at least one criterion associated with each of the plurality of objects is a size, and wherein sorting the objects into the first order comprises sorting the objects into an order from a smallest size object to a largest size object.

### Claim 8 (depends on 1)

The medium of claim 1, the instructions further causing the computing device to:
update entries in a Z-Buffer, each entry associated with a respective each of the plurality of objects, the updating being after a rendering of the objects in the first graph.

### Claim 9 (depends on 8)

The medium of claim 8, the instructions further causing the computing device to:
display a plurality of pixels in the virtual display; and
store, in the Z-Buffer, information about each pixel displayed in the virtual display.

### Claim 10 (depends on 9)

The medium of claim 9, wherein the information about each pixel displayed in the virtual display and stored in the Z-Buffer includes an indication of the object associated with the pixel, and an order for rendering the shape corresponding to the pixel.

### Claim 11 (depends on 1)

The medium of claim 1, wherein outputting the second order of the plurality of objects for rendering on a display device is further based on determining that at least one criterion has been satisfied.

### Claim 12 (depends on 11)

The medium of claim 11, wherein the at least one criterion is one of determining that a predetermined number of iterations of data swapping has been satisfied, and determining that a predetermined time period has expired.

### Claim 13 (depends on 1)

The medium of claim 1, the instructions further causing the computing device to:
restore the first order of the objects based on determining that a number of visible objects in the first graph is equal to or greater than a number of visible objects in the second graph.

### Claim 14 (depends on 1)

The medium of claim 1, the instructions further causing the computing device to:
swap a third object and a fourth object in the second order of the plurality of objects creating a third order of the plurality of objects based on determining that at least one criterion has not been satisfied.

### Claim 15

A computer system comprising:
a visualization preprocessing system configured to receive data for rendering as a plurality of objects in a chart, the visualization preprocessing system including:
a virtual display;
a Z-order optimizer configured to sort the objects into a first order, and configured to swap a pair of objects included in the first order of sorted objects to create a second order of the plurality of objects; and
an optimizer rendering system configured to render the objects in a first graph in the virtual display based on the first order, render the objects in a second graph in the virtual display based on the second order, and determine that a number of visible objects in the first graph is less than a number of visible objects in the second graph; and
a rendering system configured to receive the plurality of objects in the second order from the visualization preprocessing system, and configured to output the plurality of objects for rendering on a display device in an order specified by the second order based on determining that a number of visible objects in the first graph is less than a number of visible objects in the second graph.

### Claim 16 (depends on 15)

The system of claim 15, wherein the Z-order optimizer is further configured to sort the objects into a first order based on at least one criterion associated with each of the plurality of objects.

### Claim 17 (depends on 15)

The system of claim 15, further comprising:
a Z-Buffer including a plurality of entries, each entry associated with a respective pixel included in the virtual display, each entry including an indication of an object associated with the pixel and an order for rendering the shape corresponding to the pixel.

### Claim 18 (depends on 15)

The system of claim 15, wherein the a Z-order optimizer is configured to continue to swap a pair of objects included in an order of sorted objects until at least one criterion has been satisfied.

### Claim 19

A method comprising:
receiving, by a computing system, data for rendering as a plurality of objects in a chart;
rendering, by the computing system, the plurality of objects in a first order in a first graph in a virtual display;
swapping a first object and a second object in the first order of the plurality of objects creating a second order of the plurality of objects;
rendering the objects in a second graph in the virtual display based on the second order;
determining that a number of visible objects in the first graph is less than a number of visible objects in the second graph; and
outputting the second order of the plurality of objects for rendering on a display device based on determining that a number of visible objects in the first graph is less than a number of visible objects in the second graph.

### Claim 20 (depends on 19)

The method of claim 19, further comprising:
updating entries in a Z-Buffer, each entry associated with a respective each of the plurality of objects, the updating being after the rendering of the objects in the first graph;
displaying a plurality of pixels in the virtual display; and
storing, in the Z-Buffer, information about each pixel displayed in the virtual display.
