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.