Chart.js icon indicating copy to clipboard operation
Chart.js copied to clipboard

Scatter chart: some data points did not show up

Open ppcat opened this issue 9 years ago • 4 comments

Expected Behavior

All data point should display on the chart 2

Current Behavior

Some data points disappeared. In this case, { x: 0.06, y: 0.48614314 }, { x: 0.06, y: 0.6085987 } disappeared. default

Possible Solution

It seems like the issue only show up under some screen resolution. In my case, when screen width > 10xx px, some left hand side data points will disappear.

Steps to Reproduce (for bugs)

https://codepen.io/anon/pen/jLbyqg

Context

I want all data points display on the chart at the same time.

Environment

  • Chart.js version: 2.6.0
  • Browser name and version: Google Chrome 59, Microsoft Edge 14

ppcat avatar Jul 28 '17 02:07 ppcat

Having the exact same problem. Problem occurred after 2.5.0, if you change to 2.4.0 it fixes itself.

volkandkaya avatar Aug 03 '17 08:08 volkandkaya

I have the same problem. This issue does not appear using firefox. So I think this is the place to start investigation.

stranger08 avatar Aug 25 '17 10:08 stranger08

+1. Have the same problem. If all data points are at (0,0), I see nothing.

kumarharsh avatar Nov 07 '17 09:11 kumarharsh

Seems to be related to https://github.com/chartjs/Chart.js/issues/4790

iorrah avatar Nov 30 '17 11:11 iorrah