Crystal Reports - Change Line Chart Color Dynamically

Hello,
I have Crystal report 14.
I'm trying to create a line chart and need to be able to set the colors of the lines at the time the report is run.   The colors the lines need to be are specified in a database and a different color could be specified each time the report is run. 
Can anybody suggest how I would do this?
Thanks
Edited by: Robert4543 on Nov 16, 2011 5:23 PM

I've tried to use 'Color Highlight'  to change the color of the lines, but it only changed the colors of the markers on the line, not the actual line itself.  Is there a way to get it to change the color of the line? 
I may have one line I need to display as 1 color, and a 2nd that I need to display as another.  Using color highlight changed the markers for both lines to the same color.  Is there a way to specify which line I want to change the color of in "Color Highlight"?
Thanks.
Edited by: Robert4543 on Nov 16, 2011 8:41 PM

Similar Messages

  • Crystal report XI R2 chart problem

    Hi !
    I have created a report which contains a subreport.
    I need a subreport to evaluate a number which I gives back to my main report to calculate a ratio (Formula) in my main report.
    Data are correct in my report but I cannot insert a chart (report footer) which shows the trend of my ratio values : the chart is empty (no value) even if the values are correct in my report.
    Could you help me ?
    Many thanks.
    Z.

    The reason why chart values are empty because Crystal Reports can create charts based on whilereadingrecords data only.
    Subreport runs in WhilePrintingRecords time, it means shared values from subreport are available in WhilePrintinRecords only and it is too late for the chart.
    As a workaround I would suggest create another subreport (report footer) for chart only and pass data from main report to chart subreport as a parameter. In this case values will be available in subreport WhileReadingRecords evaluation time.  
    Please review the following document for details:
    [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40e7130d-aa1e-2b10-ce9f-eee2a54ff4cd]

  • How to change the chart color in report 6i based on its value?

    I built a simple chart using Chart Wizard in Report 6i, with X axis = supplier and Y axis = rating. I want the chart to show different color for certain rating, eg: above 80% => red color.
    Anyone know how to do this?
    Pls help!

    Hi Resham,
    In SP list, you change the background color of field value using Content editor and javascript.
    Add the content editor webpart on the list page with javascript which highlight the particualr value based on the condition.
    You can refer to following link
    http://blog.pathtosharepoint.com/2009/02/26/highlight-rows-in-sharepoint-lists/
    Thanks,
    Vivek
    Please vote or mark your question answered, if my reply helps you

  • 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?

  • 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

  • Crystal reports V8.5 Chart legend adding up incorrectly - when using negative values

    Post Author: dawnyanne
    CA Forum: Crystal Reports
    Hi
    if anyone can help me I would be extremely grateful!
    I have a pie chart with a legend. There are just two values that are showing but one of the values is a negative value and the total of the legend is adding up incorrectly. Here is how it is showing at the moment
    Cash                 -0.71
    Uk Equities     100.71
    Total              101.42
    here is how it should be
    Cash               -0.71
    UK Equities   100.71
    Total             100.00
    I can set the chart amounts to be percentage - but then it comes out as only one decimal place and I need two.
    Any help would be very much appreciated!
    kind regards
    Dawnyanne

    Hi Ryan
    The search string 'crystal net 40' (search box in top right corner, returns this KBA:
    2105208 - ER - CR .NET SDK has a Section limit set to 104 and subreport limit of 40
    SP 13 for "SAP Crystal Reports, Developer Version for Visual Studio .NET" can be downloaded here:
    SAP Crystal Reports, developer version for Microsoft Visual Studio: Updates & Runtime Downloads
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow me on Twitter

  • Crystal Reports Publication fails when using dynamic recipients

    Hi experts,
    We are facing a problem related with the BOE 3.1 Dynamic recipients Publication.
    We have created a Publication with just one Crystal Report based on a MDX Query.  We send the report in PDF format to email destinations
    Dynamic recipients are defined in a WebI report pulling data from a BW query universe. We can display the email, user ID, Use Name and other fields we would like to use as dynamic parameters.
    Server side trust seems to be configured (is there any way to test it is properly configured?).
    The Publication is working fine with enterprise recipients (which have SAP BW account), and each recipient receive its PDF by email.
    When we execute same report with dynamic recipients without selecting dynamic personalization parameters it is working fine. But when we select one dynamic parameter (which is coming from the WebI report we use for dynamic recipients) eg: Profit Centre, the Publication fails and we get a Database Connector error:
    2011-02-14 08:53:25,275 ERROR [PublishingService:HandlerPool-13] BusinessObjects_PublicationAdminErrorLog_Instance_31036 - [Publication ID # 31036] - Scheduling document job "P&L" (ID: 31,051) failed: Error in File ~tmp191067bfa343ff0.rpt: Database Connector Error (FBE60502) [1 recipients processed.]
    How can a dynamic parameter affect on the Database Connection?
    Does anyone have an idea about what could be wrong?
    Thanks!

    Ino, what do you mean for "technical name or the member unique name"? Are you talking about the SAP User name? So in the dynamic recipients we can find  these parameters:
    - Recipient Identifier (required):      
    - Full Name:      
    - Email:      
    In the Recipient Identifier I should refer to a SAP user?
    Dynamic recipients option is working for same recipients. The problem appears when I assign one parameter to a field coming from the dynamic webi report.It fails with the previously detailed error. This parameter assignment seems to be causing the Database Connector error.
    Message in CMC:
    2011-02-14 17:00:25,590 ERROR [PublishingService:HandlerPool-24] BusinessObjects_PublicationAdminErrorLog_Instance_31594 - [Publication ID # 31594] - Scheduling document job "B1 - P&L" (ID: 31,603) failed: Document for recipients {BD1~500/EVER} failed: Error in File ~tmpa0067c160f93d0.rpt: Database Connector Error Document for recipients {EVER, JOHNDOE} failed: Error in File ~tmpa0067c160f93d0.rpt: Database Connector Error Document for recipients failed: Error in File ~tmpa0067c160f93d0.rpt: Database Connector Error (FBE60502) [4 recipients processed.]
    Error in the Adaptive jobserver trace does'nt give more details:
    |1c2fd2be-3ba1-f414-f8fa-e4f7b004f1ee|2011 02 14 17:00:18:974|+0000|==| | |jobserver_vwd2520.AdaptiveJobServer_CRCPPSchedulingService_CHILD0| 2560|4856|| |6187|1|11|2|CMC.WebApp|vwd2520:1624:39.23486:1|CMS.runJobs|localhost:8392:11648.936338:1|jobserver_vwd2520.AdaptiveJobServer_CRCPPSchedulingService_CHILD0.run|localhost:2560:4856.5:1|CntazqXlSEO7hcDJVIv11545bbb|||||||||||(.\src\reportdllerrors.cpp:140) ras21-cr: procReport.dll: CRPE FAILED: GetLastPEErrorInfo(1) returns crpe error code [707] with extended error string [Database Connector Error: ''
    Failed to retrieve data from the database.
    Failed to export the report.
    Error in File ~tmpa0067c160f93d0.rpt:
    Database Connector Error]. Localized error string is [Error in File ~tmpa0067c160f93d0.rpt:
    Database Connector Error]
    I would like to discard thats a SNC misconfiguration error. Can I consider that SNC server side trust is properly configured if I can run Publication for many SAP users mapped in Enterprise?
    Thanks!

  • Crystal Reports and Organizational Charts

    Has anyone used Crystal Reports for creating Organizational Charts? The gap we have is that some manual user overrides are needed to the final output, and the output cannot be modified in Crystal unless exporting the data. The export format is clunky.

    Hi,
    Did you do any aggregation for your org chart in crystal report?
    Or you have to draw it in CR?
    If not, pls use excel or other powerful UI oriented tools, as far as i know, crystal handles data well but not the final format.
    Thx,
    Hao

  • Printing a Crystal Report changes the printers default tray setting every

    Hey,
    Hopefully someone have experienced this in the past,
    I am printing a Crystal Report, and in windows the printer has the tray auto as the setting. When I print from word, mspaint, or notepad, works perfect.
    But when I print via Crystal Report, it changes the deafult printers tray setting every time.
    Anyone have any idea, if there's a hotfix or something for this, I have problems at the client machine.
    Best Regards,
    Love

    I dont have much idea about CR 8.
    I would suggest you to try with No printer option.
    Try with this also:
    On Page setup click on printer ->Properties->Apply settings for default printer.
    Regards,
    Shweta

  • How to set printersettings for the crystal report viewer in SAP BI dynamically

    Hello
    I have set the URL method for my crystal report and with parameter passing as shown below, it was displaying the crystal report viewer by connecting to the SAP BI 4.0 server with this method.
    http://cr:port/businessobjects/enterprise115/desktoplaunch/opendoc/openDocument.jsp?sDocName=CRLabelParam&sType=rpt&lsSnPrinted=0&lsSsTestProjectNr=1
    This URL will be called from Web application by different users, i would like to set the printer settings differently for different users for this crystal report viewer how shall i need to set the printer options?
    shall i need to set the printer settings programatically for each user. Please advise me how do i need to proceed.
    Thanks & Regards,
    Rajeswari.

    There are no BI / CR APIs that would do this for you. The way I see it, you'll have to have your own print button and populate it with the correct printer information for each user as they request the report. Of course, alternatively, use the viewer printer button and get the users to choose the correct printer.
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • How to adjust x axis of line chart for dynamic values from universe

    Dear All,
    I am new to SAP Dashboard. I got one requirment that, user will pass single value to universe using prompt in Dashboard. Based on that prompt value / input parameter, universe will deliver data to plot line chart in my canvas. But, on every request i will get different count from universe. Like for request A = 30 records, request B = 56 records, request C = 2 records and so on.
    Based on the count, i want to display line chart in my canvas which will auto fit the screen. (Auto adjustment of X axis e.g For A, last record on x axis should be 30, for B = 56 and for C =2). Please let me know, how can i achive this task?.
    Note : i know, how to plot simple line chat with fix count.

    This is based on the output you get for the selection, get in touch with the functional team and get an idea about maximum no of result set will appear on various selection options. Say example if the functional guy says around 100 then go ahead and map 100 cells for the series.
    Then as arijit said you can use the ignore blank cell option to eliminate the blank rows in the selection.
    Note: Eliminating blank cells will always work at the end of the rows, not in the middle of the rows.

  • Help with Crystal Reports changing SQL Server

    I am doing a web site cutover to a new server for a client and have the server up and running using crystal reports server xi r2 sp2 under windows server 2003r2 32bit.
    When I run a report via the webpage it generates a blank page.
    I've edited the old web developers crystal report files and updated the database path howerver when i type in the new SQL server and authenticate to it using the SA account  it then pops up a window asking me to enter values
    has items such as
    @sUserID
    @sSubUserID
    @iSessionID
    etc
    the only way i can continue through this is to check a box for each value 'set to null' which i dont' think is correct.
    What values should I be putting in these areas or should I be getting this infomation from the previous developer?
    much appreciated

    Hello,
    I don't recognize those variables as CR ones so it's likely something the original developer is setting in code.
    You'll have to discuss with that person.
    If your have SDK issues then post your question to one of the .NET or Java SDK forums.
    Thank you
    Don

  • I am deperately trying to change the background color dynamically ?

    Hello everybody,
    i am actually working on a portfolio website. I want the
    background color change each time we click on a button on the
    navigation bar. My problem is that when you click on a button it
    changes the background from the start
    (white background), not from the previous one clicked.
    i am trying to make the effect on this site
    www.mecompany.com.
    can someone please help me, i am in despair.
    thanks

    Hi ZAXSCD,
    You can change the background color of a PDF document by following the steps mentioned below:
    - Open PDF document in Adobe Acrobat X;
    - Click on Tools --> Pages --> Under 'Edit Page Design' select Background and then 'Add Background';
    - In Add Background window, under Source --> From color, select the color of your choice and click OK'.
    You can also refer to the screenshots mentioned below:

  • Crystal Reports changes printer symbol set to ANSI

    Is there a setting somewhere that keeps Crystal from changing the symbol set on my printer to ANSI, so I can let it use the Internal default?

    No, it's likely a print driver issue. Ask them or install the latest driver for your printer

  • Changing the Chart Color..

    Hi I have created a report with chart in siebel analytics.
    I would like to know that Can we change the color of a chart based on the creteria.
    for example if the revenue is less than 10000 than the chart bar is in RED & if it is greater than the Chart bar is in blue.
    Thanks.

    You can change the colors of a chart conditionally -- when editing the chart, click the "format chart data" button it then brings up the format chart data box with 2 tabs -- one of which being the conditional tab -- this is where you can conditionally change the colors of the chart. Hope this helps
    Ps. The "format chart data button" has a pencil over a blue graphic.
    good luck
    95220

Maybe you are looking for

  • Itunes cant open due to Audio Configurations

    I was Messing with my sound settings because of an over the internet Voice program called Ventrillo I don't think that the Program has anything to do with the error but I don't know how to get either itunes to open or how to get my sound settings bac

  • Fn:trim() not working

    Hi dude, i have used the following taglibs <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> <%@ taglib prefix="sql" uri="http://java.sun.com/jsp/jstl/sql" %> <%@ taglib prefix

  • SOS:Booking the course with activity allocation error

    hi,everyone:   when we  booking the course with activity allocation appear error message: Runtime Errors         SAPSQL_ARRAY_INSERT_DUPREC Except.                CX_SY_OPEN_SQL_DB Date and Time          2007.07.04 09:39:57 Short text     The ABAP/4

  • Is there any easier way to set as homepage

    Is there an easy way to ask our users to set my website [http://www.itsmysearch.com] (or any other page on that website) as Homepage. I mean, currently i ask users to 'drag the link' on their homepage icon. But isn't there a way so that, they just cl

  • Error message when maintaining number range for controlling area

    hello everybody: I am just creating a new controlling area in current system, it's ok for me to maintain (tcode KANK)the CO number range in Development system, but when comes to QAS, I want to maintain the number range groups (F6) manually, but not p