Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

How to wrap around legends in charts?

(0) ShareShare
ReportReport
Posted on by 685

Hi Community,

How can we wrap around legends in charts? Please refer below screenshot:

2018_2D00_12_2D00_06_5F00_15_2D00_30_2D00_35.png

Thanks,

Hardik Chauhan

*This post is locked for comments

  • Suggested answer
    Alexandr J.  Profile Picture
    Alexandr J. 246 on at
    RE: How to wrap around legends in charts?

    Now i know what is your issue, but unfortunately i don't know about solution for this.

    I think you can't set that long Legend name so you can try to workaround with shorter custom label with adding to Series: LegendText=”My custom legend text”

    Here is nice overview of possible changes which can help you:

    https://crmchartguy.com/ms-crm-chart-editor-and-xml-overview/

    Here is some info on MSDN too:

    https://docs.microsoft.com/en-us/dotnet/api/system.web.ui.datavisualization.charting.legend?redirectedfrom=MSDN&view=netframework-4.7.2 

    Kind regards,

    Alex

  • chauhanhardik Profile Picture
    chauhanhardik 685 on at
    RE: How to wrap around legends in charts?

    HI Alexandr,

    Above XML code works fine for show/hide legend, but in my case, I want to legends name are not showing full. I want to wrap legends so that I can see full label/text.

    Are you aware about any other solution/suggestion which can resolve the issue?

    Regards,

    Hardik Chauhan

  • Suggested answer
    Alexandr J.  Profile Picture
    Alexandr J. 246 on at
    RE: How to wrap around legends in charts?

    It is solution for hide/remove legend and for me it works well.

    Just export chart and in exported xml find row with "Series" where is "Chart type" too and put there: IsVisibleInLegend="false" like on screen below.

    2 - No Legend IsVisibleInLegend False, series property to remove legend item for the Dynamics CRM chart.

    Did you tried this and it still shows legend..?

  • chauhanhardik Profile Picture
    chauhanhardik 685 on at
    RE: How to wrap around legends in charts?

    Hi Alexandr,

    I have already checked that link, but there's no solution for my problem. If you also have any other, then please suggest.

    Thanks for the suggestion!

    Regards,

    Hardik Chauhan

  • Suggested answer
    Alexandr J.  Profile Picture
    Alexandr J. 246 on at
    RE: How to wrap around legends in charts?

    Hi Hardik,

    best site for customize CRM charts is https://crmchartguy.com

    This topic should help you:

    https://crmchartguy.com/2013/03/03/removing-axis-titles-legend-and-axis-labels-in-crm-charts-for-ms-crm-2011/ 

    Kind regards,

    Alex

  • chauhanhardik Profile Picture
    chauhanhardik 685 on at
    RE: How to wrap around legends in charts?

    Hi Andrew,

    I have checked in Chart Editing plugin from XrmToolbox, but had no success.

    Best Regards,

    Hardik Chauhan

  • Suggested answer
    a33ik Profile Picture
    a33ik 84,325 Most Valuable Professional on at
    RE: How to wrap around legends in charts?

    Hello,

    I'm not an expert in charts but if it's possible then take a look it in Chart Editing Plugin from XrmToolbox plugin.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,409 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans