Patent attributes
A chart has visual marks representing a dataset and displays icons, each icon specifying a line or band calculation based on the visual marks. The method detects input on a first icon while concurrently displaying the chart and the icons. Upon selection of the first icon, the method displays option icons according to the first icon. Each option icon specifies a different way of applying the first line or band calculation to the displayed visual marks. The method detects movement of the first icon to a first option icon. The first option icon specifies a first way of the applying the first line or band calculation to the displayed visual marks. Accordingly, the method performs the first line or band calculation on the displayed visual marks in the first way to form a line or band, and superimposes the line or band on the chart.