Show chart values on press and hover
DefaultAdapts
Rule. Show a mark's exact value when a person presses it.
Wide screen. On a wide screen, show the value when the pointer rests on a mark or the mark has focus. (Triggers: Hover, Fine pointer, Keyboard)
Why. Marks are small, and a chart cannot print every value. A value on demand avoids clutter.
When not. A chart with 4 or fewer marks can print each value on the mark.
- Keep the pressed value in view until the next press.
- Offer the same values as text (10.18).
- Make marks 44 by 44 px for touch, 24 px for a pointer.
Figure. Bar chart on a phone with a value label on the pressed bar.