Skip to Content

Center Legend Line Chart

Hi all, I need align at center line chart legend, I modify some style classes but don't retrieve the wished result.

Can any help me ? I'm using DS 1.4 SP 00

Thanks.

graph.png (123.6 kB)
Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Feb 14, 2015 at 12:18 PM

    Hi Cesar - this has been asked before - please see David's response here

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 20, 2015 at 12:06 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.