andymchugh / andrewbmchugh-flow-panel

Apache License 2.0
34 stars 2 forks source link

Time series with Length of 1 not rendering. #31

Closed jammiemil closed 5 months ago

jammiemil commented 5 months ago

Me Again!

Possibly abit of an edge case but unavoidable for the type of data we are working with.

The mapping of data to 'enriched' time series within the panel is reliant on there being more than 1 value in the returned dataset. If there is only a single value 'valuesIndex' gets set to Null rather than 0 and the data fails to render:

image

Working longer time series:

image

(Not actual Data im trying to use above but using it to create an example)

andymchugh commented 5 months ago

thanks for pointing out. will get that fixed.

andymchugh commented 5 months ago

Fix for this has been pushed to main and will get built into a release next week.

jammiemil commented 5 months ago

Works Beautifully ty 😄

andymchugh commented 5 months ago

Great, thanks for confirming