New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

area range fill broken in area range and line charts with null values #6721

Closed
jcsturges opened this Issue May 12, 2017 · 2 comments

Comments

Projects
None yet
3 participants
@jcsturges

jcsturges commented May 12, 2017

Expected behaviour

I would expect the fill to stay consistent within the range upper and lower bounds but the fill falls below the line across null values. Using the area range and line chart in the demo charts as an example (https://www.highcharts.com/demo/arearange-line and http://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/demo/arearange-line/ on JSFiddle).

Actual behaviour

The upper and lower bounds of the range series work correctly, and stay smoothed across nulls as expected. However, the fill drops down oddly below the lower bounds like and fills to the x-axis over null values in a series. We want to show charts will intentionally null values along with an area range.

Live demo with steps to reproduce

Example showing movie gross revenue predictions leading up to the day of movie release with an upper and lower bound "confidence internal" range (broken fill). Since this is counting down until release date the x-axis values are set in reversed numerical order: https://jsfiddle.net/gxvs7ds4/16/

chart

Affected browser(s)

All, doesn't seem to be browser specific.

@pawelfus

This comment has been minimized.

Show comment
Hide comment
@pawelfus

pawelfus May 15, 2017

Contributor

You are right, it looks broken, simple demo: http://jsfiddle.net/jrhfcdk0/

Contributor

pawelfus commented May 15, 2017

You are right, it looks broken, simple demo: http://jsfiddle.net/jrhfcdk0/

@pawelfus pawelfus added the Bug label May 15, 2017

@TorsteinHonsi

This comment has been minimized.

Show comment
Hide comment
@TorsteinHonsi

TorsteinHonsi May 16, 2017

Collaborator

Last working version was 4.2.1: http://jsfiddle.net/highcharts/jrhfcdk0/1/

Collaborator

TorsteinHonsi commented May 16, 2017

Last working version was 4.2.1: http://jsfiddle.net/highcharts/jrhfcdk0/1/

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