Results 1 to 8 of 8

Thread: hide some points in line series...

  1. #1

    Default Answered: hide some points in line series...

    Hello everyone

    I have a question about hide some points in line series.
    I have used false to hide some points.
    1.png

    But after I modify the start and end point of y-axis, entire false data was disappear.(04-09 and 04-10 disappear)
    Why this happened?
    2.png

    Thanks in advance.
    Best Regards

  2. Ah, OK, thanks. I added the maximum to my example and can see the issue now as well. I found an existing issue that seems to be the same:
    http://www.sencha.com/forum/showthread.php?269122

    There is a workaround mentioned in the third post that fixed my example.

  3. #2

    Default

    I have compare two scripts generated by code.The only difference is minimum attribute in axes.Is this situation normal ?

  4. #3
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Answers
    506

    Default

    The results seem reasonable given the axis ranges, so I'm probably missing your point. Any chance you could post some code so we can better see what you are talking about?

  5. #4

    Default

    First thanks for your reply

    In this example, both case data attribute is use false to hide some data points.
    Code:
    data: [ {'name': '2014-04-04','ASE01': 97,'ASE02': 95,'ASE03': 98,'ASE05': 99,'ASE07': 99,'ASE08': 94,'ASE10': 95,'ASES1': 100  },
    			{'name': '2014-04-05','ASE01': 97,'ASE02': 98,'ASE03': 98,'ASE05': 99,'ASE07': 99,'ASE08': 95,'ASE10': 97,'ASES1': 100  },
    			{'name': '2014-04-06','ASE01': 94,'ASE02': 95,'ASE03': 99,'ASE05': 99,'ASE07': 100,'ASE08': 91,'ASE10': 100,'ASES1': 100  },
    			{'name': '2014-04-07','ASE01': 98,'ASE02': 98,'ASE03': 99,'ASE05': 99,'ASE07': 99,'ASE08': 92,'ASE10': 96,'ASES1': 100  },
    			{'name': '2014-04-08','ASE01': 96,'ASE02': 99,'ASE03': 97,'ASE05': 99,'ASE07': 98,'ASE08': 94,'ASE10': 93,'ASES1': 100  },
    			{'name': '2014-04-09','ASE01': 100,'ASE02': 98,'ASE03': 99,'ASE05': 99,'ASE07': 99,'ASE08': 96,'ASE10': 100,'ASES1': false  },
    			{'name': '2014-04-10','ASE01': 100,'ASE02': 94,'ASE03': 94,'ASE05': 99,'ASE07': 100,'ASE08': 95,'ASE10': 100,'ASES1': false  },
    			{'name': '2014-04-11','ASE01': 100,'ASE02': 96,'ASE03': 93,'ASE05': 99,'ASE07': 99,'ASE08': 98,'ASE10': 95,'ASES1': 100  } ]
    The only difference is the minimum attribute in axes.
    But the result is that the data for 04-09 and 04-10 is missed if I change the minimum value.
    What is wrong in this situation?

    Thanks
    Best Regards

  6. #5
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Answers
    506

    Default

    Oh sorry, I see it now -- two days completely missing. I tried to recreate the problem in this Fiddle, but it seems to work as expected.
    https://fiddle.sencha.com/#fiddle/53d

    In which version of ExtJS are you seeing this issue? Any chance you can post a test case which recreates the problem?

  7. #6

    Default

    Thanks for your reply.

    The version I used is 4.0.

    I have view the link you provide.
    And I found that you did not set maximum attribute.
    I removed the maximum attribute, then the missed data(04-09 and 04-10) appear.
    I think it is strange.
    I will keep trying.

    Thanks
    Best Regards

  8. #7
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Answers
    506

    Default

    Ah, OK, thanks. I added the maximum to my example and can see the issue now as well. I found an existing issue that seems to be the same:
    http://www.sencha.com/forum/showthread.php?269122

    There is a workaround mentioned in the third post that fixed my example.

  9. #8

    Default

    I have try to add "constraint" attribute.
    There is no miss data!

    Thanks for your information.
    Best Regards

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •