Skip to content

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

Open
paulcadman wants to merge 3 commits intoshutterstock:mainfrom
CoreFiling:paulcadman-datadomain
Open

Fix Graph.dataDomain where series have empty data array#475
paulcadman wants to merge 3 commits intoshutterstock:mainfrom
CoreFiling:paulcadman-datadomain

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.

1 participant