BUG – Tooltip label without displayColors and label in Bar Charts

Expected Behavior

Setting displayColors = false without setting a label should show only the value in the tooltip label

Current Behavior

The value in the tooltip is preceded by a colon.

Steps to Reproduce

  1. Create a bar chart
  2. Set displayColors to false
  3. Do not set a label for the dataset
  4. Hover on a bar
  5. The number is preceded by a semicolon
    See an example here http://codepen.io/anon/pen/oYVQgO

Environment

  • Chart.js version: 2.4.0
  • Browser name and version: any

Author: Fantashit

1 thought on “BUG – Tooltip label without displayColors and label in Bar Charts

Comments are closed.