cancel
Showing results for 
Search instead for 
Did you mean: 

Legend Center Align

Former Member
0 Kudos

Hello Experts,

    Am using SAP Design Studio 1.3, is there any way we can configure the Chart Legend to center Alignment?  Please help me. We have a option to select either top,bottom,left or right. But  if you select top or bottom  it start displaying from left.

Thank you in advance.

Regards,

Maruthi

Accepted Solutions (0)

Answers (1)

Answers (1)

TammyPowlas
Active Contributor
0 Kudos

Reading the answer to this thread it doesn't sound like it's currently possible without going to an SDK

Former Member
0 Kudos

Thank you Tammy.

Regards,

Maruthi

Former Member
0 Kudos

Hello

I found a way to move the legend of a given graph via CSS:


div#CHART_1_c1 svg>g.v-m-legends>g.v-m-legend {

    transform: translate(44px,0px) !important;

    -webkit-transform: translate(44px,0px) !important;

    -ms-transform: translate(44px,0px) !important;

    -moz-transform: translate(44px,0px) !important;

 

}

That way, my legend seems to be centered.

But not with ie11 ... IE11 bug with implementation of CSS transforms in SVG | Microsoft Connect

Guillaume HUCHET