predixdesignsystem / px-vis-xy-chart

For a live demo of this predix UI component, visit
https://www.predix-ui.com/#/modules/px-vis-xy-chart
Apache License 2.0
1 stars 20 forks source link

chartExtents mis-calculation #14

Closed jimdefrisco closed 6 years ago

jimdefrisco commented 7 years ago

Benoit - here are the details regarding the chartExtents issue we chatted about yesterday. I will try to put together a small codepen example when I have some time. The workaround of calculating the chartExtents ourselves is working fine for now.

Expected behavior and actual behavior:

Our use case:

Expected: the chart would properly calculate the chart extents to include all the data passed Actual: chart extents are calculated incorrectly, showing only a subset of the full dataset.

Steps to reproduce the problem:

xy-extent-bug.json.zip

Environment (component version number, Browser (including version), operating system, hardware, etc):

component: v1.1.1 browser: chrome os: mac OSX El Capitan (v10.11.6) hardware: Macbook Pro

nonmetalhail commented 7 years ago

Fixed; will be released with the next vis minor release