DirectSunHours error:Solution exception:index out of range: 1

Hi,
Here’s a beginner trying to understand how legend parameter works in latest version 1.9.0.
I’m trying to create a legend with two categories of (<2 hours, >2 hours) by input 2 to domain using LegendParameters. But DirectSunHours components keep saying index out of range.

I could not attach my file since I’m a new user, here’s only Hi-Res image provided. Please tell me if I misunderstand how to use the domain input, much appreciated.

Sorry for such a late response, @timber , and thank you for reporting this issue.

It’s a bug that only happens when a value in the data is exactly equal to the number that you plugged in for the domain. For most types of data, it’s hard to make this “perfectly equal” situation happen but, for direct sun hours, your data is typically in integers (much like what you might enter for the domain). So it’s much easier for this situation to happen.

I just pushed a fix here:

… and people should be able to get it on their side with the LB Versioner component in an hour or so.

Thanks again for reporting!