Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

some numbers do not show #11

Open
perryn opened this issue Dec 7, 2012 · 2 comments
Open

some numbers do not show #11

perryn opened this issue Dec 7, 2012 · 2 comments

Comments

@perryn
Copy link

perryn commented Dec 7, 2012

I had an issue where some of my numbers did not show

It turned out to be the line

if (val!=last_val || i==series.data.length-1) {

which appears to skip number that have the same number as the previous processed value. However the numbers are not presented in graph order, so I'm not sure what it is trying to achieve.

anyway I replaced this line with

   if(true) {

and it worked for my use case..

@thejae
Copy link

thejae commented Sep 27, 2013

Am having the same problem but i can't find the line you referenced to in the latest version.

---- Edit
Found it. Fixed it by doing the following.

--------[ FIND ]-------------

          if (val != last_val || i == series.data.length - 1) {

---[ REPLACE WITH ]----

          if (val || i == series.data.length - 1) {

@pete01
Copy link

pete01 commented Jul 8, 2014

There is an option in the latest version of the valueLabels plugin for this now called 'hideSame'. Setting it to false will show repeating values.

{
    hideSame: false
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants