Skip to content
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

Add a "fill to zero" option for area charts. #583

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Add a "fill to zero" option for area charts. #583

wants to merge 3 commits into from

Conversation

AHilyard
Copy link

@AHilyard AHilyard commented May 7, 2015

Currently, when creating an area chart that contains negative values, the chart is filled to the bottom, potentially misrepresenting the actual data. The fillToZero option allows the chart to fill only between the line and zero, where ever that may lie.
See this jsbin for an illustration: http://jsbin.com/qahijimebo/1/edit?html,js,output

Setting the fill to zero option will cause an area chart with negative values to only fill to the zero line, instead of the bottom of the chart.
@AHilyard AHilyard closed this May 7, 2015
@AHilyard AHilyard reopened this May 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant