Nick Grattan’s SharePoint Blog

About Microsoft SharePoint and some .NET

Chart Web Part: Hiding “Data & Appearance” and “Advanced Properties”

with 10 comments

The “Chart Web Part” shipped with SharePoint 2010 does a reasonable job of displaying graphs. However, when added to a web part page, it displays “Data & Appearance” and “Advanced Properties” links which can be annoying:

The links cannot be hidden through the web part configuration user interface. Instead you need to:

  1. Open the ASPX page in Microsoft SharePoint Designer 2010.
  2. Locate the Chart Web Part in Code View.
  3. Edit the ShowToolbar property from “True” to “False”.
  4. Save changes.

Now these links will be hidden. You can use the standard drop down web part menu to access them if you need to without re-enabling them:

About these ads

Written by Nick Grattan

February 15, 2011 at 7:40 pm

10 Responses

Subscribe to comments with RSS.

  1. Hi

    Thank you for this.

    Worked perfectly :)

    Regards
    Thomas

    Thomas Christiansen

    May 16, 2011 at 10:26 am

  2. Hi Nick,

    Good job. Thank you very much :-)

    Does it’s possible to change the template in order to avoid having to change each page .aspx of sharepoint?

    Icarus

    May 19, 2011 at 3:06 am

    • Icarus, Once you’ve set up your chart, you can use SharePoint Designer to save (export) the web part. This exported web part can then be added to the web part gallery and so will be available when adding web parts to other aspx pages. You’ll then be flying :) Nick.

      Nick Grattan

      May 19, 2011 at 5:33 am

      • Nick

        I’m not so good in the SharePoint like you. :-(

        If not abuse, you might ask how?

        Icarus

        May 19, 2011 at 11:39 am

  3. Very Nice

    Rami

    December 6, 2012 at 7:00 am

  4. tinyurl.com

    March 1, 2013 at 1:34 am

  5. Hello,
    I was able to hide it using “Content editor” web part and css style code:

    .ms-menutoolbar {
    DISPLAY: none
    }

    Yelizaveta

    June 27, 2013 at 8:24 pm

  6. Great, Thanks a lot!

    Madda

    January 16, 2014 at 1:24 pm

  7. Terrific advice, just what I was looking for. I am using this part in SP2013 as well. It is a bit janky but nonetheless the price is right.

    Bob Manders

    January 22, 2014 at 5:48 pm


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 50 other followers

%d bloggers like this: