METHODS AND DEVICES FOR MANIPULATING GRAPHICAL VIEWS OF DATA

A method is performed at an electronic device. The method displays a chart including a plurality of data marks. The method detects a first touch input that corresponds to a location on the display of a first predefined area in the chart, the first predefined area having a corresponding first value. In response to detecting the first touch input, the method selects and visually distinguishes the first predefined area. While the first predefined area is selected, the method detects a second touch input on the touch-sensitive surface. In response to detecting the second touch input: the method visually distinguishes a sequence of predefined areas in the chart, where the sequence of predefined areas is adjacent to the first predefined area; and the method displays a change between the first value for the first predefined area and a value for a last predefined area in the sequence of predefined areas.

Skip to: Description  ·  Claims  · Patent History  ·  Patent History
Description
RELATED APPLICATIONS

This application is a continuation of U.S. application Ser. No. 15/859,235, filed Dec. 29, 2017, entitled “Methods and Devices for Adjusting Chart Magnification,” which is a continuation of U.S. application Ser. No. 14/603,330, filed Jan. 22, 2015, entitled “Methods and Devices for Adjusting Chart Magnification,” now U.S. Pat. No. 9,857,952, which claims priority to U.S. Provisional Application Ser. No. 62/047,429, filed Sep. 8, 2014, entitled “Methods and Devices for Manipulating Graphical Views of Data,” each of which is incorporated herein by reference in its entirety.

This application is related to U.S. patent application Ser. No. 14/603,302, filed Jan. 22, 2015, entitled “Methods and Devices for Adjusting Chart Filters,” U.S. patent application Ser. No. 14/603,312, filed Jan. 22, 2015, entitled “Methods and Devices for Adjusting Chart Magnification Asymmetrically,” and U.S. patent application Ser. No. 14/603,322, filed Jan. 22, 2015, entitled “Methods and Devices for Displaying Data Mark Information,” each of which is incorporated by reference herein in its entirety.

TECHNICAL FIELD

This invention relates generally to devices and methods for displaying graphical views of data. The invention relates specifically to devices and methods for manipulating user interfaces displaying graphical views of data.

BACKGROUND

Data sets with hundreds of variables or more arise today in many contexts, including, for example: gene expression data for uncovering the link between the genome and the various proteins for which it codes; demographic and consumer profiling data for capturing underlying sociological and economic trends; sales and marketing data for huge numbers of products in vast and ever-changing marketplaces; and environmental measurements for understanding phenomena such as pollution, meteorological changes, and resource impact issues.

Data visualization is a powerful tool for exploring large data sets, both by itself and coupled with data mining algorithms. Graphical views provide user-friendly ways to visualize and interpret data. However, the task of effectively visualizing large databases imposes significant demands on the human-computer interface to the visualization system.

In addition, as computing and networking speeds increase, data visualization that was traditionally performed on desktop computers can also be performed on portable electronic devices, such as smart phones, tablets, and laptop computers. These portable devices typically use touch-sensitive surfaces (e.g., touch screens and/or trackpads) as input devices. These portable devices typically have significantly smaller displays than desktop computers. Thus, additional challenges arise in using touch-sensitive surfaces to manipulate graphical views of data in a user-friendly manner on portable devices.

Consequently, there is a need for faster, more efficient methods and interfaces for manipulating graphical views of data. Such methods and interfaces may complement or replace conventional methods for visualizing data. Such methods and interfaces reduce the cognitive burden on a user and produce a more efficient human-machine interface. For battery-operated devices, such methods and interfaces conserve power and increase the time between battery charges.

SUMMARY

The above deficiencies and other problems associated with visualizing data are reduced or eliminated by the disclosed methods, devices, and storage mediums. Various implementations of methods, devices, and storage mediums within the scope of the appended claims each have several aspects, no single one of which is solely responsible for the attributes described herein. Without limiting the scope of the appended claims, after considering this disclosure, one will understand how the aspects of various implementations are used to visualize data.

In one aspect, some embodiments include methods for visualizing data.

In some embodiments, a method is performed at an electronic device with a touch-sensitive surface and a display. The method includes displaying a first chart on the display. The first chart concurrently displays a first set of categories, and each respective category in the first set of categories has a corresponding visual mark displayed in the first chart. The method also includes detecting a first touch input at a location on the touch-sensitive surface that corresponds to a location on the display of a first visual mark for a first category in the first chart. The method further includes, in response to detecting the first touch input at the location on the touch-sensitive surface that corresponds to the location on the display of the first visual mark for the first category in the first chart: removing the first category and the first visual mark from the first chart via an animated transition, where the first visual mark moves in concert with movement of a finger contact in the first touch input during at least a portion of the animated transition; and updating display of the first chart.

In some embodiments, the first touch input is a drag gesture or a swipe gesture that moves in a first predefined direction on the touch-sensitive surface.

In some embodiments, the method includes, in response to detecting the first touch input at the location on the touch-sensitive surface that corresponds to the location on the display of the first visual mark for the first category in the first chart, ceasing to display the first visual mark.

In some embodiments, the method includes, in response to detecting the first touch input at the location on the touch-sensitive surface that corresponds to the location on the display of the first visual mark for the first category in the first chart, displaying an indicium that the first category has been removed.

In some embodiments, the method includes, while displaying the indicium that the first category has been removed, changing from displaying the first chart with the first set of categories, other than the first category, to displaying a second chart. The second chart concurrently displays a second set of categories that are distinct from the first set of categories, and each respective category in the second set of categories has a corresponding visual mark displayed in the second chart. The method also includes, while displaying the second chart with the second set of categories, detecting a second touch input at a location on the touch-sensitive surface that corresponds to a location on the display of the indicium that the first category has been removed and, in response to detecting the second touch input at the location on the touch-sensitive surface that corresponds to the location on the display of the indicium that the first category has been removed, updating display of the second chart to reflect inclusion of data that corresponds to the first category in the first chart.

In some embodiments, updating display of the second chart to reflect inclusion of data that corresponds to the first category in the first chart includes reordering display of the second set of categories in the second chart.

In some embodiments, the method includes, after updating display of the second chart to reflect inclusion of data that corresponds to the first category, detecting a third touch input, and, in response to detecting a third touch input, updating display of the second chart to reflect removal of data that corresponds to the first category in the first chart.

In some embodiments, the method includes, while displaying the first chart on the display, detecting a fourth touch input at a location on the touch-sensitive surface that corresponds to a location on the display of a second visual mark for a second category in the first chart. The method also includes, in response to detecting the fourth touch input at the location on the touch-sensitive surface that corresponds to the location on the display of the second visual mark for the second category in the first chart: maintaining display of the second category and the second visual mark in the second chart; removing display of all categories, other than the second category, in the first set of categories; and removing display of all visual marks, other than the second visual mark, that correspond to categories in the first set of categories.

In some embodiments, the method includes, in response to detecting the fourth touch input at the location on the touch-sensitive surface that corresponds to the location on the display of the second visual mark for the second category in the first chart, displaying an indicium that only the second category in the first set of categories remains displayed.

In some embodiments, the first touch input is a drag gesture or a swipe gesture that moves in a first predefined direction on the touch-sensitive surface and the fourth touch input is a drag gesture or a swipe gesture that moves in a second predefined direction on the touch-sensitive surface that is distinct from the first predefined direction.

In some embodiments, a method is performed at an electronic device with a touch-sensitive surface and a display. The method includes displaying a first chart on the display. The first chart is derived from a set of data. The first chart concurrently displays a first set of categories and a label for the first set of categories. Each respective category in the first set of categories has a corresponding visual mark displayed in the first chart, the corresponding visual mark representing an aggregate value of a first field in the set of data, aggregated according to the first set of categories. The method also includes detecting a first touch input at a location on the touch-sensitive surface that corresponds to a location on the display of the label for the first set of categories. The method further includes, in response to detecting the first touch input at the location on the touch-sensitive surface that corresponds to the location on the display of the label for the first set of categories, replacing display of the first chart with a second chart via an animated transition, where the label for the first set of categories moves in concert with movement of a finger contact in the first touch input during at least a portion of the animated transition. The second chart is derived from the set of data. The second chart concurrently displays a second set of categories, which replaces display of the first set of categories, and a label for the second set of categories, which replaces display of the label for the first set of categories. Each respective category in the second set of categories has a corresponding visual mark displayed in the second chart, the corresponding visual mark representing an aggregate value of the first field in the set of data, aggregated according to the second set of categories.

In some embodiments, the first touch input is a drag gesture or a swipe gesture that moves in a first predefined direction on the touch-sensitive surface.

In some embodiments, a label for the first field and aggregation type is displayed with the first chart, and the label for the first field and aggregation type continues to be displayed with the second chart.

In some embodiments, a label for the first field and aggregation type is displayed with the first chart and the method includes, in response to detecting the first touch input: displaying an animation of the second set of categories replacing the first set of categories; displaying an animation of the label for the second set of categories replacing the label for the first set of categories; and maintaining display of the label for the first field and aggregation type.

In some embodiments, the method includes, while displaying the second chart with the second set of categories, detecting a second touch input at a location on the touch-sensitive surface that corresponds to a location on the display of an indicium that a predefined subset of data is not included in the aggregated values of the first field. The method also includes, in response to detecting the second touch input at the location on the touch-sensitive surface that corresponds to the location on the display of the indicium that the predefined subset of data is not included in the aggregated values of the first field, updating display of the second chart to reflect inclusion of the predefined subset of data in the aggregated values.

In some embodiments, updating display of the second chart to reflect inclusion of the predefined subset of data includes reordering display of the second set of categories in the second chart.

In some embodiments, the method includes, after updating display of the second chart to reflect inclusion of the predefined subset of data, detecting a third touch input. The method also includes, in response to detecting a third touch input, updating display of the second chart to reflect removal of the predefined subset of data.

In some embodiments, replacing display of the first chart with the second chart via the animated transition in response to detecting the first touch input occurs without displaying a selection menu.

In some embodiments, the first touch input is a drag gesture or a swipe gesture that moves in a first predefined direction on the touch-sensitive surface and the method includes, while displaying the second chart, detecting a tap gesture at a location on the touch-sensitive surface that corresponds to a location on the display of a label for the second set of categories. The method also includes, in response to detecting the tap gesture at the location on the touch-sensitive surface that corresponds to the location on the display of the label for the second set of categories, displaying a selection menu with possible sets of categories to display in a third chart. The method further includes detecting selection of a respective set of categories in the selection menu; and, in response to detecting selection of the respective set of categories in the selection menu: replacing display of the second chart with a third chart that contains the selected respective set of categories; and ceasing to display the selection menu.

In some embodiments, the first touch input is a drag gesture or a swipe gesture that moves in a first predefined direction on the touch-sensitive surface; and the method includes, while displaying the second chart, detecting a tap gesture at a location on the touch-sensitive surface that corresponds to a location on the display of a label for the second set of categories. The method also includes, in response to detecting the tap gesture at the location on the touch-sensitive surface that corresponds to the location on the display of the label for the second set of categories, displaying a selection menu with possible sets of categories to display in a third chart. The method further includes detecting selection of a first set of categories in the selection menu and a second set of categories in the selection menu; and, in accordance with detecting selection of the first set of categories in the selection menu and the second set of categories in the selection menu: replacing display of the second chart with a third chart that contains the first set of categories and the second set of categories; and ceasing to display the selection menu.

In some embodiments, a method is performed at an electronic device with a touch-sensitive surface and a display. The method includes displaying a chart on the display. The chart has a horizontal axis and a vertical axis. The horizontal axis includes first horizontal scale markers. The vertical axis includes first vertical scale markers. The method also includes detecting a first touch input at a location on the touch-sensitive surface that corresponds to a location on the display of the chart. The method further includes, while detecting the first touch input: horizontally expanding a portion of the chart such that a distance between first horizontal scale markers increases; and maintaining a vertical scale of the chart such that a distance between first vertical scale markers remains the same.

In some embodiments, the first touch input is a de-pinch gesture.

In some embodiments, the method includes, after horizontally expanding the portion of the chart such that the distance between first horizontal scale markers increases and while continuing to detect the first touch input: continuing to horizontally expand a portion of the chart; displaying second horizontal scale markers, the second horizontal scale markers being at a finer scale than the first horizontal scale markers; and continuing to maintain the vertical scale of the chart.

In some embodiments, the method includes, including, after horizontally expanding the portion of the chart such that the distance between first horizontal scale markers increases and while continuing to detect the first touch input: continuing to horizontally expand a portion of the chart; replacing a first set of displayed data marks with a second set of displayed data marks, where for at least some of the data marks in the first set of data marks, an individual data mark in the first set of data marks corresponds to a plurality of data marks in the second set of data marks; and continuing to maintain the vertical scale of the chart.

In some embodiments, the method includes, after horizontally expanding the portion of the chart and maintaining the vertical scale of the chart while detecting the first touch input, ceasing to detect the first touch input. The method also includes, in response to ceasing to detect the first touch input, changing a vertical scale of the chart.

In some embodiments, a method is performed at an electronic device with a touch-sensitive surface and a display. The method includes displaying at least a first portion of a chart on the display at a first magnification, the first portion of the chart containing a plurality of data marks. The method also includes detecting a first touch input at a location on the touch-sensitive surface that corresponds to a location on the display of the first portion of the chart and, in response to detecting the first touch input at the location on the touch-sensitive surface that corresponds to the location on the display of the first portion of the chart, zooming in to display a second portion of the chart at a second magnification, the second portion of the chart including a first data mark in the plurality of data marks. The method further includes, while displaying the second portion of the chart at the second magnification, detecting a second touch input at a location on the touch-sensitive surface that corresponds to a location on the display of the second portion of the chart. The method further includes, in response to detecting the second touch input at the location on the touch-sensitive surface that corresponds to the location on the display of the second portion of the chart: in accordance with a determination that one or more predefined data-mark-information-display criteria are not met, zooming in to display a third portion of the chart at a third magnification, the third portion of the chart including the first data mark in the plurality of data marks; and, in accordance with a determination that the one or more predefined data-mark-information-display criteria are met, displaying information about the first data mark.

In some embodiments, the second touch input is a same type of touch input as the first touch input.

In some embodiments, the information about the first data mark comprises a data record that corresponds to the first data mark.

In some embodiments, the data-mark-information-display criteria include the second magnification being a predefined magnification.

In some embodiments, the data-mark-information-display criteria include the first data mark in the plurality of data marks being the only data mark displayed at the second magnification after the first touch input.

In some embodiments, the data-mark-information-display criteria include the first data mark reaching a predefined magnification during the second touch input.

In some embodiments, the data-mark-information-display criteria include the device zooming in to display only the first data mark in the plurality of data marks during the second touch input.

In some embodiments, the method includes, in accordance with the determination that one or more predefined data-mark-information-display criteria are met, ceasing to display the first data mark.

In some embodiments, a method is performed at an electronic device with a touch-sensitive surface and a display. The method includes displaying a chart on the display, the chart including a plurality of data marks and detecting a first touch input at a location on the touch-sensitive surface that corresponds to a location on the display of a first predefined area in the chart, the first predefined area having a corresponding first value. The method also includes, in response to detecting the first touch input at the location on the touch-sensitive surface that corresponds to the location on the display of the first predefined area in the chart: selecting the first predefined area and visually distinguishing the first predefined area. The method further includes, while the first predefined area is selected, detecting a second touch input on the touch-sensitive surface and, in response to detecting the second touch input on the touch-sensitive surface: visually distinguishing a sequence of predefined areas in the chart, where the sequence of predefined areas is adjacent to the first predefined area; and displaying a change between the first value for the first predefined area and a value for a last predefined area in the sequence of predefined areas.

In some embodiments, the first touch input is a tap gesture.

In some embodiments, the first predefined area includes a column in the chart.

In some embodiments, the first predefined area includes a single data mark in the plurality of data marks.

In some embodiments, data marks in the plurality of data marks are displayed in corresponding columns in the chart, with a single data mark per column.

In some embodiments, data marks in the plurality of data marks are separated horizontally from one another.

In some embodiments, the second touch input is initially detected at a location on the touch-sensitive surface that corresponds to a location on the display of the first predefined area.

In some embodiments, the second touch input is initially detected at a location on the touch-sensitive surface that corresponds to a location on the display of an edge of the first predefined area.

In some embodiments, the second touch input is initially detected at a location on the touch-sensitive surface that corresponds to a location on the display of a selection handle in or next to the first predefined area.

In some embodiments, the second touch input is a drag gesture, and the method includes detecting movement of a finger contact in the drag gesture across locations on the touch-sensitive surface that correspond to locations on the display of the sequence of predefined areas in the chart that have corresponding values. The method also includes, in response to detecting movement of the finger contact in the drag gesture across locations on the touch-sensitive surface that correspond to locations on the display of the sequence of predefined areas in the chart that have corresponding values, displaying a series of changes between the first value in the first predefined area and the corresponding values of the sequence of predefined areas.

In some embodiments, after the second touch input, a selected area in the chart comprises the first predefined area and the sequence of predefined areas, and the method includes detecting a third touch input, the third touch input including initial contact of a finger at a location on the touch-sensitive surface that corresponds to a location on the display within the selected area in the chart, and movement of the finger across the touch-sensitive surface. The method also includes, in response to detecting the third touch input: moving the selected area across the chart, in accordance with the movement of the finger across the touch-sensitive surface, while maintaining a number of predefined areas in the moved selected area equal to the number of predefined areas in the sequence of predefined areas plus one; and displaying a change between a value corresponding to a leftmost predefined area in the moved selected area and a value corresponding to a rightmost predefined area in the moved selected area.

In some embodiments, after the second touch input, a selected area in the chart comprises the first predefined area and the sequence of predefined areas, and the method includes detecting a fourth touch input. The method also includes, in response to detecting the fourth touch input: zooming in on the selected area in the chart; in accordance with a determination that areas in the chart outside the selected area are still displayed on the display, maintaining selection of the selected area; and in accordance with a determination only areas in the chart in the selected area are displayed on the display, ceasing selection of the selected area.

In some embodiments, a method is performed at an electronic device with a touch-sensitive surface and a display. The method includes displaying a chart on the display. The chart has a horizontal axis with a first horizontal scale with first horizontal scale markers. The chart has a vertical axis with a first vertical scale with first vertical scale markers. The chart includes a first set of data marks. Each respective data mark in the first set of data marks has a respective abscissa and a respective ordinate. The chart includes a line that connects adjacent data marks in the first set of data marks. The method also includes detecting a first touch input at a location on the touch-sensitive surface that corresponds to a location on the display of the chart and, while detecting the first touch input: expanding at least a portion of the chart such that a distance between adjacent first horizontal scale markers increases in accordance with the first touch input; expanding at least a portion of the line that connects adjacent data marks in the first set of data marks in accordance with the first touch input; adding a second set of second data marks, distinct from the first set of data marks, on the line. Each respective data mark in the second set of data marks includes a respective abscissa and a respective ordinate. Each respective data mark in the second set of data marks is placed on the line based on the respective abscissa of the respective data mark, independent of the respective ordinate of the respective data mark. The method further includes, after adding the second set of data marks on the line: for each respective data mark in the second set of data marks placed on the line at a vertical position distinct from its respective ordinate, animatedly moving the respective data mark vertically in accordance with the respective ordinate for the respective data mark and a second vertical scale for the vertical axis; and animatedly adjusting the line so that the line connects the second set of data marks.

In some embodiments, adjacent data marks in the first set of first data marks are separated by a first horizontal distance.

In some embodiments, adjacent data marks in the second set of data marks are separated by a second horizontal distance that corresponds to a second horizontal scale that is finer than the first horizontal scale.

In some embodiments, each respective data mark in the second set of data marks is placed on the line based on the respective abscissa of the respective data mark and the ordinate of the line at the respective abscissa of the respective data mark.

In some embodiments, a shape of the line is maintained when the second set of data marks is added to the line.

In some embodiments, a single data mark in the first set of data marks corresponds to a plurality of data marks in the second set of data marks.

In some embodiments, animatedly moving each respective data mark vertically in accordance with the respective ordinate for the respective data mark and a second vertical scale for the vertical axis occurs while detecting the first input.

In some embodiments, animatedly moving each respective data mark vertically in accordance with the respective ordinate for the respective data mark and a second vertical scale for the vertical axis occurs after ceasing to detect the first input.

In some embodiments, the second vertical scale is the same as the first vertical scale.

In some embodiments, animatedly moving each respective data mark vertically and animatedly adjusting the line so that the line connects the set of second data marks occur concurrently.

In some embodiments, the method includes ceasing to display the set of first data marks when the second set of data marks is added.

In some embodiments, the method includes ceasing to display the set of first data marks after the second set of data marks is added.

In another aspect, some embodiments include electronic devices for visualizing data. In some embodiments, an electronic device for visualizing data includes a display, a touch-sensitive surface, one or more processors, memory, and one or more programs stored in the memory and configured to be executed by the one or more processors. The one or more programs include instructions for displaying a first chart on the display. The first chart concurrently displays a first set of categories, and each respective category in the first set of categories has a corresponding visual mark displayed in the first chart. The one or more programs also include instructions for detecting a first touch input at a location on the touch-sensitive surface that corresponds to a location on the display of a first visual mark for a first category in the first chart. The one or more programs further include instructions for, in response to detecting the first touch input at the location on the touch-sensitive surface that corresponds to the location on the display of the first visual mark for the first category in the first chart: removing the first category and the first visual mark from the first chart via an animated transition, where the first visual mark moves in concert with movement of a finger contact in the first touch input during at least a portion of the animated transition; and updating display of the first chart.

In some embodiments, an electronic device for visualizing data includes a display, a touch-sensitive surface, one or more processors, memory, and one or more programs stored in the memory and configured to be executed by the one or more processors. The one or more programs include instructions for displaying a first chart on the display. The first chart is derived from a set of data. The first chart concurrently displays a first set of categories and a label for the first set of categories. Each respective category in the first set of categories has a corresponding visual mark displayed in the first chart, the corresponding visual mark representing an aggregate value of a first field in the set of data, aggregated according to the first set of categories. The one or more programs also include instructions for detecting a first touch input at a location on the touch-sensitive surface that corresponds to a location on the display of the label for the first set of categories. The one or more programs further include instructions for, in response to detecting the first touch input at the location on the touch-sensitive surface that corresponds to the location on the display of the label for the first set of categories, replacing display of the first chart with a second chart via an animated transition, where the label for the first set of categories moves in concert with movement of a finger contact in the first touch input during at least a portion of the animated transition. The second chart is derived from the set of data. The second chart concurrently displays a second set of categories, which replaces display of the first set of categories, and a label for the second set of categories, which replaces display of the label for the first set of categories. Each respective category in the second set of categories has a corresponding visual mark displayed in the second chart, the corresponding visual mark representing an aggregate value of the first field in the set of data, aggregated according to the second set of categories.

In some embodiments, an electronic device for visualizing data includes a display, a touch-sensitive surface, one or more processors, memory, and one or more programs stored in the memory and configured to be executed by the one or more processors. The one or more programs include instructions for displaying a chart on the display. The chart has a horizontal axis and a vertical axis. The horizontal axis includes first horizontal scale markers. The vertical axis includes first vertical scale markers. The one or more programs also include instructions for detecting a first touch input at a location on the touch-sensitive surface that corresponds to a location on the display of the chart. The one or more programs further include instructions for, while detecting the first touch input: horizontally expanding a portion of the chart such that a distance between first horizontal scale markers increases; and maintaining a vertical scale of the chart such that a distance between first vertical scale markers remains the same.

In some embodiments, an electronic device for visualizing data includes a display, a touch-sensitive surface, one or more processors, memory, and one or more programs stored in the memory and configured to be executed by the one or more processors. The one or more programs include instructions for displaying at least a first portion of a chart on the display at a first magnification, the first portion of the chart containing a plurality of data marks. The one or more programs also include instructions for detecting a first touch input at a location on the touch-sensitive surface that corresponds to a location on the display of the first portion of the chart and, in response to detecting the first touch input at the location on the touch-sensitive surface that corresponds to the location on the display of the first portion of the chart, zooming in to display a second portion of the chart at a second magnification, the second portion of the chart including a first data mark in the plurality of data marks. The one or more programs further include instructions for, while displaying the second portion of the chart at the second magnification, detecting a second touch input at a location on the touch-sensitive surface that corresponds to a location on the display of the second portion of the chart. The one or more programs further include instructions for, in response to detecting the second touch input at the location on the touch-sensitive surface that corresponds to the location on the display of the second portion of the chart: in accordance with a determination that one or more predefined data-mark-information-display criteria are not met, zooming in to display a third portion of the chart at a third magnification, the third portion of the chart including the first data mark in the plurality of data marks; and, in accordance with a determination that the one or more predefined data-mark-information-display criteria are met, displaying information about the first data mark.

In some embodiments, an electronic device for visualizing data includes a display, a touch-sensitive surface, one or more processors, memory, and one or more programs stored in the memory and configured to be executed by the one or more processors. The one or more programs include instructions for displaying a chart on the display, the chart including a plurality of data marks. The one or more programs also include instructions for detecting a first touch input at a location on the touch-sensitive surface that corresponds to a location on the display of a first predefined area in the chart, the first predefined area having a corresponding first value. The one or more programs further include instructions for, in response to detecting the first touch input at the location on the touch-sensitive surface that corresponds to the location on the display of the first predefined area in the chart: selecting the first predefined area; and visually distinguishing the first predefined area. The one or more programs further include instructions for, while the first predefined area is selected, detecting a second touch input on the touch-sensitive surface. The one or more programs further include instructions for, in response to detecting the second touch input on the touch-sensitive surface: visually distinguishing a sequence of predefined areas in the chart, where the sequence of predefined areas is adjacent to the first predefined area; and displaying a change between the first value for the first predefined area and a value for a last predefined area in the sequence of predefined areas.

In some embodiments, an electronic device for visualizing data includes a display, a touch-sensitive surface, one or more processors, memory, and one or more programs stored in the memory and configured to be executed by the one or more processors. The one or more programs include instructions for displaying a chart on the display. The chart has a horizontal axis with a first horizontal scale with first horizontal scale markers. The chart has a vertical axis with a first vertical scale with first vertical scale markers. The chart includes a first set of data marks. Each respective data mark in the first set of data marks has a respective abscissa and a respective ordinate. The chart includes a line that connects adjacent data marks in the first set of data marks. The one or more programs also include instructions for detecting a first touch input at a location on the touch-sensitive surface that corresponds to a location on the display of the chart and, while detecting the first touch input: expanding at least a portion of the chart such that a distance between adjacent first horizontal scale markers increases in accordance with the first touch input; expanding at least a portion of the line that connects adjacent data marks in the first set of data marks in accordance with the first touch input; adding a second set of second data marks, distinct from the first set of data marks, on the line. Each respective data mark in the second set of data marks includes a respective abscissa and a respective ordinate. Each respective data mark in the second set of data marks is placed on the line based on the respective abscissa of the respective data mark, independent of the respective ordinate of the respective data mark. The one or more programs further include instructions for, after adding the second set of data marks on the line: for each respective data mark in the second set of data marks placed on the line at a vertical position distinct from its respective ordinate, animatedly moving the respective data mark vertically in accordance with the respective ordinate for the respective data mark and a second vertical scale for the vertical axis; and animatedly adjusting the line so that the line connects the second set of data marks.

In some embodiments, an electronic device for visualizing data includes a display, a touch-sensitive surface, one or more processors, memory, and one or more programs stored in the memory and configured to be executed by the one or more processors. The one or more programs include instructions for performing any of the methods described herein.

In yet another aspect, some embodiments include a non-transitory computer readable storage medium, storing one or more programs for execution by one or more processors of an electronic device with a display and a touch-sensitive surface, the one or more programs including instructions for performing any of the methods described herein.

In yet another aspect, some embodiments include a graphical user interface on an electronic device with a display, a touch-sensitive surface, a memory, and one or more processors to execute one or more programs stored in the memory, the graphical user interface comprising user interfaces displayed in accordance with any of the methods described herein.

Thus, electronic devices with displays and touch-sensitive surfaces are provided with faster, more efficient methods and interfaces for data visualization, thereby increasing the effectiveness, efficiency, and user satisfaction with such devices. Such methods and interfaces may complement or replace conventional methods for data visualization.

BRIEF DESCRIPTION OF THE DRAWINGS

So that the present disclosure can be understood in greater detail, a more particular description may be had by reference to the features of various implementations, some of which are illustrated in the appended drawings. The appended drawings, however, merely illustrate the more pertinent features of the present disclosure and are therefore not to be considered limiting, for the description may admit to other effective features.

FIG. 1 illustrates a portable multifunction device having a touch screen, in accordance with some embodiments.

FIG. 2 illustrates a portable multifunction device having a touch-sensitive surface that is separate from the display, in accordance with some embodiments.

FIG. 3A is a block diagram illustrating a portable multifunction device having a touch screen, in accordance with some embodiments.

FIG. 3B is a block diagram illustrating a portable multifunction device having a touch-sensitive surface, in accordance with some embodiments.

FIGS. 4A-4B illustrate user interfaces for initiating data visualization, in accordance with some embodiments.

FIGS. 5A-5G illustrate user interfaces for adjusting chart filters, in accordance with some embodiments.

FIGS. 6A-6L illustrate user interfaces for changing chart categories, in accordance with some embodiments.

FIGS. 7A-7D illustrate user interfaces for adjusting chart filters, in accordance with some embodiments.

FIGS. 8A-8D illustrate user interfaces for adjusting chart filters, in accordance with some embodiments.

FIGS. 9A-9B illustrate user interfaces for changing chart views, in accordance with some embodiments.

FIGS. 10A-10B illustrate user interfaces for adjusting a chart view, in accordance with some embodiments.

FIGS. 11A-11J illustrate user interfaces for adjusting chart magnification, in accordance with some embodiments.

FIGS. 12A-12D illustrate user interfaces for adjusting chart magnification, in accordance with some embodiments.

FIGS. 13A-13D illustrate user interfaces for selecting chart areas, in accordance with some embodiments.

FIGS. 14A-14D illustrate user interfaces for exporting data visualizations, in accordance with some embodiments.

FIGS. 15A-15C illustrate user interfaces for adjusting a chart view, in accordance with some embodiments.

FIGS. 16A-16D illustrate user interfaces for changing chart categories, in accordance with some embodiments.

FIGS. 17A-17B illustrate user interfaces for selecting chart areas, in accordance with some embodiments.

FIGS. 18A-18E illustrate user interfaces for adjusting chart magnification, in accordance with some embodiments.

FIGS. 19A-19D illustrate user interfaces for adjusting chart magnification, in accordance with some embodiments.

FIGS. 19E-19L illustrate user interfaces for displaying information about a data mark, in accordance with some embodiments.

FIGS. 20A-20D are flow diagrams illustrating a method of data visualization in accordance with some embodiments.

FIGS. 21A-21F are flow diagrams illustrating another method of data visualization in accordance with some embodiments.

FIGS. 22A-22B are flow diagrams illustrating another method of data visualization in accordance with some embodiments.

FIGS. 23A-23B are flow diagrams illustrating another method of data visualization in accordance with some embodiments.

FIGS. 24A-24E are flow diagrams illustrating another method of data visualization in accordance with some embodiments.

FIGS. 25A-25D are flow diagrams illustrating another method of data visualization in accordance with some embodiments.

FIGS. 26A-26F illustrate scrolling filters in accordance with some embodiments.

In accordance with common practice, the various features illustrated in the drawings may not be drawn to scale. Accordingly, the dimensions of the various features may be arbitrarily expanded or reduced for clarity. In addition, some of the drawings may not depict all of the components of a given system or device. Finally, like reference numerals may be used to denote like features throughout the specification and figures.

DESCRIPTION OF EMBODIMENTS

As portable electronic devices become more compact, and the number of functions performed by applications on any given device increase, it has become a significant challenge to design user interfaces that allow users to interact with the applications easily. This challenge is particularly significant for portable devices with smaller screens and/or limited input devices. In addition, data visualization applications need to provide user-friendly ways to explore data in order to enable a user to extract significant meaning from a particular data set. Some application designers have resorted to using complex menu systems to enable a user to perform desired functions. These conventional user interfaces often result in complicated key sequences and/or menu hierarchies that must be memorized by the user and/or that are otherwise cumbersome and/or not intuitive to use.

The methods, devices, and GUIs described herein make manipulation of data sets and data visualizations more efficient and intuitive for a user. A number of different intuitive user interfaces for data visualizations are described below. For example, applying a filter to a data set can be accomplished by a simple touch input on a given portion of a displayed chart rather than via a nested menu system. Additionally, switching between chart categories can be accomplished by a simple touch input on a displayed chart label.

FIGS. 20A-20D are flow diagrams illustrating a method of adjusting chart filters. FIGS. 5A-5G, 7A-7D, and 8A-8D illustrate user interfaces for adjusting chart filters. The user interfaces in FIGS. 5A-5G, 7A-7D, and 8A-8D are used to illustrate the processes in FIGS. 20A-20D.

FIGS. 21A-21F are flow diagrams illustrating a method of changing chart categories. FIGS. 6A-6L illustrate user interfaces for changing chart categories. The user interfaces in FIGS. 6A-6L are used to illustrate the processes in FIGS. 21A-21F.

FIGS. 22A-22B are flow diagrams illustrating a method of adjusting chart magnification. FIGS. 11A-11J and 12A-12D illustrate user interfaces for adjusting chart magnification. FIGS. 15A-15C illustrate user interfaces for adjusting chart views. The user interfaces in FIGS. 11A-11J, 12A-12D, and 15A-15C are used to illustrate the processes in FIGS. 22A-22B.

FIGS. 23A-23B are flow diagrams illustrating a method of displaying information about a data mark. FIGS. 19E-19L illustrate user interfaces for displaying information about a data mark. The user interfaces in FIGS. 19E-19L are used to illustrate the processes in FIGS. 23A-23B.

FIGS. 24A-24E are flow diagrams illustrating a method of chart selection. FIGS. 13A-13D illustrate user interfaces for selecting chart areas. FIGS. 14A-14D illustrate user interfaces for exporting data visualizations. FIGS. 18A-18E illustrate user interfaces for adjusting chart magnification. The user interfaces in FIGS. 13A-13D, 14A-14D, and 18A-18E are used to illustrate the processes in FIGS. 24A-24E.

FIGS. 25A-25D are flow diagrams illustrating a method of update chart views. FIGS. 19A-19D illustrate user interfaces for adjusting chart magnification. The user interfaces in FIGS. 19A-19D are used to illustrate the processes in FIGS. 25A-25D.

Reference will now be made in detail to embodiments, examples of which are illustrated in the accompanying drawings. In the following description, numerous specific details are set forth in order to provide a thorough understanding of the various described embodiments. However, it will be apparent to one of ordinary skill in the art that the various described embodiments may be practiced without these specific details. In other instances, well-known methods, procedures, components, circuits, and networks have not been described in detail so as not to unnecessarily obscure aspects of the embodiments.

Attention is now directed toward embodiments of portable devices with touch-sensitive displays. Embodiments of electronic devices and user interfaces for such devices are described. In some embodiments, the device is a portable communications device, such as a mobile telephone, that also contains other functions, such as PDA and/or music player functions. Other portable electronic devices, such as laptops or tablet computers with touch-sensitive surfaces (e.g., touch screen displays and/or touch pads), are, optionally, used. It should also be understood that, in some embodiments, the device is not a portable communications device, but is a desktop computer with a touch-sensitive surface (e.g., a touch screen display and/or a touch pad). In the discussion that follows, an electronic device that includes a display and a touch-sensitive surface is described. It should be understood, however, that the electronic device optionally includes one or more other physical user-interface devices, such as a physical keyboard, a mouse, a microphone, and/or a joystick.

FIG. 1 illustrates portable multifunction device 100 having touch screen 102, in accordance with some embodiments. In some embodiments, device 100 is a mobile phone, a laptop computer, a personal digital assistant (PDA), or a tablet computer. Touch screen 102 is also sometimes called a touch-sensitive display and/or a touch-sensitive display system. Touch screen 102 optionally displays one or more graphics within a user interface (UI). In some embodiments, a user is enabled to select one or more of the graphics by making a touch input (e.g., touch input 108) on the graphics. In some instances, the touch input is a contact on the touch screen. In some instances, the touch input is a gesture that includes a contact and movement of the contact on the touch screen. In some instances, the gesture optionally includes one or more taps, one or more swipes (from left to right, right to left, upward and/or downward) and/or a rolling of a finger (from right to left, left to right, upward and/or downward) that has made contact with device 100. For example, a touch input on the graphics is optionally made with one or more fingers 110 (not drawn to scale in the figure) or one or more styluses 112 (not drawn to scale in the figure). In some embodiments, selection of one or more graphics occurs when the user breaks contact with the one or more graphics. In some circumstances, inadvertent contact with a graphic does not select the graphic. For example, a swipe gesture that sweeps over a visual mark optionally does not select the visual mark when the gesture corresponding to selection is a tap. Device 100 optionally also includes one or more physical buttons and/or other input/output devices, such as a microphone for verbal inputs.

FIG. 2 illustrates multifunction device 200 in accordance with some embodiments. Device 200 need not be portable. In some embodiments, device 200 is a laptop computer, a desktop computer, a tablet computer, or an educational device. Device 200 includes screen 202 and touch-sensitive surface 204. Screen 202 optionally displays one or more graphics within a UI. In some embodiments, a user is enabled to select one or more of the graphics by making a touch input (e.g., touch input 210) on touch-sensitive surface 204 such that a corresponding cursor (e.g., cursor 212) on screen 202 selects the one or more graphics. For example, when an input is detected on touch-sensitive surface 204 while cursor 212 is over a particular user interface element (e.g., a button, window, slider or other user interface element), the particular user interface element is adjusted in accordance with the detected input.

FIG. 3A is a block diagram illustrating portable multifunction device 100, in accordance with some embodiments. It should be appreciated that device 100 is only one example of a portable multifunction device, and that device 100 optionally has more or fewer components than shown, optionally combines two or more components, or optionally has a different configuration or arrangement of the components. The various components shown in FIG. 3A are implemented in hardware, software, firmware, or a combination of hardware, software, and/or firmware, including one or more signal processing and/or application specific integrated circuits.

Device 100 includes one or more processing units (CPU's) 302, input/output (I/O) subsystem 306, memory 308 (which optionally includes one or more computer readable storage mediums), and network communications interface 310. These components optionally communicate over one or more communication buses or signal lines 304. Communication buses 304 optionally include circuitry (sometimes called a chipset) that interconnects and controls communications between system components.

Memory 308 includes high-speed random access memory, such as DRAM, SRAM, DDR RAM or other random access solid state memory devices, and may include non-volatile memory, such as one or more magnetic disk storage devices, optical disk storage devices, flash memory devices, or other non-volatile solid state storage devices. Memory 308 optionally includes one or more storage devices remotely located from processor(s) 302. Memory 308, or alternately the non-volatile memory device(s) within memory 308, comprises a non-transitory computer readable storage medium.

In some embodiments, the software components stored in memory 308 include operating system 318, communication module 320, input/output (I/O) module 322, and applications 328. In some embodiments, one or more of the various modules comprises a set of instructions in memory 308. In some embodiments, memory 308 stores one or more data sets in one or more database(s) 332.

Operating system 318 (e.g., Darwin, RTXC, LINUX, UNIX, OS X, WINDOWS, or an embedded operating system such as VxWorks) includes various software components and/or drivers for controlling and managing general system tasks (e.g., memory management, storage device control, power management, etc.) and facilitates communication between various hardware, software, and/or firmware components.

Communication module 320 facilitates communication with other devices over one or more external ports and also includes various software components for handling data received from other devices.

I/O module 322 includes touch input sub-module 324 and graphics sub-module 326. Touch input sub-module 324 optionally detects touch inputs with touch screen 102 and other touch sensitive devices (e.g., a touchpad or physical click wheel). Touch input sub-module 324 includes various software components for performing various operations related to detection of a touch input, such as determining if contact has occurred (e.g., detecting a finger-down event), determining if there is movement of the contact and tracking the movement across the touch-sensitive surface (e.g., detecting one or more finger-dragging events), and determining if the contact has ceased (e.g., detecting a finger-up event or a break in contact). Touch input sub-module 324 receives contact data from the touch-sensitive surface (e.g., touch screen 102). These operations are, optionally, applied to single touch inputs (e.g., one finger contacts) or to multiple simultaneous touch inputs (e.g., “multitouch”/multiple finger contacts). In some embodiments, touch input sub-module 324 detects contact on a touchpad.

Touch input sub-module 324 optionally detects a gesture input by a user. Different gestures on the touch-sensitive surface have different contact patterns. Thus, a gesture is, optionally, detected by detecting a particular contact pattern. For example, detecting a finger tap gesture includes detecting a finger-down event followed by detecting a finger-up (lift off) event at the same position (or substantially the same position) as the finger-down event (e.g., at the position of an data mark). As another example, detecting a finger swipe gesture on the touch-sensitive surface includes detecting a finger-down event followed by detecting one or more finger-dragging events, and subsequently followed by detecting a finger-up (lift off) event.

Graphics sub-module 326 includes various known software components for rendering and displaying graphics on touch screen 102 or other display, including components for changing the visual impact (e.g., brightness, transparency, saturation, contrast or other visual property) of graphics that are displayed. As used herein, the term “graphics” includes any object that can be displayed to a user, including without limitation data visualizations, icons (such as user-interface objects including soft keys), text, digital images, animations and the like. In some embodiments, graphics sub-module 326 stores data representing graphics to be used. Each graphic is, optionally, assigned a corresponding code. Graphics sub-module 326 receives, from applications etc., one or more codes specifying graphics to be displayed along with, if necessary, coordinate data and other graphic property data, and then generates screen image data to output to the display or touch screen.

Applications 328 optionally include data visualization module 330 for displaying graphical views of data and one or more other applications. Examples of other applications that are, optionally, stored in memory 308 include word processing applications, email applications, and presentation applications.

In conjunction with I/O interface 306, including touch screen 102, CPU(s) 302, and/or database(s) 332, data visualization module 330 includes executable instructions for displaying and manipulating various graphical views of data.

Each of the above identified modules and applications correspond to a set of executable instructions for performing one or more functions described above and the methods described in this application (e.g., the computer-implemented methods and other information processing methods described herein). These modules (i.e., sets of instructions) need not be implemented as separate software programs, procedures, or modules, and thus various subsets of these modules are, optionally, combined or otherwise re-arranged in various embodiments. In some embodiments, memory 308 optionally stores a subset of the modules and data structures identified above. Furthermore, memory 308 optionally stores additional modules and data structures not described above.

FIG. 3B is a block diagram illustrating multifunction device 200, in accordance with some embodiments. It should be appreciated that device 200 is only one example of a multifunction device, and that device 200 optionally has more or fewer components than shown, optionally combines two or more components, or optionally has a different configuration or arrangement of the components. The various components shown in FIG. 3B are implemented in hardware, software, firmware, or a combination of hardware, software, and/or firmware, including one or more signal processing and/or application specific integrated circuits.

Device 200 typically includes one or more processing units/cores (CPUs) 352, one or more network or other communications interfaces 362, memory 350, I/O interface 356, and one or more communication buses 354 for interconnecting these components. Communication buses 354 optionally include circuitry (sometimes called a chipset) that interconnects and controls communications between system components.

I/O interface 306 comprises screen 202 (also sometimes called a display), touch-sensitive surface 204, and one or more sensor(s) 360 (e.g., optical, acceleration, proximity, and/or touch-sensitive sensors). I/O interface 356 optionally includes a keyboard and/or mouse (or other pointing device) 358. I/O interface 356 couples input/output peripherals on device 200, such as screen 202, touch-sensitive surface 204, other input devices 358, and one or more sensor(s) 360, to CPU(s) 352 and/or memory 350.

Screen 202 provides an output interface between the device and a user. Screen 202 displays visual output to the user. The visual output optionally includes graphics, text, icons, data marks, and any combination thereof (collectively termed “graphics”). In some embodiments, some or all of the visual output corresponds to user-interface objects. Screen 202 optionally uses LCD (liquid crystal display) technology, LPD (light emitting polymer display) technology, or LED (light emitting diode) technology, although other display technologies are used in other embodiments.

In addition to the touch screen, device 200 includes touch-sensitive surface 204 (e.g., a touchpad) for detecting touch inputs. Touch-sensitive surface 204 accepts input from the user via touch inputs. For example, touch input 210 in FIG. 2. Touch-sensitive surface 204 (along with any associated modules and/or sets of instructions in memory 350) detects touch inputs and converts the detected inputs into interaction with user-interface objects (e.g., one or more icons, data marks, or images) that are displayed on screen 202. In an exemplary embodiment, a point of contact between touch-sensitive surface 204 and the user corresponds to a finger of the user.

Memory 350 includes high-speed random access memory, such as DRAM, SRAM, DDR RAM or other random access solid state memory devices; and optionally includes non-volatile memory, such as one or more magnetic disk storage devices, optical disk storage devices, flash memory devices, or other non-volatile solid state storage devices. Memory 350 optionally includes one or more storage devices remotely located from CPU(s) 352. In some embodiments, the software components stored in memory 350 include operating system 364, communication module 366, input/output (I/O) module 368, and applications 374. In some embodiments, one or more of the various modules comprises a set of instructions in memory 350. In some embodiments, memory 350 stores one or more data sets in one or more database(s) 378. In some embodiments, I/O module 368 includes touch input sub-module 370 and graphics sub-module 372. In some embodiments, applications 374 include data visualization module 376.

In some embodiments, memory 350 stores programs, modules, and data structures analogous to the programs, modules, and data structures stored in memory 308 of portable multifunction device 100 (FIG. 3A), or a subset thereof. Furthermore, memory 350 optionally stores additional programs, modules, and data structures not present in memory 308 of portable multifunction device 100. For example, memory 350 of device 200 optionally stores drawing, presentation, and word processing applications, while memory 308 of portable multifunction device 100 (FIG. 3A) optionally does not store these modules.

Device 200 also includes a power system for powering the various components. The power system optionally includes a power management system, one or more power sources (e.g., battery, alternating current (AC)), a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator (e.g., a light-emitting diode (LED)) and any other components associated with the generation, management, and distribution of power in portable devices.

Each of the above identified elements in FIG. 3B is, optionally, stored in one or more of the previously mentioned memory devices. Each of the above identified modules corresponds to a set of instructions for performing a function described above. The above identified modules or programs (i.e., sets of instructions) need not be implemented as separate software programs, procedures or modules, and thus various subsets of these modules are, optionally, combined or otherwise re-arranged in various embodiments. In some embodiments, memory 350 optionally stores a subset of the modules and data structures identified above. Furthermore, memory 350 optionally stores additional modules and data structures not described above.

Attention is now directed towards embodiments of user interfaces (“UI”) that are, optionally, implemented on portable multifunction device 100 or device 200. The following examples are shown utilizing a touch screen (e.g., touch screen 102 in FIG. 1). However, it should be understood that, in some embodiments, the inputs (e.g., finger contacts) are detected on a touch-sensitive surface on a device that is distinct from a display on the device. In addition, while the following examples are given primarily with reference to finger inputs (e.g., finger contacts, finger tap gestures, finger swipe gestures), it should be understood that, in some embodiments, one or more of the finger inputs are replaced with input from another input device (e.g., a mouse based input or stylus input). For example, a swipe gesture is, optionally, replaced with a mouse click (e.g., instead of a contact) followed by movement of the cursor along the path of the swipe (e.g., instead of movement of the contact). As another example, a tap gesture is, optionally, replaced with a mouse click while the cursor is located over the location of the tap gesture (e.g., instead of detection of the contact followed by ceasing to detect the contact). Similarly, when multiple user inputs are simultaneously detected, it should be understood that multiple computer mice are, optionally, used simultaneously, or a mouse and finger contacts are, optionally, used simultaneously.

FIGS. 4A-4B illustrate user interfaces for initiating data visualization, in accordance with some embodiments. FIG. 4A shows UI 402 including an email application. The email application contains an email including attached file 402. FIG. 4A also shows contact 410 over the icon corresponding to file 402. FIG. 4B shows UI 450 including a data visualization application. The data visualization application includes a graphical view of data from file 402. The graphical view includes chart 404 (e.g., a bar chart) with chart label 406, a plurality of categories, and a plurality of category labels 408. In some embodiments, file 402 has a file type associated with the data visualization application and, in response to detecting contact 410, the data visualization application is initialized and the data from file 402 is displayed in a graphical view.

FIGS. 5A-5G illustrate user interfaces for adjusting chart filters, in accordance with some embodiments. FIG. 5A shows UI 450 including category 502-1 and category label 408-1. FIG. 5A also shows contact 510 detected at position 510-a corresponding to the visual mark (e.g., a bar corresponding to category 502-1) for category 502-1. FIG. 5B shows UI 520 including contact 510 detected at position 510-b and the visual mark for category 502-1 moving in concert with movement of contact 510 via an animated transition. FIG. 5C shows UI 522 including contact 510 detected at position 510-c and the visual mark for category 502-1 continuing to move in concert with movement of contact 510 via an animated transition. FIG. 5C also shows indicium 504 indicating that category 502-1 (Catering) is being filtered out of the data as a result of the current action (e.g., the movement of contact 510). FIG. 5D shows UI 524 including indicium 504, contact 510 detected at position 510-d, and the visual mark for category 502-1 continuing to move in concert with movement of a contact 510 via an animated transition. FIG. 5E shows UI 526 including indicium 504 and the removal of the visual mark for category 502-1 from the chart.

FIG. 5F shows UI 528 including indicium 504, contact 510 detected at position 510-e, and the visual mark for category 502-1 continuing to move in concert with movement of a contact 510 via an animated transition. FIG. 5G shows UI 530 including indicium 506, contact 510 detected at position 510-f, and the visual mark for category 502-1 continuing to move in concert with movement of a contact 510 via an animated transition. In some embodiments, as shown in FIGS. 5A-5E, the first category and the first visual mark are removed from the chart via an animated transition in response to contact 510 moving to a pre-defined location. In some embodiments, as shown in FIGS. 5F-5G, the first category and the first visual mark are added back to the chart via an animated transition in response to contact 510 moving away from the pre-defined location.

FIGS. 6A-6L illustrate user interfaces for changing chart categories, in accordance with some embodiments. FIG. 6A shows UI 601 including a chart with chart label 602-1 (Menu Item) and categories 502 (including categories 502-1 through 502-13) with category labels 408. FIG. 6A also shows contact 610 detected at position 610-a corresponding to chart label 602-1. FIGS. 6B and 6C show contact 610 moving to position 610-b and 610-c respectively and the first chart with chart label 602-1 (Menu Item) being replaced by a second chart with chart label 602-2 (Menu Group) via an animated transition. FIGS. 6B and 6C also show chart categories 502 being replaced by categories 604 via an animated transition, and category labels 408 being replaced by category labels 606 via an animated transition.

FIG. 6D shows UI 607 including the second chart with chart label 602-2 (Menu Group) and categories 604 with category labels 606. FIG. 6D also shows contact 620 detected at position 620-a corresponding to chart label 602-2. FIGS. 6E and 6F show contact 620 moving to positions 620-b and 620-c respectively and the second chart with chart label 602-2 (Menu Group) being replaced by a third chart with chart label 602-3 (Day) via an animated transition. FIGS. 6E and 6F also show chart categories 604 being replaced by categories 612 via an animated transition, and category labels 606 being replaced by category labels 614 via an animated transition.

FIG. 6G shows UI 613 including the third chart with chart label 602-3 (Day) and categories 612 with category labels 614. FIG. 6G also shows contact 630 detected at a position corresponding to chart label 602-3 and selection menu 616 displayed. In some embodiments, contact 630 is detected and identified as a tap input and selection menu 616 is displayed in response. FIG. 6H shows UI 615 with selection menu 616 including selection categories 618. FIG. 6H also shows contact 640 detected at a position corresponding to selection category 618-2. FIG. 6I shows UI 617 including a fourth chart with chart label 602-4 (Hour) and categories 622 with category labels 624. In some embodiments, the chart shown in FIG. 6I replaces the chart shown in FIG. 6H in response to the detection of contact 640 at a position corresponding to selection category 618-2.

FIG. 6J shows UI 619 including the fourth chart with chart label 602-4 (Hour) and categories 622 with category labels 624. FIG. 6J also shows contact 650 detected at position 650-a corresponding to chart label 602-4. FIGS. 6K and 6L show contact 650 moving to positions 650-b and 650-c respectively and the fourth chart with chart label 602-4 (Hour) being replaced by the first chart with chart label 602-1 (Menu Item) via an animated transition. FIGS. 6K and 6L also show chart categories 622 being replaced by categories 502 via an animated transition, and category labels 624 being replaced by category labels 408 via an animated transition.

FIGS. 7A-7D illustrate user interfaces for adjusting chart filters, in accordance with some embodiments. FIG. 7A shows UI 701 including a chart with categories 612 (including category 612-4) and corresponding category labels 614. FIG. 7A also shows indicium 504 indicating that data corresponding to category 502-1 has been filtered out of the chart. FIG. 7A further shows contact 710 detected at position 710-a corresponding to indicium 504. FIGS. 7B and 7C show contact 710 moving to positions 710-b and 710-c respectively and the removal of indicium 504 along with the chart updating reflect inclusion of data that corresponds to category 502-1. FIGS. 7B and 7C also show categories 612 reordered to reflect inclusion of the data corresponding to category 502-1.

FIG. 7D shows UI 707 including indicium 504, contact 720 detected at a position corresponding to indicium 504, and categories 612. In some embodiments, as shown in FIGS. 7A-7C, the chart is updated to reflect inclusion of data that corresponds to category 502-1 in response to contact 710 moving from a pre-defined location or area on the UI. In some embodiments, as shown in FIG. 7D, the chart is updated to reflect exclusion of data that corresponds to category 502-1 in response to contact 720.

FIGS. 8A-8D illustrate user interfaces for adjusting chart filters, in accordance with some embodiments. FIG. 8A shows UI 801 including category 502-2 and category label 408-2. FIG. 8A also shows contact 810 detected at position 810-a corresponding to the visual mark for category 502-2 (e.g., a bar corresponding to category 502-2). FIGS. 8B and 8C show contact 810 moving to positions 810-b and 810-c respectively and the visual mark for category 502-2 moving in concert with movement of contact 810 via an animated transition. FIGS. 8B and 8C also show indicium 802 indicating that only the data corresponding to category 502-2 is being included as a result of the current action (e.g., the movement of contact 810). FIG. 8D shows UI 805 including indicium 802 and the removal of the visual mark for all categories except for category 502-1.

FIGS. 9A-9B illustrate user interfaces for changing chart views, in accordance with some embodiments. FIG. 9A shows UI 901 including indicium 802 and a bar chart with category 502-2. FIG. 9A also shows contact 910 detected at a position on UI 901 that corresponds to a line chart graphical view. FIG. 9B shows UI 903 including indicium 802 and a line chart. In some embodiments, the bar chart shown in FIG. 9A is replaced by the line chart shown in FIG. 9B in response to detection of contact 910 at a position on UI 901 that corresponds to a line chart graphical view.

FIGS. 10A-10B illustrate user interfaces for adjusting a chart view, in accordance with some embodiments. FIG. 10A shows UI 1001 including a chart. FIG. 10A also shows contact 1010 detected at position 1010-a on UI 1001. FIG. 10B shows contact 1010 at position 1010-b and movement of the chart in concert with movement of contact 1010.

FIGS. 11A-11J illustrate user interfaces for adjusting chart magnification, in accordance with some embodiments. FIG. 11A shows UI 1101 including a chart at a first magnification (e.g., a first zoom level). FIG. 11A also shows contacts 1110 and 1120 detected at positions 1110-a and 1120-a respectively. FIG. 11B shows contacts 1110 and 1120 detected at positions 1110-b and 1120-b respectively and shows UI 1103 including the chart at a second magnification (e.g., zoomed in from the first zoom level). The relative positions of contacts 1110 and 1120 in FIG. 11B are further apart than the positions of contacts 1110 and 1120 in FIG. 11A and represent a de-pinch gesture on the touch screen. The second magnification of the chart shown in FIG. 11B includes the same vertical scale as the first magnification of the line shown in FIG. 11A. FIGS. 11C and 11D show an animated transition of the chart to a third magnification. The animated transition shown in FIGS. 11C and 11D includes an increase in the vertical scale of the chart. In some embodiments, the animated transition shown in FIGS. 11C and 11D is in response to ceasing to detect contacts 1110 and 1120 (e.g., detecting lift off of the contacts).

FIG. 11E shows UI 1109 including the chart at a fourth magnification. FIG. 11E also shows contacts 1130 and 1140 detected at positions 1130-a and 1140-a respectively. FIG. 11F shows contacts 1130 and 1140 detected at positions 1130-b and 1140-b respectively and shows UI 1111 including the chart at a fifth magnification (e.g., zoomed in from the fourth magnification).

FIG. 11G shows UI 1113 including the chart at a sixth magnification. FIG. 11G also shows contacts 1150 and 1160 detected at positions 1150-a and 1160-a respectively. FIG. 11H shows contacts 1150 and 1160 detected at positions 1150-b and 1160-b respectively and shows UI 1115 including the chart at a seventh magnification (e.g., zoomed in from the sixth magnification).

FIG. 11I shows UI 1117 including the chart at an eighth magnification. FIG. 11I also shows contacts 1170 and 1180 detected at positions 1170-a and 1180-a respectively. FIG. 11J shows contacts 1170 and 1180 detected at positions 1170-b and 1180-b respectively and shows UI 1119 including the chart at a ninth magnification (e.g., zoomed in from the eighth magnification).

FIGS. 12A-12D illustrate user interfaces for adjusting chart magnification, in accordance with some embodiments. FIG. 12A shows UI 1201 including a chart at an initial magnification. FIG. 12A also shows contacts 1210 and 1220 detected at positions 1210-a and 1220-a respectively. FIG. 12B shows contacts 1210 and 1220 detected at positions 1210-b and 1220-b respectively and shows UI 1203 including the chart at a second magnification (e.g., zoomed in from the initial magnification). The relative positions of contacts 1210 and 1220 in FIG. 12B are further apart than the positions of contacts 1210 and 1220 in FIG. 12A and represent a de-pinch gesture on the touch screen. FIG. 12C shows contacts 1210 and 1220 detected at positions 1210-c and 1220-c respectively and shows UI 1205 including the chart at a third magnification (e.g., zoomed out from the second magnification). The relative positions of contacts 1210 and 1220 in FIG. 12C are closer together than the positions of contacts 1210 and 1220 in FIG. 12B and represent a pinch gesture on the touch screen. FIG. 12D shows contacts 1210 and 1220 detected at positions 1210-d and 1220-d respectively and shows UI 1207 including the chart at a fourth magnification (e.g., zoomed out from the third magnification). The relative positions of contacts 1210 and 1220 in FIG. 12D are closer together than the positions of contacts 1210 and 1220 in FIG. 12A and represent a pinch gesture on the touch screen.

FIGS. 13A-13D illustrate user interfaces for selecting chart areas, in accordance with some embodiments. FIG. 13A shows UI 1301 including a chart with selected portion 1302 and information regarding selected portion 1302. For example, FIG. 13A show information regarding the number of records in selected portion 1302. FIG. 13A also shows contact 1310 detected at position 1310-a corresponding to selected portion 1302. FIG. 13B shows UI 1303 and contact 1310 at position 1310-b and the chart with selected portion 1304 corresponding to the movement of contact 1310. FIG. 13B also shows the chart including information regarding selected portion 1304 (e.g., information showing a difference between selected portion 1302 and selected portion 1304). FIG. 13C shows UI 1305 and contact 1310 at position 1310-c and the chart with selected portion 1306 corresponding to the continued movement of contact 1310. FIG. 13C also shows the chart including information regarding selected portion 1306. FIG. 13D shows UI 1307 and contact 1310 at position 1310-d and the chart with selected portion 1308 corresponding to the continued movement of contact 1310. FIG. 13D also shows the chart including information regarding selected portion 1308.

FIGS. 14A-14D illustrate user interfaces for exporting data visualizations, in accordance with some embodiments. FIG. 14A shows UI 1401 including a chart with selected portion 1308. FIG. 14B shows UI 1403 including the chart with selected portion 1308 and selection menu 1402. FIG. 14B also shows contact 1410 detected at a position corresponding to an icon for selection menu 1402. In some embodiments, selection menu 1402 is shown in response to contact 1410 being detected over the icon for selection menu 1402. FIG. 14C shows UI 1405 including the chart with selected portion 1308 and selection menu 1402. FIG. 14C also shows contact 1420 detected at a position corresponding to a menu option (Email Image) in selection menu 1402. FIG. 14D shows UI 1407 with an email that includes information from the chart. In some embodiments, UI 1407 in FIG. 14D is shown in response to detecting contact 1420 at a position corresponding to the Email Image menu option in selection menu 1402.

FIGS. 15A-15C illustrate user interfaces for adjusting a chart view, in accordance with some embodiments. FIG. 15A shows UI 1501 including a chart. FIG. 15A also shows contact 1510 detected at position 1510-a on UI 1501. FIG. 15B shows UI 1503 and contact 1510 at position 1510-b. FIG. 15B also shows movement of the chart in concert with movement of contact 1510. For example, FIG. 15B shows both contact 1510 and the chart moving to the right from their respective positions in FIG. 15A. FIG. 15C shows UI 1505 and contact 1510 at position 1510-c. FIG. 15C also shows movement of the chart in concert with movement of contact 1510. For example, FIG. 15C shows both contact 1510 and the chart moving to the left from their respective positions in FIG. 15B.

FIGS. 16A-16D illustrate user interfaces for changing chart categories, in accordance with some embodiments. FIG. 16A shows UI 1601 including a chart with chart label 1602-1 (Average). FIG. 16A also shows contact 1610 detected at a position corresponding to chart label 1602-1. FIG. 16B shows UI 1603 including a chart with chart label 1602-2 (Percentile Bands). In some embodiments, the chart shown in FIG. 16B replaces the chart shown in FIG. 16A in response to the detection of contact 1610 at a position on the chart label.

FIG. 16C shows UI 1605 including a chart with chart label 1602-2 (Percentile Bands). FIG. 16C also shows contact 1620 detected at a position corresponding to chart label 1602-2. FIG. 16D shows UI 1607 including a chart with chart label 1602-3 (Summary). In some embodiments, the chart shown in FIG. 16D replaces the chart shown in FIG. 16C in response to the detection of contact 1620 at a position on the chart label.

FIGS. 17A-17B illustrate user interfaces for selecting chart areas, in accordance with some embodiments. FIG. 17A shows UI 1701 including a chart. FIG. 17A also shows contact 1710 detected at a position corresponding to a portion of the chart. FIG. 17B shows UI 1703 including a chart with selected portion 1702 and information regarding selected portion 1702. For example, FIG. 17B shows information regarding the number of records in selected portion 1702. FIG. 17B also shows contact 1720 detected at a position corresponding to selected portion 1702. In some embodiments, selected portion 1702 is selected in response to detecting contact 1720. In some embodiments, contact 1710 detected in FIG. 17A represents a first type of touch input (e.g., a swipe gesture) and contact 1720 detected in FIG. 17B represents a second type of touch input (e.g., a tap gesture).

FIGS. 18A-18E illustrate user interfaces for adjusting chart magnification, in accordance with some embodiments. FIG. 18A shows UI 1801 including a chart with selected portion 1802 at an initial magnification. FIG. 18A also shows contacts 1810 and 1820 detected at positions 1810-a and 1820-a respectively. FIG. 18B shows contacts 1810 and 1820 detected at positions 1810-b and 1820-b respectively and shows UI 1803 including the chart at a second magnification (e.g., zoomed in from the initial magnification). The relative positions of contacts 1810 and 1820 in FIG. 18B are further apart than the positions of contacts 1810 and 1820 in FIG. 18A and represent a de-pinch gesture on the touch screen. FIG. 18C shows contacts 1810 and 1820 detected at positions 1810-c and 1820-c respectively and shows UI 1805 including the chart at a third magnification (e.g., zoomed in from the second magnification).

FIG. 18D shows UI 1807 including the chart at a fourth magnification. FIG. 18D also shows contacts 1830 and 1840 detected at positions 1830-a and 1840-a respectively. FIG. 18E shows contacts 1830 and 1840 detected at positions 1830-b and 1840-b respectively and shows UI 1809 including the chart at a fifth magnification (e.g., zoomed in from the fourth magnification).

FIGS. 19A-19D illustrate user interfaces for adjusting chart magnification, in accordance with some embodiments. FIG. 19A shows UI 1901 including a chart at an initial magnification. FIG. 19A also shows the chart including data marks 1902 (e.g., data marks 1902-1 through 1902-5). FIG. 19B shows UI 1903 including the chart at a second magnification (e.g., zoomed in from the initial magnification). FIG. 19B also shows the chart including data marks 1902 (e.g., a subset of data marks 1902 shown in FIG. 19A) and data marks 1904. FIG. 19C shows UI 1905 including the chart at a third magnification (e.g., zoomed in from the second magnification). FIG. 19C also shows the chart including data marks 1902 and data marks 1904. In some embodiments, data marks 1904 are initially placed on the line connecting data marks 1902 as shown in FIG. 19B and are animatedly moved (e.g., using continuous motion rather than a jump) to their respective ordinates as shown in FIG. 19C. FIG. 19D shows UI 1907 including the chart with data marks 1902 and data marks 1904 at a fourth magnification (e.g., zoomed in from the third magnification).

FIGS. 19E-19L illustrate user interfaces for displaying information about a data mark, in accordance with some embodiments. FIG. 19E shows UI 1909 including a chart at an initial magnification. FIG. 19E also shows the chart including data marks 1908 (e.g., including data marks 1908-1 and 1908-2). FIG. 19E also shows contacts 1930 and 1940 detected at positions 1930-a and 1940-a respectively. FIGS. 19F-19I show an animated transition from data mark 1908-1 to record 1914-1 in concert with movement of contacts 1930 and 1940 (e.g., the movement of contacts 1930 and 1940 represent a de-pinch gesture). Specifically, FIG. 19F shows UI 1911 including contacts 1930 and 1940 detected at positions 1930-b and 1940-b respectively and an animated transition from data mark 1908-1 to record 1914-1 in concert with movement of contacts 1930 and 1940. FIG. 19G shows UI 1913 including contacts 1930 and 1940 detected at positions 1930-c and 1940-c respectively and a continued animated transition (e.g., using continuous movement) from data mark 1908-1 to record 1914-1 in concert with movement of contacts 1930 and 1940. FIG. 19H shows UI 1915 including contacts 1930 and 1940 detected at positions 1930-d and 1940-d respectively and a continued animated transition from data mark 1908-1 to record 1914-1 in concert with movement of contacts 1930 and 1940. FIG. 19I shows UI 1917 including record 1914-1. In some embodiments, UI 1917 shown in FIG. 19I is displayed in response to ceasing to detect contacts 1930 and 1940 after completion of a de-pinch gesture (e.g., detecting lift of the contacts).

FIG. 19J shows UI 1919 including a chart at an initial magnification. FIG. 19J also shows the chart including data marks 1908 (e.g., including data marks 1908-1 and 1908-2). FIGS. 19K and 19L show an animated transition from data mark 1908-2 to record 1914-2. In some embodiments, the animated transition from data mark 1908-2 to record 1914-2 is in concert with a touch input (e.g., a de-pinch gesture).

Attention is now directed towards methods that are, optionally, implemented on portable multifunction device 100 or device 200.

FIGS. 20A-20D are flow diagrams illustrating method 2000 of data visualization, in accordance with some embodiments. Method 2000 is performed at an electronic device (e.g., portable multifunction device 100, FIG. 1, or device 200, FIG. 2) with a display and a touch-sensitive surface. In some embodiments, the display is a touch screen display and the touch-sensitive surface is on the display. In some embodiments, the display is separate from the touch-sensitive surface. In some embodiments, method 2000 is governed by instructions that are stored in a non-transitory computer readable storage medium and that are executed by one or more processors of a device, such as the one or more processors 302 of portable multifunction device 100 and/or the one or more processors 352 of multifunction device 200, as shown in FIGS. 3A-3B. Some operations in method 2000 are, optionally, combined and/or the order of some operations is, optionally, changed.

As described below, method 2000 provides an intuitive way to change filtering. This method is particularly useful when the user is interacting with a portable device and/or a compact device with a smaller screen. The method reduces the cognitive burden on the user when applying and/or removing filters, thereby creating a more efficient human-machine interface. For battery-operated electronic devices, enabling a user to adjust filters faster and more efficiently conserves power and increase the time between battery charges.

The device displays (2002) a first chart on the display. For example, FIG. 5A shows UI 450 including a bar chart.

The first chart concurrently displays (2004) a first set of categories. For example, the bar chart in FIG. 5A includes categories 502.

Each respective category in the first set of categories has (2006) a corresponding visual mark (e.g., a picture, drawing, or other graphic) displayed in the first chart. For example, a respective category in a bar chart has a corresponding bar that represents a value for that respective category, a respective category in a pie chart has a corresponding slice of the pie chart that represents a value for that respective category, etcetera. For example, the bar chart in FIG. 5A includes categories 502 and a bar (e.g., a visual mark) corresponding to each category.

The device detects (2008) a first touch input (e.g., a swipe gesture or a drag gesture) at a location on the touch-sensitive surface that corresponds to a location on the display of a first visual mark for a first category in the first chart. For example, FIGS. 5A-5D show contact 510 detected at positions 510-a, 510-b, 510-c, and 510-d respectively.

In some embodiments, the first touch input is (2010) a drag gesture or a swipe gesture that moves in a first predefined direction on the touch-sensitive surface. For example, a leftward drag gesture. For example, the movement of contact 510 shown in FIGS. 5A-5D represents a swipe gesture toward the left side of the screen.

In response (2012) to detecting the first touch input at the location on the touch-sensitive surface that corresponds to the location on the display of the first visual mark for the first category in the first chart, the device removes (2014) the first category and the first visual mark from the first chart via an animated transition, where the first visual mark moves in concert with movement of a finger contact in the first touch input during at least a portion of the animated transition. For example, FIGS. 5A-5E show an animated transition where the device removes category 502-1 and the visual mark corresponding category 502-1 in concert with movement of contact 510.

In response (2012) to detecting the first touch input at the location on the touch-sensitive surface that corresponds to the location on the display of the first visual mark for the first category in the first chart, the device updates (2016) display of the first chart. For example, repositioning the remaining categories in the first set and their corresponding visual marks (e.g., graphics) in the first chart. Thus, data that corresponds to the first category is filtered out of the first chart. This process may be repeated to remove additional categories in the first set of categories from the first chart. In some embodiments, the contact is a stylus contact. For example, FIGS. 5A-5E show the chart being updated in response to detecting contact 510 and the updating including repositioning the remaining categories.

In some embodiments, in response (2012) to detecting the first touch input at the location on the touch-sensitive surface that corresponds to the location on the display of the first visual mark for the first category in the first chart, the device ceases (2018) to display the first visual mark. In some embodiments, the first visual mark remains displayed while the finger contact in the first touch input remains in continuous contact with the touch-sensitive surface, and the first visual mark ceases to be displayed (e.g., fades out) in response to detecting lift off of the finger contact in the first touch input from the touch-sensitive surface. For example, FIGS. 5A-5D show an animated transition where the visual mark corresponding category 502-1 fades out and moves in concert with movement of contact 510 and FIG. 5E shows the first visual mark ceasing to be displayed.

In some embodiments, while displaying (2020) the first chart on the display, the device detects a fourth touch input (e.g., a tap gesture, a swipe gesture, or a drag gesture) at a location on the touch-sensitive surface that corresponds to a location on the display of a second visual mark for a second category in the first chart. For example, FIG. 8A shows the chart as in FIG. 5A including categories 502. FIG. 8A also shows the device detecting contact 810 at position 810-a corresponding to the visual mark for category 502-2.

In some embodiments, in response (2022) to detecting the fourth touch input at the location on the touch-sensitive surface that corresponds to the location on the display of the second visual mark for the second category in the first chart, the device: maintains (2024) display of the second category and the second visual mark in the second chart; removes display of all categories, other than the second category, in the first set of categories; and removes display of all visual marks, other than the second visual mark, that correspond to categories in the first set of categories. In some embodiments, the device responds differently to different finger gestures made on the touch-sensitive surface at a location that corresponds to a respective graphic for a respective category in the chart. For example, in accordance with a determination that the gesture is a leftward swipe or drag gesture, the device removes the respective category from the chart. On the other hand, in accordance with a determination that the gesture is a rightward swipe or drag gesture, the device maintains the respective category, but removes all the other categories from the chart. For example, FIGS. 8B-8D show movement of contact 810 and an animated transition where the device maintains the visual mark for category 502-2 removes the all other categories 502 and the visual marks for all other categories 502.

In some embodiments, in response (2022) to detecting the fourth touch input at the location on the touch-sensitive surface that corresponds to the location on the display of the second visual mark for the second category in the first chart, the device displays (2026) an indicium that only the second category in the first set of categories remains displayed. For example, FIG. 8D shows indicium 802 indicating that only category 502-2 is displayed.

In some embodiments, the first touch input is (2028) a drag gesture or a swipe gesture that moves in a first predefined direction on the touch-sensitive surface (e.g., a leftward drag gesture) and the fourth touch input is a drag gesture or a swipe gesture that moves in a second predefined direction on the touch-sensitive surface that is distinct from the first predefined direction (e.g., a rightward drag gesture). In some embodiments, the second predefined direction is opposite the first predefined direction. In some embodiments, the second predefined direction is perpendicular to the first predefined direction. For example, the movement of contact 510 shown in FIGS. 5A-5D represents a swipe gesture toward the left side of the screen and the movement of contact 810 shown in FIG. 8A-8C represents a swipe gesture toward the right side of the screen.

In some embodiments, in response (2012) to detecting the first touch input at the location on the touch-sensitive surface that corresponds to the location on the display of the first visual mark for the first category in the first chart, the device displays (2030) an indicium that the first category has been removed. In some embodiments, an indicium is displayed that indicates that data corresponding to the first category has been filtered out of the data that is used to create various related charts, such as the first chart and the second chart. For example, FIG. 5C shows indicium 504 indicating that category 502-1 has been removed.

In some embodiments, while displaying the indicium that the first category has been removed, the device changes (2032) from displaying the first chart with the first set of categories, other than the first category, to displaying a second chart. For example, FIGS. 6A-6C show an animated transition from a first chart shown in FIG. 6A to a second chart shown in FIG. 6C while continuing to display indicium 504.

In some embodiments, the second chart concurrently displays (2034) a second set of categories that are distinct from the first set of categories. Each respective category in the second set of categories has a corresponding visual mark displayed in the second chart. For example, FIG. 6A shows a chart including categories 502 and FIG. 6C shows a second chart including categories 604, distinct from categories 502, and bars for each of categories 604.

In some embodiments, while displaying the second chart with the second set of categories, the device detects (2036) a second touch input (e.g., a tap gesture, a swipe gesture, or a drag gesture) at a location on the touch-sensitive surface that corresponds to a location on the display of the indicium that the first category has been removed. For example, FIG. 7A shows a chart distinct from the chart shown in FIG. 6A and including categories 612 and indicium 504. FIG. 7A also shows the device detecting contact 710 at position 710-a corresponding to indicium 504.

In some embodiments, in response to detecting the second touch input at the location on the touch-sensitive surface that corresponds to the location on the display of the indicium that the first category has been removed, the device updates (2038) display of the second chart to reflect inclusion of data that corresponds to the first category in the first chart. Thus, data that corresponds to the first category, which was filtered out of the first chart and remained filtered out when the second chart was initially displayed, is added to the second chart and the visual marks (e.g., graphics) that correspond to the second set of categories in the second chart are automatically updated accordingly to reflect the addition of the data that corresponds to the first category. For example, FIGS. 7A-7C show the device detecting contact 710 moving from position 710-a in FIG. 7A to position 710-c in FIG. 7C. FIGS. 7A-7C also show an animated transition of the chart updating to reflect inclusion of the data from category 502-1.

In some embodiments, updating display of the second chart to reflect inclusion of data that corresponds to the first category in the first chart includes reordering (2040) display of the second set of categories in the second chart. For example, if the second set of categories in the second chart are ordered largest to smallest, and adding in the data that corresponds to the first category in the first chart changes the order of the second set of categories, then the display of the second chart is updated to reflect the changed order of the second set of categories. For example, via an animated rearrangement of the second set of categories as shown in FIGS. 7A-7C.

In some embodiments, after updating display of the second chart to reflect inclusion of data that corresponds to the first category, the device detects (2042) a third touch input. For example, a tap gesture, a swipe gesture, or a drag gesture at a location on the touch-sensitive surface that corresponds to a location on the display of a predefined area that displays one or more indicium of data filters, such as the area that displayed the indicium that the first category had been removed. For example, FIG. 7D shows the device detecting contact 720 at a position corresponding to indicium 504.

In some embodiments, in response to detecting a third touch input, the device updates (2044) display of the second chart to reflect removal of data that corresponds to the first category in the first chart. Thus, data that corresponds to the first category, which was added to the second chart in response to the second touch input (e.g., a rightward swipe or drag gesture), is removed in response to the third touch input (e.g., a leftward swipe or drag gesture) and the visual marks (e.g., graphics) that correspond to the second set of categories in the second chart are automatically updated accordingly to reflect the removal of the data that corresponds to the first category. For example, FIG. 7C shows a bar chart including categories 612 and FIG. 7D shows the device detecting contact 720 at a position corresponding to indicium 504 and an update to the bar chart to reflect exclusion of data corresponding to category 502-1.

FIGS. 21A-21F are flow diagrams illustrating method 2100 of data visualization, in accordance with some embodiments. Method 2100 is performed at an electronic device (e.g., portable multifunction device 100, FIG. 1, or device 200, FIG. 2) with a display and a touch-sensitive surface. In some embodiments, the display is a touch screen display and the touch-sensitive surface is on the display. In some embodiments, the display is separate from the touch-sensitive surface. In some embodiments, method 2100 is governed by instructions that are stored in a non-transitory computer readable storage medium and that are executed by one or more processors of a device, such as the one or more processors 302 of portable multifunction device 100 and/or the one or more processors 352 of multifunction device 200, as shown in FIGS. 3A-3B. Some operations in method 2100 are, optionally, combined and/or the order of some operations is, optionally, changed.

As described below, method 2100 provides an intuitive way to change chart categories. This method is particularly useful when the user is interacting with a portable device and/or a compact device with a smaller screen. The method reduces the cognitive burden on the user when changing chart categories, thereby creating a more efficient human-machine interface. For battery-operated electronic devices, enabling a user to switch categories faster and more efficiently conserves power and increase the time between battery charges.

The device displays (2102) a first chart on the display. For example, FIG. 6A shows UI 601 including a bar chart.

The first chart is derived (2104) from a set of data. For example, the chart in FIG. 6A is derived from a set of data in file 402 shown in FIG. 4A.

The first chart concurrently displays (2106) a first set of categories and a label for the first set of categories. For example, FIG. 6A a chart with chart label 602-1 including shows categories 502, each with a corresponding category label 408.

Each respective category in the first set of categories has (2108) a corresponding visual mark displayed in the first chart, the corresponding visual mark representing an aggregate value of a first field in the set of data, aggregated according to the first set of categories. For example, in FIG. 6A, a respective category in the bar chart has a corresponding bar that represents a value for the sum of sales for that category. In this example, “sales” is the first field, and the aggregation type is SUM. Each of the records in the underlying data set is included in one of the categories and is aggregated with other records from the same category. When switched to a different set of categories, the same first field “sales” is used and the same aggregation type SUM is used, but now the underlying records are grouped according to a different set of categories.

The device detects (2110) a first touch input (e.g., a swipe gesture or a drag gesture) at a location on the touch-sensitive surface that corresponds to a location on the display of the label for the first set of categories. For example, FIG. 6A shows the device detecting contact 610 at position 610-a corresponding to chart label 602-1.

In some embodiments, the first touch input is (2112) a drag gesture or a swipe gesture that moves in a first predefined direction on the touch-sensitive surface (e.g., a leftward drag gesture). For example, the movement of contact 610 shown in FIGS. 6A-6C represents a swipe gesture toward the left side of the screen.

In response to detecting the first touch input at the location on the touch-sensitive surface that corresponds to the location on the display of the label for the first set of categories, the device replaces (2114) display of the first chart with a second chart via an animated transition, where the label for the first set of categories moves in concert with movement of a finger contact in the first touch input during at least a portion of the animated transition. For example, FIGS. 6A-6C show an animated transition where the device replaces the first chart with chart label 602-1 with a second chart with chart label 602-2 in concert with movement of contact 610.

The second chart is derived (2116) from the set of data. For example, the chart in FIG. 6C is derived from a set of data in file 402 shown in FIG. 4A.

The second chart concurrently displays (2118) a second set of categories, which replaces display of the first set of categories, and a label for the second set of categories, which replaces display of the label for the first set of categories. In some embodiments, the label for the first set of categories remains displayed while the finger contact in the first touch input remains in continuous contact with the touch-sensitive surface, and the label for the first set of categories ceases to be displayed (e.g., fades out) in response to detecting lift off of the finger contact in the first touch input from the touch-sensitive surface. For example, FIG. 6A a first chart with chart label 602-1 including shows categories 502, each with a corresponding category label 408. FIGS. 6B-6C show an animated transition where the first chart is replaced with a second chart with chart label 602-2 and including categories 604, where chart label 602-2 is distinct from chart label 602-1 and categories 604 are distinct from categories 502.

Each respective category in the second set of categories has (2120) a corresponding visual mark displayed in the second chart, the corresponding visual mark representing an aggregate value of the first field in the set of data, aggregated according to the second set of categories. For example, in FIG. 6C, a respective category in the bar chart has a corresponding bar that represents a value for the sum of sales for that category.

In some embodiments, a label for the first field and aggregation type is displayed (2122) with the first chart, and the label for the first field and aggregation type continues to be displayed with the second chart. For example, FIG. 6A shows a first chart including field label 606 and FIG. 6C shows a second chart including field label 606.

In some embodiments, a label for the first field and aggregation type (e.g., SUM, MAX, MIN, AVERAGE, COUNT) is displayed (2124) with the first chart. For example, FIG. 6A shows a first chart including field label 606.

In some embodiments, in response to detecting the first touch input, the device: displays (2126) an animation of the second set of categories replacing the first set of categories; displays an animation of the label for the second set of categories replacing the label for the first set of categories; and maintains display of the label for the first field and aggregation type. For example, FIGS. 6A-6C show an animated transition where the device replaces the first chart with chart label 602-1 with a second chart with chart label 602-2 in concert with movement of contact 610 while maintaining display of field label 606.

In some embodiments, while displaying the second chart with the second set of categories, the device detects (2128) a second touch input (e.g., a tap gesture, a swipe gesture, or a drag gesture) at a location on the touch-sensitive surface that corresponds to a location on the display of an indicium that a predefined subset of data is not included in the aggregated values of the first field. For example, FIG. 7A shows a chart distinct from the chart shown in FIG. 6A and including categories 612 and indicium 504. FIG. 7A also shows the device detecting contact 710 at position 710-a corresponding to indicium 504.

In some embodiments, in response to detecting the second touch input at the location on the touch-sensitive surface that corresponds to the location on the display of the indicium that the predefined subset of data is not included in the aggregated values of the first field, the device updates display (2130) of the second chart to reflect inclusion of the predefined subset of data in the aggregated values. In some embodiments, data that was filtered out of the second set of data is added to the second set of data and the visual marks (e.g., graphics) that correspond to the second set of categories in the second chart are automatically updated accordingly to reflect the addition of the data that was previously filtered out. For example, FIGS. 7A-7C show the device detecting contact 710 moving from position 710-a in FIG. 7A to position 710-c in FIG. 7C. FIGS. 7A-7C also show an animated transition of the chart updating to reflect inclusion of the data from category 502-1.

In some embodiments, updating display of the second chart to reflect inclusion of the predefined subset of data includes reordering (2132) display of the second set of categories in the second chart. For example, if the second set of categories in the second chart are ordered largest to smallest, and adding in the predefined subset of data changes the order of the second set of categories, then the display of the second chart is updated to reflect the changed order of the second set of categories. For example, via an animated rearrangement of the second set of categories as shown in FIGS. 7A-7C.

In some embodiments, after updating display of the second chart to reflect inclusion of the predefined subset of data, the device detects (2134) a third touch input. For example, a tap gesture, a swipe gesture, or a drag gesture at a location on the touch-sensitive surface that corresponds to a location on the display of a predefined area that displays one or more indicium of data filters, such as the area that displayed the indicium that the predefined subset of data is not included in the second set of data. For example, FIG. 7D shows the device detecting contact 720 at a position corresponding to indicium 504.

In some embodiments, in response to detecting a third touch input, the device updates (2136) display of the second chart to reflect removal of the predefined subset of data. Thus, the predefined subset of data, which was added to the second chart in response to the second touch input (e.g., a rightward swipe or drag gesture), is removed in response to the third touch input (e.g., a leftward swipe or drag gesture) and the visual marks (e.g., graphics) that correspond to the second set of categories in the second chart are automatically updated accordingly to reflect the removal of the predefined subset of data. For example, FIG. 7C shows a bar chart including categories 612 and FIG. 7D shows the device detecting contact 720 at a position corresponding to indicium 504 and an update to the bar chart to reflect exclusion of data corresponding to category 502-1.

In some embodiments, replacing display of the first chart with the second chart via the animated transition in response to detecting the first touch input occurs (2138) without displaying a selection menu. For example, between displaying the first chart and displaying the second chart, the device does not display a selection menu that contains possible sets of categories to display in the second chart. For example, FIGS. 6A-6C show an animated transition where the device replaces the first chart with chart label 602-1 with a second chart with chart label 602-2 without displaying a selection menu.

In some embodiments, the first touch input is (2140) a drag gesture or a swipe gesture that moves in a first predefined direction on the touch-sensitive surface. For example, the movement of contact 610 shown in FIGS. 6D-6F represents a swipe gesture toward the left side of the screen.

In some embodiments, while displaying the second chart, the device detects (2142) a tap gesture at a location on the touch-sensitive surface that corresponds to a location on the display of a label for the second set of categories. For example, FIG. 6G shows the chart as in FIG. 6F including categories 612. FIG. 6G also shows the device detecting contact 630 at a position corresponding to chart label 602-3, as shown in FIG. 6F.

In some embodiments, in response to detecting the tap gesture at the location on the touch-sensitive surface that corresponds to the location on the display of the label for the second set of categories, the device displays (2144) a selection menu with possible sets of categories to display in a third chart. For example, FIG. 6G shows UI 613 including selection menu 616 in response to the device detecting contact 630.

In some embodiments, the device detects (2146) selection of a respective set of categories in the selection menu. For example, detecting a tap gesture at a location on the touch-sensitive surface that corresponds to a location on the display of the respective set of categories in the selection menu. For example, FIG. 6H shows UI 615 including selection menu 616, where selection menu 616 includes selection categories 618. FIG. 6H also shows the device detecting contact 640 at a position corresponding to selection category 618-2.

In some embodiments, in response to detecting selection of the respective set of categories in the selection menu, the device: replaces (2148) display of the second chart with a third chart that contains the selected respective set of categories; and ceasing to display the selection menu. Thus, in some embodiments, swipe or drag gestures on a chart label are used as a shortcut to quickly move between different chart types, whereas a tap gesture on the chart label is used to display a selection menu with available chart types and another tap gesture is used to select and display a particular chart type. For example, FIGS. 6G-6I show a transition between a first chart with categories 612 and a second chart with categories 622. Specifically, FIG. 6H shows UI 615 including the first chart and selection menu 616, where selection menu 616 includes selection categories 618. FIG. 6H also shows the device detecting contact 640 at a position corresponding to selection category 618-2. FIG. 6I shows UI 617 including the second chart shown in response to the device detecting contact 640.

In some embodiments, the first touch input is (2140) a drag gesture or a swipe gesture that moves in a first predefined direction on the touch-sensitive surface. For example, the movement of contact 620 shown in FIGS. 6D-6F represents a swipe gesture toward the left side of the screen.

In some embodiments, while displaying the second chart, the device detects (2150) a tap gesture at a location on the touch-sensitive surface that corresponds to a location on the display of a label for the second set of categories. For example, FIG. 6G shows the chart as in FIG. 6F including categories 612. FIG. 6G also shows the device detecting contact 630 at a position corresponding to chart label 602-3, as shown in FIG. 6F.

In some embodiments, in response to detecting the tap gesture at the location on the touch-sensitive surface that corresponds to the location on the display of the label for the second set of categories, the device displays (2152) a selection menu with possible sets of categories to display in a third chart. For example, FIG. 6G shows UI 613 including selection menu 616 in response to the device detecting contact 630.

In some embodiments, the device detects (2154) selection of a first set of categories in the selection menu and a second set of categories in the selection menu. For example, detecting a tap gesture at a location on the touch-sensitive surface that corresponds to a location on the display of the first set of categories in the selection menu and detecting a tap gesture at a location on the touch-sensitive surface that corresponds to a location on the display of the second set of categories in the selection menu. For example, FIG. 6H shows UI 615 including selection menu 616, where selection menu 616 includes selection categories 618. In some embodiments, the device detects a plurality of selection categories 618.

In some embodiments, in accordance with detecting selection of the first set of categories in the selection menu and the second set of categories in the selection menu, the device: replaces (2156) display of the second chart with a third chart that contains the first set of categories and the second set of categories; and ceases to display the selection menu. For example, in some embodiments, the third chart contains categories 612 as shown in FIG. 6G and categories 622 as shown in FIG. 6I.

FIGS. 22A-22B are flow diagrams illustrating method 2200 of data visualization, in accordance with some embodiments. Method 2200 is performed at an electronic device (e.g., portable multifunction device 100, FIG. 1, or device 200, FIG. 2) with a display and a touch-sensitive surface. In some embodiments, the display is a touch screen display and the touch-sensitive surface is on the display. In some embodiments, the display is separate from the touch-sensitive surface. In some embodiments, method 2200 is governed by instructions that are stored in a non-transitory computer readable storage medium and that are executed by one or more processors of a device, such as the one or more processors 302 of portable multifunction device 100 and/or the one or more processors 352 of multifunction device 200, as shown in FIGS. 3A-3B. Some operations in method 2200 are, optionally, combined and/or the order of some operations is, optionally, changed.

As described below, method 2200 provides an intuitive way to adjust chart magnification (e.g., zooming in and/or zooming out the chart view). This method is particularly useful when the user is interacting with a portable device and/or a compact device with a smaller screen. The method reduces the cognitive burden on the user when adjusting chart magnification, thereby creating a more efficient human-machine interface. For battery-operated electronic devices, enabling a user to adjust magnification faster and more efficiently conserves power and increase the time between battery charges.

The device displays (2202) a first chart on the display. For example, FIG. 11A shows UI 1101 including a chart.

The chart has (2204) a horizontal axis and a vertical axis. For example, the chart in FIG. 11A has a vertical axis (Money) and a horizontal axis (Time).

The horizontal axis includes (2206) first horizontal scale markers. For example, the chart in FIG. 11A has a horizontal axis (Time) with Month markers (e.g., February and March).

The vertical axis includes (2208) first vertical scale markers. For example, the chart in FIG. 11A has a vertical axis (Money) with thousand dollar markers (e.g., $1,000 through $4,000).

The device detects (2210) a first touch input at a location on the touch-sensitive surface that corresponds to a location on the display of the chart. For example, FIG. 11A shows the device detecting contact 1110 at position 1110-a and contact 1120 at position 1120-a.

In some embodiments, the first touch input is (2212) a de-pinch gesture. For example, the movement of contacts 1110 and 1120 shown in FIGS. 11A and 11B represents a de-pinch gesture.

While detecting the first touch input, the device: horizontally expands (2214) a portion of the chart such that a distance between first horizontal scale markers increases; and maintains a vertical scale of the chart such that a distance between first vertical scale markers remains the same. For example, FIG. 11A shows UI 1101 including a chart with a vertical axis (Money) and a horizontal axis (Time). FIG. 11A also shows the device detecting contact 1110 at position 1110-a and contact 1120 at position 1120-a. FIG. 11B shows the device detecting contact 1110 at position 1110-b and contact 1120 at position 1120-b and also shows the distance between the horizontal markers (e.g., month markers) increasing while the distance between the vertical markers remains the same. In some embodiments, the method further includes detecting a second touch input; and, while detecting the second touch input: horizontally shrinking a portion of the chart such that a distance between first horizontal scale markers decreases; and maintaining a vertical scale of the chart such that a distance between first vertical scale markers remains the same. For example, FIG. 12B shows UI 1207 including a chart with a vertical axis (Money) and a horizontal axis (Time). FIG. 12B also shows the device detecting contact 1210 at position 1210-b and contact 1220 at position 1220-b. FIGS. 12C and 12D show the device detecting contact 1110 at positions 1210-c and 1210-d and contact 1220 at positions 1220-c and 1220-d respectively. FIGS. 12C and 12D also show the distance between the horizontal markers (e.g., hour markers) decreasing while the distance between the vertical markers remains the same. In some embodiments, the second touch input is a pinch gesture. For example, the movement of contacts 1210 and 1220 shown in FIGS. 12B-12D represents a pinch gesture. In some embodiments, the method further includes detecting a third touch input; and, while detecting the third touch input, adjusting the chart view and the horizontal axis of the chart corresponding to the third touch input. In some embodiments, the third touch input is a drag gesture and the method includes: detecting movement of a finger contact in the drag gesture across the touch-sensitive surface and adjusting the chart view and horizontal axis of the chart accordingly. For example, FIG. 15B shows UI 1503 including a chart with a first chart view. FIG. 15B also shows the device detecting contact 1510 at position 1510-b. FIG. 15C shows the device detecting contact 1510 at position 1510-c (to the left of position 1510-b). FIG. 15C also shows UI 1505 including a chart with a second chart view (e.g., shifted to the left compared to the first chart view).

In some embodiments, after horizontally expanding the portion of the chart and maintaining the vertical scale of the chart while detecting the first touch input, the device ceases (2216) to detect the first touch input. For example, FIG. 11B shows UI 1103 with a horizontally expanded portion of the chart shown in FIG. 11A. FIG. 11B also shows the device detecting contacts 1110 and 1120 and the vertical scale of the chart remaining the same as the scale shown in FIG. 11A.

In some embodiments, in response to ceasing to detect the first touch input (e.g., detecting lift off of the fingers in the first touch input), the device changes (2218) a vertical scale of the chart. In some embodiments, the vertical scale is adjusted so that all of the data marks are visible within a predefined margin. For example, in FIGS. 11C and 11D, the device ceases to detect contacts 1110 and 1120 and the vertical scale of the chart is adjusted such that the distance between the vertical markers increases.

In some embodiments, after horizontally expanding the portion of the chart such that the distance between first horizontal scale markers increases (2220), the device, while continuing to detect the first touch input: continues (2222) to horizontally expand a portion of the chart; displays second horizontal scale markers, the second horizontal scale markers being at a finer scale than the first horizontal scale markers; and continues to maintain the vertical scale of the chart. In some embodiments, the horizontal scale markers change from years to months, months to weeks, weeks to days, or days to hours, as shown in FIGS. 11A-11J. In other embodiments, the second scale markers are displayed in addition to the first scale markers. For example, the original first scale makers may be years, but when the horizontal scale is expanded, month scale markers are shown as well. For example, FIG. 11A shows a chart with horizontal markers denoting months. FIG. 11B shows a chart with horizontal markers denoting months and horizontal markers denoting days.

In some embodiments, after horizontally expanding the portion of the chart such that the distance between first horizontal scale markers increases (2224), the device, while continuing to detect the first touch input: continues (2226) to horizontally expand a portion of the chart; replaces a first set of displayed data marks with a second set of displayed data marks, where for at least some of the data marks in the first set of data marks, an individual data mark in the first set of data marks corresponds to a plurality of data marks in the second set of data marks; and continues to maintain the vertical scale of the chart. For example, FIG. 11A shows a chart including data marks 1102 (e.g., data mark 1102-1 and data mark 1102-3). FIG. 11B shows a chart including data marks 1102 (e.g., data mark 1102-1 and data mark 1102-3) and data marks 1104 (e.g., data mark 1104-1). In some embodiments, a single data mark (e.g., a circle, square, triangle, bar, or other representation of data points), displayed in the chart prior to horizontally expanding the chart, actually corresponds to a plurality of data points. In some embodiments, during horizontal expansion, a single data mark that corresponds to multiple data points is replaced by a plurality of data marks that correspond to the multiple data points. In some embodiments, the first set of data marks is replaced with the second set of data marks at the same time that the first horizontal scale marks are replaced with the second, finer horizontal scale marks. Thus, the data in a portion of the chart can be displayed at successively finer levels of granularity as a portion of the chart expands horizontally.

FIGS. 23A-23B are flow diagrams illustrating method 2300 of data visualization, in accordance with some embodiments. Method 2300 is performed at an electronic device (e.g., portable multifunction device 100, FIG. 1, or device 200, FIG. 2) with a display and a touch-sensitive surface. In some embodiments, the display is a touch screen display and the touch-sensitive surface is on the display. In some embodiments, the display is separate from the touch-sensitive surface. In some embodiments, method 2300 is governed by instructions that are stored in a non-transitory computer readable storage medium and that are executed by one or more processors of a device, such as the one or more processors 302 of portable multifunction device 100 and/or the one or more processors 352 of multifunction device 200, as shown in FIGS. 3A-3B. Some operations in method 2300 are, optionally, combined and/or the order of some operations is, optionally, changed.

As described below, method 2300 provides an intuitive way to display information about a data mark. This method is particularly useful when the user is interacting with a portable device and/or a compact device with a smaller screen. The method reduces the cognitive burden on the user when accessing information about a data mark, thereby creating a more efficient human-machine interface. For battery-operated electronic devices, enabling a user to access data mark information faster and more efficiently conserves power and increase the time between battery charges.

The device displays (2302) at least a first portion of a chart on the display at a first magnification, the first portion of the chart containing a plurality of data marks (e.g., circles, squares, triangles, bars, or other representations of data points). For example, FIG. 19D shows UI 1907 including a chart with data marks 1902, 1904, and 1906.

The device detects (2304) a first touch input (e.g., a de-pinch gesture) at a location on the touch-sensitive surface that corresponds to a location on the display of the first portion of the chart. For example, FIG. 19D shows the device detecting contact 1920 and contact 1922.

In response to detecting the first touch input at the location on the touch-sensitive surface that corresponds to the location on the display of the first portion of the chart, the device zooms (2306) in to display a second portion of the chart at a second magnification, the second portion of the chart including a first data mark in the plurality of data marks. For example, FIG. 19E shows the a zoomed in view of the chart shown in FIG. 19D in response to the device detecting contacts 1920 and 1922 and both FIG. 19D and FIG. 19E show data mark 1906-1.

While displaying the second portion of the chart at the second magnification, the device detects (2308) a second touch input at a location on the touch-sensitive surface that corresponds to a location on the display of the second portion of the chart. For example, FIG. 19E shows the device detecting contact 1930 at position 1930-a and contact 1940 at position 1940-a.

In some embodiments, the second touch input is (2310) a same type of touch input as the first touch input (e.g., both the first touch input and the second touch input are de-pinch gestures). For example, contacts 1210 and 1220 shown in FIG. 19D and contacts 1930 and 1940 shown in FIGS. 19E-19H each represent a de-pinch gesture.

In response to detecting the second touch input at the location on the touch-sensitive surface that corresponds to the location on the display of the second portion of the chart (2312), the device, in accordance with a determination that one or more predefined data-mark-information-display criteria are not met, zooms (2314) in to display a third portion of the chart at a third magnification, the third portion of the chart including the first data mark in the plurality of data marks.

In response to detecting the second touch input at the location on the touch-sensitive surface that corresponds to the location on the display of the second portion of the chart (2312), the device, in accordance with a determination that the one or more predefined data-mark-information-display criteria are met, displays (2316) information about the first data mark. In some embodiments, while displaying information about the first data mark, the device detects a third touch input on the touch-sensitive surface; and in response to detecting the third touch input, ceases to display the information about the first data mark and display a fourth portion of the chart. In some embodiments, the fourth portion of the chart is the second portion of the chart. For example, FIGS. 19E-19I show movement of contacts 1930 and 1940 representing a de-pinch gesture. FIGS. 19E-19I also show an animated transition from UI 1909 including data mark 1908-1 to UI 1917 including record 1914-1 (e.g., information about data mark 1908-1).

In some embodiments, the information about the first data mark comprises (2318) a data record that corresponds to the first data mark. For example, FIGS. 19E-19I also show an animated transition from UI 1909 including data mark 1908-1 to UI 1917 including record 1914-1.

In some embodiments, the data-mark-information-display criteria include (2320) the second magnification being a predefined magnification. For example, if the first touch input zooms in the chart to a predefined maximum magnification, then the second touch input causes display of the information about the first data mark, instead of (or in addition to) causing continued zooming in of the chart.

In some embodiments, the data-mark-information-display criteria include (2322) the first data mark in the plurality of data marks being the only data mark displayed at the second magnification after the first touch input. For example, if the first touch input zooms in the chart so that only the first data mark is displayed, then the second touch input causes display of the information about the first data mark, instead of (or in addition to) causing continued zooming in of the chart.

In some embodiments, the data-mark-information-display criteria include (2324) the first data mark reaching a predefined magnification during the second touch input. In some embodiments, if the first data mark reaches a predefined magnification during the second touch input (e.g., during a de-pinch gesture), then the device zooms in during the second touch input prior to reaching the predefined magnification, and the device displays the information about the first data mark after reaching the predefined magnification (with or without continuing to zoom in the chart during the remainder of the second touch input).

In some embodiments, the data-mark-information-display criteria include (2326) the device zooming in to display only the first data mark in the plurality of data marks during the second touch input. In some embodiments, if during the second touch input (e.g., a de-pinch gesture), the device zooms in such that the first data mark is the only data mark that is displayed, the device displays the information about the first data mark after the first data mark is the only data mark that is displayed (with or without continuing to zoom in the chart during the remainder of the second touch input).

In some embodiments, in accordance with the determination that one or more predefined data-mark-information-display criteria are met, the device ceases (2328) to display the first data mark. In some embodiments, display of the first data mark is replaced by display of a data record that corresponds to the first data mark when the one or more predefined data-mark-information-display criteria are met (e.g., via an animated transition). For example, FIGS. 19E-19I also show an animated transition where display of record 1914-1 replaces display of data mark 1908-1.

FIGS. 24A-24E are flow diagrams illustrating method 2400 of data visualization, in accordance with some embodiments. Method 2400 is performed at an electronic device (e.g., portable multifunction device 100, FIG. 1, or device 200, FIG. 2) with a display and a touch-sensitive surface. In some embodiments, the display is a touch screen display and the touch-sensitive surface is on the display. In some embodiments, the display is separate from the touch-sensitive surface. In some embodiments, method 2400 is governed by instructions that are stored in a non-transitory computer readable storage medium and that are executed by one or more processors of a device, such as the one or more processors 302 of portable multifunction device 100 and/or the one or more processors 352 of multifunction device 200, as shown in FIGS. 3A-3B. Some operations in method 2400 are, optionally, combined and/or the order of some operations is, optionally, changed.

As described below, method 2400 provides an intuitive way to select portions of a chart and/or display information about the underlying data. This method is particularly useful when the user is interacting with a portable device and/or a compact device with a smaller screen. The method reduces the cognitive burden on the user when selecting chart areas, thereby creating a more efficient human-machine interface. For battery-operated electronic devices, enabling a user to select portions of a chart and view information about the underlying data faster and more efficiently conserves power and increase the time between battery charges.

The device displays (2402) a chart on the display, the chart including a plurality of data marks. For example, FIG. 13A shows UI 1301 including a chart with a data marks 1312 (e.g., data mark 1312-1 through data mark 1312-10).

In some embodiments, data marks in the plurality of data marks are displayed (2404) in corresponding columns in the chart, with a single data mark per column. For example, data marks 1312 in FIG. 13A are displayed such that each data mark is in a separate column of the chart.

In some embodiments, data marks in the plurality of data marks are separated (2406) horizontally from one another. For example, data marks 1312 in FIG. 13A are displayed such that each data mark is separated horizontally from one another.

The device detects (2408) a first touch input at a location on the touch-sensitive surface that corresponds to a location on the display of a first predefined area in the chart (e.g., a bar in a bar chart), the first predefined area having a corresponding first value. For example, FIG. 13A shows the device having detected contact 1309 at a position corresponding to selected portion 1302.

In some embodiments, the first touch input is (2410) a tap gesture. For example, in some embodiments, contact 1309 shown in FIG. 13A represents a tap gestures.

In some embodiments, the first predefined area includes (2412) a column in the chart. For example, FIG. 13A shows UI 1301 including a chart and selected portion 1302 shown in FIG. 13A includes a column of the chart.

In some embodiments, the first predefined area includes (2414) a single data mark in the plurality of data marks. For example, selected portion 1302 shown in FIG. 13A includes only data mark 1312-1.

In response to detecting the first touch input at the location on the touch-sensitive surface that corresponds to the location on the display of the first predefined area in the chart (2416), the device: selects (2418) the first predefined area; and visually distinguishes the first predefined area. For example, FIG. 13A shows the device having detected contact 1309 at a position corresponding to selected portion 1302. FIG. 13A also shows selected portion 1302 visually distinguished from the remainder of the chart.

While the first predefined area is selected, the device detects (2420) a second touch input on the touch-sensitive surface. For example, FIG. 13A shows selected portion 1302 and the device detecting contact 1310.

In some embodiments, the second touch input is initially detected (2422) at a location on the touch-sensitive surface that corresponds to a location on the display of the first predefined area. For example, FIG. 13A shows the device detecting contact 1310 at position 1310-a corresponding to a part of selected portion 1302.

In some embodiments, the second touch input is initially detected (2424) at a location on the touch-sensitive surface that corresponds to a location on the display of an edge of the first predefined area. For example, contact 1310 in FIG. 13A is detected on the edge of selected portion 1302.

In some embodiments, the second touch input is initially detected (2426) at a location on the touch-sensitive surface that corresponds to a location on the display of a selection handle in or next to the first predefined area. For example, contact 1310 in FIG. 13A is detected at a position corresponding to the location of a handle for selected portion 1302.

In some embodiments, the second touch input is (2428) a drag gesture. For example, the movement of contact 1310 shown in FIGS. 13A-13D represents a drag gesture toward the right side of the screen.

In some embodiments, the device detects (2430) movement of a finger contact in the drag gesture across locations on the touch-sensitive surface that correspond to locations on the display of the sequence of predefined areas in the chart that have corresponding values. For example, FIGS. 13B-13D show movement of contact 1310 across multiple columns (e.g., a particular column associated with each respective data mark in data marks 1312) within the chart. FIGS. 13B-13D also show the columns being added to the selected portion in accordance with the movement of contact 1310.

In some embodiments, in response to detecting movement of the finger contact in the drag gesture across locations on the touch-sensitive surface that correspond to locations on the display of the sequence of predefined areas in the chart that have corresponding values, the device displays (2432) a series of changes between the first value in the first predefined area and the corresponding values of the sequence of predefined areas. For example, FIGS. 13B-13D show columns being added to the selected portion in accordance with the movement of contact 1310. FIGS. 13B-13D also show a change value denoting the change between the value of data mark 1312-1 and the value of the last selected data mark. Specifically, FIG. 13D shows selection of data mark 1312-10 and a change value denoting the change between the value of data mark 1312-1 and the value of data mark 1312-10.

In response to detecting the second touch input on the touch-sensitive surface (2434), the device visually distinguishes (2436) a sequence of predefined areas in the chart, where the sequence of predefined areas is adjacent to the first predefined area. For example, FIGS. 13B-13D show columns being added to the selected portion in accordance with the movement of contact 1310. Specifically, FIG. 13B shows contact 1310 at position 1310-b and corresponding selected portion 1304, where selected portion 1304 includes the columns in selected portion 1302 from FIG. 13A. FIG. 13C shows contact 1310 at position 1310-c and corresponding selected portion 1306, where selected portion 1306 includes the columns in selected portion 1304 from FIG. 13B.

In response to detecting the second touch input on the touch-sensitive surface (2434), the device displays (2438) a change between the first value for the first predefined area and a value for a last predefined area in the sequence of predefined areas. For example, FIG. 13D shows selection of data mark 1312-10 and a change value denoting the change between the value of data mark 1312-1 and the value of data mark 1312-10.

In some embodiments, after the second touch input, a selected area in the chart comprises (2440) the first predefined area and the sequence of predefined areas. For example, FIGS. 13B-13D show columns being added to the selected portion in accordance with the movement of contact 1310. Specifically, FIG. 13D shows contact 1310 at position 1310-d and corresponding selected portion 1308, where selected portion 1308 includes the columns from the selected portions shown in FIGS. 13A-13C.

In some embodiments, the device detects (2442) a third touch input, the third touch input including initial contact of a finger at a location on the touch-sensitive surface that corresponds to a location on the display within the selected area in the chart, and movement of the finger across the touch-sensitive surface. For example, FIG. 14A shows selected portion 1308 including data for three months (February through April). FIG. 14A also shows the device detecting contact 1402 at a position corresponding to selected portion 1308.

In some embodiments, in response to detecting the third touch input (2444), the device moves (2446) the selected area across the chart, in accordance with the movement of the finger across the touch-sensitive surface, while maintaining a number of predefined areas in the moved selected area equal to the number of predefined areas in the sequence of predefined areas plus one. For example, in some embodiments, in response to detecting movement of contact 1402 toward the left side of the screen, the device moves selected portion 1308 to include data for months January through March (i.e., data for three months).

In some embodiments, in response to detecting the third touch input (2444), the device displays (2448) a change between a value corresponding to a leftmost predefined area in the moved selected area and a value corresponding to a rightmost predefined area in the moved selected area. For example, in some embodiments, in response to detecting movement of contact 1402 toward the left side of the screen, the device moves selected portion 1308 to include data for months January through March and the change value updates to denote the change in value between the leftmost data mark in the selected portion and the rightmost data mark in the selected portion.

In some embodiments, after the second touch input, a selected area in the chart comprises (2450) the first predefined area and the sequence of predefined areas. For example, selected portion 1308 in FIG. 13D includes the columns from each of selected portions 1302, 1304, and 1306.

In some embodiments, the device detects (2452) a fourth touch input (e.g., a de-pinch gesture). For example, FIGS. 18A-18C show contacts 1810 and 1820 and the movement of contacts 1810 and 1820 shown in FIGS. 18A-18C represents a de-pinch gesture.

In some embodiments, in response to detecting the fourth touch input (2454), the device zooms (2456) in on the selected area in the chart. For example, FIGS. 18A-18C show a chart with selected portion 1802 and FIGS. 18A-18C show the device zooming in on selected portion 1802 in accordance with the movement of contacts 1810 and 1820.

In some embodiments, in response to detecting the fourth touch input (2454), the device, in accordance with a determination that areas in the chart outside the selected area are still displayed on the display, maintains (2458) selection of the selected area. In some embodiments, while zooming in, the device maintains selection of the selected area. In some embodiments, after zooming in, the device maintains selection of the selected area. For example, FIGS. 18A-18C show the device zooming in on selected portion 1802 in accordance with the movement of contacts 1810 and 1820 and FIG. 18D shows the device maintaining selection of selected portion 1802.

In some embodiments, in response to detecting the fourth touch input (2454), the device, in accordance with a determination only areas in the chart in the selected area are displayed on the display, ceases (2460) selection of the selected area. In some embodiments, the selected area disappears when the device zooms in to the chart such that no area in the chart outside the selected area is displayed. In some embodiments, while zooming in, the device ceases selection of the selected area. In some embodiments, after zooming in, the device ceases selection of the selected area.

FIGS. 25A-25D are flow diagrams illustrating method 2500 of data visualization, in accordance with some embodiments. Method 2500 is performed at an electronic device (e.g., portable multifunction device 100, FIG. 1, or device 200, FIG. 2) with a display and a touch-sensitive surface. In some embodiments, the display is a touch screen display and the touch-sensitive surface is on the display. In some embodiments, the display is separate from the touch-sensitive surface. In some embodiments, method 2500 is governed by instructions that are stored in a non-transitory computer readable storage medium and that are executed by one or more processors of a device, such as the one or more processors 302 of portable multifunction device 100 and/or the one or more processors 352 of multifunction device 200, as shown in FIGS. 3A-3B. Some operations in method 2500 are, optionally, combined and/or the order of some operations is, optionally, changed.

As described below, method 2500 provides an intuitive way to update chart views. This method is particularly useful when the user is interacting with a portable device and/or a compact device with a smaller screen. The method reduces the cognitive burden on the user when adjusting a chart view (e.g., adjusting chart magnification), thereby creating a more efficient human-machine interface. For battery-operated electronic devices, enabling a user to adjust chart views faster and more efficiently conserves power and increase the time between battery charges.

The device displays (2502) a chart on the display. For example, FIG. 19A shows UI 1901 including a chart.

The chart has (2504) a horizontal axis with a first horizontal scale with first horizontal scale markers. For example, the chart in FIG. 19A has a horizontal scale with horizontal scale markers denoting years.

The chart has (2506) a vertical axis with a first vertical scale with first vertical scale markers. For example, the chart in FIG. 19A has a vertical scale with vertical scale markers denoting hundreds of sunspots.

The chart includes (2508) a first set of data marks. For example, the chart in FIG. 19A includes data marks 1902.

In some embodiments, adjacent data marks in the first set of first data marks are separated (2510) by a first horizontal distance. In some embodiments, the first horizontal distance corresponds to the first horizontal scale. For example, the chart in FIG. 19A includes a respective data mark 1902 for each year on the horizontal axis.

Each respective data mark in the first set of data marks has (2512) a respective abscissa and a respective ordinate. For example, in some embodiments, each data mark 1902 in FIG. 19A has a respective abscissa and a respective ordinate.

The chart includes (2514) a line that connects adjacent data marks in the first set of data marks. For example, the chart in FIG. 19A includes a line that connects data marks 1902.

The device detects (2516) a first touch input (e.g., a de-pinch gesture) at a location on the touch-sensitive surface that corresponds to a location on the display of the chart. For example, the movement of contacts 1910 and 1912 shown in FIGS. 19A-19D represents a de-pinch gesture.

While detecting the first touch input (2518), the device expands (2520) at least a portion of the chart such that a distance between adjacent first horizontal scale markers increases in accordance with the first touch input. For example, FIG. 19B shows an expanded portion of the chart shown in FIG. 19A. FIG. 19B shows the distance between horizontal scale markers being greater than the distance between horizontal scale markers in FIG. 19A. In some embodiments, FIG. 19B shows the expanded portion of the chart in response to contacts 1910 and 1912 moving from positions 1910-a and 1912-a to positions 1910-b and 1912-b.

While detecting the first touch input (2518), the device expands (2522) at least a portion of the line that connects adjacent data marks in the first set of data marks in accordance with the first touch input. For example, the expanded portion of the chart shown in FIG. 19B includes expanded portions of the line connecting data marks 1902.

While detecting the first touch input (2518), the device adds (2524) a second set of second data marks, distinct from the first set of data marks, on the line. For example, FIG. 19B shows data marks 1904 added to the line connecting data marks 1902.

Each respective data mark in the second set of data marks includes (2526) a respective abscissa and a respective ordinate. For example, in some embodiments, each data mark 1904 shown in FIG. 19B includes a respective abscissa and a respective ordinate.

Each respective data mark in the second set of data marks is (2528) placed on the line based on the respective abscissa of the respective data mark, independent of the respective ordinate of the respective data mark. For example, in some embodiments, each data mark 1904 shown in FIG. 19B is placed on the line based on its respective abscissa without regards to its respective ordinate.

In some embodiments, adjacent data marks in the second set of data marks are separated (2530) by a second horizontal distance that corresponds to a second horizontal scale that is finer than the first horizontal scale. For example, the chart in FIG. 19B includes a respective data mark 1904 for each month and a respective data mark 1902 for each year.

In some embodiments, each respective data mark in the second set of data marks is placed (2532) on the line based on the respective abscissa of the respective data mark and the ordinate of the line at the respective abscissa of the respective data mark. For example, in some embodiments, each data mark in data marks 1904 shown in FIG. 19B is placed on the line based on its respective abscissa and the ordinate of the line at its' respective abscissa.

In some embodiments, a shape of the line is maintained (2534) when the second set of data marks is added to the line. For example, in some embodiments, the shape of the line in FIG. 19B is maintained when data marks 1904 are added to the line.

In some embodiments, a single data mark in the first set of data marks corresponds (2536) to a plurality of data marks in the second set of data marks. For example, in some embodiments, each data mark in data marks 1902 corresponds to twelve data marks in data marks 1904 (e.g., one for each month in the year).

In some embodiments, the device ceases (2538) to display the set of first data marks when the second set of data marks is added. For example, in some embodiments, the device ceases to display data marks 1902 when data marks 1904 are added to the line.

After adding the second set of data marks on the line (2540), the device, for each respective data mark in the second set of data marks placed on the line at a vertical position distinct from its respective ordinate, animatedly moves (2542) the respective data mark vertically in accordance with the respective ordinate for the respective data mark and a second vertical scale for the vertical axis. For example, in some embodiments, data marks 1904 are animatedly moved from their initial positions shown in FIG. 19B to their respective ordinate as shown in FIG. 19C.

In some embodiments, animatedly moving each respective data mark vertically in accordance with the respective ordinate for the respective data mark and a second vertical scale for the vertical axis occurs (2544) while detecting the first input. For example, data marks 1904 are animatedly moved from their initial positions shown in FIG. 19B to their respective ordinate as shown in FIG. 19C while the device continues to detect contacts 1910 and 1912.

In some embodiments, animatedly moving each respective data mark vertically in accordance with the respective ordinate for the respective data mark and a second vertical scale for the vertical axis occurs (2546) after ceasing to detect the first input.

In some embodiments, the second vertical scale is (2548) the same as the first vertical scale.

After adding the second set of data marks on the line (2540), the device animatedly adjusts (2550) the line so that the line connects the second set of data marks. For example, in some embodiments, the line connecting data marks 1904 is animatedly adjusted its' initial position shown in FIG. 19B to its' final position shown in FIG. 19C.

In some embodiments, animatedly moving each respective data mark vertically and animatedly adjusting the line so that the line connects the set of second data marks occur (2552) concurrently.

In some embodiments, the device ceases (2554) to display the set of first data marks after the second set of data marks is added.

FIGS. 26A-26F illustrate how some embodiments allow scrolling through filter selections, with the data visualization updated immediately as the filter changes. These figures provide bar charts showing total sales for a three month period in 2014, and the data is filtered by region. In this example, the four regions are Central, East, South, and West.

Initially, the user has filtered the data to display sales data for just the Central region, as shown in FIG. 26A. Filter indicia 2608 include a scrollable region indicator that indicates Central selection 2612-C. Corresponding to this filter selection, user interface 2601 displays visual graphic 2610-C, which shows data for the Central region. In FIG. 26B, the user wants to compare the Central region to the other regions, and the device detects a contact at position 2614 corresponding to Central selection 2312-C. At this time user interface 2601 still displays visual graphic 2610-C for the Central region.

In FIG. 26C, the user has started scrolling upwards (e.g., using a swipe gesture), so the contact is moving upwards to position 2616. At this time, the scrollable region indicator is transitioning from “Central” to “East,” so selection 2612-C/E is in an interim state. Visual graphic 2610-C is still the graphic for the Central region. When the scrollable region indicator displays East selection 2612-E, as illustrated in FIG. 26D, visual graphic 2610-E, including data for the East region, is displayed. At this time, the contact is still moving upwards to position 2618. As illustrated in FIG. 26E, the contact has moved upward to position 2620 and the indicator shows “South” region selection 2612-S. When the scrollable region indicator shows the South region, user interface 2601 displays visual graphic 2610-S including data for the South region.

As illustrated in FIG. 26E, the contact is still moving upwards to position 2622, so the scrollable region indicator comes to West region selection 2612-W, as illustrated in FIG. 26F. When this occurs, user interface 2601 displays the data for the West region in visual graphic 2610-W.

As illustrated by FIGS. 26A-26F, a user can quickly scroll through filter values, and the visual graphic updates according to the filter as different filter values are selected. In some embodiments, the updates to the display depend on the scroll speed. For example, if the scrolling is performed slowly, the visual graphic is updated for each filter value as illustrated in FIGS. 26A-26F. On the other hand, if the values are scrolled quickly, a user is probably not interested in the intermediate values, and thus the visual graphic is not updated until the scrolling slows down or stops.

As illustrated by FIGS. 26A-26F, in some embodiments a method executes at an electronic device with a touch-sensitive surface and a display. The method displays a filter indicium on the display that specifies a first category of a first set of categories, each category corresponding to a respective value of a first field in a data set. For example, FIG. 26A includes filter indicium 2608, which specifies the Central category 2612-C. The Central category is one category of a first set of categories that includes Central, East, South, and West. Each of these categories corresponds to a value of a “region” field in the data set. In some implementations, the field values are “Central,” “East,” “South,” and “West,” but in some embodiments the values are encoded differently (e.g., using numeric codes, or alphanumeric code, or just the first letter of each region).

The method concurrently displays a first chart on the display, such as the visual graphic 2610-C in FIG. 26A. The first chart includes a plurality of visual marks, such as the vertical bars 2650, 2652, and 2654 in FIG. 26A. Each visual mark corresponds to a respective aggregated value of a first measure in the data set, aggregated according to a second field in the data set and filtered to aggregate only values of the first measure that are associated with the first category. For example, in FIG. 26A, each of the vertical bars is computed as an aggregate of sales (here using the SUM aggregate function). The field “sales” in the data set is a measure. The data for the vertical bars is aggregated by month, which is a second field in the data set (typically computed from a date field). For example, the February bar 2650 represents the aggregated total sales for February. In addition, the aggregated values for the three bars 2650, 2652, and 2654 are based on only data for the Central region (i.e., sales records for the Central region). For example, the data set may consist of a table in which each row has a region field, a sales field, and a date field. In this example, the sales data for the bars 2650, 2652, and 2654 is gotten by summing rows whose region is Central.

While displaying the first chart, the method detects a first touch input at a location on the touch-sensitive surface that corresponds to a location on the display of the filter indicium. This is illustrated by the contact points 2614 and 2616 in FIGS. 26B and 26C. In response to detecting the first touch input at the location on the touch-sensitive surface that corresponds to the location on the display of the filter indicium, the method updates the indicium to specify a second category of the first set of categories. This is illustrated in FIG. 26D, where the filter indicium has changed to show the East region. In addition, the method displays an updated first chart on the display. As illustrated in FIG. 26D, the updated chart 2610-E includes different bars, which are based on data for the East region. The updated first chart includes an updated plurality of visual marks, such as the vertical bars 2660, 2662, and 2664 in FIG. 26D. Each updated visual mark corresponds to a respective aggregated value of the first measure in the data set, aggregated according to the second field in the data set and filtered to aggregate only values of the first measure that are associated with the second category. In FIG. 26D, each of the bars corresponds to aggregated sales, which is aggregated by month, and filtered to include data for just the East region.

It will be understood that, although the terms “first,” “second,” etc. may be used herein to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another. For example, a first contact could be termed a second contact, and, similarly, a second contact could be termed a first contact, without changing the meaning of the description, so long as all occurrences of the “first contact” are renamed consistently and all occurrences of the second contact are renamed consistently. The first contact and the second contact are both contacts, but they are not the same contact.

The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the claims. As used in the description of the embodiments and the appended claims, the singular forms “a,” “an,” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will also be understood that the term “and/or” as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items. It will be further understood that the terms “comprises” and/or “comprising,” when used in this specification, specify the presence of stated features, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, elements, components, and/or groups thereof.

As used herein, the term “if” may be construed to mean “when” or “upon” or “in response to determining” or “in accordance with a determination” or “in response to detecting,” that a stated condition precedent is true, depending on the context. Similarly, the phrase “if it is determined [that a stated condition precedent is true]” or “if [a stated condition precedent is true]” or “when [a stated condition precedent is true]” may be construed to mean “upon determining” or “in response to determining” or “in accordance with a determination” or “upon detecting” or “in response to detecting” that the stated condition precedent is true, depending on the context.

The foregoing description, for purpose of explanation, has been described with reference to specific embodiments. However, the illustrative discussions above are not intended to be exhaustive or to limit the claims to the precise forms disclosed. Many modifications and variations are possible in view of the above teachings. The embodiments were chosen and described in order to best explain principles of operation and practical applications, to thereby enable others skilled in the art.

Claims

1. A method, comprising:

at an electronic device with a touch-sensitive surface and a display: displaying a chart on the display, the chart including a plurality of data marks; detecting a first touch input at a location on the touch-sensitive surface that corresponds to a location on the display of a first predefined area in the chart, the first predefined area having a corresponding first value; in response to detecting the first touch input at the location on the touch-sensitive surface that corresponds to the location on the display of the first predefined area in the chart: selecting the first predefined area; and visually distinguishing the first predefined area;
while the first predefined area is selected, detecting a second touch input on the touch-sensitive surface; and,
in response to detecting the second touch input on the touch-sensitive surface: visually distinguishing a sequence of predefined areas in the chart, wherein the sequence of predefined areas is adjacent to the first predefined area; and displaying a change between the first value for the first predefined area and a value for a last predefined area in the sequence of predefined areas.

2. The method of claim 1, wherein the first touch input is a tap gesture.

3. The method of claim 1, wherein the first predefined area includes a column in the chart.

4. The method of claim 1, wherein the first predefined area includes a single data mark in the plurality of data marks.

5. The method of claim 1, wherein data marks in the plurality of data marks are displayed in corresponding columns in the chart, with a single data mark per column.

6. The method of claim 1, wherein data marks in the plurality of data marks are separated horizontally from one another.

7. The method of claim 1, wherein the second touch input is initially detected at a location on the touch-sensitive surface that corresponds to a location on the display of the first predefined area.

8. The method of claim 1, wherein the second touch input is initially detected at a location on the touch-sensitive surface that corresponds to a location on the display of an edge of the first predefined area.

9. The method of claim 1, wherein the second touch input is initially detected at a location on the touch-sensitive surface that corresponds to a location on the display of a selection handle in or next to the first predefined area.

10. The method of claim 1, wherein the second touch input is a drag gesture, and the method includes:

detecting movement of a finger contact in the drag gesture across locations on the touch-sensitive surface that correspond to locations on the display of the sequence of predefined areas in the chart that have corresponding values; and,
in response to detecting movement of the finger contact in the drag gesture across locations on the touch-sensitive surface that correspond to locations on the display of the sequence of predefined areas in the chart that have corresponding values, displaying a series of changes between the first value in the first predefined area and the corresponding values of the sequence of predefined areas.

11. The method of claim 1, wherein, after the second touch input, a selected area in the chart comprises the first predefined area and the sequence of predefined areas, and the method includes:

detecting a third touch input, the third touch input including: initial contact of a finger at a location on the touch-sensitive surface that corresponds to a location on the display within the selected area in the chart, and movement of the finger across the touch-sensitive surface; and,
in response to detecting the third touch input: moving the selected area across the chart, in accordance with the movement of the finger across the touch-sensitive surface, while maintaining a number of predefined areas in the moved selected area equal to the number of predefined areas in the sequence of predefined areas plus one; and displaying a change between a value corresponding to a leftmost predefined area in the moved selected area and a value corresponding to a rightmost predefined area in the moved selected area.

12. The method of claim 1, wherein, after the second touch input, a selected area in the chart comprises the first predefined area and the sequence of predefined areas, and the method includes:

detecting a fourth touch input; and,
in response to detecting the fourth touch input: zooming in on the selected area in the chart; in accordance with a determination that areas in the chart outside the selected area are still displayed on the display, maintaining selection of the selected area; and in accordance with a determination only areas in the chart in the selected area are displayed on the display, ceasing selection of the selected area.

13. An electronic device, comprising:

a display;
a touch-sensitive surface;
one or more processors;
memory; and
one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for: displaying a chart on the display, the chart including a plurality of data marks; detecting a first touch input at a location on the touch-sensitive surface that corresponds to a location on the display of a first predefined area in the chart, the first predefined area having a corresponding first value; in response to detecting the first touch input at the location on the touch-sensitive surface that corresponds to the location on the display of the first predefined area in the chart: selecting the first predefined area; and visually distinguishing the first predefined area; while the first predefined area is selected, detecting a second touch input on the touch-sensitive surface; and, in response to detecting the second touch input on the touch-sensitive surface: visually distinguishing a sequence of predefined areas in the chart, wherein the sequence of predefined areas is adjacent to the first predefined area; and displaying a change between the first value for the first predefined area and a value for a last predefined area in the sequence of predefined areas.

14. The electronic device of claim 13, wherein the first touch input is a tap gesture.

15. The electronic device of claim 13, wherein the second touch input is initially detected at a location on the touch-sensitive surface that corresponds to a location on the display of the first predefined area.

16. The electronic device of claim 13, wherein the second touch input is initially detected at a location on the touch-sensitive surface that corresponds to a location on the display of an edge of the first predefined area.

17. The electronic device of claim 13, wherein the second touch input is initially detected at a location on the touch-sensitive surface that corresponds to a location on the display of a selection handle in or next to the first predefined area.

18. The electronic device of claim 13, wherein the second touch input is a drag gesture, and the one or more programs further include instructions for:

detecting movement of a finger contact in the drag gesture across locations on the touch-sensitive surface that correspond to locations on the display of the sequence of predefined areas in the chart that have corresponding values; and,
in response to detecting movement of the finger contact in the drag gesture across locations on the touch-sensitive surface that correspond to locations on the display of the sequence of predefined areas in the chart that have corresponding values, displaying a series of changes between the first value in the first predefined area and the corresponding values of the sequence of predefined areas.

19. A computer readable storage medium storing one or more programs, the one or more programs comprising instructions that, when executed by an electronic device with a display and a touch-sensitive surface, cause the electronic device to:

display a chart on the display, the chart including a plurality of data marks;
in response to detecting a first touch input at a location on the touch-sensitive surface that corresponds to a location on the display of a first predefined area in the chart, the first predefined area having a corresponding first value: select the first predefined area; and visually distinguish the first predefined area; and,
while the first predefined area is selected and, in response to detecting a second touch input on the touch-sensitive surface: visually distinguish a sequence of predefined areas in the chart, wherein the sequence of predefined areas is adjacent to the first predefined area; and display a change between the first value for the first predefined area and a value for a last predefined area in the sequence of predefined areas.

20. The computer readable storage medium of claim 19, wherein the second touch input is a drag gesture, and the one or more programs further include instructions that, when executed by the electronic device, cause the electronic device to:

detect movement of a finger contact in the drag gesture across locations on the touch-sensitive surface that correspond to locations on the display of the sequence of predefined areas in the chart that have corresponding values; and,
in response to detecting movement of the finger contact in the drag gesture across locations on the touch-sensitive surface that correspond to locations on the display of the sequence of predefined areas in the chart that have corresponding values, display a series of changes between the first value in the first predefined area and the corresponding values of the sequence of predefined areas.
Patent History
Publication number: 20200279419
Type: Application
Filed: May 18, 2020
Publication Date: Sep 3, 2020
Inventor: Robin Stewart (Seattle, WA)
Application Number: 16/877,373
Classifications
International Classification: G06T 11/20 (20060101); G06F 3/0488 (20060101); G06F 3/0481 (20060101); G06F 3/0486 (20060101);