On the touch devices, users can tap and hold their finger in that position. This fires a specific event named taphold
. This recipe shows how to handle this event. We may use this to enable the dragging of the item. While working with the column charts, we saw how this event is handled to provide the gesture, which allows us to switch between the stacked and grouped modes of the chart.
Make sure that you have set up your development environment by following the recipes outlined in Chapter 1.