Legend for colors generated using gradient

Hi Everyone,

I have used Gradient option and custom preview component to assign colors to a series of surfaces generated through circles and each value based on a number. Can I see these values as a legend in my Rhino Window to show the same values used to generate the gradient component as a scale.?


attached
legend.gh (19.5 KB)
Screenshot 2023-12-14 151318

thanks @crz_06 , its working now.