Allow users to hit Enter to change date/time range
Currently in Highstock, if you're editing the date/time range by using the text fields, you can't hit Enter to make your changes, which is odd. Instead, you have to click the page outside of the text field. Support for hitting Enter should be added.
We currently use the input box’s onchange event. Turns out that Chrome and Firefox already trigger the event on Enter. IE8 however fails to change the ranges on Enter.
-
-
Dinesh commented
i have a existing database. it have year and value. how to draw highchart. please help me
-
Kyle Getz commented
Ah, you're right, there was a problem in my code that was suppressing the ability to hit Enter in text fields. I fixed that and now things are working properly. I've also noticed the IE problem you mentioned; IE9 shows the same behavior. I guess there's nothing to do here then. Feel free to close this out.
-
Kyle Getz commented
Actually, I'm seeing this problem in Firefox, IE, and Chrome. Pressing Enter in any of those browsers does nothing; you have to click outside the text field.