Changing X and Y axis of a barchart programmatically

Hi All,
Is there a way to set the X and Y values of a chart programmatically?
Im using Visual Studio 2005 and C#.
Thanks.

Hello,
Functionality using the Crystal Reports SDK in Visual Studio .NET is limited to the appearance of the chart in the viewer such as height and width.
ChartOject Members [described|http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/en/CrystalReports_dotNET_SDK/crsdk_net_doc/doc/crsdk_net_doc/html/crlrfCrystalDecisionsCrystalReportsEngineChartObject_MembersTopic.htm].
ChartObject Properties [described|http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/en/CrystalReports_dotNET_SDK/crsdk_net_doc/doc/crsdk_net_doc/html/crlrfCrystalDecisionsCrystalReportsEngineChartObject_PropertiesTopic.htm].
The ability to Add, Remove or modify a chart uses Report Application Server report creation API
[Click here|http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/en/RAS_SDK/rassdk_com_doc/doc/rassdk_com_doc/StartHere_RASCOM20.html]
Elaine

Similar Messages

  • SSRS 2008: how to show an empty chart with legend and x and y axis when no data available

    Hi,
    I am using SSRS 2008, I generated one chart in report designer with the data from Analysis Services (Cube).
    According to the dataset, there is no data returned when I run the query. so when I preview the chart, there is nothing but "no data available" showing on the chart.
    Here I want to know is there any possible to show an empty chart with legend and x and y axis?
    If it is possible, can you tell me how can I make it?
    Best Regards.
    Connie Zhu

    Hi,
    When there is no data, the chart displays the message "no data available". But using a little work around, you can display an empty chart.
    Please find the below steps given to achieve this
    1. Create a new dataset using TSQL to return 1 row of data having the category field and value field set to 0. Add the fields that are necessary for the category fields, series fields and datafields.
       A simple example would be like
       SELECT 'abc' as Category, 0 as Amount
    2. Add a new chart, set the category field to 'Category' and set the data field to Amount from above dataset created in step 1.
    3. In the new chart, right click the category axis and select axis properties, Click on the labels tab, check on
    'Hide axis labels' and then click ok
    4. Now set the Visibility property of both the charts depending on the rows returned from your main dataset
       a. click on your main chart and set its Hidden property to :
    =iif(CountRows("MainDataSet"),false,true) 
       b. click on the new blank chart added and set its Hidden proprety to (the opposite) :
    =iif(CountRows("MainDataSet"),true,false) 
       Note : Please change the dataset name in above expression "MainDataset" to the name of your chart's dataset
    5. Resize the new chart to the same size as your main chart, then position the new chart on the place as the main chart.
       (Note : You can set the position of new chart to be same by copying the location property from the main chart) 
    6. Now run and observe the result. When there are no rows returned by your main dataset, the new chart (the blank chart) should be displayed.
    I've added a working sample of this kind of a report
    here.
    Hope this helps. Please feel free to discuss if you have any questions.
    Please click "Mark as Answer" if this resolves your problem or "Vote as Helpful" if you find it helpful.
    BH

  • How do I roll a ball along both x and y axis?

    I am trying to roll a 2D ball in 3D space that only moves on the x and y axis through a maze. I would like it to be rotating 360 degrees based on the curcumference so it looks like it is rolling no matter if it is moving along the x or y axis. I feel like it should be pretty straight forward to figure this out but I am at a loss.
    The ball rolls through the maze in an expressive way not at a constant speed but always in a straight line. Not every keyframe is at a corner direction change which makes things more difficult. I am just starting to learn about expressions so much of this is not based on knowing just forum searching and through trial and error.
    https://vimeo.com/89638507
    I have tried multiple variations on these three directions:
    distance=position[0,1];
    circumference=width*Math.PI;
    distance/circumference*360;
    This moves fine along the y axis or x axis.
    (length(position,position.value_at_time(0)[0,1])/(width*Math.PI))*360
    This works fine when moving on the y axis but the x axis rotates too slowly and then about 12 seconds in it stops completely and goes haywire after that.
    ball = thisComp.layer("Ball").transform.position;
    s1 = ball.velocityAtTime( time )[0];
    s2 = ball.velocityAtTime( time )[1];
    circumference=width*Math.PI;
    if
    (s1 > 1 || s1 < 1)
              transform.position[0]/circumference*360;
    if
      (s2 > 1 || s2 < 1)
              transform.position[0]/circumference*360;
    I was hoping I could switch from x axis to y axis when it's velocity slows at every corner. Only rotates when moving along y axis.
    I am not sure if it is possible or if there is a simple way that I don't know about (which is probably the case).
    Thanks in advance

    I think your expression is going to need to loop through all previous keyframes and add up the distances traveled (I'd use length() to calculate each distance) between each pair of keyframes and then add the distance traveled from the most recent keyframe to the current time. Then you can use your circumference formula to calculate the total angle. That assumes that there's no backtracking (wheel always turning in same direction)--otherwise, it will be more complicated.
    Dan

  • Changing scale on Dual Axis on Illustrator Graph

    Looking for some assistance on changing the scale when you have a dual axis, but only on one side. I can select the entire graph and change the left and right axis. However even when I select only one line (via the legend) I cannot just change one side. Appreciate any assistance....thanks

    Hi Kalyan
    I have seen this happening on a PowerPivot workbook in which the selected option had no value, which triggered the chart to lose its configuration.  This is a bug, though I would argue is a bug in the Pivot Charts and not in PowerPivot itself.
    The solution I used was to remove the slicer option that yields no value (in your case it would be NA), so the user can only select valid combinations that retrieve a numeric output.
    Javier Guillen
    http://javierguillen.wordpress.com/

  • Jax-ws and apache axis

    This is a newbie question. Can you tell me the difference between jax-ws and apache axis. Is it possible to build web services just using jax-ws and not apache axis. What would be advantages and disadvantages.
    Thanks.

    Yeah you can just use jax ws:http://java.sun.com/developer/technicalArticles/J2SE/jax_ws_2/
    I find it more intuitive. Some would tell you that axis is more bloated :http://blogs.msdn.com/b/dotnetinterop/archive/2008/07/30/changing-of-the-guard-axis-out-jaxws-in.aspx
    I would rather decide between jax ws and REST :https://blogs.oracle.com/enterprisetechtips/entry/implementing_restful_web_services_in

  • Hiding/removing x and y axis in charts (11g)

    Is it possible to hide both the x and y axis lines (not the plot area major/minor gridlines)? For example, I have a stacked bar chart and only want to show the bar and hide the x/y axis and the grid lines. I am able to hide the gridlines by toggling the to 'specify' in the Plot Area and not changing the associated options however, I am unable to hide the graph x/y axis.
    Any help is appreciated.
    Thanks.

    Hi Steve,
    To my knowledge, there is no direct method to hide the axis.You could try adding a background color (that matches your axis line color )to your graph(Graph Properties->Style tab) which in turn would hide the x and y axis lines.
    Regards,
    Dpka

  • Zooming x and y axis in signal express Data view

    Dear All,
    How can I zoom in both and y axis in signal express data view?
    sincerely,
    Munir.

    You can zoom either axis by changing the min and max labels to the value you want.  Click on the label and you can edit the label.  To zoom the X Axis you can also select the zoom button next to the axis.

  • Scale x and y axis in intensity plot

    Hi All,
    I need to plot a 2D array in intensity plot.  But I need to change the displayed x and y axis in a different scale (i.e., they are actual single 1D arrays) instead of the index numbers of my 2D array.  Any solution to this? Thanks.

    Hi,
    right click the plot, and select property node.  For each axis, use the property X scale >> Offset and Multiplier.  This will start the scale at Offset (instead of 0), and put a distance between the points of Multiplier (instead of 1).
    Let me know if this doesn't work for you.
    Joel

  • Webinar: Change Management and Transport in the Enterprise Portal

    <b>SAP NetWeaver Know-How Network Webinar: 
    Change Management and Transport in the Enterprise Portal
    Wednesday 21 July 2004
    11 a.m. EDT</b>
    On Wednesday 21 July, Scott Jones hosts the webinar titled <b>Change Management and Transport in the Enterprise Portal</b> as part of the ongoing SAP NetWeaver Know-How Network Webinar Series.
    Here’s how Scott describes his webinar presentation:
    “Change Management offers special challenges to administrators working in Enterprise Portal 6.0 SP2 environments.  This talk provides recommendations and tools, and defines best practices and methods for the effective transport of Enterprise Portal content, with special attention to content dependencies, tracking, and troubleshooting.   We'll also look forward to Change Management enhancements coming with Netweaver 04.”
    SDN invites you to post your questions to the presenter prior to the webinar and continue the online discussion afterward.
    <b>How to Participate</b>
    (Please go to the SDN Events page to see the article and download the PDF presentation)
    Dial-in Information:
    Date: Wednesday 21 July 2004
    Time: 11 a.m. EDT
    Within the U.S., call: +1.888.428.4473
    Outside the U.S., call: +1.651.291.0618
    Password: NetWeaver04
    WebEx Information:
    Topic: SAP NetWeaver Know-How Network
    Date: Wednesday 21 July 2004
    Time: 11 a.m. EDT
    Meeting Number: 742391500
    Meeting Password: netweaver04 (lowercase)
    WebEx Link: sap.webex.com
    Replay Information:
    A recorded replay of this call will be available for approximately three months after the webinar. Access this recording by dialing the appropriate number and using the replay access code TBD.
    Toll-free: +1.800.475.6701
    International: +1.320.365.3844
    <b>About the SAP NetWeaver Know-How Webinar Series</b>
    The SAP NetWeaver Know-How Webinar Series is driven by the SAP NetWeaver Regional Implementation Group (RIG), part of the SAP Development organization. The mission of the SAP NetWeaver RIG is to enable customers, employees, and partners to successfully implement the SAP NetWeaver solution. This SAP RIG has expertise in BI, EP, XI, and WebAS. They contribute their implementation expertise to the SDN implementation forums as well as to the SAP NetWeaver Know-How Webinar Series.
    <b>Disclaimer</b>
    SDN is not responsible for any changes to the webinar schedule. The webinar schedule may be changed or cancelled without prior notice.

    Hello,
    In the intresting document I read that for the deployement the version number mentionned in the MANIFEST.MF is very important in a clustered evironment.
    SAPnote 727180 - Version of PAR File in Manifest File
    denies this.
    Can you clear this out?
    Kind Regards
    Koen Van Loocke

  • How to change header and footer in login page in oracle apps r12

    Hi all,
    how to change header and footer in login page in oracle apps r12 and login button background color, please help me
    thanks
    saran

    how to change header and footer in login page in oracle apps r12 and login button background color, please help meTips For Personalizing The E-Business Suite R12 Login Page (MainLoginPG) [ID 741459.1]
    How to Personalize Login page in R12? [ID 579917.1]
    R12 Login Page: How to Personalize the Logo ? [ID 849752.1]
    Thanks,
    Hussein

  • Change header and footer in one jsp impact on all jsps

    If i change header and footer in one jsp page it show reflect the changes in all jsps can any one help me .

    Manually i shd not change in all jsp pages.Once if
    i change in particular page then all pages shd be
    e reflected with the changesyes, my previous reply does the same way you want.
    You have to include (use include directive) your header & footer jsp file in other jsp pages where you wanted them. And once you do any change in header & footer jsp it will automatically effect other jsp.
    Follow the link if you dont know how to use include directive
    http://javaalmanac.com/egs/javax.servlet.jsp/include.jsp.html?l=new

  • Lightroom will not import my photos.   It did up to a week ago.   I have changed cards and cameras (both worked two weeks ago).   I can import the photos to Picasa and iPhoto

    Lightroom will not import my photos.   It did up to a week ago.   I have changed cards and cameras (both worked two weeks ago).   I can import the photos to Picasa and iPhoto.   I get the following error message:  
    Some import operations were not performed.
    The following files were not imported because they could not be read  [followed by a list of the files I wanted to import]
    Thumbnails show up.  LR just will not import them.
    Any idea what is going wrong?

    If the Import button is not clickable, that means that Lightroom thinks you have no new photos to import (one possible reason is that they are duplicates)
    So, you need to figure out why Lightroom thinks that. The way I would do this is to search your Library module for at least one of the photos, by file name. To do this, you would follow all 4 of these steps in sequence:
    Click on All Photographs in the Catalog Panel on the left of the Library Module
    Turn off all Filters (Ctrl-L or Cmd-L once or twice)
    Expand all stacks: Photo->Stacking->Expand All Stacks
    Search for one or more of the photos using the Filter Bar (press backslash), search by File Name

  • How do I change font and colors back to default?

    I have changed the font and color of the text through the tools button and the options button and the content tab. I find nothing telling me how to change the font and colors back to default font and colors. Can you advise me? I'm using Windows 7 Home Premium OS. Thanks.

    Hi Brenda19605,
    You can use this article to set the fonts and colors: https://support.mozilla.org/en-US/kb/change-fonts-and-colors-websites-use?esab=a&s=font&r=0&as=s
    The default settings for the font are in this article:
    https://support.mozilla.org/en-US/kb/Some%20text%20shows%20up%20bold%20after%20upgrade
    Unfortunately for the default colors has no good reference. But for text it is black (most lower left) color, background is white (most upper left color). Unvisited links is blue (column 8, row 5) and visited link is purple (column 9, row 5).
    Let me know if you need anymore help!
    Lordfreak

  • My icloud account on my new iphone does not match the user ID for itunes as it is an old apple ID. There is no password for this ID so I cant change it and it wont let me change the apple ID. Any help?

    my icloud account on my new iphone does not match the user ID for itunes as it is an old apple ID. There is no password for this ID so I cant change it and it wont let me change the apple ID. Any help?

    To change to iCloud ID on your phone you have to go to Settings>iCloud, tap Delete Account, provide the password for the old ID then sign in with the new ID.  If you don't know the password for the old ID, and if the old ID is an earlier version of your current ID, go to https://appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID.  Click edit next to the primary email account, change it back to your old email address and save the change.  Then edit the name of the account to change it back to your old email address.  You can now use your current password to turn off Find My iPhone on your device, even though it prompts you for the password for your old account ID. Then go to Settings>iCloud, tap Delete Account and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud).  Next, go back to https://appleid.apple.com and change your primary email address and iCloud ID name back to the way it was.  Now you can go to Settings>iCloud and sign in with your current iCloud ID and password.

  • Want to change payer and update credit limit data with out delete documents

    Hi Expert,
    I have a problem that user feed 50-60 documents ( Sale order & delivery ) with wrong payer. Now we want to change payer and shift credit limit data ( open sale order , open delivery ) from old payer to new payer is any option for this.
    Thanks in advance
    Regards
    Suresh Kumar

    Hi
    Ideally in your case, you may have to delete the delivery documents and then recreate the deliveries after updating the payer in the sales order. This is because the source for the partner function in Delivery will be mostly updated as "from sales order" and hence it is not possible to change the payer in the delivery document.
    In this case, you have to first find out the relevant delivery documents and delete them
    Then you can change the partners in the sales order
    Finally you can recreate the delivery documents.
    However I would request you to do the following test before following this.
    In the SO, change the payer without deleting the delivery. If the partner in delivery gets changed automatically then it is fine. You can ensure this by checking the delivery in DISPLAY mode.
    If payer is not changing automatically then go to delivery in CHANGE mode and now check it. If the payer changes automatically now, you are spared with the pain of deleting and recreating deliveries once again.
    If both of them fails, then the only way is to delete deliveries first, change payer in SO and then recreate deliveries.
    This is applicable only if PGI is not yet done.

Maybe you are looking for