Default Colors of Pie Charts

Dear all,
we are very happy with the default colors of the pie charts in Oracle BI 10.
After migrating the catalog to 11.1.1.5 the colors has changed to very dark color types.
Is there an option to switch back to the old colors of a pie chart?
Regards,
Stefan

Hi,
Have a look at this blog: http://shivabizint.wordpress.com/2011/04/17/setting-default-graph-series-colors-in-obiee-11g/
Regards

Similar Messages

  • Add Custom Color to pie-chart

    I have requirement to add specific color to each element in pie-chart.
    Below is my code for pie-chart with static json.
    Instead of the default colors given by the viz charts, I want to have red, green, orange and blue color in the pie-chart.
    Has someone changed the colors successfully?
    var oModel = new sap.ui.model.json.JSONModel({
         businessData : [
                   {Country :"Canada",revenue:2410.87, color: "red"},
                    {Country :"China",revenue:638.29, color: "green"},
                    {Country :"France",revenue:487.66, color: "orange"},
                    {Country :"Germany",revenue:170.23, color: "blue"}
    var oDataset = new sap.viz.ui5.data.FlattenedDataset({
             dimensions : [ {axis : 1, name : 'Country',  value : "{Country}" } ],
             measures : [ { name : 'Revenue',  value : '{revenue}' } ],
             data : { path : "/businessData" }
    var oBarChart = new sap.viz.ui5.Pie({
              width : "80%", height : "400px",
              plotArea : {
                       'colorPalette' : d3.scale.category20().range()
               title : { visible : true, text : 'Revenue By Country' },
               dataset : oDataset
    oBarChart.setModel(oModel);
    oBarChart.placeAt("sample1");
    Thanks,
    Shashi

    After lot of permutation and combination, I figured it out how to change the color.
    Changing colorPalette to 'colorPalette' : ['#00B050','#CCFF66','#FF0000','#FFC300'], it worked
    var oBarChart = new sap.viz.ui5.Pie({
              width : "80%", height : "400px",
              plotArea : {
                       'colorPalette' : ['#00B050','#CCFF66','#FF0000','#FFC300']
               title : { visible : true, text : 'Revenue By Country' },
               dataset : oDataset

  • How do I set default colors for XY chart series (lines and legend)

    I am implementing a line chart and need to override the default (caspian style) colors for the line colors and the legend symbols. I'm not displaying the chart symbols themselves as that would make the chart look bad. I've been able to successfully set the default colors for the lines via the CSS below, but cannot find a way to do the same for the series symbols that appear in the chart legend. How do I do this? Thanks.
    .default-color0.chart-series-line {
      -fx-stroke: rgb(0, 102, 255);
    .default-color1.chart-series-line {
      -fx-stroke: rgb(0, 255, 102);
    ...Update:
    Figured it out. Need to do the following:
    .default-color0.chart-line-symbol {
      -fx-background-color: rgb(R, G, B);
    }Edited by: 998038 on May 16, 2013 4:09 PM

    Here is some css to customize the line and legend colors in a line chart.
    /** file: chart.css
        place in same directory as LineChartWithCustomColors.java */
    .default-color0.chart-series-line {
      -fx-stroke: rgb(0, 102, 255);
    .default-color1.chart-series-line {
      -fx-stroke: rgb(0, 255, 102);
    .default-color0.chart-line-symbol {
      -fx-background-color: rgb(0, 102, 255), white;
    .default-color1.chart-line-symbol {
      -fx-background-color: rgb(0, 255, 102), white;
    }And a test harness to try it:
    import javafx.application.Application;
    import javafx.event.*;
    import javafx.scene.Scene;
    import javafx.scene.chart.*;
    import javafx.scene.control.*;
    import javafx.scene.input.*;
    import javafx.stage.Stage;
    public class LineChartWithCustomColors extends Application {
        @Override public void start(final Stage stage) {
            stage.setTitle("Line Chart Sample");
            //defining the axes
            final NumberAxis xAxis = new NumberAxis();
            xAxis.setLabel("Number of Month");
            final NumberAxis yAxis = new NumberAxis();
            //creating the chart
            final LineChart<Number,Number> lineChart =
                    new LineChart<>(xAxis,yAxis);
            lineChart.setTitle("Stock Monitoring, 2010");
            lineChart.setCreateSymbols(false);
            //defining a series
            XYChart.Series series = new XYChart.Series();
            series.setName("My portfolio");
            //populating the series with data
            series.getData().setAll(
              new XYChart.Data(1, 23),
              new XYChart.Data(2, 14),
              new XYChart.Data(3, 15),
              new XYChart.Data(4, 24),
              new XYChart.Data(5, 34),
              new XYChart.Data(6, 36),
              new XYChart.Data(7, 22),
              new XYChart.Data(8, 45),
              new XYChart.Data(9, 43),
              new XYChart.Data(10, 17),
              new XYChart.Data(11, 29),
              new XYChart.Data(12, 25)
            lineChart.getData().add(series);
            //adding a context menu item to the chart
            final MenuItem resizeItem = new MenuItem("Resize");
            resizeItem.setOnAction(new EventHandler<ActionEvent>() {
              @Override public void handle(ActionEvent event) {
                System.out.println("Resize requested");
            final ContextMenu menu = new ContextMenu(
              resizeItem
            lineChart.setOnMouseClicked(new EventHandler<MouseEvent>() {
              @Override public void handle(MouseEvent event) {
                if (MouseButton.SECONDARY.equals(event.getButton())) {
                  menu.show(stage, event.getScreenX(), event.getScreenY());
            Scene scene =
              new Scene(
                lineChart,800,600
            stage.setScene(
              scene
            stage.show();
            scene.getStylesheets().add(
              getClass().getResource("chart.css").toExternalForm()
        public static void main(String[] args) {
            launch(args);
    }

  • Regarding standardization of Colors in Pie chart Categories

    Dear BI Experts,
    I have an issue regarding Pie Charts in the WAD. When we have 5 categories defined in the Pie chart and each category has got its own defined color.
    <b><u>issue no 1:</u></b> It is very difficult to go to each cahrt and select the colors for each chart in each category. Is there any place where we can define the colors in common?
    <b><u>issue no 2:</u></b> When we have the data for all the categories it is doing good. In case of data not available for any purticular category the color defined for that category is coming for the next category. which shud not happen.
    Is there any chance of solving this?
    Anyone please help me in this concern. Very much awaited.
    Regards,
    Kishore.

    Bhanu,
    Sorry about the late response ... connectivity issues....
    As for the color issue - you would have fixed colors to each series ... and when there is no data for one of them then that particular series is absent which would mean that the next series would take its place.
    Example :
    Original query -
    4 categories with 4 colors
    If one of the categories does not have data then the query would have 3 categories and category 4 would take the place of category 3 and hence the issue of the colors...
    I was not able to simulate the same however ....
    1. If you had the same data set in Excel - are the colors proper- any Standard data set / BeX chart
    2. Is there anyway you can fix the number of categories by way of restricted Key figures etc ? then if that category is present in the query even if there is not data the colors should be maintained.
    Arun
    Hope it helps...

  • Pie Chart in WEBI is Grey color

    Hi All,
    As part of my project requirement I need to develop a WebI report with Table and Pie chart.I selected the pie chart, intially it was in grey color and assigned the data to chart .When I tried to change the color of the chart it is not displaying colors.Please suggest me how to change the color of pie chart.
    As I gone through the posts in the SDN couldn't found much relevant information.
    Regards,
    Saroja

    Hi Saroja,
    I'm experiencing exactly the same problem. Did you by change find a solution in the meantime?
    P.S: I'm using Webi Rich Client version 14.0.9 build 1345
    Regards, Raimond

  • Create class in custom.css to define one's own default colors for charts

    Hi All,
    I need to create a set of default colors for bar charts instead of the default ones. I dont want to change the colors in palette.xml file because there are other charts depending on the default colors. Is there a way I can create a new class that I can define in the Custom CSS class section. I am working on obiee 10g
    Thanks,
    Kavya

    To force automatic wrapping as a function of the coordinate x (as opposed to a ctrl-enter), I modified the WrapApp( ) as follows: i) added a keyListener to the JTextPane component:
          edit.addKeyListener(new java.awt.event.KeyAdapter() {
             public void keyPressed(java.awt.event.KeyEvent evt) {
                editKeyPressed(evt);
          });and, added the following listener:
       private void editKeyPressed(KeyEvent evt) {
          try {
             int dot = edit.getCaret().getDot();
             Rectangle cc = edit.modelToView(dot);
             System.out.println("CTP: " + dot + ", (x, y): (" + cc.x + ", " + cc.y + ")");
             if (evt.getKeyCode() == 8) {
                return;
             if (cc.x > 100) {
                insertLineBreak(); // as shown in the reference provided earlier
          } catch (BadLocationException ex) {
       }The behavior is fine as it automatically wraps and it outputs:
    CTP: 0, (x, y): (3, 3)
    CTP: 1, (x, y): (10, 3)
    CTP: 2, (x, y): (17, 3)...
    However, if I add change the component orientation edit.applyComponentOrientation(ComponentOrientation.RIGHT_TO_LEFT), the x-coordinate is shot to its positive limit and all printed characters are no longer visible! The output now is:
    CTP: 0, (x, y): (32770, 3)
    CTP: 2, (x, y): (32763, 3)
    CTP: 4, (x, y): (32756, 3)...
    Any idea how to fix that the x-coordinate is within limits (e.g., it should be bounded by the size of the editor pane)?
    Thank you.
    -mmm

  • Pie chart: Legend position

    By default, the SVG pie charts that HTML DB renders show all the legends in a box off to the side of the pie.
    Is there a way to show each legend next to the slice that it corresponds to?
    Thanks

    Bump. Thanks.

  • Getting the default pie chart colors

    Hello,
    I have a pie and a bar chart that display the same
    information... Pie charts colors are filled automatically, and I
    would like to use those colors for my bar chart as well... is there
    any way to get those colors?
    Tnanks.

    I ran into this issue myself and figured it out here:
    Can I access Flex's default Chart colors? Or can I access a Series' current color?

  • Displaying specified colors on the pie chart rather than default colors

    Any ideas on how I can display my own colors on the pie charts rather than displaying default colors?

    Hi,
    You can specify your own colours by changing the default CSS styles.
    Go to the Chart Attributes for the pie chart, and in the CSS section select Yes in the "Use Custom CSS" option. You can now edit the CSS for the chart.
    At the bottom of the "Custom CSS, inline" setting, you need to add in two lines for each possible segment of the chart. Something like:
    rect.data1{stroke:#FFFFFF;stroke-width:0.5;fill:green;}
    path.data1{stroke:#FFFFFF;stroke-width:0.5;fill:green;}
    rect.data2{stroke:#FFFFFF;stroke-width:0.5;fill:yellow;}
    path.data2{stroke:#FFFFFF;stroke-width:0.5;fill:yellow;}
    rect.data3{stroke:#FFFFFF;stroke-width:0.5;fill:red;}
    path.data3{stroke:#FFFFFF;stroke-width:0.5;fill:red;}
    This will set the colours of the first three segments to green, yellow and red respectively. Add in more rect.datan and path.datan entries until you have accounted for the maximum number of segments that your chart may contain.
    Regards
    Andy

  • PIE Chart Color Highlight - setting colors

    Hi
    PIE Chart showing default colors even after setting the diffent colors to OIE chart slices from Color Highlight tab.
    PIE chart is showing only one slice when I select Data for the PIE Char is "For all records".
    Could you please let me know how to set the different colors for slices?
    Thank you

    hi,
    As you are selecting 'Color Highlight' for different Pie Slices,  "For all records" option shouldn't be selected.
    It should be "On Change of".
    Then obviously you will see the colors specified in 'Color Hghlight' tab.
    Regards,
    Vamsee

  • Pie Chart Color Scheme

    Post Author: Janice
    CA Forum: Charts and Graphs
    I have a report written in Crystal Reports XI that has a pie chart in the Report Header displaying counts of activity by "reason code" for a selected time period.  The users have noticed that, when they run the report for different time periods, the same "reason" has a different color on each report.   It seems that the default is to sequence colors based on volume (size of 'pie wedge').
    They would like to have the colors appear linked to Reason Code rather than to volume.  Is there a way to change the pie chart color scheme so that it is coded by "description" not by "count"?

    hi,
    As you are selecting 'Color Highlight' for different Pie Slices,  "For all records" option shouldn't be selected.
    It should be "On Change of".
    Then obviously you will see the colors specified in 'Color Hghlight' tab.
    Regards,
    Vamsee

  • How to assign specific colors to itemcolumn in pie chart?

    I'm trying to figure out the CF pie chart specific color
    assignment to specific distinct values, i.e. a specific color is
    assigned to a specific status value so we have consistency across
    diff charts; say value PASSED is always GREEN. Help? any idea?
    thanks

    Ashka, thanks for reply, unfortunately it didn't help. I do not have "shadow" option ticked anywhere. If I do tick the shadow, an additional shadow also appears, so this shadow is somehow built into the pie-chart by default. No matter what font of color I pick that shadow is there.
    Here is a screen-shot:
    http://www.piccdrop.com/images/1227030290.png
    Thanks for your help.

  • How do I update the colors on a 2d pie chart after adding 3 new variables

    I have added 3 additional items to a 2d pie chart.  Unfortunately, when the data is displayed the recently added items are displayed with the SAME colors as the first 3 items in the chart.  I need all variables to display in distinctly DIFFERENT colors.

    Hi tarheel,
    You can click on the color you want to change and go to the style tab:
    You can do it there. I have also changed colors after clicking the data tab from within edit data references.
    quinn

  • Pie Chart Legend - colors and sorting value

    <p>Hi,</p><p>I have a pie chart with around 20 &#39;segments&#39; representing names of people - so it looks like several of them have the same color.</p><p>So my first question is do the standard 12 colors repeat after 12 segments have been &#39;defined&#39; - can this be extended with custom colors?.  I know you can set colors for specific values but as the list is dynamic, I can&#39;t do that. </p><p>I also have a legend defined which shows the person&#39;s name and then the value - either a percentage or a count etc.    From top to bottom, the legend lists the entries alphabetically by the person&#39;s name - however, it&#39;s not always easy to tell which name is associated with which &#39;segment&#39; and using labels is not an option as they are too long and there are too many of them to be readable<br /></p><p>So what I would like to do is have the legend displayed in numerical size order - e.g. person with largest % is at the top, smallest % is at the bottom etc.</p><p>I&#39;ve been looking at the Chart Expert, CR Help and the forums but have not seen an answer to either question - I&#39;m hoping someone can tell me if it&#39;s possible or not (and if so, how do I do it!).</p><p>Thanks <br /></p>

    Hi,
    If you go to the Chart Expert, on the data tab, you can choose the Top N option. From within there you can get your legend sorted based on the highest or lowest percentage. You can also group information so that you only see the top 5 or lowest 10 or whatever you want.
    Also when I create a pie graph based on 20 plus pieces of data it isn't resusing the colors, but they are somewhat similar. I usually do a group of the top 10 or so, then have an others category for situations like this.Â
    Rody

  • PIE Chart color assignment

    I have a Pie chart where the actual data values are Green, Red and Yellow and the user wants the chart colors to be same as the data values.
    Is there any way I can do that?
    Currently using APEX 4.0.1.00.03
    Any help would be much appreciated.
    Thanks, Greg
    Edited by: Greg McEachern on Dec 4, 2012 10:38 AM

    Thank you Matthew. That worked kind of.
    The issue is the query returns Yellow, Red, Green, Black in that order. So when I do the custom colours in that order everything is fine when all those 4 values are returned. But if no data comes back for Red. The data values for Green show up as the color Red and the Black shows up as Green. Any way I can resolve that?
    Thanks, Greg

Maybe you are looking for

  • DataScroller nested facets disappear

    I've managed to get a Tomahawk dataTable working with sorting. I've also added two dataScroller tags (as shown in the example wars). The dataTable uses an ArrayList in a backing bean, configured as a session-scoped managed bean. The paginator works f

  • Regarding Intracompany STO

    Hi Gurus, Here my question is if we can transfer goods from one plant to another plant with in the same company (intracompany) by using movement types. Then why sometimes we are using STO process for intra company.And could you please explain me the

  • Very poorly GigaWorks S750 Sub Woofer

    Can anybody in the UK provide any assistance as to where I may be able to get the aforementioned sub repaired please.Not impressed with Creatives support desk one bit, only interested in selling me a very slightly discounted replacement as it is out

  • Asus G60 upgrade?

    I have the G60VX-RBBX05 and I was wondering if I could upgrade the harddrive space in the laptop. I read somewhere that I could upgrade it to 1TB, if so how much would the Geek Squad charge to do all of this for me? Since you no longer have it on you

  • My iPhone 6 does not have the option to share photos

    When I try to share a photo on my 6, iCloud Photo Sharing is not an option.  I have Facebook, Twitter, Mail, Message, Flickr. I also cannot receive a shared photo on my 6.  I can do both of these on my iPad 2 under the same account. Under Settings/Ph