Change color palette of combination chart

Hello everyone,
I am experiencing a problem when trying to change to color palette of a combination chart.
According to the api there should be a method setColorPalette(aColorPalette) and a property colorPalette;
(JsDoc Report - SAP UI development Toolkit for HTML5 - API Reference - sap.viz.ui5.types.Combination)
when I try to call this method I receive the following error:
TypeError: Object [object Object] has no method 'setColorPalette'
I introduced the combination chart before by calling jQuery.sap.require("sap.viz.ui5.types.Combination"); outside of the controller;
I also tried to add the porperty colorPalette in xml, but it seems to be ignored.
Has anyone an idea on what the reason could be?
Best regards,
Benedikt

Hi Benedikt,
you can find below working code of changing color palette of chart.
This is based on pie chart but accordingly you can use for combination chart.
JS Bin - Collaborative JavaScript Debugging</title> <link rel="icon" href="http://static.jsbin.…
Regards,
Chandra

Similar Messages

  • Animated gif changes color palette while playing

    Hi everyone,
    I've been creating animted gifs using Matlab and the ImageMagick suite (convert). If I open the gifs in Preview, the color comes out fine in each frame; however i I use Quicktime (which is necessary, that's what we use for presentations) the color palette will change as the frames play.
    I just got the newest version of Quicktime, hoping that it would solve the problem, but it didn't. Any ideas?

    I'm not familiar to the software but I can guess what is happening.
    Too many colors. A GIF is 8 bit (256 colors) but some of them are not used by all software. Windows and Mac's are different.
    Does the software offer a way to reduce the number of colors used? Can you get it down to 8 bit? Can you discard unused colors with some other software?
    Have you considered building an image sequence movie? These allow many different images formats and support up to 32 bit formats (millions of colors).
    QuickTime Pro ($30) can import a series of images as a movie. The file size is much smaller than any video format used today (just the total of the images file size).

  • Custom color palette in WAD charts

    Hi BI Experts,
    we are trying to create a custom color palette, which we want to apply to all your WAD charts.
    Can anyone tell us how to do this?
    Of course we can customize the colors in each chart, but that's a hell of a lot of work. Moreover, there doesn't seem to be any way to save the custom colors, but we have to recreate the colors with the color picker for every single chart.
    The WAD chart wizard allows to choose between color palettes "Enjoy", "Streamline", "Tradeshow" and "User specific".
    If it is not possible to create a custom color palette, can we modify one of these SAP color palettes? What does "User specific" mean?
    Any help will be much appreciated (and of course rewarded with points).

    Moin, bei dem Problem kann ich leider überhaupt nicht helfen. Solltest Du allerdings, wie ich annehme, in Göttingen studiert haben und dann ein paar Jahre in den USA gewesen sein, dann melde Dich doch einfach mal, so Du Lust hast.
    Besten Gruß,
    Andi

  • Conditionally Changing Colors of Bars in Chart Using BI Templatet Builder.

    How to change color of bars in Bar Chart using BI Publihser Template Builder?
    Ex : We have conditions such as When Revenue is between 2000 to 4000 Color of Bar should be red, If Revenue is Higher then 4000 then color of Bars should be Green.
    Please reply!!

    Go to insert menu and choose condetional foram ans set appropreate settings in your template bilder.
    Venkat v

  • Change color of series in Charts to custom colors - error in macro generated by Excel

    The case:
    Excel 2013, Multiple cheets with multiple charts of different type. Several charts doesn't show well will the defaut color automatically generated by Excel. -> The idea is to modify these graphics only with a specific color combination (modifying the
    color of the series)
    I'm able to modify the color of each series of 1 chart using the UI. but there are many charts so doing them with a simple macro would speed these repeative steps.
    I turned on the macro recording to capture the change of the color of a selected serie in a selected chart.
    The generated code is:
        ActiveChart.Legend.LegendEntries(1).Select
        With Selection.Format.Fill
            .Visible = msoTrue
            .ForeColor.ObjectThemeColor = msoThemeColorAccent3
            .ForeColor.TintAndShade = 0
            .ForeColor.Brightness = -0.25
            .Transparency = 0.3000000119
            .Solid
        End With
    When I execute the macro, Excel trigger an error:
    Execution error -2147467259 (80004005)
    method "Fill" of object "ChartFormat" has failed   (this is a translated error message, as I run a french version)
    Any idea why Excel cannot run its own generated code ?
    Thanks in advance.

    Very surprisingly the following code (also generated by the macro recording) works ok.
    (I selected the serie inside the chart instead of selecting the serie in the legend)
        ActiveChart.FullSeriesCollection(1).Select
        With Selection.Format.Fill
            .Visible = msoTrue
            .ForeColor.ObjectThemeColor = msoThemeColorAccent3
            .ForeColor.TintAndShade = 0
            .ForeColor.Brightness = -0.25
            .Transparency = 0.3000000119
            .Solid
        End With
    If an MVP or Microsoft official come accross this, I suggest further testing as it is very likely a bug (with the first set of code generated by Excel)

  • Change colors in multiple pie chart - with legend

    I need to change the colors of groups shown in multiple pie chart diagram in CR XI.
    I managed to actually change the colors in the diagram by using highlighting rules in the wizard. (Sorry, I need to guess the correct English terms since I am using the German version.)
    But the colors in the legend are not affected by the rules, so the legend displays colors which are not shown in the diagrams at all. How can I fix this?
    Thanks in Advance
       Andreas

    Hi Andreas
    I have the same problem.
    I found this BO note:
    https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F64653D3030312669765F7361706E6F7465735F6E756D6265723D3131383434373026
    I says that this behaviour is by design and cannot change
    Not what you would expect really! 
    If the series colour can be changed then why does the series marker colour not match the series it represents?
    Patrick

  • Chart color palette , where can I change it?

    Hi
    I would like to change the colors on the charts, in other tools there are usually color palette for this kind of issues. Where can I find OBIEEs chart color palette ?
    Kind Regards

    Hi ketori86,
    I apologize, I'm a bit unclear on the exact nature of your question. If you are looking for more information about Restrictions or Parental Controls, you may find the following article helpful:
    iOS: Understanding Restrictions (parental controls) - Apple Support
    Regards,
    - Brenden

  • Custom Color Palette - Chart Designer

    Hi all,  I need to change the colors that my pie chart uses.  You can do this in chart designer under the global settings section.  The property,  color pallete has 4 selectable entries,  Frog, Streamline, Tradeshow, and Custom.   By selecting "Custom", this means that I can choose the exact colors that I want to use, right?  If so, where and how do I specify the colors for my custom color palette.   Any reply would be appreciated.  Thanks.
    Regards,
    Rich Heilman

    Hi Rich,
    Did you go through my post here https://www.sdn.sap.com/irj/sdn/profile?userid=397656 ? I`m not 100% sure that you are able to do this using only Chart Designer. The problem is that you need association between series data id in cutomization XML and data XML. If you know such id on design time, you can re-design my example by moving generated piece of XML from WD to static customizing XML.
    Best regards, Maksim Rashchynski.

  • Custom Color Palette for Charts

    Hi all,
    Can I define the colors of a chart by a custom color palette in Design Studio (as you can do it in Web Intelligence) or does SAP intend to implement such a function in a next release? With CSS this isn't fully possible, because it doesn't allow you to coloring the additional line like the corresponding main line.
    I've already seen and commented this post Re: Custom Color Palette for Charts / CSS, but it's still unanswered. Maybe I've with a new discussion more success.
    Thank you and kind regards
    Silvan

    Carola,
    Dirk Mayrock has a nice list here Design Studio 1.1 Full List of CSS classes (?)
    I think you have seen that already.
    Also see Styling a chart in Design Studio
    Especially see participated David Gyurasz as he has answered several CSS questions CSS-Customizing of Column-Combination chart as an example
    Tammy

  • Custom Color Palette for Charts / CSS

    Is there a way of creating a custom color palette for charts (as you can do it in WebIntelligence) and install it on the tomcat?
    Or will I have to set my custom colors in the css? And if so: where can I find a description of classes for Charts? Is there any description of css classes at all? All I could find was a list of classes for a crosstab (but no description).
    Thank you
    Carola

    Carola,
    Dirk Mayrock has a nice list here Design Studio 1.1 Full List of CSS classes (?)
    I think you have seen that already.
    Also see Styling a chart in Design Studio
    Especially see participated David Gyurasz as he has answered several CSS questions CSS-Customizing of Column-Combination chart as an example
    Tammy

  • Can you change color of bars in bar chart?

    I have made a chart by using the spreadsheet and converting my data to a bar chart. I would like to change the default colors of the bars in the chart but so far haven't figured out how to do it, if indeed it is possible. Is it? If so, how should I go about it? I have been able to change the labels for the bars, but I want to change the colors of the bars themselves. Also, is it possible to change the arrows in the pictogram graph to some other clipart that might better represent the thing I am graphing?
    iMac G5   Mac OS X (10.4.8)   AppleWorks 6.2.9

    "I tried what you suggested, but it didn't work. When I click on the color square in the legend, a small circle appears in the square, but I am unable to select any of the paint tools. ... (Likewise, when I open the Modify dialogue and try to select the color in the sample box there, AppleWorks won't let me change it."
    Paint tools won't work, as the bars are Draw objects, and you have only limited control over them while the chart is still connected to the spreadsheet. Click on the colour square in the Legend. The white dot indicates it's selected.
    Now click on the Fill formatting button in the bottom section of the Tools (It's the almost invisible plain white button in the stack of three. The other two are the Pen formatting button—which has a black outline—and the Text formatting button—which has a T.). Then choose a colour from the Colors palette in the stack to the right of the three buttons.
    "Similarly, when I open the Modify dialogue and try to delete the arrow symbol in the sample box, it won't go anywhere; I just get an alert sound and nothing happens. Am I doing something wrong?"
    Should work like this:
    Double click the chart.
    In the Modify dialogue, click Series.
    In the Series dialogue, click the Sample box. A black outline should appear around the box, indicating it is selected.
    Press Delete to delete the current image. You should then see only the background colour.
    Press command-V to Paste your image.
    Uncheck Repeating to get a single copy of the image, stretched to fill the bar.
    Check Repeat to get a fixed size image that repeats to fill the bar.
    Set the overlap percentage if you want the repeating image to overlap.
    Click OK to return to the chart and view the results.
    Regards,
    Barry

  • Defning own color palette for Chart Items

    Hello,
    i have a requirement for several Cockpits, the values of all diagramms of actual year should have a special color, which is not defined in the color palettes Tradeshow, Streamline or Enjoy.
    I don't want to change the color for each chart, i'v already tried the Portal Theme Editor, but i was not able to change color settings for charts.
    Is it possible to create custom color palette which i can choose in the global settings in the chart item dialog?
    Best regards,
    Frank

    1. Go to the following directory on the server side Installation Directory \SAP BusinessObjects Enterprise XI 4.0\images
    2. Find the file there named as VisualizationConfig.template.xml
    3. Rename this file to VisualizationConfig.xml
    4. Then edit this file and add the color for the palette as you required (RGB colors are used)
    5. Check there are no errors in the config file, otherwise the standard palette is applied – you can define only one Corporate palette, and the palette ID must not be changed
    6. Finally, you need to reboot Tomcat after editing the config file.

  • Need to change colors of lines in an Omniportlet Line Chart

    I am running Oracle Portal on a 10g Web server. I have created an Omniportlet and I am displaying data in a line chart. Is it possible for me to define the colours of the lines in the linechart?

    Hi I didn't changed colors in line chart but I managed to redesign lot of omniportlets.
    What you can do is to re-define CSS.
    Add an HTML portlet in your page with some CSS embedded.
    To catch wich class are to be re defined, I recommand you to use firefox with the extension Webdevelopper.
    Use the "Informations - display element information" functionnality to catch wich class are used for your chart.
    Then redefine those classes in your custom CSS.
    Hope that will help

  • Custom Composed Look not appearing in Change the Look with custom color palette

    Hi,
    I created custom color palette, (which was a copy of one of the out of the box ones) and uploaded it to the Themes folder under a different name. I then went to the Composed Looks and created a new Composed Look(using the New
    Items), which the seattle master page, and the new color palette that I created. 
    When I go to Change a Look, the new Composed Look does not appear as part of the options.
    When I change the color palette of the Composed Look, to one of the out of the box ones, I see it I the Change a Look page.
    What am I doing wrong?
    Thanks

    I would check two things. First, did you check in the spcolor file you created? Second, I would review all of the properties of your composed look found in "/_catalogs/design/AllItems.aspx". You might want to copy and paste all properties (except
    title and name) and see if your new composed look shows up in "Change the look". Then link to your own custom spcolor file.
    Eric Overfield - PixelMill -
    blog.pixelmill.com/ericoverfield -
    @EricOverfield

  • Strange change to color palette

    Hi,
    I have had a few blue screens recently on my old Windows XP system with Frame 7.2 and 3 GB RAM.
    Now I see that my color palette is scrambled in one large manual. Only the basic colors are there and a long list of entries like RGB 017,013,010 are inthe palette. They don't do anything and I can't delete them via View > Color > Definitions.
    The manual is 482 pages, 52 MB, with scores of graphics and photos imported by reference.
    As a workaround, I copies the contents into a new file and that fixed the problem, but a few hours
    later, the color palette is corrupted again.
    Has anyone seen this before and is there a more sure workaround?
    Yours,
    Michael F

    > ... originally saved all the images from a Word 10 file ...
    Are these natural world photos, or screenshots?
    > ... as png files.
    PNG can do indexed color and contone. I'll bet MS provides no control over that at save.
    > Word 10 seems to have added a Save as Picture option to the popup menu.
    > If I save them as jpeg files and replace the png files, will that eliminate the
    > odd colors in the Color Palette?
    That's two separate questions:
    1. Will they save as 24-bit contone?
    2. Will reimporting them as contone clean up the Color Catalog?
    answers:
    1. maybe
    2. probably not automatically (but is necessary to allow clean-up)
    JPEG, alas, can also support indexed color (we've had trouble due to that).
    What MS is doing is anyone's guess, because:
    a. they never give us control (we're too stupid), and
    b. they never tell us what they are doing (we don't need to know).
    > Will there be any improvement in screen resolution?
    Hard to say. It depends on how Mr.Bill saves, and whether your current zoom level affects that. JPEG will introduce artifacts - "ringing" at edges where the curve-match algorithm (DCT) runs out of gas. And since this is MS, you probably don't get to specify the JPEG compression level.
    The ideal situation is to go back to the raw original art.
    Any chance Word can save as TIFF?

Maybe you are looking for

  • Address Book app disappeared; how can I reinstall it?

    Out of the blue, my Address Book app disappeared. The icon in the Dock has a question mark on it, and the application itself is no longer in my Applications folder, or anywhere on the drive. Even stranger, it's not in any of my Time Machine backups,

  • File Association

    When I had InDesign CS 5.5 installed I was able to associate *.pmd files with InDesign so that I could open the page maker files in InDesign by double clicking the *.pmd file in Windows Explorer, but since installing CS 6 I have been unable to associ

  • Outlook delete attachment files if use POP3

    Hi every body, I have a problem with outlook. I send a mail with attachment using java mail api. Anyone get the mail correctly (gmail, outlook, outlook express or thunderbird) via SMTP. But if outlook try to get the mail via POP3, it deletes attachme

  • Iw32 - Fm for User status

    Hi i need a fuctional module to get the user status displayed in Iw32 for a order no. Keshav

  • Cannot paste text

    I am having trouble with Pages 5.2 (1860) as it operates with Mavericks. In a word processing document I need to insert multiples copies of the same customary piece of text at intervals throughout the document. With the older Pages this was easy. I j