Adding Spacing Between Groups of Bars in a Bar Chart

I am using Word 2010. How can I add a subtitle to a grouping of bars (that each set of two bars has a descriptive title) as well as additional spacing between the groups of bars. In other words, if I have two sets of two bars in two separate "categories"
that in both categories the two sets of bars are labeled as "Trial 1" and "Trial 2", I want to add a "category" subtitle under each "Trial 1" and "Trial 2" bar grouping as well as additional spacing between
these two sets of two bars (that is greater than the spacing between the two sets of two bars for each category) to help make the distinction between the two categories of bars.

Hi CyberAmazon54.
Per my understanding that you have designed an Bar chart and have two category groups, you want to add space between each category group and also add subtitle for the category, right?
I have tested on my local environment and use some sample data to design the bar chart like below:
Details information below about how to design the bar chart for your reference:
1. I assumed you have three kind of values in Category group1(HotelName:A,B,C) and you need to add some blank values for Categroup2(RoomType) to make this group display between A,B,C as the blank bar like the add the space between, Modify the query like
below:
SELECT HotelName, RoomType, totaloccupancy1,1 as Bar_Sort
FROM TableName
where HotelName='A'
Union All
Select '1' as HotelName
, '' as RoomType
, 0 as totaloccupancy1
,2 as Bar_Sort
Union All
SELECT HotelName, RoomType, totaloccupancy1,3 as Bar_Sort
FROM TableName
where HotelName='B'
Union All
Select '2' as HotelName
, '' as RoomType
, 0 as totaloccupancy1
,4 as Bar_Sort
Union All
SELECT HotelName, RoomType, totaloccupancy1,5 as Bar_Sort
FROM TableName
where HotelName='C'
Note: the field " Bar_Sort " will be used to order the bar group.
2. Right click the category group1(HotelName) to select the Category group properties and add below expression in the label add your subtitle in each bar group:
=Switch(Fields!HotelName.Value="A","SubTitle1" & chr(10)& Fields!HotelName.Value,Fields!HotelName.Value="B", "SubTitle2" & chr(10)&Fields!HotelName.Value,Fields!HotelName.Value="C","SubTitle3"
& chr(10)& Fields!HotelName.Value,Fields!HotelName.Value="1" or Fields!HotelName.Value="2",Nothing)
3. Click the sorting to sort the bar group by the "Bar_Sort ":
If you still have any problem, please feel free to ask.
Regards,
Vicky Liu
Vicky Liu
TechNet Community Support

Similar Messages

  • How to center menu and add spacing between buttons?

    Here is my site: http://lauraportfolio.hostoi.com/index.html (If you are using Google Chrome you can right click and select "view page source" to see the html of the page)
    See how the menu button are justified the left of the light pink menu bar? How can I put them in the center?
    I would like to know how to center the menu, and then add spacing between the buttons.
    At one point I added spacing between the buttons using CSS padding, but when I did that the last menu button, "Graphics" ran off the pink menu bar and became invisible and all kinds of crazy ugly stuff!
    Below is what I beleive to be all of the CSS styling for the menu:
    #menubar
              width: 900px;
              height: 72px;
              padding: 0;
              background-color: transparent;
              background-image: url(transparentpink.png);
              background-repeat: repeat;
    ul#menu, ul#menu li
    { float: left;
      margin: 0;
      padding: 0;}
    ul#menu li
              list-style: none;
              padding-right: 0px;
              padding-left: 0px;
              margin-right: auto;
              margin-left: auto;
    ul#menu li a
              letter-spacing: 0.1em;
              display: block;
              float: left;
              height: 37px;
              text-align: center;
              color: #f0dbca;
              text-transform: none;
              text-decoration: none;
              background: transparent;
              font-family: bonvenoCF, verdana, Geneva, sans-serif;
              font-size: 150%;
              font-style: normal;
              font-weight: normal;
              font-variant: normal;
              padding-top: 29px;
              padding-right: 26px;
              padding-bottom: 6px;
              padding-left: 26px;
    ul#menu li a:hover, ul#menu li.selected a, ul#menu li.selected a:hover
              color: #F0DBCA;
              background-color: #F1836A;

    PART 1
    So as long as the width of the buttons plus the padding doesn't go over 900px it won't run off the page?
    Right.   The "box model" in CSS works like this:
    width + padding + border = actual visible/rendered width of box
    height + padding + border = actual visible/rendered height of box.
    PART 2
    And do you know how I can center the whole thin instead of it being left-aligned on the menu bar?
    You can't center floated menu items.  The best you can do is make your menu fit the entire width of the container (or as close as you can) as described in PART 1 above. 
    To center your #menu container, use margin:0 auto;
    To center text, use text-align:center on the #menu li a.
    Nancy O.

  • Lightbox Slideshow adjust spacing between thumbnails

    Hi
    This is actually a two part question -
    1. I want to give a collage look to my slideshow, without any spacing between thumbnails. How can I remove all the space between thumbnails.
    2. For all the thumbnails I want -"Fit the frame proportionally" and for all the big lightbox images I want "Fit Content proportionally" so that vertical and horizontal images are not cropped in the Lightbox view. How can I do that for all the images together rather than going one by one.
    Thanks in advance.
    -MP

    Hi MP,
    For your 1st request, the Thumbnails (containers that hold the thumb images) cannot be resized individually and maintain same dimensions for all the thumbnails. For this reason, even though you can remove all spacing between Thumbnails by selecting the Thumbnail Container and specifying H and V Gutter in the Spacing Panel to 0 -- if your slideshow images are of mismatched dimensions and proportions and you have Fit Content Proportionally selected as the Fitting option, then there will be an inevitable space around the thumb images either vertically or horizontally. You can work around that by using the Fill Frame Proportionally option.
    For your 2nd request. you can choose the appropriate option in the Flyout menu for "New Hero" and "New Thumbnail" options BEFORE adding the new images to the slideshow. The selection you make here will be applicable for images that you add after setting this option. So the appropriate workflow would be to setup your slideshow the way you want, then choose the appropriate option for New Hero and New Thumbnail and then add all your images to the slideshow.
    If you want fine grained control over thumbnail and images, you may look at Composition Widgets which allow you to manually place and size all content individually and still allow you to use the composition as a slideshow upon publishing.
    Thanks,
    Vikas

  • Spacing between lines is not consistent!

    Dear co-community members,
    I am a happy Pages user since a couple of months, but I just discovered a weird thing and that is: the spacing between the lines is not consistent! I am typing my document with margins left and right: 2,25 upper and under: 2,00. I use Helvetica Neue Light in 10. And I have tried several spacings: 1,15 - 1,3 - 1,35 - 1,4 but the spaces between the lines are not consistently as big or as small as they need to be.
    I discovered this when I was test printing it and I saw something was off - on paper, I thought it was my printer. But I also checked the document again: spacing was 'the same' in the whole document according to the info window. But I could see it with my bare eyes that it was not consistent (on screen nor on paper). I put the screen on 200% and I took a ruler and the spaces vary with 1mm when for example the spacing is set on 1,3. I don't think this is normal and I cannot find any solution nor explanation for it.
    I am using a MBP Retina 13" late 2012 and I have the most updated/recent version of Pages/OSX. Please let me know whether I did something wrong or are my eyes just too good hahah - or it is an 'error' in Pages .
    Kind Regards,
    Ning.

    @PeterBreis0807 & @Barry
    I actually don't have any objects or other material/fonts in my text (yet) that are not uniform size . I wanted to make a print screen from a part of my text, but I am not sure if I am allowed to post that here since I am typing a literature review with references.
    I btw do have headings in small capital (Helvetica Neue - Medium), it might not be Helvetica Neue Light also but I have never had problems with headings in another font causing inconsistent spacing between the rest of my text .
    Thank you for your reply!
    Ning.

  • Get Spacing between the two elements

    Hi,
    I have two groups and  a table in  in my layout .
    In groups I have two input fields each
    I want to provide the spacing between the groups.
    How to do the above,
    Edited by: SAP LEARNER on Nov 12, 2009 12:29 PM

    hi ,
    insert INVISIBLE element bewtween ur two groups
    http://help.sap.com/saphelp_nwmobile71/helpdata/en/0f/f08841e3af1609e10000000a155106/content.htm
    keep the layout like this :
    Group1 ( MAtrix Head Data ) , n INVISIBLE ELEMENT(s) ( Matrix Data) , Group2 ( MAtrix Data )
    u can find example in the Web Dynpro Application  WDR_TEST_UI_ELEMENTS.
    also refer the related threads:
    Re: webdynpro abap
    Re: Not able to display fields in new line while designing form?
    n the other alternative ( though I wud recommend u to go with the first alternative ) , is insert a Text View UI and in the TEXT property of the UI , do not enter any text
    regards
    amit
    Edited by: amit saini on Nov 12, 2009 1:01 PM

  • Remove spacing between minimize mazimize close buttons.

    How remove spacing between minimize, maximize, close buttons. Problem is only in firefox, when hide menu bar.
    image: http://www.bildites.lv/images/jx5yixdwdam0b5clli3.jpg
    Icons should be like in my computer window.
    OS: Windows XP; SP3
    Theme: http://www.crystalxp.net/galerie/en.id.130.htm
    Firefox 4.0 Beta 10

    Has anyone found a solution for this yet? I've searched everywhere, but have found little mention of the problem, let alone a fix. I have the same conditions as the original poster: XP, 3rd party visual style, and problem disappears when enabling the menu bar. My Windows caption buttons appear exactly like the posted screenshot. I would imagine CSS could fix it. Thanks,
    Brandon

  • Spacing between characters too large when using line justification !!!!

    Dear friends,
    Since the first time when I have used Pages I noticed a somewhat annoying feature: Sometimes when I use line justification (left and right) the spacing between the characters increase substantially. Sometimes the spacing is ridiculously large. I guess that I have mad something wrong, but I do not know what. Can someone give me a hint what I should do to overcome this irritating aspect?!
    Thanks in advance
    LJ

    There is no doubt that Mellel is a much better application than Pages in a lot of areas. It has been around for longer, it is more mature and it is actively maintained. Pages is of course better in a lot of other areas - and there is room for both on the market.
    Mellel handles hyphenation in a much more advanced way than Pages and it has support for example for soft-hyphens, editable hyphenation dictionaries and hyphenation zones - something Pages lacks.
    When it comes to the large space between characters, however, I cannot say that Mellel has invested a lot in making it look good. They just chose the simplest solution, just like MS Word, to increase space between words - not between characters. They even use this as an example of something ugly in Mellel's own user guide: "For example, the following text is fully justified but not hyphenated. The spaces between the words look wide and make the text look quite ugly."
    As mentioned before, in some cases increasing space between words is the most pleasing solution to the eye. In some cases adding some space between characters is more pleasing, and that is the reason why Apple went to the extra trouble of adding that functionality. In many cases, it is not obvious which way is best, and people will have diverging opinions.

  • Unwanted line spacing between rows

    Tables have 0 borders, cell spacing and padding. I use DW
    MX2004, pc platform xp windows. I have 3 rows, inserted a
    navigation bar,. There is extra "spacing" between the rows above
    and below my navigation bar. What is the problem??? See page :
    www.sodapopscott.com/index2.htm ??octoberben

    You need to zero out the cellpading and cellspacing.
    Highlight your main
    table and make sure you enter 0 in those fields in the
    property inspector,
    so that you have:
    <table width="770" border="0" cellpadding="0"
    cellspacing="0">
    Leaving those fields blank does not mean they are set to
    zero, you need to
    implicitly set them to 0..
    Nadia
    Adobe� Community Expert : Dreamweaver
    http://www.csstemplates.com.au
    - CSS Templates | Free Templates
    http://www.perrelink.com.au
    - Web Dev
    http://www.DreamweaverResources.com
    - Dropdown Menu Templates|Tutorials
    http://www.adobe.com/devnet/dreamweaver/css.html
    "octobrben" <[email protected]> wrote in
    message
    news:e6lqos$e8m$[email protected]..
    >I use DW MX2004, pc platform xp windows. I have 3 rows,
    inserted a
    >navigation
    > bar,. There is extra "spacing" between the rows above
    and below my
    > navigation
    > bar. What is the problem??? See page :
    www.sodapopscott.com/index2.htm
    > ??octoberben
    >

  • Pages 5: Spacing between bullets (not line spacing)

    How can I control the spacing between bullets?
    1. I clearly see how to control the spacing around a bullet relevant to its text. That's not what I'm referring to.
    2. I clearly see how to set line spacing. That's not what I'm referring to.
    What I'd like to do is keep a line spacing of 1.0 on the text, but add padding between list items (between bulleted content). The method in Pages '09 was to add buffer space "after the paragraph" (or before). However, in Pages 5.0 this option does not exist. Some of my bullets have enough content that wraps, which is why line spacing is not an acceptable solution.
    How can I control spacing between bulleted list items, such that each chunk of content is better separated?
    Thank you!

    Silly me. I have located it, by expanding the Spacing menu. The control I'm looking for is right there.
    I've included a screencap, in case anyone else misses the obvious like I have. Thanks for looking!

  • ABAP webdynpro how to give spacing between the UI Elements in a view

    Hi Expert,
    I am very new to webdynproapplication development. I am stuck in changing the look of the ui  elements of the view.
    Cud anyone explain  how  to set the spaces  between the  UI Elements on  a View is there any method ?
    I have set the Layout property  to Matrix layout. But here I am unable to set the spacing between the deffernet elements  as it is taking it automaticaaly  and I am not able to allign  all the  Elements.
    Need your help!.............thank you
    Moderator message: wrong forum, please have a look in the dedicated "Web Dynpro ABAP" forum.
    Edited by: Thomas Zloch on Apr 15, 2011 10:17 PM

    Hi anushree.,
    If u are using matrix layout:
    In Layout Data select MatrixHeadData to display UI in next line.,
    If u want to give space  between UI elements in the width enter 50, 60, 70 or what ever space u want.
    Also in the vGutter u can select medium ,  large ,  medium with rule  to give space between UI elements.
    n if u want to give space between lines  ., in the height enter 30 40 or whatever spacing between lines u want.,
    Matrix layout is a good layout., and u can play with colspan , hAlign, vAlign, vGutter, width and height options.,
    If u dont like the layout with these options then use Grid layout., where u can give custom spacing., with the help of Left Padding, Right Padding, Top Padding, Bottom Padding.
    reply if u need some more clarifications.,
    Thanks & Regards
    Kiran

  • Adding Content To the Top-Level of Navigation bar ?

    Hi,experts ,
       i have a problem with adding content to the top-level of navigation bar ?
    I have the authority of administration.I have added a customizing role with the entry-point property to myself userid . I have checked my navigation-target page's property can be visible in top-level navigation. I checked my my display level is set as 2 .
       However ,i dont get the folder content at the top-level navigation.Anyway,when i check the delta link trace,there is no folder that connect to my role .
       Anyone helps me out ?
    Thanks in Advance .

    Hi Eleanor,
    If you already created a role with an entry point and assigned it directly to you user, you may just have to refresh the portal page. You may also check the authorizations of you role.

  • I've found no way to sort.  For example, if I type the group "Rush" into the search bar, I get a list of songs recorded by rush and literally thousands of other songs and artists with the word rush in them. There is; however, no way to sort the results.

    I've found no way to sort search results in itunes.  For example, if I type the group "Rush" into the search bar, I get a list of songs recorded by rush and literally thousands of other songs and artists with the word rush in them. There is; however, no way to sort the results. 

    In the Search box click on the black Arrow and UNTICK the Search Entire Library.
    Then the Search results in Songs view will be displayed in the main Grid and you can sort them by clicking on the column headers.
    You can also turn on the column browser which can help with filtering

  • Why apple is not adding tweaks like activator,volume slider in multitasking bar and a blacklist app

    Why apple is not adding tweaks like activator,volume slider in multitasking bar and a blacklist app?

    But quantity is not everything.
    Funny, because Windows proponents and users touted the quantity of apps available with that swiss cheese for security OS being "everything" or a big plus, but now say it isn't everything with iOS. Can't have it both ways.
    At present there are about SIX blacklist apps in the OFFICIAL Apple Store which I can buy for MONEY but have NO USE AT ALL because of the APIs restrictions.
    3rd party apps don't have access to private iPhone APIs for security reasons. Andrioid is following the same path as Windows. Their so called "open" OS is a swiss cheese for security mobile OS.
    If this isn't acceptable to you or having an option to block unwanted calls provided by the iPhone's OS is a very important want or need, stick with an Android or Symbian device that includes the option. 

  • How to maintain spacing between 2 elements in webdynpro

    Hi Experts,
    I got 3 pushbutton. I am using matrix layout but spacing(distance) between 3 of these elements is not uniform.
    Please help me to make spacing between them to be uniform.
    Thanks & Regards,
    Niki

    Hi Niki,
    Use Vgutter property of buttons, use medium or large to make distance between buttons.
    OR
    Use Invisible UI Element and place between buttons it will give gap, give width of invisible element to move.
    Cheers,
    Kris.

  • Spacing between letters

    HI friends,
    we are currently involving in scripts upgradation from 4.6c to Ecc 6.0.
    we are facing a small problem that there is a spacing between letters , when we upgrade the document in Ecc6.0.
    could u pls help me how to overcome this problem.
    Hope u are undestood my query.
    Thanks & Regards
    ravi

    Hi, anji
    I have checked the font attributes, but its same in both 4.6c and Ecc6.0.
    Could u pls let me know, is there any other reason.
    Thanks & regards
    ravi.

Maybe you are looking for