主权项 |
1. A method comprising:
determining, by a computer, a first chart layout for a related series of data including a first data set and a second data set, the first chart layout including: (i) a first plot area with a shared X-axis and a first y-axis associated with the first data set, and (ii) a second plot area with the shared X-axis and a second y-axis associated with the second data set; receiving, by the computer, a gesture performed by a user with respect to a chart having the first chart layout, the gesture including a source and a target; determining, by the computer, a second chart layout for the first data set and the second data set based on the source and the target of the gesture, the second chart layout having a plot area with the shared X-axis, the first y-axis, and the second y-axis; and rendering, by the computer, the chart with the second chart layout. |