# WISH: make multiple Legend Par connections

**URL:** <https://discourse.ladybug.tools/t/wish-make-multiple-legend-par-connections/1060>\
**Category:** ladybug-legacy\
**Tags:** windrose\
**Created:** [March 18, 2016, 11:09pm UTC](https://discourse.ladybug.tools/t/wish-make-multiple-legend-par-connections/1060 "2016-03-18T23:09:00Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Timur582](https://discourse.ladybug.tools/user_avatar/discourse.ladybug.tools/timur582/32/13_2.png) [@Timur582](https://discourse.ladybug.tools/u/Timur582)\
**Post date:** [March 18, 2016, 11:09pm UTC](https://discourse.ladybug.tools/t/wish-make-multiple-legend-par-connections/1060/1 "2016-03-18T23:09:00Z")

</div>

Hello guys,

Some components can collect annual hourly data and display it in additional analysis. I find it very useful but what slows me down is lack of control for the parameters for the data.

For example if I want to show temperature distribution on a wind rose with specific color scheme, low/high bounds and number of segments I have to crop wind speed diagram (left) out of the image because legend parameter that I set for the dry bulb temp (right) ruins parameters for the wind speed.

[![](http://api.ning.com:80/files/QqEwKwheuH8kjcHlE0GpAMPXdX0heFwZjfj1j4lQzYoegsTtW3VoQMzTtIiVPwSZFOvTdfKhMLi6IbdWLjTSwFdGKdGMKJlP/Capture.PNG?width=750)](http://api.ning.com:80/files/QqEwKwheuH8kjcHlE0GpAMPXdX0heFwZjfj1j4lQzYoegsTtW3VoQMzTtIiVPwSZFOvTdfKhMLi6IbdWLjTSwFdGKdGMKJlP/Capture.PNG)

This is how it looks like (but not working):

Wind rose picks up legend par #1 only

[![](http://api.ning.com:80/files/QqEwKwheuH8ZAkzAc0WbGXJ95Exu5gn5U6Dr*h*EU5wIct*uJB2A36S4TWIEypY0yRia0wFBRvir6h6yAXi1EwOR2rZe5DNs/wish.PNG?width=750)](http://api.ning.com:80/files/QqEwKwheuH8ZAkzAc0WbGXJ95Exu5gn5U6Dr*h*EU5wIct*uJB2A36S4TWIEypY0yRia0wFBRvir6h6yAXi1EwOR2rZe5DNs/wish.PNG)

If I’m missing something and there is a way to control multiple legends please let me know, I will delete this post.

---

<div class="post-metadata">

**Author:** ![mostapha](https://discourse.ladybug.tools/user_avatar/discourse.ladybug.tools/mostapha/32/15244_2.png) [@mostapha](https://discourse.ladybug.tools/u/mostapha)\
**Post date:** [March 19, 2016, 7:41am UTC](https://discourse.ladybug.tools/t/wish-make-multiple-legend-par-connections/1060/2 "2016-03-19T07:41:00Z")

</div>

Hi Tim, You can pass a list to legend parameters if you have more than one graph. [Here](http://hydrashare.github.io/hydra/viewer?owner=mostaphaRoudsari&fork=hydra_1&id=Customize_weather_data_visualization_with_3D_Chart&slide=0&scale=2.5198419576493336&offset=-1044.8913458839168,-430.25775919829107) is an example.

---

<div class="post-metadata">

**Author:** ![Timur582](https://discourse.ladybug.tools/user_avatar/discourse.ladybug.tools/timur582/32/13_2.png) [@Timur582](https://discourse.ladybug.tools/u/Timur582)\
**Post date:** [March 19, 2016, 7:45am UTC](https://discourse.ladybug.tools/t/wish-make-multiple-legend-par-connections/1060/3 "2016-03-19T07:45:00Z")

</div>

Thank you Mostapha,

I like this solution muuuuuuuuuuuuch better. Would you like me to remove the discussion?

---

<div class="post-metadata">

**Author:** ![mostapha](https://discourse.ladybug.tools/user_avatar/discourse.ladybug.tools/mostapha/32/15244_2.png) [@mostapha](https://discourse.ladybug.tools/u/mostapha)\
**Post date:** [March 19, 2016, 7:47am UTC](https://discourse.ladybug.tools/t/wish-make-multiple-legend-par-connections/1060/4 "2016-03-19T07:47:00Z")

</div>

Please keep it here so other people can see it too. Also I’m not sure if it works the same with windrose graphs but it should. Let me know if that was the case.

---

<div class="post-metadata">

**Author:** ![Timur582](https://discourse.ladybug.tools/user_avatar/discourse.ladybug.tools/timur582/32/13_2.png) [@Timur582](https://discourse.ladybug.tools/u/Timur582)\
**Post date:** [March 19, 2016, 8:04am UTC](https://discourse.ladybug.tools/t/wish-make-multiple-legend-par-connections/1060/5 "2016-03-19T08:04:00Z")

</div>

No problem, just tested the method on Wind Rose, I think it is safe to say that it doesn’t really work XD.

[![](http://api.ning.com:80/files/a0gZpI6iXILOKzEXN4cp7Nzai7N*rWRVzOgSukHGfLx0niPP-M2*FO42rW709evmHuyk-eAWy8XAwJf8u7YFE8PG1HLxCKzz/nope.PNG?width=721)](http://api.ning.com:80/files/a0gZpI6iXILOKzEXN4cp7Nzai7N*rWRVzOgSukHGfLx0niPP-M2*FO42rW709evmHuyk-eAWy8XAwJf8u7YFE8PG1HLxCKzz/nope.PNG)

---

<div class="post-metadata">

**Author:** ![mostapha](https://discourse.ladybug.tools/user_avatar/discourse.ladybug.tools/mostapha/32/15244_2.png) [@mostapha](https://discourse.ladybug.tools/u/mostapha)\
**Post date:** [March 19, 2016, 8:05am UTC](https://discourse.ladybug.tools/t/wish-make-multiple-legend-par-connections/1060/6 "2016-03-19T08:05:00Z")

</div>

You should not graft low-band and high-bound.

---

<div class="post-metadata">

**Author:** ![Timur582](https://discourse.ladybug.tools/user_avatar/discourse.ladybug.tools/timur582/32/13_2.png) [@Timur582](https://discourse.ladybug.tools/u/Timur582)\
**Post date:** [March 19, 2016, 8:19am UTC](https://discourse.ladybug.tools/t/wish-make-multiple-legend-par-connections/1060/7 "2016-03-19T08:19:00Z")

</div>

Hey Mostapha,

No grafting or entwining, still looking bad. As I believe it should work for 3D chart just fine.

[![](http://api.ning.com:80/files/a0gZpI6iXIL-UHPX-py9rHORncUFH7xC*-vgITCdXRW7FpkUzghgY3LmV8I9QJYD3Z*XUnu5j4ql9*NoQrK*VebLeOKY3ZCS/stillnope.PNG?width=721)](http://api.ning.com:80/files/a0gZpI6iXIL-UHPX-py9rHORncUFH7xC*-vgITCdXRW7FpkUzghgY3LmV8I9QJYD3Z*XUnu5j4ql9*NoQrK*VebLeOKY3ZCS/stillnope.PNG)

---

<div class="post-metadata">

**Author:** ![chris](https://discourse.ladybug.tools/user_avatar/discourse.ladybug.tools/chris/32/10179_2.png) [@chris](https://discourse.ladybug.tools/u/chris)\
**Post date:** [March 19, 2016, 3:11pm UTC](https://discourse.ladybug.tools/t/wish-make-multiple-legend-par-connections/1060/8 "2016-03-19T15:11:00Z")

</div>

Tim and Mostapha,

This is something that has been in the works for a while:

[https://github.com/mostaphaRoudsari/Honeybee/issues/251](https://github.com/mostaphaRoudsari/Honeybee/issues/251)

I had been meaning to implement it on all components but I only got around to implementing it for the 3D chart and the Sunpath before I realized that Mostapha was re-writing the Ladybug codebase. I thought that I should wait for this basic re-writing to be finished before implementing it on all components since I would have to re-do all of this work in a few months if I started to do it immediately.

Mostapha, when do you think we will do a release of Ladybug for Grasshopper with the new code base? If it is still several months away, perhaps I should just implement this tree-branched LegendPar on the rest of the components now. Otherwise, set a deadline and I will put forward all of my efforts to meeting it instead.

-Chris

---

<div class="post-metadata">

**Author:** ![mostapha](https://discourse.ladybug.tools/user_avatar/discourse.ladybug.tools/mostapha/32/15244_2.png) [@mostapha](https://discourse.ladybug.tools/u/mostapha)\
**Post date:** [March 19, 2016, 4:49pm UTC](https://discourse.ladybug.tools/t/wish-make-multiple-legend-par-connections/1060/9 "2016-03-19T16:49:00Z")

</div>

Thanks Chris! It will take a couple of months but I still think that we should implement the enhancements to the new version unless it is very critical (e.g. bug)

---

<div class="post-metadata">

**Author:** ![Timur582](https://discourse.ladybug.tools/user_avatar/discourse.ladybug.tools/timur582/32/13_2.png) [@Timur582](https://discourse.ladybug.tools/u/Timur582)\
**Post date:** [March 19, 2016, 9:43pm UTC](https://discourse.ladybug.tools/t/wish-make-multiple-legend-par-connections/1060/10 "2016-03-19T21:43:00Z")

</div>

Chris and Mostapha,

Will be waiting for a fresh release then, thank you for all your replies.

---

<div class="post-metadata">

**Author:** ![chris](https://discourse.ladybug.tools/user_avatar/discourse.ladybug.tools/chris/32/10179_2.png) [@chris](https://discourse.ladybug.tools/u/chris)\
**Post date:** [March 20, 2016, 9:27pm UTC](https://discourse.ladybug.tools/t/wish-make-multiple-legend-par-connections/1060/11 "2016-03-20T21:27:00Z")

</div>

Glad to hear you say this. I’ll mobilize my efforts on the new version here on out!

I just took a stab at converting the PMV comfort model over to the new format. The more that I work with object-oriented programming, the more I realize why a re-write of the code is necessary:

[https://github.com/ladybug-analysis-tools/ladybug-core/commit/26747…](https://github.com/ladybug-analysis-tools/ladybug-core/commit/26747b39df9dfcc384cf7b70909c72655bf04f91)

---

<div class="post-metadata">

**Author:** ![RoiHeinason](https://discourse.ladybug.tools/user_avatar/discourse.ladybug.tools/roiheinason/32/936_2.png) [@RoiHeinason](https://discourse.ladybug.tools/u/RoiHeinason)\
**Post date:** [February 9, 2018, 10:54pm UTC](https://discourse.ladybug.tools/t/wish-make-multiple-legend-par-connections/1060/12 "2018-02-09T22:54:25Z")

</div>

Any update on support for this functionality with the Wind Rose Component?

---

<div class="post-metadata">

**Author:** ![devang](https://discourse.ladybug.tools/user_avatar/discourse.ladybug.tools/devang/32/21620_2.png) [@devang](https://discourse.ladybug.tools/u/devang)\
**Post date:** [February 10, 2018, 9:49am UTC](https://discourse.ladybug.tools/t/wish-make-multiple-legend-par-connections/1060/13 "2018-02-10T09:49:48Z")

</div>

Hi @RoiHeinason,  
Unfortunately not. We’ve not written the wind rose in the Ladybug core library yet (The New CodeBase mentioned in earlier comments). Sorry for unavailability of this feature. We’ll make it a point to integrate it.
