StockChart: Flags shown on edge of graph when zoomed off screen #847

jdmyers opened this Issue Mar 20, 2012 · 0 comments


None yet
2 participants

jdmyers commented Mar 20, 2012

When zooming a StockChart with flags to a zoom position which should force the flags to be offscreen, the flags are instead clipped and shown on the edge of the chart. I would expect the flags should not be shown at all if the flag points are not visible within the zoom window of the chart. See example:

Zoom in on this chart so that points A, B or C should be off the chart. Half of the flag marker is still drawn on the edge of the chart (in an unpredictable location - in my local prototype they're shown at the top of the chart, in the jsfiddle version they're shown at the bottom). Note also that when the flags are rendered on the edge of the chart, they still respond to selection and tooltip events.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment