legend height

Hi, how i can change layout-x legend height ??? i use tag
in the legend but string after
not visible

Hi
Juset add this style for 2-line legend:
.dhx_chart_legend_item {
cursor: pointer;
height: 18px;
line-height: 18px;
padding: 2px;
}
Or this for 3-line legend:
.dhx_chart_legend_item{
height: 30px;
line-height: 15px;
}
And you can use
tag

If i have on page two graph? first with one string in legend and second with to string (one string with
) in the first graph legend height will be same as second ???

How i can change legend height only on second graph on page ?

Do you mean somethin like this?

yes … i try add this to css chart file but nothing changed …

You can try the next:

values:[{text:"<span class='doubled'>Company A<br>Adidas</span>"},{text:"Company B"},{text:"Company C"}],
And CSS:
.dhx_chart_legend_item{
height: 30px;
line-height: 30px;
}
.doubled {
line-height: 15px;
}

Thx a lot!

You are welcome!

can i move on the next string all text with marker ???

like this :

-companyA -companyB -companyC

You can’t do it by settings. But it can happen if there is not enough place for the legend (it straches by arrange area.

thx

You are welcome!