Increase width of bars in svg chart

I've created an svg bar chart which shows the number of actions grouped by department and status. Each department has about 4 bars.
This works reasonably well but all the bars appear to the left hand side of the x-axis and are quite small in width. There is plenty of blank space to the right so I want to increase the width of all the bars so that they are more visible.
Does anyone know how I can does this?

Hi,
I am trying to increase the width of bars in bar graph developed in 10g reports. I found your thread which says please find in my previous posting.
I could not find. can you please enlighten me on this question
You help will be truly appreciated.
Thank you,

Similar Messages

  • Unable to edit wizard created SVG chart query

    Hi,
    I have a problem with an SVG chart that one of the HTML DB wizards created.
    On the generated page the wizard created a selection list item named P30_SHOW.
    This item allows to choose a table column based on which an SVG pie chart is generated.
    The automatically generated chart query is:
    select 'f?p=106:26:&SESSION.:::RP,26:P26_CHART_FILTER,P26_VALUE:'||:P30_SHOW||','||"&P30_SHOW.",
    "&P30_SHOW.", count(*)
    from "TESTTABLE"
    group by 'f?p=106:26:&SESSION.:::RP,26:P26_CHART_FILTER,P26_VALUE:'||:P30_SHOW||','||"&P30_SHOW.",
    "&P30_SHOW."
    The page with selection list and chart worked fine at first.
    But then, when I edited the chart's width on the respective 'SVG Chart Attributes' tab and pressed
    the 'Apply Changes' button I got the following error:
    'Query cannot be parsed, please check the syntax of your query. (ORA-01741: illegal zero-length identifier)'
    I only changed the chart's width, I did not touch the chart's query at all.
    My theory is that HTML DB tries to validate the correctness of the chart's query.
    However, the query references a session variable (P30_SHOW) that is
    not defined in my development session. Consequently, the query is not valid in the
    development context and is refused by HTML DB.
    Now I have two questions:
    1. Is my analysis correct, or are there different reasons for the error I do encounter?
    2. How can I get around the problem? I'd like to use the automatically generated charts,
    but also want to be able to edit them.
    Thanks in advance for helpful comments.
    Regards Holger

    Scott,
    I imported the application using the import/install process. A new application ID was created but was not changed in the chart query. The link was generated by the application wizard. The chart query link is below:
    select 'f?p=103:2:&SESSION.:::RP,2:P2_CHART_FILTER,P2_VALUE:'||:P6_SHOW||','||"&P6_SHOW.", "&P6_SHOW.", count(*)
    from "O_DATA_COLLECTION_POINTS"
    group by 'f?p=103:2:&SESSION.:::RP,2:P2_CHART_FILTER,P2_VALUE:'||:P6_SHOW||','||"&P6_SHOW.", "&P6_SHOW."
    The new application id is 101. It is impossible to modify this query because of message:
    "1 error has occurred
    Query cannot be parsed, please check the syntax of your query. (ORA-01741: illegal zero-length identifier"
    This happens even if nothing is changed in the query but just the apply changes button is pressed.
    I had a similar problem with the breadcrumbs menu. The link was also pointing to the old application id 103 instead of the new application id 101. The way I got round that was to delete the breadcrumb template and create a new one. I then had to go through all the pages that referenced that and reset the breadcrumbs menu template in the region definition.
    Thanks Arjen

  • To increase the width of Bar in OLE excel bar chart

    Hi All,
    I am using the OLE method to bring the data of my internal table onto an excel sheet in the Vertical Bar graph.
    The data is populated correctly but the width of the bars is very less due to which I am unable to differentiate between different colours.
    How can i increase the width of the bars?
    Here is a piece of my code.
    GET PROPERTY OF gf_application 'Charts' = gf_charts .
      CALL METHOD OF gf_charts 'Add' = gf_chart .
      CALL METHOD OF gf_chart 'Activate' .
      SET PROPERTY OF gf_chart 'ChartType' = '52' . "Vertical bar graph
      CALL METHOD OF gf_chart 'SetSourceData'
      EXPORTING #1 = gf_cells
      #2 = 1.
    Please Help!

    Hi,
    I am trying to increase the width of bars in bar graph developed in 10g reports. I found your thread which says please find in my previous posting.
    I could not find. can you please enlighten me on this question
    You help will be truly appreciated.
    Thank you,

  • Increase gap between bars in SSRS 2008 charts

    Hi,
    I'm converting from Crystal Reports 11 to SSRS 2008. In the reports I have bar charts. In CR11 I could set a gap interval between the bars so there would be some white space between each data element. How can I set a gap interval or create white space between each data bar in the charts. I have tried setting custom attributes on the bars and all it did was adjust the width of the bars.  Thanks.

    Hi sjmala,
    Based on your description, you want to increase a gap interval between the bars in the chart. Just as Jason Thomas said, you can change the value of PointWidth Property to increase or decrease the interval relatively. However if your chart also has Series Group not just Values and Column Groups, the different series chars at one scale on X-Axis will still be side by side without interval after changing the PointWidth Property, to work around this issue, the following detailed steps are for your reference:
    1. Right-click the whole chart, and then select the Series Properties.
    2. Switch to Border tab, you can set the line attributes of the border on the left side.
    3. Select "Default" in the Line style drop-down list and "White" in the Line color drop-down list,
    4. Set the value of Line width to '1pt'or '1.5pt'...
    5. Click OK, and preview the chart you will see 2*'1pt' or 2*'1.5pt' interval between the chars at the same scale on X-Axis.
    The following picture is produced using above steps:
    Thanks,
    Challen Foo

  • SVG CHart error ORA-20001 with Stacked Bar Chart HTML DB 1.6.0.00.87

    Hi,
    during I put a How-To into execution (How To Create a Stacked Bar Chart) I'll get the following error code:
    SVG Chart error:ORA-20001:line_Chart error:ORA-20001:
    get_data error:ORA-20001:Parse error:ORA009
    (see http://www.oracle.com/technology/products/database/htmldb/howtos/index.html)
    This Situation occurs when i add a second series to the
    chart. The first series works fine. I've used the following SQL-Statement:
    select null l, sales_month, revenue from (select to_char(o.order_timestamp,'Mon YYYY') sales_month, sum(oi.quantity * oi.unit_price) revenue, to_date(to_char(o.order_timestamp,'Mon YYYY'),'Mon YYYY') sales_month_order from DEMO_PRODUCT_INFO p, DEMO_ORDER_ITEMS oi, DEMO_ORDERS o where o.order_timestamp <= (trunc(sysdate,'MON')-1)and o.order_timestamp > (trunc(sysdate-365,'MON'))and o.order_id = oi.order_id and oi.product_id = p.product_id and p.category = 'Audio' group by to_char(o.order_timestamp,'Mon YYYY') order by sales_month_order);
    Please help.
    Regards
    Detlev

    Well,
    I've just been struggling for a couple of hours with a cluster bar chart giving the same problem.
    The problem is definitely with "ORDER BY".
    I guess the graphing chart is taking the sql query as a string and then does some other manipulation on it which ends abnormally when you include the order by clause.
    I presume that if you embed the query in a
    SELECT * FROM (<actual query with order by>)
    it might mitigate the problem.
    Bye,
    Flavio

  • Adjust width of bar in bar graph

    Hi,
    I am trying to increase the width of bars in bar graph developed in 10g reports. I found your thread which says please find in my previous posting.
    I could not find. can you please enlighten me on this question
    You help will be truly appreciated.
    Thank you,

    If you are refering to bar plots, you have 3 bar styles (thin, wide but not connected, wide), accessible using the plot.barstyle property node, or directly witha right click on the legend.
    Not sure that this is what you are looking for...
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        

  • Dynamic Query in SVG Chart

    Hi,
    I have SVG Chart, Chart Type: Cluster Bar, Vertical. I have 4 Chart Series. First:
    SELECT null link, X.MESIC
    FROM [email protected]
    WHERE ..........
    I have given dynamic Chart Series Query:
    'SELECT null link, X.MESIC
    FROM '||adm||'.[email protected]
    WHERE .........."
    but Apex write error:
    1 error has occurred
    Failed to parse SQL query
    Please help as in what am i missing?

    You can either use a SQL query or a function returning SQL query as the source of your chart. Just adding some quotes to a query however doesn't make it dynamic nor a function. Try something like this:
    begin
    return 'select null, ename, sal from emp';
    end;
    Edit your existing chart source, and check "Save query without validation", so that APEX doesn't attempt to parse and validate the query when saving.
    Hope this helps,
    Marc

  • Plot line, bar and pie chart

    Anyone can let me know where can i learn or tutorial on how to plot line, bar and pie chart by using java2D... (no third-party software)....
    thanks in advance.

    Here's a pie chart app I made for an earlier question:
    import java.awt.*;
    import java.awt.font.*;
    import java.awt.geom.*;
    import javax.swing.*;
    public class PieChart {
      public static void main(String[] args) {
        int[] data = {
          18, 95, 102, 87
        PieCharter pie = new PieCharter();
        pie.enterData(data);
        JFrame f = new JFrame("Pie Chart");
        f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        f.getContentPane().add(pie);
        f.setSize(400,300);
        f.setLocation(300,300);
        f.setVisible(true);
    class PieCharter extends JPanel {
      int[] data, percents;
      int dataTotal;
      final int
        PAD = 25,
        R_PAD = 5;
      public PieCharter() {
        setBackground(Color.white);
      public void paintComponent(Graphics g) {
        super.paintComponent(g);
        Graphics2D g2 = (Graphics2D)g;
        g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
                            RenderingHints.VALUE_ANTIALIAS_ON);
        Font font = new Font("lucida sans unicode", Font.PLAIN, 16);
        g2.setFont(font);
        FontRenderContext frc = g2.getFontRenderContext();
        int width = getWidth();
        int height = getHeight();
        int cx = width/2;
        int cy = height/2;
        int dia = (int)Math.min(width, height) - 2*PAD;
        g2.draw(new Ellipse2D.Double((width - dia)/2, (height - dia)/2, dia, dia));
        // draw zero datum
        double radians = 0;
        int x = cx + (int)((dia/2) * Math.cos(radians));
        int y = cy - (int)((dia/2) * Math.sin(radians));
        g2.draw(new Line2D.Double(cx, cy, x, y));
        String s;
        int dataWidth, dataHeight, deltaR, rXInc, rYInc;
        for(int i = 0; i < data.length; i++) {
          radians += 2*Math.PI * data/dataTotal;
    x = cx + (int)((dia/2) * Math.cos(radians));
    y = cy - (int)((dia/2) * Math.sin(radians));
    g2.draw(new Line2D.Double(cx, cy, x, y));
    s = String.valueOf(percents[i]) + "%";
    dataWidth = (int)font.getStringBounds(s, frc).getWidth();
    dataHeight = (int)font.getLineMetrics(s, frc).getAscent();
    deltaR = (int)Math.sqrt(dataWidth*dataWidth + dataHeight*dataHeight)/2 + R_PAD;
    rXInc = (int)(deltaR * Math.cos(radians));
    rYInc = (int)(deltaR * Math.sin(radians));
    x += rXInc;
    y -= rYInc;
    x -= dataWidth/2;
    y += dataHeight/2;
    g2.drawString(s, x, y);
    s = String.valueOf(data[i]);
    dataWidth = (int)font.getStringBounds(s, frc).getWidth();
    dataHeight = (int)font.getLineMetrics(s, frc).getAscent();
    x = cx + (int)((dia/4) * Math.cos(radians - 2*Math.PI * data[i]/(2*dataTotal)));
    y = cy - (int)((dia/4) * Math.sin(radians - 2*Math.PI * data[i]/(2*dataTotal)));
    x -= dataWidth/2;
    y += dataHeight/2;
    g2.drawString(s, x, y);
    private void prepareData() {
    for(int i = 0; i < data.length; i++)
    dataTotal += data[i];
    percents = new int[data.length];
    int dataPlus = 0;
    for(int i = 0; i < data.length; i++) {
    dataPlus += data[i];
    percents[i] = Math.round(100 * dataPlus/dataTotal);
    public void enterData(int[] data) {
    this.data = data;
    prepareData();
    repaint();

  • SVG chart: length of axis-labels

    Apparently there is a limitation on the length of x- or y-axis labels for a SVG chart.
    Does anybody know how to display axis labels that are larger than 15 characters? Is there something that you can do with the CSS to increase the limit?

    Hi Jan,
    not sure you are on the same as I was... but found in other thread that on the series page there is maximum rows setting defaulting to 15.
    Hope that helps.
    ta
    alberto

  • I would like to change the colour of bars in a chart without losing the underlying default texture associated with my chosen theme. None of the 3D textured fills offered in "Chart Colors" match the textured fill of the theme. Any suggestions?

    I would like to change the colour of bars in a chart without losing the underlying default texture associated with my chosen theme. None of the 3D textured fills offered in "Chart Colors" match the textured fill of the theme. Any suggestions?

    Thanks Gary, but no, that does not work. First of all, I can't select each bar individually. When I click on one bar, all three bars are selected.
    When I use "inspector > graphic" I have 5 fill options: none, color, gradient, image, tinted image. The default selection for the theme I'm using is image. What I would like to use for my charts is the same image that this theme uses for table headers. It has the same texture as the chart, but a different colour. Using anything but image or tinted image removes the texture from the fill.
    I have found I can do one of two things. I can select tinted image from the fill selections in "inspector > graphic" or I can select 2D Image Fills from "inspector > chart > chart colors". The first choice does not allow me to match the table header colour because it only allows me to apply a tint to the existing colour and adjust its opacity. The existing colour has too much influence on the fill, so I can't find an RGB adjustment that will match the table header colour. The image selections from "inspector > chart > chart colors" do not quite match the colour or the texture. Again, I can try to tint the image, but I still can't get it to match and the texture is not the same anyway.
    The image I want to use obviously exists in the software as it is an attribute of the theme, but for some reason is inaccessible. The other angle I have tried is to edit the theme, but I can't figure out how to do that either.

  • How to change the width of bar ?

    i want to plot the bar graph, that we can change the width of bar.
    exp: I got y1,y2,y3 : the length of each bars. x2-x1 , x4-x3,x6-x5 :  is the width of each bars.
    How can i plot like the picture? I saw in help index the formular node : bar(x,y, width) , maybe it's possible. Any better ways to do it? Thanks
    Attachments:
    naamloos.PNG ‏10 KB

    see how you can change the widths
    Message Edited by JoeLabView on 11-23-2007 09:01 AM
    Attachments:
    2ndExampleBarGraph.PNG ‏18 KB

  • Does not allow to increase width of the filed

    hi all,
    well i have report that is designed by someone else in report 6i, now i want to change the width of one filed , that is i want to increase width but it does not allow me to change it
    how to change it??
    thanks
    abhi.

    There can be two reasons...
    1. Check the outer frame(s) for that field. I mean if that field exists in repeating frame or main frame then increase the frame size first then you can increase the field side.
    2. There is one button in the LAYOUT SECTION at top called FREEZE PANES. If it is pressed mean if you will resize the field size then frame side will be automatically adjust. So, suppose you replay LAYOUT section's size is not allowing you yo increase the frames out of the LAYOUT section. If it is then increase the layout section size and try..
    -Ammad

  • SVG: Chart error: ORA-20001:

    Hi,
    We are using 1.6.1.00.02 . I got a problem with SVG chart. The query returns following error:
    SVG: Chart error: ORA-20001: bar_char_error ORA-20001: get_data_error: ORA-20001 Fetch error: ORA-01782
    The column names are correct. The same query works perfectly in HTMLDB reports.
    Following is the query:
    SELECT
    TRANSACTION_dATE,
    SUM(SALES) SALES,
    SUM(COST_OF_SALE) COST_OF_SALE
    fROM HTML_SALES_REPORT_View
    WHERE transaction_date between
    '01-DEC-2004' and '31-DEC-2004'
    GROUP BY TRANSACTION_DATE
    Help will be appreciated.
    Regards,
    Hamayun

    Hi,
    you have to use the following syntax:
    SELECT link, label, value
    Example
    SELECT
    null link, TRANSACTION_dATE label,
    SUM(SALES) value ,
    fROM HTML_SALES_REPORT_View
    WHERE transaction_date between
    '01-DEC-2004' and '31-DEC-2004'
    GROUP BY TRANSACTION_DATE
    And to display your cost_of_sale data you have to add a second series like this:
    SELECT
    null link, TRANSACTION_dATE label,
    SUM(COST_OF_SALE) value
    fROM HTML_SALES_REPORT_View
    WHERE transaction_date between
    '01-DEC-2004' and '31-DEC-2004'
    GROUP BY TRANSACTION_DATE
    because you can't display two lines with just one query.
    I hope this will help.
    Regards, Jörg

  • Error Bars in WAD Chart

    All:
    Can anyone tell me if it's possible to add Y Error Bars to a chart in the Web Application Designer v3.5?  I'm able to add a trendline to the data series, but do not see an option for error bars.
    Thanks in advance...
    KB

    Did you have get this issue resolved or answered?

  • SVG chart x axis values out of order

    Hi
    I have an application built in apex 3.0 that is running from apex 3.1.
    It has an SVG chart with an x axis that displays the dates as
    01-JUN-2008
    01-MAY-2008
    02-JUN-2008
    02-MAY-2008
    03-JUN-2008 etc.
    what is wanted is that it displays the dates as
    01-MAY-2008
    02-MAY-2008
    01-JUN-2008
    02-JUN-2008
    03-JUN-2008 etc.
    I did not build this application so how do I start to debug this chart and get it to display the dates in sequential order.
    Sorry, I know I have probably not given you much info but hopefully you can give me some pointers.
    regards
    Tony

    Hi Tony,
    Did you find your answer?
    Try looking at this post.
    order x-axis in svg-graph by date
    you will need to create a subqueary
    something like
    SELECT DATE, OTHER1
    FROM (SELECT DATE, sum(OTHER) as OTHER1
    FROM MY_TABLE
    group by DATE)
    order by DATE
    This worked for me.
    Peter

Maybe you are looking for

  • Problem with Capturing a Table

    When I have a function that refers to a table outside of the sheet that I am working on, and I try to capture that table so I can use it over again on another sheet, it does not save any functions that reference the other table outside of the one tha

  • HP C510A eStation Printer - Zeen: Not Connected - Can No Longer Connect To My Wireless Network

    Up until a couple of weeks ago, my C510A was working well.  Every so often the wireless sync would fail and I would have to resync the Zeen tablet, or unplug/replug back in the printer to regain sync, but now...  Nothing! My Firmware is: ZEP1CN1130AR

  • File Content Conversion Parameters in FIle Adapter

    Hi I am doing a scenario - XML file to Text file using File content conversion parameters in Receiver File Adapter Channel. I given FCC Parameters like: DATA.addHeaderLine - '0' DATA.fieldSeparator - , DATA.endSeparator - 'nl' But im getting error in

  • Help with Recovery and Time machine

    So a friend of mine sent me her laptop to change hard drives.  She also sent her Time machine external HDD.  I used her drive as a recovery disc using the Lion recovery tool.  I didnt see or didnt read any where that stated the drive would be unusabl

  • Once again problems with Netscape 4

    Hi, I have an jsp with a form inside. The form request is handled by a servlet. But when running the jsp from Netscape4, there are no parameters sent with the request object. Why is this? With the Internet Explorer I have no problems. The parameters