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

Fix Graph.dataDomain where series have empty data array #475

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

Conversation

paulcadman
Copy link

The current implementation of Graph.dataDomain assumes that series data arrays have at least one element.

Use case: Displaying a series with no data in the graph's legend but I still want to use the dataDomain method.

Paul Cadman added 3 commits September 5, 2014 10:21
The current implementation of Graph.dataDomain assumes that series
data arrays have at least one element.

Use case: Displaying a series with no data in the graph's legend.
If Graph.dataDomain() is not restricted to active series then for
unstacked charts RangeSlider.Preview may set graph.window.{xMin, xMax}
to an incorrect value when series are disabled using the Toggle
behaviour.

This fixes:
shutterstock#497
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