I am seeing **intermittent** results in **firefox's** latest browser(Mar/2016), on an **opensuse 13.2** OS, and **non-existent** firing using **google-chrome** for the same OS.
**The problem:** A selection rectangle is dragged in a bar chart associated with a timechart search query, and no Reset Zoom button is created or destroyed(later when it's clicked). The zoom in and re-scaling works, but you can't back it out. I'm using Splunk 6.2.1 and it's using HighCharts 3.0.x. HighCharts works on all browsers, but the SplunkJS frontent clobbers the HighCharts functionality because of this UI failure condition.
**Under normal operation,** when the mouse is released over a selection area, an event handler called onChartSelection is called, and it makes an assignment to rangeSelectionEvent. Then an instance variable called selectionTriggeredBeforeRedraw is asserted True.
Next is an event called onChartRedraw that is called, and the ZoomOut Button is allocated into the response, and the selectionTriggeredBeforeRedraw is de-asserted to False. This ends the sequence until sometime later when the user clicks the
HTML anchor "Reset Zoom" re-asserts the selectionTriggeredBeforeRedraw value to True, destroys the HTML anchor, and finally de-asserts that selectionTriggeredBeforeRedraw value back to False.
Under abnormal operation, none of that sequence described executes.
All of this code sequence exists in the js_charting.js source file in the splunk distribution.
Running HighCharts renderings by themselves ALL browsers work without error.
Note: When it eventually works in firefox, it continues to work. But if you take the browser down, then all bets are off.
We are embedding the splunk search managers and chartviews using their Web Framework api. Splunk re-interprets the
HighCharts attributes with their wrapper, and this is causing our issue.
Please Help!
Thanks,
Carl
P.S. -- Initially we had a 3rd party method for applying the SVG zooming, but later discovered it was unnecessary
during my debug session and removed it. Now, it's just Splunk's frontend to HighCharts instantiations, and thus
the final leg that's unsolved.
↧