Customizing Colors for a pie chat in webdynpro ABAP

1. How to select different colors in pie chart for different categories?

Hi Kishore you can customise your PIE chart if you are using the IGS.
Chart designer
You can customize the business graphics at the design time in view designer using the chart designer as well as the run time by using the interface u2018IF_WD_BUSIN_GRAPHICS_MTD_HNDLu2019 method. The chart designer will be called from the view designer by placing the cursor on the BG UI element and then right-click to select option u201CEdit Customizingu201D.
check the following link on details of using Business Graphics in WD4A and at bottom there is customised editing step, which allows you flexibility to choose custom colors.
[https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/ca932ebc-0901-0010-68a0-b4dd81a4bf81]
Greetings
Prashant

Similar Messages

  • How to create a "Custom Color" for highlighting? (Acrobat XI)

    March 10, 2014
    How to create a "Custom Color" for highlighting? (Acrobat XI)
    The numbers in the RGB and other fields change as various numbers are changed.
    I wanted to create a pale orange:
    Hue               13      Red      255
    Saturation   240      Green  177
    Luminosity    86       Blue     140
    I'd selected one of the orange squares in the color grid, to display the general orange area of the slider.
    I moved the slider to select a pale orange, which generated the above numbers.   Since this wasn't directly available to save to a Custom Color, I tried to  edit the numbers.  Unfortunately, the other numbers changed, making it impossible to actually create a color.
    Any suggestions would be appreciated.
    Note:  I used Techsmith's Snagit to show screen shots in a Word document.
    When I attempted to browse and upload the file, the error message said "[The content type of this image is not allowed.]"
    OK...what images *are* allowed?

    Hi Don,
    I saw Gilad answered your question in another forum post.
    Do you have everything you need at this point?
    Let me know if you need further assistance.
    Kind regards, Stacy

  • How do you set up a custom color for the standard screen mode

    This new colour scheme has not enough contrast for it to be readable, so I was pleased to find custom screen mode. However, there seems to be no way of setting up a custom color for this. In addition, the icons are so small they are unreadable. Is there any way of making them bigger. I have a 20" and a 22" monitor working together, but they are still not clear enough to use.

    Hi there
    Are you referring to the tool icons in Photoshop CS6? There are a few options you can change to help make the interface more readable, but unfortunately, there is not an option to enlarge the tool icons.
    It sounds like you may have discovered this already, but if you go to Photoshop > Preferences > Interface, you can change the color of the Photoshop CS6 interface.
    You can also enlarge the UI text size in this same window, in the Text preferences box.
    You can also make the size of your layers thumbnails larger. You can do this by clicking on the small menu in the upper right hand corner of the Layers Panel and selecting Panel Options.
    Here you can change the size of the layers thumbnails.
    I hope this helps you out a bit!

  • To create custom colors for exception

    Hi experts......
    I need to create custom colors for my report in order to set exceptions. Shades of red,yellow and green is just not enough for my client, they want to see blue as well when certain exception rises. Can someone please give me a hint as to how to implement that ...is it got to do st with the mime repository?
    Thnaks in advance!
    Tina

    Hi Tina,
    You can do this by formatting in the workbook. Run the query and in the workbook, on the BEx toolbar, there is a button for formatting. Select the exception cell whose color you want to change > in the Format button choos epatterns and select the color you would like. Once you have made the changes, save the workbook. The changes will remain in place the next time the user runs this workbook.
    Take a look at this link for more info:
    http://help.sap.com/saphelp_nw04/helpdata/en/f1/0a559ee09411d2acb90000e829fbfe/content.htm
    Hope this helps...

  • How to allow custom colors to SSRS Pie-Chart?

    Hi,
     I have a pie-chart in my report.
    Can anybody please tell me How I can allow custom color to each part/slice of the piechart..??or How i can assign cutom pallete to pie-chart?
    BhushanBhushan

    Hi,
    I think u r using one data Field and One category Field in the Graph.
    Then We have use Code Option
    -----Add this in Code
    Private colorPalette As String() = { "Teal", "Gold", "Aqua"}
       Private count As Integer = 0
     Private mapping As New System.Collections.Hashtable()
      Public Function GetColor(ByVal groupingValue As String) As String
            If mapping.ContainsKey(groupingValue) Then
                Return mapping(groupingValue)
            End If
            Dim c As String = colorPalette(count Mod colorPalette.Length)
            count = count + 1
            mapping.Add(groupingValue, c)
            Return c
        End Function
    Finally add this Expression in the Fill Option. And we can add more colors in the Code based on no. of Category
    =Code.GetColor(Category_Field)
     for example =Code.GetColor(Fields!Zone.Value)
    Regards,
    Thiyagu
    I've done everything listed here and in the link provided, but I get an error that reads, "There is an error on line 0 of custom code: [BC30201] Expression expected." I'm using SSRS 2005.
    Does anyone know what this could be?

  • Different custom colors for a WPF line plot

    Dear Sir,
    I am trying to create a WPF graph with different colors for different points of time , example  Black 0-10,red 11-20, green 21-30...
    I saw the nifty video and download the range masking cursor but got stuck. 
    Thank you
    George MAsiello

    Here's a quick mockup of the custom renderer version (sorry I did not have time to translate it to VB myself):
        public class CustomRenderer : PlotRenderer {
            private static readonly DataRequirements _dataRequirements = new DataRequirements(
                DataCulling.PreserveLines, DataDecimation.CoLinear,
                new DataDimension( DataDimensionSource.IndexData, DataDimensionScale.IndependentScale ),
                new DataDimension( DataDimensionSource.SampleData, DataDimensionScale.DependentScale ) );
            // The color ranges we want to show on the plot.
            private readonly Tuple<Color, double>[] _colorRanges = new[] {
                Tuple.Create( Colors.Black, 10.0 ),
                Tuple.Create( Colors.Red, 20.0 ),
                Tuple.Create( Colors.Green, 30.0 ),
            private readonly RenderTargetOptions[] _rangeOptions;
            public CustomRenderer( ) {
                // Create render options for each range color.
                _rangeOptions = _colorRanges.Select( colorRange => new RenderTargetOptions( this,
                    RenderTargetOption.CreateValue( RenderTargetOptionsProperty.Stroke, new SolidColorBrush( colorRange.Item1 ) ),
                    RenderTargetOption.CreateValue( RenderTargetOptionsProperty.StrokeThickness, 1.0 ) ) )
                .ToArray( );
            public override SupportedRenderModes SupportedRenderModes {
                get { return SupportedRenderModes.VectorAndRaster; }
            public override DataRequirements GetDataRequirements( ) {
                return _dataRequirements;
            protected override Freezable CreateInstanceCore( ) {
                return new CustomRenderer( );
            protected override void RenderLegendCore( LegendRenderArgs renderArgs ) { }
            protected override void RenderGraphCore( PlotRenderArgs renderArgs ) {
                // Get the time axis for the renderer.
                Plot plot = (Plot)renderArgs.Plot;
                var timeAxis = plot.GraphParent.GetAxis( plot, Orientation.Horizontal );
                var dataMapper = (IDataMapper<double>)timeAxis.GetDataMapper( plot.GraphParent );
                int startIndex = 0;
                var xData = renderArgs.RelativeData[0];
                var yData = renderArgs.RelativeData[1];
                var renderTarget = renderArgs.RenderTarget;
                for( int i = 0; i < _colorRanges.Length - 1; ++i ) {
                    // Draw all data below the current range with the associated color.
                    int endIndex = startIndex;
                    double range = _colorRanges[i].Item2;
                    double offset = dataMapper.Map( range );
                    while( endIndex < xData.Size && xData[endIndex] <= offset )
                        ++endIndex;
                    RenderSegment( startIndex, endIndex, xData, yData, renderTarget, _rangeOptions[i] );
                    startIndex = endIndex;
                // Draw all remaining data with the last color range.
                RenderSegment( startIndex, xData.Size, xData, yData, renderTarget, _rangeOptions.Last( ) );
            private static void RenderSegment( int startIndex, int endIndex, Buffer<double> xData, Buffer<double> yData, IRenderTarget renderTarget, RenderTargetOptions options ) {
                int length = endIndex - startIndex;
                if( length <= 0 )
                    return;
                // Join current range with previous.
                if( startIndex > 0 ) {
                    --startIndex;
                    ++length;
                using( Buffer<double> xSegment = xData.Slice( startIndex, length ) )
                using( Buffer<double> ySegment = yData.Slice( startIndex, length ) )
                    renderTarget.DrawLines( options, xSegment, ySegment );
    ~ Paul H

  • Custom colors for Keynote charts?

    I'm using the charts in Keynote for the first time, and I'm finding it surprising inflexible.
    As far as I can tell, I can not choose custom colors but have to choose between a few color sets chosen by Apple. Is that right?
    I would like 3 columns, with a 1, 2, 3 build order, in Red, White, and Blue. That seems pretty straightforward, but I can not see a way to make the red, white, and blue.
    thanks
    John
    PS: I really don't like the way that Jony Ives has imposed his personal preference for Helvetica Neue Light all over Apple products, applications, and websites.

    use the colour wheel to obtain million + colours:     Inspector > Format > Style > Fill

  • 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);

  • Customizing colors for the MotifLookAndFeel

    Hello,
    I am new to look and feels other than the default one.
    I am supposed to provide an application with a a Motif UI with a specific color scheme (colors of text, backgrounds, menus, etc.).
    Is there some API to configure Sun's MotifLookAndFeel colors?
    Other than that, here are the options I can list:
    1) System config file:
    I am not exactly good at Motif configuration but I guess Sun's MotifL&F bundled in the JRE will try to get the default colors from some motif.rsc or whatever it's called, in the user's home.
    However I don't want to alter this file as only my application should have custom colors, I don't want toi impact other Motif apps for the same user/host.
    2) UIDefaults:
    As I understand it, class UIDefaults represents a table provided by the installed LookAndFeel class, which can be changed afterwards, through the UIMAnager class. However, that doesn't force the L&F to take the changes into account. Indeed the MotifL&F doesn't seem to take any of those changes into account.
    3) Custom MotifL&F subclass
    I assume I could also subclass com.sun.java.swing.plaf.motif.MotifLookAndFeel and override getUIDefaults(), but that seems awkward just to change a handful of colors and no behavior.
    I'm not even sure MotifLookAndFeel fetches the color values from UIDefaults once it has initialized it...
    Any other suggestion?

    Thanks but I don't feel at ease with this solution (extending a class to change its configuration, whereas the base class can be configured through a public API).
    However your suggestion to peek a the code truly helped me: the names of the keys I was using in UIDefaults were simply wrong! :o)
    Actually I got a list of keys from this page: http://java.sun.com/products/jfc/tsc/articles/lookandfeel_reference/index.html , but in the source for the sun.java.swing.plaf.motif classes you can see the "correct" keys (e.g. MotifMenuItemUI extends BasicMenuItemUI which uses "MenuItem.background" and not "menu").
    The other good news is that the keys can be set beforehand (before actually setting the LaF): although the LaF provides its own UIDefaults, the UIManager stores them in a MultiUIDefaults, and the defaults installed via UIManager seem to take precedence...
    That was more convenient in my case.
    For reference here is an extract of my code:
    UIManager.put("menu", new ColorUIResource(0,250,20)); // helpless, wrong key
    UIManager.put("menutext", new Color(200,0,200)); // helpless
    UIManager.put("MenuItem.background", new Color(255,50,20)); // taken into account
    UIManager.put("Panel.background", new Color(166,255,166)); // taken into account
    UIManager.setLookAndFeel("com.sun.java.swing.plaf.motif.MotifLookAndFeel");Just for convenience, does anyone know a good Web resource for the keys used by the various LookAndFeel classes, or at least the BasicLookAndFeel? Other than looking at the code for all XxxUI classes, of course :o)

  • ESS/MSS custom services or modify standard service with WebDynpro Abap

    Hi all,
    what's the procedure to modify standard ESS/MSS or create new service with WebDynpro Abap.
    Thanks.
    Miki

    Hi
    First, The ISR Scenarios are not for iviews. They are just a part of a view. We can use webdynpro ABAP with the ISR Scenarios. We need to embed these forms into our webdynpro ABAP views and code accorsdigly to get the data. There are some standard components that are provided by SAP to handle ISR Forms with Webdynpro. Check these.
    Regards,
    Srikanth.

  • FPM Navigation - asking for Log on when calling WebDynpro ABAP Application

    Hi Experts,
    I want to call a Non FPM based WebDynpro ABAP Application from a FPM Component.
    I have followed the method showed in the following thread by Rajkumar to call WebDynpro Application using URL.
    [Launch transaction without launchpad|Re: Launch transaction without launchpad]
    I could successfully call my WebDynpro ABAP application using this approach,
    However when the application opens in new Browser , it asks for log on again.
    Can anyone help me to avoid this log in screen.
    P.S. --> Both the applications are in the same server.
    Regards,
    Ashish Shah

    Hi Ashish ,
    I am also facing the same problem , did you find any solution ?
    Thank You,
    Aman

  • Custom color for navigation bar

    I am struggling to find a way to make my navigation bar color different that supported colors.
    SDK supports default style i.e. blue, black and black opaque. I know it is possible cause there so many apps doing so. For example midomi.
    I have searched this forum already but haven't found working solution. If anybody knows how to do it would be grateful if he points me to the solution.

    tintColor property
    [https://developer.apple.com/iphone/library/documentation/UIKit/Reference/UINavi gationBar_Class/Reference/UINavigationBar.html]

  • Zzxc: When I set Custom color for links, The search button becomes white(blank). If I click on the area where it should be it works

    I changed my visited link colors to red-visited,green-not visited.but now have lost the search button in Amazon.The button is not showing up,But does work if I click on the area where it used to be.

    Did you hide background images?
    See http://kb.mozillazine.org/Website_colors_are_wrong
    Tools > Options > Content : Fonts & Colors: Colors > [[X]"Allow pages to choose their own colors, instead of my selections above"

  • Set custom colors for ONE particular window

    Hi, I often need to compare two files, say a "good, or sample" one, with a "bad, or in preparation".
    They both have the same name (like web.config CV.docx, MyClass.cs), so when I visualize them, I cannot distinguish easily whioch is which.
    For example, I see two notepad instances displaying "web.config" in title bar, which is which?
    Of course I could rename them, but I only want to view, not to modify anything, as that could be dangerous (oops! renamed wrong web.config)
    I tried to create two users "bluethemeuser" and "greenthemeuser", then shift run as different user, but this is tedious, and does not work (does not honor other user settings).
    I am loking for a way to tell a window "now you have a blue background until you are closed"
    any idea?

    Having a tag or a post-it, or even a spider ;-) in the window would be just as good.
    In IE you can use the Developer Tools to change the Title, which would change the Tab label.  F12, Ctrl-2,  document.Title="Demo"   In IE11 we even have IntelliSense to reduce the amount of keystrokes.
    Coincidentally I recently discovered a tool on the Windows SDK called
    Inspect.exe.  If you could find a way of extending that perhaps you could give any window any title you wanted?  Or add notes to hidden fields?
    Heh.  For my Demo tab.  Inspect says there could be Other Props:  I wonder how?
    Robert Aldwinckle

  • One search help for multiple select-options in webdynpro abap

    Hi,
    I need a way to use one search help for multiple select-options fields. My scenario is :
    I have a table for keeping different organizational units' values of different systems. I have pasted some sample data from this table at the end of this mail. On the screen I want to have 1 select-options filed for werks, and 1 select-options filed for vkorg. (In fact I will have more org. unit fields...) In the beginning of my application the user will select sid.
    If the user selects ADS as SID, when he opens search-help for the first org. unit (werks), he will see the records with SID: ADS, VARBL = $WERKS, LANGU = SY-LANGU.
    If the user selects AGT as SID, when he opens search-help for the second org. unit (vkorg), he will see the records with SID: AGT, VARBL = $VKORG, LANGU = SY-LANGU.
    I have created a search-help taking SIDD, VARBL and LANGU as import parameters; used field mapping and bound this search help to my table. I have created 2 context nodes : org1 and org2 having attributes SID, VARBL, VALUE, LANGU .
    I have assigned related SID, VARBL and Langu values to these attributes at runtime as I needed. That way, if I use input field and reference to the related context attributes org1-value and org2-value2 accordingly, search help works well as I want.
    However, when I use select-options field , I can not bind the field to the context data. I can give reference only to ddic structure. Is there any way to reference to a context attribute? I searched for this in SDN, but could find nothing.
    I think I won't be able to use this way. What do you say?
    As I read from forums maybe using OVS help will be suitable for me. But I have to use one search-help for all select-options fields. Do you know how I can determine the active select-options field and pass its name (for instance "werks" ) as parameter to this OVS search help. (Also I'll pass SID and LANGU.)
    MY TABLE (ZBYYT080) CONTENTS:
    SID     VARBL     VALUE     LANGU     VTEXT
    ADS     $WERKS     1     T     Werk 0001
    ADS     $WERKS     11     T     OZYAS  GIDA URETIM YERI
    ADS     $WERKS     5501     T     BOYA GEBZE FABRİKASI
    ADS     $WERKS     5502     T     BOYA CIGLI FABRİKASI
    AGT     $WERKS     2301     T     KAMLI DAMIZLIK
    AGT     $WERKS     9601     T     PANAR DENIZ URETIM YERI
    ADS     $VKORG     22     T     AA KİMYASALLAR
    ADS     $VKORG     8001     T     İINSAAT BOYALARI
    AGT     $VKORG     6500     T     DAMk St.Org
    AGT     $VKORG     5400     T     PANAR St.Org.
    I wish I'm clear enough..
    I will be gald if someone answers me as soon as possible...
    Thanks İn advance..
    MERAL

    Hi,
    Your ques is how to refer to a DDIC search help to refer to selection screen parameter ?
    Am I right ?
    If Yes, then in the interface IF_WD_SELECT_OPTIONS
    method ADD_SELECTION_FIELD, ADD_PARAMETER_FIELD etc
    have importing param like I_VALUE_HELP_TYPE and  I_VALUE_HELP_ID, I_VALUE_HELP_MODE, I_VALUE_HELP_STRUCTURE
    etc which may help you to link your create DDIC Search help to selection screen params.
    this is just a clue from my side. I haven't tried it myself.
    You can go to the where used list of this method and find some sample implementations which use these params.
    Hope this helps.
    Regards
    Manas Dua

Maybe you are looking for

  • Still no answer can anyone help with this issue?

    When using Safari, it allows you to only download to a default directory of your choosing. Is there a way to have safari to download to a directory of your choice each time you download and not the same on all the time? Sometime you want a file in a

  • Adding html to an iWeb site published on .Mac

    I run my music blog entirely through iWeb and .mac, but unfortunately, in order to get my site onto a listing of music blogs, I need to post some .html on it. I tried opening the files on my iDisk but I don't think I was doing it correctly; if anyone

  • No partner profiles (message control) maintained.

    Hi Friends, I have created a PO but getting error message in output type that No partner profiles (message control) maintained. Message no. B1127 Diagnosis No IDOC partner profiles have been created for the message control for for application EF, con

  • 3d completly not in photoshop cs5?!?!?!

    I have recently purchased the adobe cs5 master collection for my new pc (having had cs4 on my old one) and went on photoshop, being quite fluent with photoshop i tried to go on repousse, it was not there, and by that i dont just mean greyed, i mean C

  • FHA Mortgage Lenders?

    I am ready to finally apply for a mortgage loan and went into my credit union this morning to do so but left feeling very frustrated.  I have ONE derogatory item, a foreclosure.  I know, the worst derog when applying for a mortgage.  Foreclosure star