Simple line chart formatting problems

I am using the Visual Studio 2008 version of Crystal reports. I am trying to chart the maximum, minimum, and today's prices for natural gas. I have a sql view to that returns 48 rows of data. I want the legend to be MIN. MAX, NOW and the colors to be  green for MIN, red for MAX and blue for NOW.
I can not set the legend test, the line color and the x axis labels are not readable. Any suggestions would be helpful.
This is a example of the data:
dtContract    Now    MAX    MIN
5/10    3.975    6.207    3.869
6/10    4.064    6.307    3.965
7/10    4.185    6.419    4.082
8/10    4.28    6.507    4.163
9/10    4.332    6.56    4.207
10/10    4.447    6.667    4.314
11/10    4.827    6.997    4.676
12/10    5.247    7.387    5.096
1/11    5.464    7.597    5.316
2/11    5.433    7.597    5.283
3/11    5.343    7.427    5.172
4/11    5.153    6.907    4.947
5/11    5.17    6.887    4.946
6/11    5.222    6.977    4.988
7/11    5.289    7.077    5.053
8/11    5.341    7.152    5.105
9/11    5.371    7.182    5.138
10/11    5.47    7.262    5.235
11/11    5.722    7.502    5.492
12/11    6.022    7.797    5.792
1/12    6.225    8.002    5.995
2/12    6.167    7.997    5.952
3/12    5.995    7.767    5.77
4/12    5.555    7.144    5.335
5/12    5.555    7.102    5.325
6/12    5.598    7.182    5.368
7/12    5.658    7.277    5.428
8/12    5.711    7.347    5.478
9/12    5.744    7.377    5.513
10/12    5.842    7.457    5.613
11/12    6.082    7.689    5.856
12/12    6.347    7.979    6.129
1/13    6.548    8.184    6.333
2/13    6.503    8.179    6.298
3/13    6.304    7.949    6.088
4/13    5.844    7.264    5.621
5/13    5.821    7.219    5.586
6/13    5.866    7.304    5.636
7/13    5.934    7.399    5.706
8/13    5.989    7.469    5.761
9/13    6.024    7.499    5.796
10/13    6.124    7.584    5.906
11/13    6.364    7.829    6.151
12/13    6.629    8.119    6.421
1/14    6.829    8.324    6.626
2/14    6.789    8.319    6.586
3/14    6.584    8.079    6.381
4/14    6.104    7.399    5.901

Found another work around.

Similar Messages

  • Simple Line Chart - Values over time

    A simple line chart displaying a set of values over time would seem to be a very easy report to design. I'll be darned if I can see how to design it. Can anyone shed some light?
    I have provided links to a report and a spreadsheet which is the report datasource. My actual report will use SQL Server as its datasource. I am providing ths excel based example for the sake of protability.You will need to set the datasource location after saving the files to your hard drive.
    I can get the lines to draw properly, what I cannot figure out is how to specify the datetime values for the x axis. The column I would like to use on the x-axis is called DerivedLoggingTime.
    I'd also like to get control of the logarithmic algorithm used to formulate the y-axis values. I am not always happy with the values that the log algorithm comes up with.
    Any help is greatly appreciated.
    [Link to report|http://www.usol.com/~joe/linechart.rpt]
    [Link to spreadsheet|http://www.usol.com/~joe/AnalysisResults.xls]
    Another discovery while working on this report - our database will be SQL 2008 and  we are making use of the datetime2 datatype. CR appears to be treating this datatype as text. So when working with the SQL based datasource, I had to cast datetime2 columns as datetime in order for CR to see the columns as datetime instead of text. This is fine in this instance because the granularity of the datetime values for this particular report does not require datetime2, but that will not always be the case. CR will need to recognize the new datatype.
    Edited by: Joe Sytniak on Jul 17, 2008 5:37 PM

    Hi Joe,
    The Date Axis Line Chart of the Numeric Axis Type Chart, can be used to display data on a regular interval of days, Months and Years. The information displayed can unfortunately not be more granular that days.
    This type of chart is generally used when the data is recorded on irregular intervals in the database, and to make sense of the information stored it needs to be displayed at regular intervals.
    Since the data stored in your data source seems to be stored every 4 minutes, it will not be necessary to use this type of chart. I will suggest to use the regular line chart instead.
    To create a line chart using your date time field and value:
    1. Select "Chart" under the menu "Insert"
    2. Insert the chart on your report in the desired section.
        ( Group Header # 3 in your case. )
    3. In the "Chart Expert" window, under the tab "Type",
        change the chart type to a line chart by selecting "Line" in
        the "Chart Type" list.
    4. Under the tab "Data", add the database field that contains the Date Time information under the "On change of" list.
    (In your case, add the "DerivedLoggingTime" database field)
    5. To display the data for each minute, select the database fields you just added under the "On Change of" list, and
    click on the button "Order". In the "Chart Sort Order" window,
    select "For each minutes" in the "Section will be printed" drop down list, then click "OK"
    6. Add the field you want to display the value in the "Show Value List", then click "OK"
    Now it will display a line chart as desired, but since there is a lots of data point on your chart, the x axis date time labels will overlap each other. To avoid  this situation, I will suggest to skip labels.
    To format a chart to skip labels:
    1. In the "Preview" tab of the report, select one of the x axis label, and right click on it. In the contextual menu, select "Group (X) Axis Options..."
    2. In the "Group (X) Axis Settings" window, under the tab "Layout", check the option "Skip Group Labels" and set the value to 15 for example.
    Now, it will display the date time label at every 15 data point.
    As for your question on how get control of the logarithmic algorithm used to formulate the y-axis values, we unfortunately do not have much control over it other than:
    - Entering static values, or
    - Checking or Unchecking the option "Use Logarithmic scales"
    The above options are available on the y axis. To change those options:
    1. In the "Preview" tab of the report, select one of the y axis label, and right click on it. In the contextual menu, select "Group (Y) Axis Options..."
    2. In the "Group (Y) Axis Settings" window, under the tab "Scales", you will see the following options:
    - Minimum Values
    - Maximum Values
    - Use Logarithmic scales
    I will suggest to check the option "Use Logarithmic scales"
    Finally, as for the issue you discovered where SQL Server 2008 data type DateTime2 is converted to a string in Crystal Reports 2008, it is important to note that SQL Server 2008 hasn't been released yet, therefore it has not been tested in Crystal Reports 2008. Once SQL Server 2008 is released, I will suggest to test it again using the ODBC driver provided with this new version. 
    At this point I am assuming that this is happening because it is a new data type and an unknown data type get converted to string.

  • Web I line chart formatting

    hi all, I am trying all my best for webI line chart formatting but I don't see much options, quick question is there any button or tool box for formatting  WebI line chart except properties tab???
    and my requirement is, usually when i turn  table to line chart by default  X-axis will be lower side and Y-axis will start from left end of X-axis and stand perpendicular to it. But what I need is X-axis should remain same but Y-axis should start from right end of x-axis.
    In short and clear Point of intersection of X and Y axis is left end of x-axis but I need point of intersection should be right end of X-axis line. are there any formatting tips???

    Hi,
    Follow the below steps.
    1) Create a dummy measure variable with name  ' (Comma) and formula value is =0. (Variable name is ' because if you put any other name that will come  in the Legend and its a dummy objects)
    2)Select the bar and line graph and put the dummy variable in the Y axis and Y axis value in the Z axis.
    3) After that no value  will show in the Y axis and your Z axis value show the line graph.
    Hope this will help you.
    Thanks,
    Amit

  • I want to make a simple line chart

    i want to make a simple line chart using the data in two nonadjacent columns.
    it seems that the easiest way to do this is to export the sheet to google docs and use THEIR charting, which is a two-click deal.
    is there an easy way to do this in numbers?
    my impression:
    numbers:
    very fancy, super pretty, easy to modify APPEARANCE, difficult to use actual charts. custom paint job on a junker
    googledocs:
    available everywhere, basic, more difficult with actual data flexibility, but you can use what you've got.
    the whole emphasis on numbers seems to be how pretty i can make displays, but not a lot of emphasis on making it easy to make things work.
    can anyone shed some light on how to make this simple instead of pretty?

    You can definitely use the technique I mentioned to order the columns to make it easy to chart:
    Here I created a table (the top one) to hold the original data and make a second table (the lower one) to pull data into two adjacent columns:
    The bottom table, as I said pulls data from the top data table:
    Then highlight the data in the table to chart, and selec the chart type from the menu (I suggest the bar chart which is the first item in the chart tool menu):
    I made up this data and mean it to be no reflection on your running ability 

  • Line Chart - Formatting more than 4 lines in line chart

    Hi,
    How to format more than 4 lines in line chart using Crystal report Designer as by default it will display 4 lines in design mode.
    Able to format 4 lines but i have to display total 6 lines.
    Urgent. Please help....
    Thanks,
    ThakurS

    Hi,
    The design mode is not the right place to edit lines, bars etc for Charts.
    You can select individual lines from the Preview Mode and edit them.
    Hope this helps!
    -Abhilash

  • How to draw a simple line chart using GRAPH_MATRIX_2D function

    Hello,
    can anyone help me with that function please,
    i couldn't draw a line graph with three data series, i mean with three lines in the graph.
    i want to the chart to be drawn as line graph at the beginning, i shouldn't have to change the chart type later,
    can anybody send me a sample code that does what i want.
    i am expecting your answers,
    thanks.
    Note: all answers will be pointed.

    Hi Ali,
    please refer to my reply [here|Re: drawing 2d line chart problem, urgent please!!!] and skip this thread. This is a copy of the other request.
    Regards
    Matthias

  • Line Chart Formatting in HFR

    I am using Financial Reporting for HFM and need a few line charts. I have to display the values of the respective points on the line chart which I did using the display point values checkbox in the Format Chart. However, the values are in $ or % and those prefixes ($, % etc) are not showing up on chart values(just displaying numbers which are rounded without any decimal places). I have formatted the grid where the chart is fetching its data but that is not helping. Anyone has any idea, how this can be done. Please help.

    Hi,
    The design mode is not the right place to edit lines, bars etc for Charts.
    You can select individual lines from the Preview Mode and edit them.
    Hope this helps!
    -Abhilash

  • Line Chart Formatting

    Hi All,
    I have created a line chart with 3 series. I have two questions :
    1. My X-Axes brings back 96 rows to display but the only way to see all data is if I use a scroll bar on this axis. I have tried to increase the chart width from 700 to 1000 but this does not have the desired effect. Is there a way to display my data without using the scroll bar ?
    2. Is it possible to have the area within a given series line to be shaded in a certain colour so that it is more visually effective ?
    Thanks
    Edited by: Billy on Aug 24, 2011 2:12 PM

    Hi Shane,
    The reason you don't see the "Show Scrollbar" option for your chart is because scrolling is not currently supported by HTML 5 charts, and so that option is not visible on the Chart Attributes page when you edit your chart.  See the section HTML5 Migration Guide in the AnyChart online documentation for the list of supported features.  Note that the scrolling option is listed as "zoom panel", because scrolling is controlled via the <zoom> tags in the chart XML, as outlined in the Zooming and Scrolling section of the AnyChart documentation.
    So until AnyChart provide support for scrolling with HTML 5 charts, you'll need to use the Flash chart option.
    Regards,
    Hilary

  • Line Chart & "don't summarize"

    Post Author: HelenW
    CA Forum: Charts and Graphs
    I am trying to create a simple line chart showing the value of an integer variable plotted against the time of day (24 hours). My problem is that when I choose the field that I want to plot, the checkbox for "don't summarize" is disabled, and I have no choice but to summarize the data. I am using Crystal Reports XI Release 2. Any suggestions?
    Thx
    Helen

    Post Author: Sriram Venkataramani
    CA Forum: Charts and Graphs
    Hi Helen,Had the same problem. Interestingly, the solution is that the "Don't Summarize" field is only available for formula fields.If you don't want to summarize a field, create a new formula which returns the value of that field. That should do the trick.Source: http://publib.boulder.ibm.com/infocenter/radhelp/v6r0m1/index.jsp?topic=/com.businessobjects.integration.eclipse.doc.crdesigner/reportdesigner/crurfchartexpertdatatab.htm - Sri

  • Webi Line Chart to Start from Axis Origin

    Hi,
    Need a quick help in BI4.0 webi line chart formatting.
    I have datetime on x-axis and cash flow on Y-axis.
    Say my cash flow starts at 9am on a day with $100 , my line chart starts the plot from 9am i.e. (9am,$100)
    instead I want the line plot to always start from (0,0)
    This is probably a chart option, but i dont find it.

    Hi Thangaraj,
    I have a similar requirement for a line chart to start from 0,0. while its min value is greater than 0.
    We are on BO 4.1 SP4  and there is no direct chart option for this.
    I would like to know whether you were able to achieve this in web intelligence.
    I really appreciate your reply.
    Thanks,
    Sri

  • Line Chart notdisplaying in X 2008 SP2

    Hi, I''ve just upgraded to SP2 and my simple line chart is just not displaying in preview. So far as I can see, the links are right. Are there any obvious reasons why that might happen (yes, I have used Xcelsius for afew years)? Thank you
    Jon

    Hi Jon
    A few thoughts come to mind:
    1.  Do you have anything tyhat might effect Dynamic Visibility of the chart?
    2.  Do you have a component which would move blank data intot he chart area upon generating the preview?
    3.  Can you create a new line chart, link the same bindings - does that preview?
    Regards
    [Charles|http://www.reportex.co.uk]

  • Data Disappears from Line Chart in Preview Mode

    Help! Line chart data present in design mode, but disappears when in preview mode.  I have a dashboard that I update monthly.  Simple line charts.  Now, the line chart data is visible while in the design view, but does not show up when in the preview view or even when converting it to a PDF or Powerpoint.  SWF issue?  Inputs are needed!
    Thanks,
    Stan

    Hi Stan,
    The answer to, why the data disappears in runtime mode, depends on how you retrieve the data in your dashboard.
    It seems that you have some sample static data in your spreadsheet that shown in design mode. But chances are that this data is set to be overwritten in runtime mode, if you import your data using QAAWS, Live Office or similar.
    I would suggest you to add a "spreadsheet table" component (found in the bottom of the Selectors category in the components browser) to your dashboard. Set the spreadsheet table to display some of the cells in the spreadsheet that you expect to get populated during runtime.
    In this way you can verify if data is actually present in the relevant cells during runtime.
    By the way - this is also a best practice method to test data-retrieval in Xcelsius.
    I hope this helps.
    Kind Regards,
    Simon

  • Scale on Y-axis of line chart is not correct

    I have a simple line chart that has the values of 150, 0, 122, 0, 0 and 0 that is charting fine.  However, the scale on the Y-axis is not starting at 0.  It starts at 100, giving the impression my 0's are 100's.  I have other charts, with other values, that are doing the same thing.  My chart set to ignore cells at end of range.  The scale setting is set to Auto (Y) Axis, Y axis scale is linear.
    I'll admit I'm pretty new with this software, but I'm not seeing any setting that I have wrong.

    Hi Gregory,
    unfortunately, it's a bug. I filed it (ADAPT01136251) and we will fix it ASAP. For now I can suggest only to switch to manual scale or to set one of your zero values to be something like 0.000000001 instead.
    Sorry about the bug,
    Margaret

  • How to create line chart

    Hii Experts,
    How to create line chart?
    I want to  prepaire a line chart in a report. i have 1 table. In a table have 2 fields. chart is created in these 2 field refrence how It's possible?
    Thanx in Advance
    Regards
    Vshal

    I found it very easy to produce a line chart in a window container using FM GFW_PRES_SHOW.  In my case this produces a basic line graph with three lines across 15 time periods.
    See transaction GRAL for various chart types...they're relatively easy to produce...  I picked DEMO_GFW_PRES_SHOW report program from GRAL as my example for how to produce a simple line chart very quickly.

  • Convert Web Page to PDF formatting problem - 1st line of each paragraph outdented

    Hi Folks,
    I get a formatting problem when I convert any web page to PDF using the 'Convert Web Page to PDF' option - the 1st line of each paragraph is outdented.
    eg if i convert http://helpx.adobe.com/acrobat/using/whats-new-acrobat-xi.html I get this:
    I get the same problem using IE 9, Chrome (latest) or Firefox 30.0. I don't get it converting a Word doc to PDF.
    I'm using Adobe Acrobat XI Pro on a PC running Windows 7.
    Is there a simple setting somewhere I am missing?
    Any help much appreciated!

    Are you using "Adobe PDF" or "PDF or XPS?" I sounds like "Adobe PDF," but trying to be sure. Have you updated your Acrobat to the latest version? If not, try that.

Maybe you are looking for