Draw out of scale values on y-axis

Hi,
Can anyone please tell me is there any way to draw out of scale values on y-axis?
Thanks in advance.
Thanks,
Madhuri
Edited by: B Madhuri on Jun 15, 2009 8:50 AM

Please re-post if this is still an issue or purchase a case and have a dedicated support engineer work with you directly

Similar Messages

  • How to read out the scale values of an intensity graph?

    My aim is to read OUT the scale ranges (Max and min values DISPLAYED) of an intensity graph.
    I want to do a scan of an area, display the result in the graph, graphically zoom in on something interesting and then use the zoom coordinates to define the area for the next scan.
    Is that possible, and how?
    If impossible, is there a work-around?
    Solved!
    Go to Solution.

    Use the "XScale.Range" and "YScale.Range" property nodes. 
    www.movimed.com - Custom Imaging Solutions
    Attachments:
    Scale Ranges.vi ‏13 KB

  • Change the Business Graphic Y-axis from decimal scale value to integer

    Hi,
    I am trying to get rid of the decimal points of the Y axis scale to integer.
    The scale value is currently showing like below:
    13.86
    10.395
    6.93
    3.465
    (This actual data set is currently fall between 3.xxxx to 12.xxxx)
    I want the scale label to display in integer, like this:
    15
    12
    9
    6
    3
    or
    13
    10
    6
    3
    This is determined dynamically as I have made the below settings.I am mapping the seriesSource of the Percentage BusinessGraphic to a node of attributes type of decimal.
    In the Chart Designer, I am setting the Y Value Axis configuration as below:
    Minimum  value: 0
    Minumum calculation: Automatic
    Maximum value: 100
    Maximum Calculation: Automatic
    Can you advise me how I can control the graph Y axis scale label to display in integer while I am mapping to a node of decimal data (for percentage values)?
    Thanks,
    KC

    Hi, Poojith.
    After making the below change:
    1. The "Scaling Type" in the "Value Axis" of the Chart Designer is Linear.
    2. I converted the type of the attribute bound to the SimpleSeries to new Decimal(double)
    I am still not able to achieve what I want. I am checking the value of the Value Axis --> Line --> Format.
    Based on the field description ("Specifies the format of the label output"), it seems like it is the value I should change. It is currently BLANK.
    Let me try it out. Please advise if you have any information on the Format string pattern I should use.
    Thanks,
    Kent

  • Set scale values when zoom out

    Hi!
    I have a XY Graph and I want it to have three different scale ranges depending on a case structure. So, for example, if it's case 1, I have the xy graph X.minimum = 1,234 and xy graph X.maximum = 10,789 and so on.
    I want to be able to zoom the graph but then when I zoom out to see all the points, I want it to have the same range I defined. I have the autoscale turned off and when I do the zoom out, it shows me different minumum and maximum values....
    Any help?

    Hello Zephirus,
    When you ask a zoom out, write the scale value that you define, using a property node. To get it, right click on the XY graphe terminal, in the diagram, then select Create >> Property node >> X (or Y) Scale >> Range then All elements, or just the elements you need to coerce.
    Let me know you progression,
    Message Edité par Mathieu R. le 11-14-2006 02:52 PM
    .mrLeft{float:left} .mrInfo{border-left:solid 1px #989898;font-size:x-small;color:#989898}
    Mathieu R.  
      CTD - Certified TestStand Developer / Développeur TestStand Certifié  
      CLAD - Certified LabVIEW Associate Developer  
    Attachments:
    PropScaleXY.JPG ‏7 KB

  • Visual Composer 7.0-Change the Y-axis from decimal scale value to integer

    Hi Experts,
    I'm new in Visual Composer 7.0, my report is work fine, but when I want to show the data in bar-chart, the values on y-axis are 0.0, 0.4.0.8,1.2,1.6.2.0 but i want like 1,2,3,4.
    Normally, this happen when values on y-axis less than 5, if more than 5, it will turn to 1,2,3,4. (which i expected)
    Inside my function module, I set all the data as integer already..
    I read through some suggestions in the forum, they suggest using 'Fixed range' and set the interval size, but need to include min & max value. But, inside my program, min value & max value has to be automatically adjusted, ie i can not set the values for those.
    Please suggest solution for me, need it urgently..
    Thanks a lot!
    Best regards,
    Derrick

    Hi,
    first of all: please close this post. It is definitely the wrong forum. Your second thread regarding this is in the right forum.
    Secondly: SDN Moderators prefer to move threads from one forum to another instead of having duplicated posts. You as a user cannot move but moderators can do - so contact your forum moderator and he may move it.
    Regards
    Anja
    (Moderator of VC forum)

  • Flex column chat's columnset doesn't scale properly in vertical axis

    Hi All,
    I createda column chart having serieses in column set and this colun set is mapped to a custom vertical axis.
    Issue:- This custom vetical axis only show the default value from 0 to 100 instead of its own min max value.
    The sample code are given below
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" minWidth="955" minHeight="600"
                                            creationComplete="application1_creationCompleteHandler(event)" xmlns:local="*">
    <mx:Script>
                        <![CDATA[
                                  import mx.charts.AxisRenderer;
                                  import mx.charts.ColumnChart;
                                  import mx.charts.LinearAxis;
                                  import mx.charts.series.ColumnSeries;
                                  import mx.charts.series.ColumnSet;
                                  import mx.charts.series.LineSeries;
                                  import mx.collections.ArrayCollection;
                                  import mx.events.FlexEvent;
                                  [Bindable] public var SMITH:ArrayCollection = new ArrayCollection([{date:10, close:41.87, open: 30},
                                            {date:20, close:45.74, open: 40},
                                            {date:30, close:42.77, open: 60},
                                            {date:40, close:48.06, open: 50}]);
                                  [Bindable] public var DECKER:ArrayCollection = new ArrayCollection([{date:10, close:157.59},
                                            {date:20, close:160.3},
                                            {date:30, close:150.71},
                                            {date:40, close:156.88},]);
                                  private var myChart:ColumnChart = new ColumnChart();
                                  protected function application1_creationCompleteHandler(event:FlexEvent):void
      // VERTICAL AXIS
                                            var verticalAxisLeft:LinearAxis = new LinearAxis();
                                            var verticalAxisRight:LinearAxis = new LinearAxis();
                                            var verticalAxisRendererLeft:AxisRenderer = new AxisRenderer();
                                            var verticalAxisRendererRight:AxisRenderer = new AxisRenderer();
                                            verticalAxisRendererLeft.axis = verticalAxisLeft;
                                            verticalAxisRendererLeft.placement = 'left';
                                            verticalAxisRendererRight.axis = verticalAxisRight;
                                            verticalAxisRendererRight.placement  = 'right';
      // SERIES
                                            var newSeries:Array = new Array();
                                            var columnset:ColumnSet = new ColumnSet();
                                            columnset.type = 'stacked';
                                            var columnSeries:ColumnSeries = new ColumnSeries();
                                            columnSeries.dataProvider = SMITH;
                                            columnSeries.yField = "close";
                                            columnSeries.displayName = "SMITH_close";
                                            columnset.series.push(columnSeries);
                                            var columnSeries1:ColumnSeries = new ColumnSeries();
                                            columnSeries1.dataProvider = SMITH;
                                            columnSeries1.yField = "open";
                                            columnSeries1.displayName = "SMITH_open";
                                            columnset.series.push(columnSeries1);
                                            columnset.verticalAxis = verticalAxisLeft;
                                            newSeries.push(columnset);
                                             var lineSeries:LineSeries = new LineSeries();
                                            lineSeries.dataProvider = DECKER;
                                            lineSeries.yField = "close";
                                            lineSeries.verticalAxis = verticalAxisRight;
                                            lineSeries.displayName = "DECKER";
                                            newSeries.push(lineSeries);
                                            myChart.verticalAxisRenderers = [verticalAxisRendererLeft,verticalAxisRendererRight];
                                            myChart.series = newSeries;
                                            myChart.showDataTips = true;
                                            chartContainer.addChildAt(myChart, 0);
                        ]]>
    </mx:Script>
    <mx:Panel id="chartContainer" title="Column Chart With Multiple Axes">
                        <mx:Legend dataProvider="{myChart}"/>
    </mx:Panel>
    Thanks in advance

    Hi DeanLoganBH,
    Thanks for ur answare however my problem is littlebit different. According to u if i set the min and max value manually the axis value units are showing perfectly but the column draw region are not in properly. please have a look to the attached screen shot of the chat and the sample code as well.
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" minWidth="955" minHeight="600"
                                            creationComplete="application1_creationCompleteHandler(event)" xmlns:local="*">
    <mx:Script>
                        <![CDATA[
                                  import mx.charts.AxisRenderer;
                                  import mx.charts.ColumnChart;
                                  import mx.charts.LinearAxis;
                                  import mx.charts.series.ColumnSeries;
                                  import mx.charts.series.ColumnSet;
                                  import mx.charts.series.LineSeries;
                                  import mx.collections.ArrayCollection;
                                  import mx.events.FlexEvent;
                                  [Bindable] public var SMITH:ArrayCollection = new ArrayCollection([{date:10, close:41.87, open: 30},
                                            {date:20, close:45.74, open: 40},
                                            {date:30, close:42.77, open: 60},
                                            {date:40, close:48.06, open: 50}]);
                                  [Bindable] public var DECKER:ArrayCollection = new ArrayCollection([{date:10, close:157.59},
                                            {date:20, close:160.3},
                                            {date:30, close:150.71},
                                            {date:40, close:156.88},]);
                                  private var myChart:ColumnChart = new ColumnChart();
                                  protected function application1_creationCompleteHandler(event:FlexEvent):void
      // VERTICAL AXIS
                                             var verticalAxisLeft:LinearAxis = new LinearAxis();
                                            verticalAxisLeft.autoAdjust = true;
                                            verticalAxisLeft.minimum = 0;
                                            verticalAxisLeft.maximum = 120;
                                            var verticalAxisRight:LinearAxis = new LinearAxis();
                                            var verticalAxisRendererLeft:AxisRenderer = new AxisRenderer();
                                            var verticalAxisRendererRight:AxisRenderer = new AxisRenderer();
                                            verticalAxisRendererLeft.axis = verticalAxisLeft;
                                            verticalAxisRendererLeft.placement = 'left';
                                            verticalAxisRendererRight.axis = verticalAxisRight;
                                            verticalAxisRendererRight.placement  = 'right';
      // SERIES
                                            var newSeries:Array = new Array();
                                            var columnset:ColumnSet = new ColumnSet();
                                            columnset.type = 'stacked';
                                            var columnSeries:ColumnSeries = new ColumnSeries();
                                            columnSeries.dataProvider = SMITH;
                                            columnSeries.yField = "close";
                                            columnSeries.displayName = "SMITH_close";
                                            columnset.series.push(columnSeries);
                                            var columnSeries1:ColumnSeries = new ColumnSeries();
                                            columnSeries1.dataProvider = SMITH;
                                            columnSeries1.yField = "open";
                                            columnSeries1.displayName = "SMITH_open";
                                            columnset.series.push(columnSeries1);
                                            columnset.verticalAxis = verticalAxisLeft;
                                            newSeries.push(columnset);
                                             var lineSeries:LineSeries = new LineSeries();
                                            lineSeries.dataProvider = DECKER;
                                            lineSeries.yField = "close";
                                            lineSeries.verticalAxis = verticalAxisRight;
                                            lineSeries.displayName = "DECKER";
                                            newSeries.push(lineSeries);
                                            myChart.verticalAxisRenderers = [verticalAxisRendererLeft,verticalAxisRendererRight];
                                            myChart.series = newSeries;
                                            myChart.showDataTips = true;
                                            chartContainer.addChildAt(myChart, 0);
                        ]]>
    </mx:Script>
    <mx:Panel id="chartContainer" title="Column Chart With Multiple Axes">
                        <mx:Legend dataProvider="{myChart}"/>
    </mx:Panel>
    </mx:Application>
    In the above image the tooltip display Smith_Close value is 41.87 however it's pillar vertical axis maped with value nearly  28. and the total value is 71 but it map with below 50 in vertical axis. which seems visually inconsistent.
    Problem:- why the column set is not calculate min and max value automatically and scale the colums appropiatly  in case of custom axisrenderer however it is working fine default axis rendere.
    Again the calculation of min max is little bit complex when my column set is containing more serieses and thereir value is varies in negative and positive side.
    DeanLoganBH, if is there any point is not understandable please let me know..
    Thanks in advance

  • SSRS 2008 - create the interval values in y-axis dynamically

    Hi All - 
    I have a report which has number values in y-axis and date in x-axis. This is a clustered column chart, the problem is for a particular date if one of my value is very huge say (in Thousands, Ex: 10000) and another is small (Ex: 120). In this case my small
    value bar is hardly visible.
    Hence in this case, I was looking around for an option like below, the y-axis interval needs to change dynamically based on value (i.e) until a threshold value the interval should be fixed say incremented by 120, once it reaches a threshold (Ex: 360) it
    should be auto (i.e) if the max value for that date is 3800 after 360 the interval needs to be in thousands or more based on the need.
    So based on the above explanation i would want the values like below for my y-axis -> 120, 240, 360, 2000, 4000.
    Please let me know in if this is possible

    Hi smurug,
    Based on my understanding, you are creating a 3-D Clustered column. And you want to make the Y-axis values distribute uniformly, right?
    In Reporting Services, there is a scale break feature which can display two distinct ranges in the same chart area, then to make Y-axis values distribute uniformly. However, this feature is not supported in 3-D Clustered columns.
    For more information, please refer to this article:
    Displaying a Series with Multiple Data Ranges on a Chart (Report Builder and SSRS).
    In your scenario, if you want to make Y-axis values distribute uniformly, you can add a secondary vertical axis to display those too larger values. Please refer to steps below:
    1. Go to Series Properties, enable secondary vertical axis, then design the report like below:
    2. Preview the report.
    Reference:
    Adding a Secondary Axis to a SSRS Chart
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu
    Qiuyun Yu
    TechNet Community Support

  • Charts - More then 15 value in X axis

    Hi guys,
    I couldn't find how to show more then 15 value in X axis in 2D column chart. It only shows 15 values in default. I searched Chart xml but i couldnt find that which code block i need to change..
    Could you pls help me.?
    Thanks

    I just find out.
    There is an option to set Maximum Rows. It is on the series query editing page under the query text region..
    Thnks

  • In chart (graph), How to set scale value dynamically(user input scale val.)

    Hi ,
    I am using Crystal Reports XI R2.
    I have specified scale value but user is asking he can decide scale value while running the chart like Y-axis major interval (inclement by) 10, 7, 4, .5, .25 etc.
    How to achieve this please give me suggestions.
    Thanks and regards,
    Manjunath N. Jogin

    I do not think this can be done dynamically,   You could build several sections, each with it's own graph,
    set the scales in each graph, in its section, and then supress sections based on parameter.
    So, you could have one section that is  5,10,15,20  etc.
    and another that is 8, 12, 16, 20  
    depending on what they want.

  • How to get value of x-axis in dvt:lineGraph ?

    Hi,
    Could anyone answer how to get x-axis value(its a date value) of lineGraph.
    Even seriesComponenthandle and GroupComponenthandle cant able to fetch the x axis value.
    I have already tried with below code.
    ComponentHandle handle = clickEvent.getComponentHandle();
    if(handle instanceof DataComponentHandle){
    DataComponentHandle dhandle=(DataComponentHandle)handle;
    System.out.println("value ="+dhandle.getValue(DataComponentHandle.UNFORMATTED_VALUE));
    if(handle instanceof DataComponentHandle){
    Attributes[] groupinfo=dhandle.getGroupAttributes();
    String groupdata="";
    if(groupinfo != null){
    for(Attributes attrs: groupinfo){
    System.out.println("Group id VALUE ="+attrs.getValue(Attributes.ID_VALUE));
    System.out.println("Group LABEL_VALUE ="+attrs.getValue(Attributes.LABEL_VALUE));
    String seriesdata="";
    Attributes[] seriesinfo=dhandle.getSeriesAttributes();
    if(seriesinfo != null){
    for(Attributes attrs: seriesinfo){
    System.out.println("ID_VALUE ="+attrs.getValue(Attributes.ID_ATTRIBUTE));
    System.out.println("ID_VALUE ="+attrs.getValue(Attributes.ID_VALUE));
    System.out.println("LABEL_VALUE ="+attrs.getValue(Attributes.LABEL_ATTRIBUTE));
    System.out.println("LABEL_VALUE ="+attrs.getValue(Attributes.LABEL_VALUE));
    Sometimes dhandle.getValue(DataComponentHandle.UNFORMATTED_VALUE)) is showing the x axis date value , but some times it is showing the no of records found
    Edited by: user4428949 on Feb 22, 2012 5:20 AM

    hi,
    I also have requirement to get the value of x axis which is date.
    However for me handle is always an instance of SeriesComponentHandle. if I typecast to
    SeriesCompoenentHandle shandle = (SeriesComponentHandle)handle
    then I am not able to get groupAttributes.
    How can I get groupAttributes or when the handle will be instance of DataComponentHandle?
    Thanks,
    Vandana

  • Anychart issue with a time value on y-axis

    We are trying to plot a date on the x-axis and a time (HH:MI:SS) on the y-axis. Having difficulty on how to do the time on the y-axis. We are using anychart 5.1.2. Using SQL to pull data from an Oracle Database table and into a Series. The sql part errors out wanting the value in numeric not in datetime format.
    Does anyone know of a way to accomplish this?
    Thanks,
    Lou D.

    Hi,
    Do you want to display values in Y-axis & Regions in X-axis right ?
    Once check the properties of the chart, see primary value Axis Is value or some thing else ? once check that and also check series,legend ,labels are checked Visibilty option. One more thing you can select  there X-axis & Y-axis as Promary or secondary things.Once go thourgh All these options by Chart Overview.
    Regards
    Pcrao.

  • How to get value of x-axis in dvt:graph ?

    Hi,
    How to get the corresponding value of the x-axis (timeaxis) when user clicks on a series in a graph (dvt:graph) ?
    Found following for the y-value but nothing for x-value:
    DataComponentHandle dhandle = (DataComponentHandle)handle;
             // Get the value displayed in the series
             System.out.println("Value: " + dhandle.getValue(DataComponentHandle.UNFORMATTED_VALUE));regards
    Peter

    Hi Peter,
    What graph type do you have?
    Is your time axis regular or mixed frequency?
    What do you get when you use the following code:
    public void processClick(ClickEvent event)
    ComponentHandle handle = event.getComponentHandle();
    if (handle instanceof DataComponentHandle)
    DataComponentHandle dhandle = (DataComponentHandle)handle;
    // Get the value displayed in the series
    System.out.println("Value: " + dhandle.getValue(DataComponentHandle.UNFORMATTED_VALUE));
    // Get the series attributes
    Attributes [] seriesInfo = dhandle.getSeriesAttributes();
    if(seriesInfo != null)
    for(Attributes attrs: seriesInfo)
    System.out.println("Series value: " + attrs.getValue(Attributes.LABEL_VALUE));
    System.out.println("Series name: " + attrs.getValue(Attributes.LABEL_ATTRIBUTE));
    System.out.println("Series value id: " + attrs.getValue(Attributes.ID_VALUE));
    System.out.println("Series name id: " + attrs.getValue(Attributes.ID_ATTRIBUTE));
    // Get the group attributes
    Attributes [] groupInfo = dhandle.getGroupAttributes();
    if(groupInfo != null)
    for(Attributes attrs: groupInfo)
    System.out.println("Group value: " + attrs.getValue(Attributes.LABEL_VALUE));
    System.out.println("Group name: " + attrs.getValue(Attributes.LABEL_ATTRIBUTE));
    Hope this helps
    Katia

  • Where can I find the scale value of mx:Image with scaleContent enabled?

    Hey all
    Like the topic says, where can I find the scale value of the image content using an mx:Image with scaleContent set to true. Both the scale on the image object and the image.content is 1 (resizing is probably done by a matrix).
    To put things into context: I'm loading a picture from the filesystem and then use the Marilena facedetection to check for faces. When I find any faces I draw on a overlaying UIComponent the box where the face is. Because the detections returns the position of the face based on the unscaled bitmapdata the box indicating the face is not in the right position. In order to get this right I need the scale factor of the mx:Image scaleToFit.
    tnx in advance!

    Nope, there it is also 1.
    I solved it by calculating it myself:
    detectLayer.scaleX = detectLayer.scaleY = image.width>image.height?Bitmap(image.source).width/image.width:Bitmap(image.source).heig ht/image.height;

  • Need help Take out the null values from the ResultSet and Create a XML file

    hi,
    I wrote something which connects to Database and gets the ResultSet. From that ResultSet I am creating
    a XML file. IN my program these are the main two classes Frame1 and ResultSetToXML. ResultSetToXML which
    takes ResultSet & Boolean value in its constructor. I am passing the ResultSet and Boolean value
    from Frame1 class. I am passing the boolean value to get the null values from the ResultSet and then add those
    null values to XML File. When i run the program it works alright and adds the null and not null values to
    the file. But when i pass the boolean value to take out the null values it would not take it out and adds
    the null and not null values.
    Please look at the code i am posing. I am showing step by step where its not adding the null values.
    Any help is always appreciated.
    Thanks in advance.
    ============================================================================
    Frame1 Class
    ============
    public class Frame1 extends JFrame{
    private JPanel contentPane;
    private XQuery xQuery1 = new XQuery();
    private XYLayout xYLayout1 = new XYLayout();
    public Document doc;
    private JButton jButton2 = new JButton();
    private Connection con;
    private Statement stmt;
    private ResultSetToXML rstx;
    //Construct the frame
    public Frame1() {
    enableEvents(AWTEvent.WINDOW_EVENT_MASK);
    try {
    jbInit();
    catch(Exception e) {
    e.printStackTrace();
    //Component initialization
    private void jbInit() throws Exception {
    //setIconImage(Toolkit.getDefaultToolkit().createImage(Frame1.class.getResource("[Your Icon]")));
    contentPane = (JPanel) this.getContentPane();
    xQuery1.setSql("");
    xQuery1.setUrl("jdbc:odbc:SCANODBC");
    xQuery1.setUserName("SYSDBA");
    xQuery1.setPassword("masterkey");
    xQuery1.setDriver("sun.jdbc.odbc.JdbcOdbcDriver");
    contentPane.setLayout(xYLayout1);
    this.setSize(new Dimension(400, 300));
    this.setTitle("Frame Title");
    xQuery1.setSql("Select * from Pinfo where pid=2 or pid=4");
    jButton2.setText("Get XML from DB");
    try {
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    catch(java.lang.ClassNotFoundException ex) {
    System.err.print("ClassNotFoundException: ");
    System.err.println(ex.getMessage());
    try {
    con = DriverManager.getConnection("jdbc:odbc:SCANODBC","SYSDBA", "masterkey");
    stmt = con.createStatement();
    catch(SQLException ex) {
    System.err.println("SQLException: " + ex.getMessage());
    jButton2.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(ActionEvent e) {
    jButton2_actionPerformed(e);
    contentPane.add(jButton2, new XYConstraints(126, 113, -1, -1));
    //Overridden so we can exit when window is closed
    protected void processWindowEvent(WindowEvent e) {
    super.processWindowEvent(e);
    if (e.getID() == WindowEvent.WINDOW_CLOSING) {
    System.exit(0);
    void jButton2_actionPerformed(ActionEvent e) {
    try{
    OutputStream out;
    XMLOutputter outputter;
    Element root;
    org.jdom.Document doc;
    root = new Element("PINFO");
    String query = "SELECT * FROM PINFO WHERE PID=2 OR PID=4";
    ResultSet rs = stmt.executeQuery(query);
    /*===========This is where i am passing the ResultSet and boolean=======
    ===========value to either add the null or not null values in the file======*/
    rstx = new ResultSetToXML(rs,true);
    } //end of try
    catch(SQLException ex) {
    System.err.println("SQLException: " + ex.getMessage());
    ======================================================================================
    ResultSetToXML class
    ====================
    public class ResultSetToXML {
    private OutputStream out;
    private Element root;
    private XMLOutputter outputter;
    private Document doc;
    // Constructor
    public ResultSetToXML(ResultSet rs, boolean checkifnull){
    try{
    String tagname="";
    String tagvalue="";
    root = new Element("pinfo");
    while (rs.next()){
    Element users = new Element("Record");
    for(int i=1;i<=rs.getMetaData().getColumnCount(); ++i){
    tagname= rs.getMetaData().getColumnName(i);
    tagvalue=rs.getString(i);
    System.out.println(tagname);
    System.out.println(tagvalue);
    /*============if the boolean value is false it adds the null and not
    null value to the file =====================*/
    /*============else it checks if the value is null or the length is
    less than 0 and does the else clause in the if(checkifnull)===*/
    if(checkifnull){ 
    if((tagvalue == null) || tagvalue.length() < 0 ){
    users.addContent((new Element(tagname).setText(tagvalue)));
    else{
    users.addContent((new Element(tagname).setText(tagvalue)));
    else{
    users.addContent((new Element(tagname).setText(tagvalue)));
    root.addContent(users);
    out=new FileOutputStream("c:/XMLFile.xml");
    doc = new Document(root);
    outputter = new XMLOutputter();
    outputter.output(doc,out);
    catch(IOException ioe){
    System.out.println(ioe);
    catch(SQLException sqle){

    Can someone please help me with this problem
    Thanks.

  • PCC-F-02044, CMD-LINE:  Illegal or out of range value for option

    Good day,
    I very new to Pro*C and its compiler, i was tasked to recompile a program from a previous developer and got stuck with the above mentioned problem.
    The command i'm using to compile the program is: proc xxx.pc
    This returns the illegal or out of range value error
    #include <iostream>
    #include <fstream>
    #include <string>
    #include <stdio.h>
    #include <sqlda.h>
    #include <sqlcpr.h>
    #include <sqlca.h>
    #include <stddef.h>
    using namespace std;
      char myfile[60];     
      char puk [][];
      int last_col = 0;
      int last_row = 0;
      int line_nr = 0;
      string line = ""; 
    int main(int argc, char *argv[])
        if (argc != 2)
           return(1);
      ifstream myfile;
      myfile.open (argv[1],ios::in);
      if (myfile.is_open())
        while (! myfile.eof() )
        //while(getline(myfile,line))
          getline (myfile,line);
          line_nr++; //counting number of lines
          line = trim(line); //remove whitespaces
          if (line == "\r" or line.length()  == 0) {
             continue;  //ignore blank lines
           if (line_nr == 1) {        
              last_col = 1;
              last_row = 0;
              puk [last_row][last_col] = line;          
           } else if (line_nr > 1 && line.substr(1,3) != 'OOF') {          
              last_col = last_col + 1;
              puk [last_row][last_col] = line;          
           } else {     
             last_row = last_row + 1;
              puk [last_row][1] = line;                    
        myfile.close();
        line_nr = 0;
      return 0;
             Any assistance will be appreciated.
    Regards,

    My pcscfg.cfg file is set as follows:
    sys_include=(/usr/include/c++/4.1.1/iostream,/usr/include/c++/4.1.1/backward/iostream.h,/usr/include/c++/4.1.1/fstream,/usr/include/c++/4.1.1/backward/fstrea
    m.h,/usr/bin/strings,/usr/include/string.h,/usr/include/strings.h,/usr/include/stdio.h,/usr/lib/syslinux/com32/include/stdio.h,/oracle/client/9.2.0/precomp/p
    ublic/sqlda.h,/oracle/client/9.2.0/precomp/public/sqlcpr.h,/oracle/client/9.2.0/precomp/public/sqlca.h,/usr/include/linux/stddef.h,/usr/lib/gcc/x86_64-redhat
    -linux/4.1.1/include/stddef.h,/usr/lib/syslinux/com32/include/stddef.h,/usr/lib/syslinux/com32/include/bitsize/stddef.h,/usr/include,/usr/lib/gcc-lib/i386-re
    dhat-linux/2.96/include,/oracle/app/oracle/client/precomp/public,/user/include/g++-3)
    ltype=short

Maybe you are looking for

  • PURCHASE ORDER UPLOAD

    Hi,              My query:              How to upload Purchase order data from legacy to SAP. Bye...

  • Freight not to be added on line items

    Dear all When i am create invoice & add freight is added as lumpsum it increased the Value of the line item & also in the report is shows inflated value by adding freight. I do not want items value to be inflated due to freight. Please help Regards R

  • Java.lang.NullPointerException when going to console

    We have are using WL 8.1 Sp2.           I had tried to upgrade to WL 8.1 Sp4. We had some issues with that and i copied the old (sp2) config.xml back and started the server again . The application seems to run fine but I cannot go the Console. This t

  • Converting to GPT

    Hello, In a couple of days I'm going to upgrade my computer/motherboard to one with UEFI, and I thought I'd start with the preparations right now. I've think I've read up on most of it, but I'd like to make sure before I begin tinkering. - I'd like t

  • My iphone4 cannot be detected by itunes

    Hi all, I have a sticky problem... My iphone4 is being detected by iphoto & is getting charged, but is not being detected by itunes !! I use a macbook pro.... with snow leopard...itunes version 10.7 !!! Please suggest as to how I can solve this probl