Different colors for hierarchy nodes in WEBI 4.0 (Possible or not)

Hi Everyone,
We have been listening a lot about the capability of Webi 4.0 in terms of Hierarchies from BW BEx Query. It works just fine like in BEx Analyzer, but is it possible to create formatted reports like we do in Crystal reports to display different colors for the hierarchy nodes. The reason for asking about this functionality is though Crystal Enterprise also inherits Hierarchical view from BEx Query we still won't be able to drill down in real time to do some interactive analysis.
Where as Webi 4.0 can allow us to do interactive analysis by allowing us to drill down on the hierarchies, but it would be great to show the Webi report with different colors for the hierarchy nodes along with the drill down functionality, to give users the best look and feel while working with these reports.
I am trying to achieve this functionality but I am not successful yet and running out of ideas. I am also not sure if this is possible or not. Can anyone throw some light or share there thoughts on this.
Any comments will be greatly appreciated.
Thanks & Regards,
SRV

Create a variable with:
     =[Object].Depth
where [Object] has to be the one containing the BEx hierarchy.
This function will return the hierarchy level starting with 0 (zero).
You can use the value of the variable the in the formatting rules:
variable   equal   [hierarchy level]
to format all hierarchy nodes on the given level.
R. Uli

Similar Messages

  • Set different color for one JTree node

    hello,
    I managed to find how to set a color for Jtree nodes but the problem is that with my method all the nodes will b the same color whereas i'm looking to have nodes of different color depending on the situation.
    the method for setting all Jtree nodes the same color(other than black):
    tree.setCellRenderer(
    new DefaultTreeCellRenderer() {
       public Color getTextNonSelectionColor() {
         return Color.lightGray; } });I WANT TO CHOSSE EACH COLOR FOR EACH NODE
    help plz
    thanks

    You need to implement TreeCellRenderer interface
    public Component getTreeCellRendererComponent(JTree tree,
                                                  Object value,
                                                  boolean sel,
                                                  boolean expanded,
                                                  boolean leaf,
                                                  int row,
                                                  boolean hasFocus)You can know which node is rendering by check value argument. Please read DefaultTreeCellRenderer's code.

  • PWA 2010 timesheet: 2 different colors for the rows "Actual " and "Planned

    Hello,
    To make timesheet easier to read and fill, is it possible to have 2 different colors for the rows “Actual “ and “Planned”?
    Thanks,
    soudha

    Hello Soudha,
    By default the timesheet grid shows the cells in white color. But if you have little coding skills or a developer at your end, you can try this using "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\JsGrid.js" java
    script file.
    You may have to modify it but I recommend to take a backup of the file and test in your test environment first.
    Happy troubleshooting.....
    Vikram Daruru - MSFT

  • How can i do different colors for the category in business graphics

    Hi everybody,
    i have a business graphics and i need different colors for the category. my business graphics is a gantt.
    for example
    category1
    category2
    category2
    and so on.
    Is there a solution for this? How can i do it?
    Best regards,
    Markus

    Sorry.
    In my opinion, this requirement can not be resolved.
    Generally, we use Business Graphic with Category, we just follow:
    DATA:lr_graph TYPE REF TO cl_wd_business_graphics.
    lr_graph = cl_wd_business_graphics=>new_business_graphics(
        bind_series_source = 'NODE_DYN'
        chart_type = cl_wd_business_graphics=>e_chart_type-BARS
        height = 340
        width = 750
    *     BIND_TOOLTIP = 'GRAPH.TT'
        id = 'GRAPH' ).
    DATA: lr_bgr_cs TYPE REF TO cl_wd_category.
    lr_bgr_cs = cl_wd_category=>new_category(
    view = wd_this->mr_view
    bind_description = 'NODE_DYN.CATEGORY').
    lr_graph->set_category( lr_bgr_cs ).
    If we go to SE24, to check  the class "CL_WD_CATEGORY", we cannot find any method  or attribute about how to manipulate  the "Category Font Color"...
    Maybe,any other expert can give you fantastic solution, hope. Best wishes.

  • Same logo printing different colors for different file formats?

    I created a logo for a client who will be using it for some printed materials.  I provided the logo in 3 different file formats: EPS, JPEG and Tiff.
    In INDesign and MS Word, the logo is printing a different color for the EPS vs the Jpeg/Tiff file types.  Is there something I'm missing?
    I've even tried changing the color to something completely different and we are getting the same result.  There is STiLL a considerable difference between the Eps file and the other two files.

    No the logo was created for print and I originally had used a pantone color but converted to CMYK.  The actual value is C69 M7 Y0 K0.  When my client inserts the eps file into her InDesign layout, it prints a bright aqua color and if she uses either the jpeg or tiff, it is a much different blue.  We've tried other colors because I was thinking it might just be the fact that it's a blue color... but the same thing happens to other colors. I am wondering if there is some sort of color management setting that is causing the eps to be different?

  • How can i apply different color for each cell in jlist component?

    hi guys i need your help and sorry if my english is very bad..guys how can i apply different colors for each cell in jlist component? for example for the first cell i want to apply color blue, for the second cell i want red, etc... i need your answer guys tnx..
    Edited by: ryrene on Mar 21, 2010 12:13 AM

    ryrene wrote:
    hi guys i need your help and sorry if my english is very bad.
    ..guys how can i apply different colors for each cell in jlist component? for example for the first cell i want to apply color blue, for the second cell i want red, etc... i need your answer guys tnx..I'll see your tnx, and raise you dve bmbrs & nplm.

  • How to set different colors for even odd rows in a data table

    hi,
    In my project i hav a data table. i am using jsf. i want the rows of the data table different colors for even, odd rows. can i do it just setting the row class property ? or there should be there some other way? please help.
    sailajoy

    Hope this helps
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-loose.dtd">
    <html>
    <head>
    <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
    <title></title>
    <style type='text/css'>
    .scrollContent {
    height:100px;
    overflow-x:hidden;
    overflow-y:auto;
    .scrollContent tr {
    height: auto;
    white-space: nowrap;
    .scrollContent tr td:last-child {
    padding-right: 20px;
    .fixedHeader tr {
    position: relative;
    height: auto;
    top: expression( this.parentNode.parentNode.parentNode.scrollTop + 'px' );
    div.TableContainer {
    border: 1px solid #7DA87D;
    .headerFormat {
    background-color: white;
    color: #C8D7B5;
    margin: 3px;
    padding: 1px;
    white-space: nowrap;
    font-family: Helvetica;
    font-size: 16px;
    text-decoration: none;
    font-weight: bold;
    .headerFormat tr td {
    border: 1px solid #C8D7B5;
    background-color: #666633;
    .bodyFormat tr td {
         color: #000000;
         margin: 3px;
         padding: 1px;
         border: 0px none;
         font-family: Helvetica;
         font-size: 12px;
    .alternateRow {
    background-color: #C8D7B5;
    </style>
    <style type="text/css">
    div.TableContainer {
    height: 121px;
    overflow-x:hidden;
    overflow-y:auto;
    </style>
    </head>
    <body>
    <table cellpadding="0" cellspacing="0" border="0"><tr><td><div id="TableContainer" class="TableContainer" style="height:230px;">
    <table class="scrollTable">
    <thead class="fixedHeader headerFormat">
    <tr class="title">
    <td title="Sort" align="center"><b>NAME</b> </td>
    <td title="Sort" align="center"><b>Amt</b> </td>
    <td title="Sort" align="center"><b>Lvl</b> </td>
    <td title="Sort" align="center"><b>Rank</b> </td>
    <td title="Sort" align="center"><b>Position</b> </td>
    <td title="Sort" align="center"><b>Date</b></td>
    </tr>
    </thead>
    <tbody class="scrollContent bodyFormat" style="height:200px;">
    <tr class="alternateRow">
    <td>Maha</td>
    <td>
    <input type="text" name="textfield" size="7" />
    </td>
    <td align="right"><input type="text" name="textfield2" size="7" /></td>
    <td align="right"><input type="text" name="textfield3" size="7" /></td>
    <td><input type="text" name="textfield4" size="7" /></td>
    <td align="right"><input type="text" name="textfield5" size="7" /></td>
    </tr>
    <tr>
    <td>Thrawl</td>
    <td align="right">$9,550</td>
    <td align="right">159</td>
    <td align="right">100%</td>
    <td>Co-Owner</td>
    <td align="right">11/07/2003</td>
    </tr>
    <tr class="alternateRow">
    <td>Marhanen</td>
    <td align="right">$223.04</td>
    <td align="right">83</td>
    <td align="right">99%</td>
    <td>Banker</td>
    <td align="right">06/27/2006</td>
    </tr>
    <tr>
    <td>Peter</td>
    <td align="right">$121</td>
    <td align="right">567</td>
    <td align="right">23423%</td>
    <td>FishHead</td>
    <td align="right">06/06/2006</td>
    </tr>
    <tr class="alternateRow">
    <td>Jones</td>
    <td align="right">$15</td>
    <td align="right">11</td>
    <td align="right">15%</td>
    <td>Bubba</td>
    <td align="right">10/27/2005</td>
    </tr>
    <tr>
    <td>Supa-De-Dupa</td>
    <td align="right">$145</td>
    <td align="right">91</td>
    <td align="right">32%</td>
    <td>momma</td>
    <td align="right">12/15/1996</td>
    </tr>
    <tr class="alternateRow">
    <td>ClickClock</td>
    <td align="right">$1,213</td>
    <td align="right">23</td>
    <td align="right">1%</td>
    <td>Dada</td>
    <td align="right">1/30/1998</td>
    </tr>
    <tr>
    <td>Mrs. Robinson</td>
    <td align="right">$99</td>
    <td align="right">99</td>
    <td align="right">99%</td>
    <td>Wife</td>
    <td align="right">07/04/1963</td>
    </tr>
    <tr class="alternateRow">
    <td>Maha</td>
    <td align="right">$19,923.19</td>
    <td align="right">100</td>
    <td align="right">100%</td>
    <td>Owner</td>
    <td align="right">01/02/2001</td>
    </tr>
    <tr>
    <td>Thrawl</td>
    <td align="right">$9,550</td>
    <td align="right">159</td>
    <td align="right">100%</td>
    <td>Co-Owner</td>
    <td align="right">11/07/2003</td>
    </tr>
    <tr class="alternateRow">
    <td>Marhanen</td>
    <td align="right">$223.04</td>
    <td align="right">83</td>
    <td align="right">59%</td>
    <td>Banker</td>
    <td align="right">06/27/2006</td>
    </tr>
    <tr>
    <td>Peter</td>
    <td align="right">$121</td>
    <td align="right">567</td>
    <td align="right">534.23%</td>
    <td>FishHead</td>
    <td align="right">06/06/2006</td>
    </tr>
    <tr class="alternateRow">
    <td>Jones</td>
    <td align="right">$15</td>
    <td align="right">11</td>
    <td align="right">15%</td>
    <td>Bubba</td>
    <td align="right">10/27/2005</td>
    </tr>
    <tr>
    <td>Supa-De-Dupa</td>
    <td align="right">$145</td>
    <td align="right">91</td>
    <td align="right">42%</td>
    <td>momma</td>
    <td align="right">12/15/1996</td>
    </tr>
    <tr class="alternateRow">
    <td>ClickClock</td>
    <td align="right">$1,213</td>
    <td align="right">23</td>
    <td align="right">2%</td>
    <td>Dada</td>
    <td align="right">1/30/1998</td>
    </tr>
    <tr>
    <td>Mrs. Robinson</td>
    <td align="right">$99</td>
    <td align="right">99</td>
    <td align="right">(-10.42%)</td>
    <td>Wife</td>
    <td align="right">07/04/1963</td>
    </tr>
    <tr class="alternateRow">
    <td>Maha</td>
    <td align="right">-$19,923.19</td>
    <td align="right">100</td>
    <td align="right">(-10.01%)</td>
    <td>Owner</td>
    <td align="right">01/02/2001</td>
    </tr>
    <tr >
    <td>Thrawl</td>
    <td align="right">$9,550</td>
    <td align="right">159</td>
    <td align="right">-10.20%</td>
    <td>Co-Owner</td>
    <td align="right">11/07/2003</td>
    </tr>
    <tr class="alternateRow" >
    <td><strong>TOTAL</strong>:</td>
    <td align="right"><strong>999999</strong></td>
    <td align="right"><strong>9999999</strong></td>
    <td align="right"><strong>99</strong></td>
    <td > </td>
    <td align="right"> </td>
    </tr>
    </tbody>
    </table>
    </div></td></tr></table>
    </body>
    </html>

  • Combo chart - different colors for Bar/Line

    Hi,
    In a combo chart is it possible to have different colors for bar and lines......................In our report- combo charts the intersection of bar/line is NOT visible beacuse of same color.

    Yes, I create a formula row with a zero in the first column. The row should be hiden. This has to be at the top of the grid and include the row in your data ranges for the chart.

  • A quick way to set different color for certain items in JList?

    is there a quick way of setting different color for certain items in JList?

    Either use HTML strings as the values in your JList (quickest, but may not be the most convenient, especially if your model isn't just text), or create your own ListCellRenderer (e.g. extend DefaultListCellRenderer).
    There is no such thing as "list.setItemForeground(int index, Color c)". You'll have to use one of the methods above.

  • Setting custom color for selected node in JTree?

    Hi,
    i want to set my own color for selected node in JTree. i don't want to set for all the nodes...how to set Color for Selected node using TreeCellRender class?
    Thanks
    Mani

    I assume you are not setting a custom tree cell renderer...
    javax.swing.JTree theTree = ...;
    java.awt.Color newBGColor = ...;
    ((javax.swing.tree.DefaultTreeCellRenderer)theTree.getCellRenderer())
        .setBackgroundSelectionColor(newColor);

  • Is there a way to have multiple color Guides so I can have different colors for different layers

    Is there a way to have multiple color Guides in Illustrator and Photoshop CC so I can have different colors for different layers?

    I think it's not possible "natively" to have this functionalty but I found these topics for Photoshop :
    http://www.ps-scripts.com/bb/viewtopic.php?f=10&t=4618
    http://www.ps-scripts.com/bb/viewtopic.php?f=10&t=4617
    On this one, you will see a workflow which are well described.
    http://graphicdesign.stackexchange.com/questions/6030/how-to-set-different-color-to-guides ai-ps-id-fw
    I've not tested them but you should give it a try!

  • JTextArea-Using different colors  for the Strings added

    I'm looking for a way to write in a textArea using different colors for the Strings

    use SetForeground(Color newForegroundColor) on the JTextArea class
    good luck
    krishna

  • Need to display different colors for Actuals and forecasting values in WAD

    Hi Gurus,
    My requirement in the report is, I need to display different colors for particular values like Actuals(say value type 10) and for forecasting values(say value type 20) , and data will uploaded from flat file.
    Scenario : If I upload the data for March Month, I receive actual values upto March(Jan to March month) and from April to Dec(Forecast values with value type 20),  Every month I will be getting file and similarly for subsequent months, i will get current month actual values and forwarding months forecasting values,
    Now , my requirement is, When ever i execute the Report, Say if i execute for April Month, Upto April( Jan to April for actual values should be displayed in one color) and from May to Dec ( forecast values should be displayed in different color).
    I had tried with following options like exceptions and could not display , as it runs based on key figure values where as my requiremnet is based on the CALMONTH , i need to show different colors for both actual and forecast values.
    Kindly, help me out from this,
    Thanks

    Hi,
    it is not necesseary that you need to do that in WAD , you can do the same in BEx platform, Since WAD is build above the bex reports. so automatially any changes done in Report will be replicated in WAD
    Go for Exceptions in Bex. Give some range for Actuals and Forcasting at the creation of the exception.
    if you do those changes in BEX automatically it will replicate in the WAD.
    for more information please read this link
    http://help.sap.com/saphelp_nw04/helpdata/en/68/253239bd1fa74ee10000000a114084/content.htm
    hope this will solve your problem.
    Santosh

  • SP2010: Different colors for chart bars in Chart Web part with single data series?

    Hello,
    I've been asked to create a chart for visual display and summary of Status values within a SharePoint list of job positions. The list of positions includes a Status field with the only values being Open and Closed. I created a page that shows the list, and
    at the top I inserted a Chart Web part that displays two bars - one showing the number of Open positions and one showing the Closed positions. Because I was having difficulty getting the totals for each Status value to show up in the chart, I followed
    the instructions at
    http://highbrowse.wordpress.com/2012/07/04/chart-counts-from-sharepoint-lists/ and pointed my chart at the new "Status values" list - this worked well to display the sum counts for each of the two Status values in separate bars.
    This was all fine and good, except that because I am only using one data series for my chart, both of the bars (for Open and Closed) show up as the same color. I've been asked to make them different colors but cannot figure out how to do so. Can someone
    provide guidance on how I could make the two bars different colors? Thank you so much.
    cheers

    Hello,
    as far as I know, the chart web part does not have any settings to change the color of individual data points or plot data points of a series in different colors. If you only have two values in the series, you could use a pie chart instead of the column
    or bar chart. In a pie chart, the different slices have different colors.
    cheers, teylyn

  • How do you make a SpryMenuBar a different color for each page?

    Hey everyone. I'm new to web design and dreamweaver is definitly kicking my butt. Anyway, I'm trying to create a simple website for a foundation and I want to make each page have a different color Sprymenubar to match the color theme of the different pages. The site will only have about 6 color themes max so this shouldn't be a huge undertaking. The trouble I'm having is I have created the home page (the color green) and right now I'm working on the second page (the color blue). When I added a new sprymenubar and changed the CSS Rule to make the color of the menu blue and the hover color light blue it then changes the color of the menu on the home page from Green to Blue. How annoying! I even tried starting from scratch and inserting another horizontal sprymenubar but I can't seem to make another horizontal sprymenubar with a whole new set of rules independent from the first one. What can I do? Do I have to make an editable region or am I just not clicking a certain button to make the new menubar independent from the first one?
    Examples
    First this
    Then this
    And then this happens 
    Let me know!!

    Ok I found a similar question on this forum that was answered and helped. If anyone comes across this wondering the same thing, copy and paste your SpryMenuBarHorizontal.css file and rename the copy to something like "(Title_Of_Page)SpryMenuBarHorizontal.css" and then replace "SpryMenuBarHorizontal.css" in your code to <link href="../SpryAssets/(Title_Of_Page)SpryMenuBarHorizontal.css" and then you are good to go.

Maybe you are looking for