Chart this

Enter the following numbers into sequencial cells:
1, 3, 21, 15, 31
Next create a 2D line graph, in the inspector window select the Chart tool and select the Series tab. Change the Connect Points to Curve.
I'm seeing the curved line between the first two cells (1 and 3) doubling back on itself creating a loop in the curve.  The trigger appears to be the vertical range of the graph.  If you set the last cell to 29 (from 31) the curve will appear as expected.
Tell me this isn't a bug...

The polynomial curve fit being used to create the line segments seems to be of too high an order to handle the tight spacing in that area of the chart. I'm guessing that it doesn't have the intelligence to adjust the fit routine based on the scale of the chart.
Jerry

Similar Messages

  • Not able to display bar chart in details view

    Hi every one,
    I created Tiles and when click on Tile it is going to SplitContainer. in SplitContainer container i have two HTML views. I am trying to dispaly bar chat in Detail view. but its not displaying. Can you please help me?
    Here is my code.
    Here is my details view.
    <template data-controller-name="view.LrDetail">
      <div id="page" data-sap-ui-type="sap.m.Page" data-title="Leave Request" data-show-nav-button="true" data-nav-button-press="back">
      <div data-sap-ui-aggregation="content">
      <div data-sap-ui-type="sap.m.ObjectHeader"
      data-title-active="true"
      data-title-press="showRequestor"
      data-title="{lr>requestor}"
      data-number="{lr>days}"
      data-number-unit="days">
      <div data-sap-ui-aggregation="attributes">
      <div data-sap-ui-type="sap.m.ObjectAttribute" data-text="{path:'lr>type', formatter:'util.Formatter.lrType'}">
      </div>
      </div>
      <div data-sap-ui-aggregation="firstStatus">
      <div data-sap-ui-type="sap.m.ObjectStatus" data-text="{path:'lr>agoDays', formatter:'util.Formatter.agoDays'}">
      </div>
      </div>
      </div>
      <div id="reports" data-sap-ui-type="sap.viz.ui5.Bar">
      </div>
      </div>
      </div>
    </template>
    and here is my details controller
    onBeforeRendering: function()
      var oModel = new sap.ui.model.json.JSONModel({
      businessData : [
      {Country :"Canada",revenue:410.87,profit:-141.25, population:34789000},
      {Country :"China",revenue:338.29,profit:133.82, population:1339724852},
      {Country :"France",revenue:487.66,profit:348.76, population:65350000},
      {Country :"Germany",revenue:470.23,profit:217.29, population:81799600},
      {Country :"India",revenue:170.93,profit:117.00, population:1210193422},
      {Country :"United States",revenue:905.08,profit:609.16, population:313490000}
      sap.ui.getCore().setModel(oModel, "MyJSONModel");
      var dataset = new sap.viz.ui5.data.FlattenedDataset({
                dimensions : [ {
                  axis : 1,
                  name : 'Country',
                  value : "{Country}"
                measures : [ {
                  name : 'population',
                  value : '{population}'
                }] ,data : {
                  path : "/businessData"
      var chart = this.getView().byId("reports");
      chart.setDataset(dataset);
      chart.setModel(oModel);
    here is my output screenshot.
    Can you please help me where i am doing wrong.

    Hi Sakthivel Elango,
    My code is working in Normal view and displaying Chart. the same code put into detail view chat is not displaying. Inside HTML code i am posting please check the code.
    <div id="LrDetail--reports" data-sap-ui="LrDetail--reports" class="sapVizChart" style="width: 640px; height: 480px;">
       <div id="UIComp_0" style="position: relative; overflow: visible; font-size: 10px; box-sizing: border-box; left: 0px; top: 0px; width: 640px; height: 480px; display: none;">
          <div id="UIComp_1" class="UIComp_1-2ebc44e6-2f93-46d1-964e-e823b0afe432 v-viz v-bar" style="position: relative; overflow: hidden; font-size: 10px; box-sizing: border-box; display: block; width: 640px; height: 480px; -webkit-user-select: none; left: 0px; top: 0px;">
             <canvas style="width: 0px; height: 0px;"></canvas>
             <svg class="v-m-root" width="640" height="480" style="left: 0px; top: 0px; direction: ltr; position: absolute; box-sizing: border-box;">
                <defs></defs>
                <g class="v-m-title"></g>
                <g class="v-m-legends">
                   <g class="v-m-legend"></g>
                </g>
                <g class="v-m-main">
                   <g class="v-m-background"></g>
                   <g class="v-m-xAxis"></g>
                   <g class="v-m-yAxis"></g>
                   <g class="v-m-plot"></g>
                </g>
             </svg>
          </div>
       </div>
    </div>
    in this svg tags there is no bars.

  • Problems with pie chart formatting - APEX v2

    Hi - I have created a region with an SVG Pie Chart and set the CSS to display the three segments as red, yellow and green using one of the examples from a previous forum posting. That all works fine, but I still have two issues with the chart:-
    - the legend is displaying too big and is overlapping the right hand region border which looks messy. Is there anyway to force the size of the legend as there is lots of blank space to the right of the labels/values?. If not, is there any way to get the legend to display at the bottom of the area rather than to the side of the chart?
    - the pie chart is 3D but the colours are only displaying on the side, not the top. Is there something I need to set to get this to work OK? Current CSS included below.
    Thanks Caroline
    text{font-family:Verdana, Geneva, Arial, Helvetica, sans-serif;fill:#000000;}
    tspan{font-family:Verdana, Geneva, Arial, Helvetica, sans-serif;fill:#000000;}
    text.title{font-weight:bold;font-size:14;fill:#000000;}
    text.moredatafound{font-size:12;}
    rect.legend{fill:#EEEEEE;stroke:#000000;stroke-width:1;}
    text.legend{font-size:10;}
    #background{fill:#FFFFFF;stroke:none;}
    rect.chartholderbackground{fill:#ffffff;stroke:#000000;stroke-width:1;}
    #timestamp{text-anchor:start;font-size:9;}
    text.tic{stroke:none;fill:#000000;font-size:12}
    line.tic{stroke:#000000;stroke-width:1px;fill:none;}
    #dial{stroke:#336699;stroke-width:2px;fill:#336699;fill-opacity:.5;}
    #dial.alert{fill:#FF0000;fill-opacity:.5;}
    #dialbackground{stroke:#000000;stroke-width:none;fill:none;filter:url(#MyFilter);}
    #dialcenter{stroke:none;fill:#111111;filter:url(#MyFilter);}
    #dialbackground-border{stroke:#DDDDDD;stroke-width:2px;fill:none;filter:url(#MyFilter);}#low{stroke-width:3;stroke:#336699;}
    #high{stroke-width:3;stroke:#FF0000;}
    #XAxisTitle{letter-spacing:2;kerning:auto;font-size:14;fill:#000000;text-anchor:middle;}
    text{font-family:Verdana, Geneva, Arial, Helvetica, sans-serif;fill:#000000;}
    tspan{font-family:Verdana, Geneva, Arial, Helvetica, sans-serif;fill:#000000;}
    text.title{font-weight:bold;font-size:14;fill:#000000;}
    text.moredatafound{font-size:12;}
    rect.legend{fill:#EEEEEE;stroke:#000000;stroke-width:1;}
    text.legend{font-size:10;}
    #background{filter:url(#MyFilter);fill:#555555;stroke:none;}
    rect.chartholderbackground{fill:#ffffff;stroke:#000000;stroke-width:1;}
    #timestamp{text-anchor:start;font-size:9;}
    text.tic{stroke:none;fill:#000000;font-size:12}
    line.tic{stroke:#000000;stroke-width:1px;fill:none;}
    #dial{stroke:#336699;stroke-width:2px;fill:#336699;fill-opacity:.5;}
    #dial.alert{fill:#FF0000;fill-opacity:.5;}
    #dialbackground{stroke:#000000;stroke-width:none;fill:none;filter:url(#MyFilter);}
    #dialcenter{stroke:none;fill:#111111;filter:url(#MyFilter);}
    #dialbackground-border{stroke:#DDDDDD;stroke-width:2px;fill:none;filter:url(#MyFilter);}#low{stroke-width:3;stroke:#336699;}
    #high{stroke-width:3;stroke:#FF0000;}
    #XAxisTitle{letter-spacing:2;kerning:auto;font-size:14;fill:#000000;text-anchor:middle;}
    #YAxisTitle{letter-spacing:2;kerning:auto;font-size:14;fill:#000000;text-anchor:middle;writing-mode:tb;}
    .XAxisValue{font-size:8;fill:#000000;}
    .YAxisValue{font-size:8;fill:#000000;text-anchor:end;}
    .AxisLabel{font-size:8;fill:#000000;}
    .nodatafound{stroke:#000000;stroke-width:1;font-size:12;}
    .AxisLine{stroke:#000000;stroke-width:2;fill:#FFFFFF;}
    .GridLine{stroke:#000000;stroke-width:0.3;stroke-dasharray:2,4;fill:none;}
    g.dataholder rect{stroke:#000000;stroke-width:0.5;}
    .legenditem rect{stroke:#000000;stroke-width:0.5;}
    #data1 ,rect.data1 ,path.data1{fill:#FF0000;}
    #data2 ,rect.data2 ,path.data2{fill:#FFFF00;}
    #data3 ,rect.data3 ,path.data3{fill:#00FF00;}

    hi Kishore,
    For this we have to change the .pcxml file for the pie chart .This is the path
    \OracleBI\web\app\res\s_oracle10\popbin\pie.pcxml
    http://obiee101.blogspot.com/2008/08/obiee-cusstomising-your-pcxml.html
    http://debaatobiee.wordpress.com/2009/09/26/customising-graph-obiee-a-charismatic-gradient-effect/
    I am not sure whether it will work or not but try it out
    thanks,
    saichand.v

  • Hiding lines on a line chart (Display marker only)

    I would like to only view Markers along with bars in combination chart. Need to make lines transparent or hidden (disable).
    The X category  axis is (different companies), so connecting line is not appropriate.
    There are setting to hide other elements: Markers (Enable or Transparency), Column (Transparency).

    Hi,
    I don't think that is possible out-of-the-box. What you could do is the following:
    1) Create a Bar chart
    2) Create a XY chart (this will be your markers). Create a new series on the XY chart. Point the x-values to the x-axis labels on you bar chart. Point the y-values to the values you would like to display as markers.
    3) Disable display of most of the elements of the XY chart, e.g. chart back ground, legend, vertical axis, gridlines etc.
    4) Move the XY chart on top of you Bar chart
    This will work, but might take a little fiddling :o)
    Hth.,
    Jacob

  • Problem with chart width

    Hi all,
    I have a problem with a chart.
    I show a columnChart at 100% width.
    The dataprovider is hierarchic. So every object in it has a 'children' property which is a new ArrayCollections.
    This way, I'm able to descend in the hierarchy by scripting this:
    targetChart.dataProvider = myClickedItem.children;
    All works perfect except that the larger the dataset is, the narrower my chart displays.
    This is what it looks like (from left to right, the several levels of the chart):
    This is the mxml code I use:
    <mx:ColumnChart id="targetChart" width="100%" height="100%"
                                                      dataProvider="{targetProvider}" showDataTips="true"
                                                      itemClick="targetChart_itemClickHandler(event)"
                                                      type="{statStyle}">
      <mx:horizontalAxis>
                                       <mx:CategoryAxis categoryField="label"/>
      </mx:horizontalAxis>
      <mx:series>
                                  <mx:ColumnSeries yField="total" width="100%"
                                                                           fillFunction="getTotalFill"
                                                                           displayName="Totaal ovsg"
                                                                           showEffect="zoom" hideEffect="zoom"/>
                                  <mx:ColumnSeries yField="count" width="100%"
                                                                           fill="{Config.CHART_COLOR_ARRAY.getItemAt(0) as IFill}"
                                                                           displayName="Telling"
                                                                           showEffect="zoom" hideEffect="zoom"/>
      </mx:series>
      </mx:ColumnChart>
    Any help would be appreciated.
    Dany

    Hi,
    Did you solve this issue?
    I have the same problem, maybe you can help if you got the answer?

  • Flash 2D Line chart

    I have a chart region - Flash 2D Line chart with two series based on different tables, both with dates along the X axis
    and a figure that represents hours up the Y axis. The idea is for two lines to be displayed on the same graph so they can be
    easily compared.
    series 1
    select null link, END_DATE label, PROJECTED_HOURS Projected_hours
    from "E_LOGBOOK"."TEST_PROJECTED"
    30/07/2009 700
    09/08/2009 800
    27/08/2009 9000
    series 2
    select null link, LIFING_DATE label, ACTUAL_HOURS Current_Hours
    from "E_LOGBOOK"."TEST_ACTUAL"
    30/07/2009 800
    09/08/2009 1000
    27/08/2009 12000
    When I run the chart with the data above it displays as I would expect, the dates label in chronological order along the bottom with the Correct value plotted for each series.
    However if I insert a row into the LIFING_DATE table (second series) so it contains additional data for the 14/08/2009
    30/07/2009 800
    09/08/2009 1000
    14/08/2009 1201
    27/08/2009 12000
    And then re run the chart this last date and value displays to the right of the existing dates so we have 30/07/2009 09/08/2009 27/08/2009 then 14/08/2009 along the X axis.
    I would have expected the new data to fit in the existing range so that 30/07/2009 09/08/2009 14/08/2009 27/08/2009 would display along the bottom.
    I am an oracle forms programmer new to APEX (and html, javascript,XML etc) trying to prepare a demo to my manager of what we can do with apex so any help appreciated.
    If possible is there a solution without using Third party apps or bi publisher.
    Thanks Pete

    Hi Andy,
    Thanks for your quick response. If I'm correct in understanding what your saying is that with 2D Line charts that have two series in order for them to display togethor then the label must appear in both series.
    I've had a bash using your sql for the 1st series and modifying the second series.
    Series 1
    SELECT NULL LINK,
    X.THE_DATE LABEL,
    Y.PROJECTED_HOURS VALUE
    FROM
    (SELECT END_DATE THE_DATE FROM TEST_PROJECTED
    UNION
    SELECT LIFING_DATE THE_DATE FROM TEST_ACTUAL
    ) X
    LEFT OUTER JOIN TEST_PROJECTED Y ON X.THE_DATE = Y.END_DATE
    ORDER BY X.THE_DATE
    07/30/2009 700
    08/09/2009 800
    08/14/2009
    08/27/2009 9000
    Series 2
    SELECT NULL LINK,
    X.THE_DATE LABEL,
    Y.ACTUAL_HOURS VALUE
    FROM
    (SELECT END_DATE THE_DATE FROM TEST_PROJECTED
    UNION
    SELECT LIFING_DATE THE_DATE FROM TEST_ACTUAL
    ) X
    LEFT OUTER JOIN TEST_ACTUAL Y ON X.THE_DATE = Y.LIFING_DATE
    ORDER BY X.THE_DATE
    07/30/2009 800
    08/09/2009 1000
    08/14/2009 1201
    08/27/2009 12000
    This is a great improvement the series 2 now displays fine and all the points for series 1 are plotted correctly but it seems like the null value prevents the joining of the coordinates in this series. All the points 700,800 and 9000 are displayed correctly but the graph line only joins 700 and 800.
    Any further ideas? Thanks Pete

  • How to convert from line chart data to CSV format

    Hi ,
    I am using Flex 3 and AS.
    I am getting data from MS SQL and display the data as line
    chart this is ok.
    But i want to convert this line chart data to CSV or .xsl
    format.I find one example in fourms the from data grid to CSV
    For this URL is
    http://www.abdulqabiz.com/blog/archives/flash_and_actionscript/datagriddataexporter.php
    But i want Line chart to CSV.Please help me.

    Line chart is a just a visual representation of some data
    that's sitting in your database. Isn't it? You load this in Flex,
    probably using HTTPService class, and pass it to some chart object.
    Now when use says that she needs it in CSV format, you're
    gonna have to send another request to the server to produce the
    same data, convert into CSV or XLS format and let user download it.
    Of course, if use doesn't want to download, you don't have to
    go to the server, at least for CSV format. You can convert the same
    data that used plot the chart to convert to CSV.
    Am I missing something here?
    ATTA

  • How to show top 20 values in a Pie Chart

    Hi
    We have a requirement to develop a Pie chart for top 20 Order value locations.but i am not able to plug in top 20 logic in a pie chart.This functionality (TOP N) is avilable in bar chart , but it is not avilable in Pie chart. Could some help me to implement this logic in a Pie chart.
    Your help in this regard is highly appreciated.
    Thanks
    Laj

    Not sure what you are saying here.  Obviously you have to have a place to place the distinct values, whether in another column or in the same column. That's not really a drawback, just a fact of life.
    I'm curious about what you mean by "multiple columns to dynamically select some records with specific criteria from different columns."  If you can give a specific example of what you are trying to do, I there may be a solution.  Are you trying to do something like Excel's filtering on multiple columns?
    If you are you can click the disclosure triangle by the column letter to get a dropdown like this:
    Similar to Excel.
    SG

  • How can i rotate a 3d chart?

    i can't seem to rotate my 3d charts. this goes for bar abd pie charts too. if i press the arrows at the 3d scene, nothing happens.

    same problem here. i tried to make a brand new sheet with a few random numbers, but the 3d rotate button is still greyed out. am i missing something? i know i used this function before.
    i'm using Numbers '09, and lion, all updated.

  • Pie chart wedge itemRollOver

    I need help with creating a custom pie chart class that will allow a function call on pie wedge rollOver.
    Right now I can get a function call on rollover using itemRollOver using;
    import mx.charts.events.ChartItemEvent;
    -in the <mx:PieChart>;
    itemRollOver="pieChart_itemRoll(event);"
    -which calls this function
    private function pieChart_itemRoll(evt:ChartItemEvent):void {
                    var psi:PieSeriesItem = evt.hitData.chartItem as PieSeriesItem;
                    trace(psi.item.target);
    Please advise on how can I put this into a custom PieChart .as that extends PieChart?
    Currently itemRollOver in my custom class throws an undefined property error.
    Thanks.

    OK, now I get it. So you would need to place your two PieCharts in a s:Group or mx:Canvas. On top of the pie charts, lay another s:Group on which you will do some drawing on its graphics:Graphics object.
    In your case, you need to use dataToLocal() (will give you pixel coordinates in your chart) then localToGlobal()  (convert to Application coordinates) then globalToLocal() (convert to the Top Group or Canvas coordinates you want to draw in) :
    Using the dataToLocal() method
    The dataToLocal() method converts a set of values to x  and y coordinates on the screen. The values you give the method are in  the "data space" of the chart; this method converts these values to  coordinates. The data space is the collection of all possible combinations of data values that a chart can represent.
    The number and meaning of arguments passed to the dataToLocal() method depend on the chart type. For CartesianChart controls, such as the BarChart and ColumnChart controls, the first value is used to map along the x axis, and the second value is used to map along the y axis.
    For PolarChart controls, such as the PieChart control, the first value maps to the angle around the center of the  chart, and the second value maps to the distance from the center of the  chart along the radius.
    The coordinates returned are based on 0,0  being the upper-left corner of the chart. For a ColumnChart control, for  example, the height of the column is inversely related to the x  coordinate that is returned.
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/DisplayOb ject.html#localToGlobal%28%29
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/DisplayOb ject.html#globalToLocal%28%29

  • PIE chart in Oracle 9i Reports

    Hi,
    I'm using Orcle 9i Report builder to create reports.I'm creating web-source and saving it as JSP.Now I want to add 'PIE' charts into my reports.But, when I'm using the 'Graph' option in 'Insert' menu,it's not creating the 'PIE chart' properly.Pls anybody help me know how can I create 'PIE chart'
    Thanks in advance
    Rajesh K.R

    Hi Rajesh,
    Suppose you want to show salaries of a few employees in a Pie Chart (this is just a dummy graph to explain the steps - you can build more meaningful graphs). So you want that each employee's salary should be shown as a percentage of the total. Follow these steps:
    1. Use the query - Select empno, sal from emp
    2. Go to the web layout, place your curson in the rw:dataArea tags, and choose Insert > Graph
    3. In the Graph wizard, choose Pie Chart, select empno in X-axis, and sal in the Y-axis
    4. In the "Layout" step, drag "sal" from groups into the slices field
    5. Fill in the titles, etc, and click finish.
    Click "Run to Web" in the builder, and you should see the pie chart in the web page.
    Navneet.

  • Creating pie chart diagram in java  and converting into BMP file

    hi all ,
    my req. is to create draw a pie chart diagram and store
    the picture in BMP. it is Possible. if so how ?
    cheers
    senthil

    Hi Senthil,
    This response is a bit late but I hope it can help in some way.  Your requirement (to create draw a pie chart diagram and store the picture in BMP) is possible and actually quite easy if you don't mind using two open source libraries.  In his previous response to this thread, Detlev mentioned JFreeChart for as a solution for charting however he also mentioned that it lacks support for BMP.  Although this is true, you can use the JFreeChart library (http://www.jfree.org/jfreechart/index.html) in conjunction with an imaging library to meet your requirement.  I have used JFreeChart on multiple projects and I highly recommend it.  For the imaging library you have many options, however the only one I have used is The Java Imaging Utilities (JIU - http://jiu.sourceforge.net/).  Using these two class libraries, you can generate your pie chart and save it to a BMP file with the following block of code:
         try
             JFreeChart chart = this.createChart();
             FileOutputStream streamOut = new FileOutputStream("your/files/path/BMPfile.bmp");
             BufferedImage image = chart.createBufferedImage(600, 300);
             if(image == null)
                  reportError("Chart Image is NULL!!!!!!!!");
                  return(false);
             RGB24Image rgbImage = ImageCreator.convertImageToRGB24Image(image);
             Codec codec = new BMPCodec();
             codec.setImage(rgbImage);
             codec.setOutputStream(streamOut);
             codec.process();
             codec.close();
             streamOut.flush();
             streamOut.close();
        }catch(IOException ioExcept)
             // throw or handle IOException...
             return(false);
        }catch(OperationFailedException opFailedExcept)
             // throw or handle OperationFailedException...
             return(false);
    The first line inside the catch block calls a helper method that should create the actual chart using the JFreeChart library.  Once you have your chart instance (all chart types are represented using the JFreeChart class), you can then retrieve a BufferedImage of the chart (JFreeChart.createBufferedImage(int width, int height);).  In our situation, the BufferedImage class will act as an "intermediate" class, for both libraries (the charting and imaging) can make sense of BufferedImages.  The rest of the code deals with storing the generated chart (the BufferedImage) as a BMP file to disk.  The RGB24Image, Codec, BMPCodec, CodecMode, and OperationFailedException classes are all part of the JIU library.  Also, note that the storage  source is not solely limited to a File on disk; the Codec.setOutputStream(OutputStream os) method will accept any subclass of OutputStream.  This implies that not only can you store to the actual App Server disk (where your app is running) but also to sources such as Knowledge Management (KM) resources or even directly to the clients browser (in the case of an iView). 
    Once again, sorry for the late response and let me know if you have any questions regarding the code above. 
    Regards,
    Michael Portner

  • Chart Component Help

    Hi all.
    I have a client who is needing some dynamic graphs. I have
    downloaded and installed the "Charting Components, V1.0" from
    http://www.adobe.com/cfusion/exchange/index.cfm?view=sn111&extID=377283
    Ive used this tutorial from 4GuysFromRolla
    http://www.4guysfromrolla.com/webtech/032603-1.shtml
    All is fine and good. Ive got my charts showin, my data XML
    asp pages poppin.. its all good.
    Part of the project requirements are to recreate a paper
    report they mail out online with the colors and general formatting
    the same.
    I was up till OMG last night pulling my hair out trying to
    make the pie chart pieces specific colors.
    I will have a set number of data values and pie chart/bar
    chart items, so any recursive looping for colors isnt really
    necessary if I can if/then something and then just hard set them.
    I am a complete n00b when it comes to actionscript, however
    am a pretty grissled VBScript veteran. After many hours I found
    buried in the layers of the chart this routine which I *believe*
    sets the hory clap fugly default colors..
    Pie Chart Actions Frame
    Begin Code
    #initclip 3
    FPieChartClass = function()
    this.initPalette = function()
    this.piePalette = [];
    this.paletteIndex = 0;
    this.getNextColor = function()
    { var fillColor;
    if(this.paletteIndex > this.PieColors.length)
    { var r = (50 + this.paletteIndex * rs + 250);
    var g = (50 + this.paletteIndex * gs + 140);
    var b = (50 + this.paletteIndex * bs + 130);
    r = (r <= 255) ? r : r % 255;
    g = (g <= 255) ? g : g % 255;
    b = (b <= 255) ? b : b % 255;
    fillColor = r << 16 | g << 8 | b;
    } else {
    fillColor =
    parseInt(this.PieColors[this.paletteIndex].substr(2, 6), 16);
    this.paletteIndex++;
    return fillColor;
    End Code
    if I put
    fillColor = 0x000000
    return fillColor;
    I get all black pieces.
    If I try and do a counter and an if, it fries the chart.
    Any help would be incredibly appreciated, and if not, a
    direction to a good **cheap** alternative.
    Thanks in advance,
    Charlie

    Looks to be a repeat of http://forums.sun.com/thread.jspa?threadID=5386695&messageID=10711772#10711772

  • Chart/Columns labels

    I am building a Column chart I'm not sure what its called but its where you add different series together to make a column chart (this option is second from the top and on the left side in the charts selector). I would call it a additive column chart. What I want to do is add a label to the chart. However, I don't want the labels of the individual series but the sum of the series. I would like this number to appear at the top of the Chart Column.
    So for example if my data for a particular column says:
    Canada 10
    US 5
    Other 3
    I want the number 18 to be displayed in the chart. It is an additive column of course so why can't I show the total?
    I just want to show the total somehow as a number on the chart.
    Thank you.

    That chart is called a stacked bar chart. I don't know how to do what you want automatically but I'll try a few things out and report back (unless someone else answers before I figure it out). You always have the option of putting text boxes on the chart with the numbers you want.
    EDIT: Here's an idea that works but it kind of a pain. The advantage it has over individual text boxes is that it recalculates the sums and puts them in the correct place automatically.
    1. Create another column of data in your table that is the sum you want.
    2. Plot a bar chart of that column. Ensure the min and max on the Y axis are the same as your first chart. It would be best to set these in each chart so you can ensure they will never be different.
    3. Show value labels. This should show your sums.
    4. Hide all the other elements of this chart. No axis, no gridlines, no Y axis values, no X axis categories, etc.
    5. Set the fill color of the chart and the bars to none (in the Graphic Inspector)
    6. Slide it overtop of your first chart.
    7. Reposition/resize the chart until everything lines up and looks good.
    For many operations, such as adding another row of data or changing values in your table, this should work out fine with no further adjustments required. For adding new rows of data to the chart, you will have to do it for both charts instead of just one.
    Message was edited by: Badunit

  • Unable to create a Line chart

    Hi Friends,
    I am trying to create a Line Chart based on CalMonth, where I want to show no. of SalesOrg denoted by different lines separately according to their monthly sales.
    Please help.
    Regards,
    Jatin

    Hi,
    To create chart this is the process..
        1.      Before you begin publishing a chart, you need to specify which chart type ( Line chart in your case ) you want to display. You can determine how the data provider is to be built by using the class of the chart type.
           2.      Select an existing query or design a new query with which you can generate a suitable view of the data, that is, a suitable data provider.
           3.      Start the publishing process and create a new Web item of type Chart.
           4.      We recommend configuring the properties of the chart Web item as follows:
    &#9675;       Expanded hierarchy nodes should be hidden.
    &#9675;       Totals should be suppressed.
    &#9675;        If you want to swap the data providers in the chart, you should assign the Swap Display Axes property to the chart. The columns and rows are then swapped automatically when the chart is generated. You do not need to change the view on which the chart is based.
           5.      When you edit the chart, the Web Application Designer or Web Application Wizard first shows the default setting, that is, a column chart.
    &#9675;       Firstly, format the chart using the wizard so that the most important settings and the number of displayed data series and data points correspond to your data provider (see also Formatting a Chart Using the Wizard). Assign the required chart type to the chart and format the chart as required.
    &#9675;       All chart elements that you can format are displayed in the list of properties on the right of the screen. You can modify the properties as required here.
    Also go through these links.
    line chart..
    [http://help.sap.com/saphelp_nw70/helpdata/EN/7e/daf830b46411d2961200a0c9308b1f/frameset.htm]
    Formatting chart..
    [http://help.sap.com/saphelp_nw70/helpdata/EN/7e/daf830b46411d2961200a0c9308b1f/frameset.htm]
    Hope it helps..
    Regards,
    Priti

Maybe you are looking for

  • How can I install Google Maps on IOS 6?

    Since I upgraded to IOS 6, Google Maps has been replaced by a poorer Apple version that doesn't support public transport. I want Google maps back. How can I install Google Maps on IOS 6 or downgrade to IOS 5? Thanks.

  • Can i use swing under JSP?

    i have a JSP, now my question is, can I display swing components under JSP?

  • Not working JavaBean

    hi, i'm getting problems with my javaBean in TOMCAT, i'm sure i place them in the right class folder, do i have to set any path with the command prompt first?

  • Any room for improvement for this query? Explain Plan attached.

    Is there any room for improvement for this query? Table stats are up-to-date. Any suggestions Query rewrite, addition of indexes,...etc ?? select sum(CONF              when (cd.actl_qty - cd.total_alloc_qty - lsd.Q < 0) then               0          

  • Using a file as a table

    Hi, I know that it is possible to use a file (text file) as a table in 9i I don't however know how to do it. Does anyone know how to do this? Thanks, Ed.