Chart bean label skipping

Has anyone been successful in controlling label skipping when using 'setSeriesAreRows(false)' with JDeveloper 9i? I have repeatedly tested using setO1LabelAutoSkip() to no avail. This method is supposed to accept either 0 (no skipping), 1 (skip every other value) or 2 (set specific interval) for controlling the ordinal access labels. The documentation shows 0 as the default; however, when I run my code, the default, or using the method with 0, skips every other label. Using 1 skips every other label, and I have been able to skip two labels using 2 with setSkipCount() and setSkipBegin().
Below is code that works with Scott/Tiger. Help will be greatly appreciated.
D. Williams
<jbo:ApplicationModule id="Mypackage1Module"
configname="mypackage1.Mypackage1Module.Mypackage1ModuleLocal"
releasemode="Stateful" />
<jbo:DataSource id="ds_emp" appid="Mypackage1Module" viewobject="EmpView" />
<jbo:DataWebBean id="chart" datasource="ds_emp"
wbclass="oracle.jbo.html.databeans.ChartRenderer" />
<%
chart.setCommonScriptName("chart_common.jsp");
// graph basics
chart.getChart().setGraphType(chart.VERTICAL_ABSOLUTE_LINE);
chart.getChart().setDepthAngle(0);
chart.getChart().setDepthRadius(0);
chart.getChart().setSeriesAreRows(false);
chart.getChart().setUseOffScreen(false);
chart.getChart().setLegendDisplay(false);
chart.getChart().setTitleString("");
chart.getChart().setSubtitleString("");
chart.getChart().setFootnoteString("");
chart.setImageWidth(700);
chart.setImageHeight(265);
// Data sources
chart.setSeriesLabelColumnName("Ename");
chart.setDisplayAttributes("Sal");
// Data labels
chart.getChart().setDataTextDisplay(true);
chart.getChart().setDataTextPosition(0);
chart.getChart().setDataTextRadiusDefault(30);
chart.getChart().setFontSizeVC(chart.getChart().getDataText(),1200);
chart.getChart().setSeriesType(0,2);
chart.getChart().setLineWidth(chart.getChart().getSeries(1),1);
chart.getChart().setSeriesFillColor(0,new java.awt.Color(255,0,0));
// Ordinal-axis
chart.getChart().setScaleMinAuto(chart.getChart().getO1Axis(), true);
chart.getChart().setO1LabelAutoSkip(0);
chart.getChart().setGridStep(chart.getChart().getO1MajorGrid(),1);
chart.getChart().setO1AxisLineDisplay(true);
chart.getChart().setExcludeMaxLabel(chart.getChart().getO1Label(), false);
chart.getChart().setExcludeMinLabel(chart.getChart().getO1Label(), false);
chart.getChart().setO1AxisSide(0);
chart.getChart().setO1MajorGridDisplay(true);
chart.getChart().setO1MajorGridStyle(0);
chart.getChart().setO1MinorGridDisplay(false);
chart.getChart().setFontSizeVC(chart.getChart().getO1Label(),1400);
// Y-axis
chart.getChart().setY1TitleString("Salary");
chart.getChart().setDisplay(chart.getChart().getY1Title(), true);
chart.getChart().setFontSizeVC(chart.getChart().getY1Title(),1400);
chart.getChart().setScaleMustIncludeZero(chart.getChart().getY1Axis(),false);
chart.getChart().setScaleMaxAuto(chart.getChart().getY1Axis(),true);
chart.getChart().setScaleMinAuto(chart.getChart().getY1Axis(),true);
chart.getChart().setGridStep(chart.getChart().getY1MajorGrid(),1);
chart.getChart().setY1MinorGridDisplay(false);
chart.getChart().setFontSizeVC(chart.getChart().getY1Label(),1400);
chart.render();
%>

Has anyone been successful in controlling label skipping when using 'setSeriesAreRows(false)' with JDeveloper 9i? I have repeatedly tested using setO1LabelAutoSkip() to no avail. This method is supposed to accept either 0 (no skipping), 1 (skip every other value) or 2 (set specific interval) for controlling the ordinal access labels. The documentation shows 0 as the default; however, when I run my code, the default, or using the method with 0, skips every other label. Using 1 skips every other label, and I have been able to skip two labels using 2 with setSkipCount() and setSkipBegin().
Below is code that works with Scott/Tiger. Help will be greatly appreciated.
D. Williams
<jbo:ApplicationModule id="Mypackage1Module"
configname="mypackage1.Mypackage1Module.Mypackage1ModuleLocal"
releasemode="Stateful" />
<jbo:DataSource id="ds_emp" appid="Mypackage1Module" viewobject="EmpView" />
<jbo:DataWebBean id="chart" datasource="ds_emp"
wbclass="oracle.jbo.html.databeans.ChartRenderer" />
<%
chart.setCommonScriptName("chart_common.jsp");
// graph basics
chart.getChart().setGraphType(chart.VERTICAL_ABSOLUTE_LINE);
chart.getChart().setDepthAngle(0);
chart.getChart().setDepthRadius(0);
chart.getChart().setSeriesAreRows(false);
chart.getChart().setUseOffScreen(false);
chart.getChart().setLegendDisplay(false);
chart.getChart().setTitleString("");
chart.getChart().setSubtitleString("");
chart.getChart().setFootnoteString("");
chart.setImageWidth(700);
chart.setImageHeight(265);
// Data sources
chart.setSeriesLabelColumnName("Ename");
chart.setDisplayAttributes("Sal");
// Data labels
chart.getChart().setDataTextDisplay(true);
chart.getChart().setDataTextPosition(0);
chart.getChart().setDataTextRadiusDefault(30);
chart.getChart().setFontSizeVC(chart.getChart().getDataText(),1200);
chart.getChart().setSeriesType(0,2);
chart.getChart().setLineWidth(chart.getChart().getSeries(1),1);
chart.getChart().setSeriesFillColor(0,new java.awt.Color(255,0,0));
// Ordinal-axis
chart.getChart().setScaleMinAuto(chart.getChart().getO1Axis(), true);
chart.getChart().setO1LabelAutoSkip(0);
chart.getChart().setGridStep(chart.getChart().getO1MajorGrid(),1);
chart.getChart().setO1AxisLineDisplay(true);
chart.getChart().setExcludeMaxLabel(chart.getChart().getO1Label(), false);
chart.getChart().setExcludeMinLabel(chart.getChart().getO1Label(), false);
chart.getChart().setO1AxisSide(0);
chart.getChart().setO1MajorGridDisplay(true);
chart.getChart().setO1MajorGridStyle(0);
chart.getChart().setO1MinorGridDisplay(false);
chart.getChart().setFontSizeVC(chart.getChart().getO1Label(),1400);
// Y-axis
chart.getChart().setY1TitleString("Salary");
chart.getChart().setDisplay(chart.getChart().getY1Title(), true);
chart.getChart().setFontSizeVC(chart.getChart().getY1Title(),1400);
chart.getChart().setScaleMustIncludeZero(chart.getChart().getY1Axis(),false);
chart.getChart().setScaleMaxAuto(chart.getChart().getY1Axis(),true);
chart.getChart().setScaleMinAuto(chart.getChart().getY1Axis(),true);
chart.getChart().setGridStep(chart.getChart().getY1MajorGrid(),1);
chart.getChart().setY1MinorGridDisplay(false);
chart.getChart().setFontSizeVC(chart.getChart().getY1Label(),1400);
chart.render();
%>

Similar Messages

  • Chart Legend Labels

    Hi all,
    It's extremely annoying to have to go thru all chart legend label displays and rename them to something else other than the formula.
    For example, I have a Sum of @Formula that's displaying and in order to change that, I have to go into every single chart and right click > edit label
    Is there a more round about way to do this update once?
    Thanks,

    yes that's annoying. try this if you are willing to try a workaround...
    1) put a crosstab on top of the legend that contains your formula as the row.
    2) while still in the crosstab expert, get rid of the gridlines, the cell padding
    3) exit the crosstab expert and change the row height to match the line height of the legend
    4) change the background of the crosstab so that you can't see the legend
    a bit more work, but it works.
    jw

  • How do I rotate chart axis labels?

    Trying to rotaet chart axis labels for the x-axis, but would like to know the same for the y-axis too. Know the solution for a text box, but doesn't seem to work for the axis labels.

    Hi Martin,
    The solution is the same for X and Y labels. Select the labels and then set the rotation angle, either in the Format Bar or in the Metrics Inspector.
    Jerry

  • Crystal Reports 2008 Pie Chart Data Labels

    Hi,
    I've been trying to figure out why I cannot get the option to put pie chart data labels in the center of each slice.  There's an option to place them there, but everytime I select it, the graph reverts to putting the data labels on the outside with leader lines.  I was able to do it once, for one pie chart, but have not been able to get it to work for any others.  I've even tried creating a pie with only two slices in case there's a slice size limit below which the data is placed outside.  There doesn't seem to be any rhyme or reason why it worked once and now won't work again.
    Thanks,
    -Jim
    Edited by: jwmckay on Apr 23, 2010 7:19 PM

    Hi Jim,
    The issue could be faced because of the 'Auto-arrange' layout option enabled from Chart Expert within the report.                                                                               
    This option allows Crystal Reports to reset the chart layout to its original size and position  
    To uncheck the 'Auto-arrange option':                                                                               
    - First Go to Chart Expert-                                                                               
    - Click on the Options Tab                                                                               
    - Uncheck Auto - Arrange                                                                               
    - Click OK                                                                               
    I hope this helps,
    Selenia

  • How to display PIE chart Axis label horizontally?

    Hi
    Currently my PIE chart axis label is displying in 2 lines. How make it to display in one line?
    Thank you

    hi,
    For Pie chart there will be no X-axis or Y-axis terms generally.
    Label/Text could be one of the following.
    Title?
    or Sub Title?
    or Foot note?
    Right Click -> Format Title . Reduce the font size such that it fits into a single line.
    Regards,
    Vamsee

  • Chart Axis: Label Renderer pixel width

    Am using custom label renderer for Chart Axis labels.
    CustomLabelRenderer extends label
    override   public function set data(value:Object):void
     if(value is AxisLabel){
    dataValue = String(value.text);
    else{
    dataValue = String(value);
    I would like to get the Width of the Label component in PIXELS on runtime.
    Can you please tell me how I can get the pixel width of the labels that gets updated when user changes the screen resolution.
    Please let me know ASAP.
    Thanks

    See this example and the related thread:
    http://apex.oracle.com/pls/otn/f?p=31517:222
    Basically, you need to customize the chart XML. That is quite easy to do.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • Please suggest how can we place chart series label evenly in Pie Chart of SSRS 2008

    Could you please suggest how can we place chart series label value evenly so that it doesnot overlap with each other and user can view the data properly.
    Please find  the attached  screenshot for the same.

    Hi SubhadipRoy,
    As Satish posted, the solution can achieve your goal. In addition, you can right click the Chart Series Labels and Series Label Properties, and then select Number in the left pane, finally select Scientific below the Category option. The data label may not
    overlay. Or you can enlarge the chart.
    Regards,
    Heidi Duan
    Heidi Duan
    TechNet Community Support

  • Waterfall chart data labels - not rendering in Flash

    I have a problem with the waterfall charts.  When I turn on the data labels, the charts fail to render in Flash - I get a axis and some garbled legend icons.  If I turn off the waterfall chart data labels, the problem goes away.  Clearly, there is some bug in the label coding. 
    Ken Jones

    Make sure you have the "Refresh before components are loaded" option checked on your QaaWS connection for the monthly data in the connection manager of Xcelsius.
    To do this go to the connection manager in Xcelsius.  Go to the connection you want to edit.  Click the "Usage" tab.  Then check the first check box that reads "Refresh Before Components Are Loaded".
    This will run that query as soon as the dashboard is loaded.  I think what may be happening to you now is that you have set a trigger cell of some kind that says, "When cell X becomes "XYZ" run the monthly data query.  But when the dashboard is first loaded cell X does not equal "XYZ" therefore the query does not run initially.  But then when you click the weekly tab and the back to the monthly tab you are setting cell X to "XYZ", therefore the query runs at that point.
    Hope this helps,
    Jeff
    Edited by: Jeff Hoffner on May 18, 2010 9:07 PM
    Edited by: Jeff Hoffner on May 18, 2010 9:07 PM

  • Chart label skipping

    Hi everyone,
    I've got an xml chart (Area) and I'd like to be able to do the following:
    display grid lines for every record
    display a label for every 48th record.
    My data is in the form of 48 time periods = 1 day, so ideally I would have a grid line for every time period, but only one label per day.
    Currently, I am only able to display one gridline for every label.
    Thanks in advance!
    Kieran

    Me too, in my SVG pie chart, the last row legend text was truncated. just like:
    deal size > 70k - 92.5%
    deal size
    I actually expected in the second row, deal size <= 70k ...
    What happened? and how can I control this, moreover the legend was displayed in the left upper of the region and cost a lot width in my screen. Can I change to display the legend in other place, eg. the bottom of the region or the chart?
    Anyone can help us about this?

  • Stacked Column Chart Data Labels Not Appearing

    I am using SetSytle in Actionscript to make the data labels in a stacked column chart appear inside but it's not working.
    A portion of the code I am using to create the chart is below:
                    //initialize column set for stacked columns
                    var colSet:ColumnSet = new ColumnSet();
                    colSet.type="stacked";
                     for each(var node:XML in _chartDP){
                         var k:int = 0;
                         //skip zero datapoints
                         if (parseInt(node.toString()) != 0) {
                             //if measure node does not exist, add as series
                             k = uniqueYCat(node.attribute("BillTo"));
                             if (k == -1){                                                        
                                    // Create the new column series and set its properties.
                                    var localSeries:ColumnSeries = new ColumnSeries();
                                    localSeries.setStyle("labelPosition","inside");
                                    localSeries.dataProvider = dataArray;
                                    localSeries.yField = node.attribute("BillTo");
                                    localSeries.xField = "ConfidenceStatus";
                                    localSeries.displayName = node.attribute("BillTo");
                                    localSeries.setStyle("showDataEffect", ChangeEffect);
                                    // Back up the current series on the chart.
                                    var currentSeries:Array = chart.series;
                                    // Add the new series to the current Array of series.
                                    currentSeries.push(localSeries);
                                    //Add Array of series to columnset
                                    colSet.series.push(localSeries); 
                                       //assign columnset to chart
                                    chart.series = [colSet];
    After some more research, I put a breakpoint inside ColumnChart.as in the following function:
        mx_internal function getSeriesLabelPos(series:Series):void
            if(series is ColumnSeries)
                var columnSeries:ColumnSeries = ColumnSeries(series);
                var position:String = columnSeries.labelPos;
                if(position == "inside" || position == "outside" || position == "none")
                    _needLabels = true;
            else if(series is ColumnSet)
                var setSeries:Array /* of Series */ = ColumnSet(series).series;
                for (var i:int = 0; i < setSeries.length; i++)
                    getSeriesLabelPos(setSeries[i]);
    the following line: var position:String = columnSeries.labelPos;
    returns postion as null. It looks like the setStyle is not passing the correct value to this function.
    Any ideas as to what is going on?

    chart appearance is controlled by xml files located in
    {cfroot}\charting\styles. the file for bar charts is
    default.xml
    you will want to:
    1) copy thisfile to your site's root or some other folder
    (i.e. same
    folder that the page displaying your chart is in)
    2) edit the file and change isHideOverlapped attribute of
    labelStyle
    property for xAxis to "false"
    3) point the STYLE attribute of your cfchart tag to this new
    file.
    hth
    Azadi Saryev
    Sabai-dee.com
    http://www.sabai-dee.com/

  • Crystal Report 2008 Area Chart Data Label Problem

    Stacked Area Chart (Layer Cake) Issues:
    We would like to use a Crystal Report (2008) Stacked Area Layer Cake chart to show the workload RPD's (Sum of Resources Per Day = Y value axis) and Data_Date of the study (M,Month of study date = X value axis, using fiscal year type cycle Oct - Sept).
    Each Stacked Area represents the workload RPD's for a single project, or group of projects.
    When showing labels or series information the chart becomes overloaded and not visible to read because there is over 400 data points.
    Is there a way to break this dataset down so that values and/or labels are visible, using the crystal report options available? To suppress multiple layers and show a single label per layer?
    We tried using the Color Highlight to group and display them by group and condition. The labels and series data points are still over crowded.
    We also need to overlay the chart with the Average FC Totals from an additional Crosstab report.  Is there a way to overlay this over the 1st layer of the report?

    Stacked Area Chart (Layer Cake) Issues:
    We would like to use a Crystal Report (2008) Stacked Area Layer Cake chart to show the workload RPD's (Sum of Resources Per Day = Y value axis) and Data_Date of the study (M,Month of study date = X value axis, using fiscal year type cycle Oct - Sept).
    Each Stacked Area represents the workload RPD's for a single project, or group of projects.
    When showing labels or series information the chart becomes overloaded and not visible to read because there is over 400 data points.
    Is there a way to break this dataset down so that values and/or labels are visible, using the crystal report options available? To suppress multiple layers and show a single label per layer?
    We tried using the Color Highlight to group and display them by group and condition. The labels and series data points are still over crowded.
    We also need to overlay the chart with the Average FC Totals from an additional Crosstab report.  Is there a way to overlay this over the 1st layer of the report?

  • Reporting Services Chart Legend Label

    I am creating a chart from analysis services cube data
    data is like this
    District            Year          Value
    A                    2001          10
    B                    2002          29
    (null)              2003           19
    The charts are creating fine but the legends are not showing fine. In series group i have also tried to use an expression to fix the null label.
    For null value the label is created as "Series 1". I don't want this to happen. for null value i want my chart legend to show as "State"
    Any help will be appriciated
    Regards

    Hi,
    You can use expression to achieve that. In series group, set the group on expression to be:
    =iif(Fields!<District>.Value is nothing, “State”, Fields!<District>.Value)
    Also, set the label expression to be:
    =iif(Fields!<District>.Value is nothing, “State”, Fields!<District>.Value)
    Hope this helps.
    Raymond

  • Pie Chart legend label icon

    Hi, is it possible to change the label icons of a Pie Chart legend? I have a pie chart with genre distribution % and would like to set the male and female genre icons instead of the color. 
    Thank you

    Hello Pedro,
    in general you can' t change the label icons in SSRS - I assume you mean with "label icons" the small colored rectangles indicating each of the sections in a pie chart. But I have a workaround for you: Simply not to use the build-in labeling mechanism
    of the chart, but to create an individual textbox with the needed symbols for your purposes. In that textbox you have to set an expression for showing the needed male or female symbols as Unicode-chars. There's a text function for that, I mean something like
    "=ChrW(&XXX)" is the appropriate expression. XXX has to be the character string of the Unicode-chartset, if you want e.g. the male symbol as an icon. Unfortunately, I can't post links, but it's quite easy to find via Bing or Google the needed
    chars or signs in the Unicode-Table (use e.g. "Unicode table" as search string and you find a great site for retrievaling chars and symbols in the Unicode-Table).
    Generally spoken, I wouldn't use pie charts at all, normally bar charts are the better choice in visualizing data - with bar charts it's easier to recognize skales than in a pie chart and you can often label bars in a direct way, so you don't need an extra
    legend.
    I hope I could help you, but feel free to ask me, if yo have further questions
    Robert 

  • Interactive Report Chart Missing Labels

    I have a simple horizontal bar chart on an Interactive Report... There are 22 bars but only half of them (11) have labels. Bars 1, 3, 5, 7, etc have labels. If I click on the other bars I can see their labels but this is of no use when printing. The same issue happens frequently in various other charts whenever there are more than a few items to display. Our users have to download the reports to Excel and create the charts there in order to print or make presentations.

    Hi Rick,
    The behaviour you are seeing, where not all labels are displayed, is expected given the size of the region the chart is being displayed in and the number of labels you wish to display. AnyChart will automatically handle the display of the labels in this case, and it is not possible to customise an Interactive Report chart to override this behaviour. My suggestion would be that you create a new Chart region, where you have more control over the chart you generate. Please refer to the section Creating Charts - http://download.oracle.com/docs/cd/E17556_01/doc/user.40/e15517/app_comp.htm#CHDFEJAB - in Chapter 8 - Adding Application Components of the APEX User's Guide for more information. Once you have generated your chart, you can increase the height of your chart on the Chart Attributes page, and this will allow for the display of additional labels on the X-axis of your chart. Alternatively, you could look at the option of using the AnyChart axis label Stager mode, as outlined in the online AnyChart documentation here: http://anychart.com/products/anychart/docs/users-guide/axes-labels-text-formatting.html#stager. As the mode name suggests, the positioning of the axis labels will be staggered, which will allow for the display of all of your labels without having to adjust the chart height. For your presentations, you can easily create the chart regions on the same page as your existing Interactive Reports, and you'll also have the ability to print the charts, save them as an image or as PDF.
    I hope this helps.
    Regards,
    Hilary

  • Oracle APEX Bar Chart: Missing labels

    Is there a way to get all the data labels to print for an Interactive bar chart? My bar chart has about 16 items. Only 9 of the labels display/print. All the labels are there if I hover over them but I would like to display them. Can I change the font size or something to get them to appear?
    Can I display more lines (so the chart doesn't fit on the screen)? Would this solve the problem?
    I am currently using APEX 3.2.0.00.27
    Thank you
    Rolf Petersen
    Edited by: SleepDeprivedInSeattle on Dec 9, 2009 11:00 AM

    If you are running CF9, check the <labelStyle isHideOverlapped="true"> property. If not, you could try slanting/wrapping the labels so they fit the space a bit better. Adjusting the chart size so they do fit is another option. 
    That said, you should still set reasonable limits for title length. If the titles are very long, you may want to abbreviate or truncate them after X characters.

Maybe you are looking for

  • Error in report "8.2 ORacle Essbase- Source Blending Page"

    Hi, I got an error in the report in "8.2 ORacle Essbase- Source Blending Page" after i deployed sample core and aslo configured with hyperion Essbase cubes related to this dashboard page. The main issue i was struggling is i have 2 more working insta

  • List View Unzipped

    I have a question about installing List View.   In the plug-in directions at www.photographers-toolbox.com it says "Unzip the download.  You should now have a plugin called 'xxx.lrplugin.'  If your unzip program didn't keep this parent directory, the

  • How can I boot from an external HDD that has an OS install on it?

    Hello, I have Windows 8.1 installed on my 500GB LaCie external HDD and I am trying to boot my mac from it. I haven't had any success. Thus far, I am able to get to the Startup Menu from holding the option key and Windows does show up. However, when I

  • Generate two alternating PWMs with one counter of 6025E

    I am using LabView 6.0.2 with a PCI-6025E card. My requirement are to put out a pwm signal with 250Hz. The problem is, that for example, first a PWM with exact 100 pulses of duty cycle 1% is needed, after that exact 5 pulses of 10% duty cycle. These

  • Ever since updating to OSX Mountain Lion, I can't access my FCPX files

    When I went into FCPX after updating to OSX Mountain Lion, I was told I needed to update my FCP files or they wouldn't play. I clicked update and left it running all night (I have a lot of large files). The next day, after rebooting, I tried to acces