Make line charts compatible with bubble charts