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.