Menu

Need a way to create a Point with the y value 'undefined'

2012-09-05
2012-09-12
  • Robert Light

    Robert Light - 2012-09-05

    In order to create "flags" which display onAxis, we have to be able to specify a Point object where the y-value is "undefined".... if you specify:

    new Point(new Long(1000),null)

    you get a Point where the y-value is "null" down in javascript. This results in problems in highstock.js where it tests to see if "point.y !== null" which if used via the jsFiddle examples, evaluates to "true" if point.y is undefined but it evaluates to false if point.y is 'null'

     
  • Philippe Lhoste

    Philippe Lhoste - 2012-09-12

    Can't you use Point.setUserData() for this purpose (flagging a point)?

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.