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.

Similar Messages

  • 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 

  • How can I use a webcam to feed live values (or even better, an average of said values over time) into a subVI?

    The values will be read from a digital measurement device, so there shouldn't be much of a problem in recognizing the fonts, I hope.
    Ideally, it'd function like this: Webcam is trained on device, and without interaction from the user, labview processes the current data every 30 seconds, converts it to a string, and averages 30-second values over a period of 5 minutes. The average is then given to a VI that would normally poll the user for a value every 5 minutes. I'm trying to close the loop on a control system, and think this is the best way to do it.

    If I understand this correctly, you would like to take a picture of a screen every 30 seconds and read some text on that screen. You can do that using the NI Vision Development Module's Optical Character Recognition function palette. This will allow you to create a set of images of each character that you expect to read. You can then train the software to assositate an image of that character with the actual digital character. In this way, the software will be able to read the text. You can read more about this concept in the NI Vision Concepts Help 2013 manual.
    Is there any other way to transfer the information from the first computer to the second computer other than using a camera to read the text off a screen? That seems like a strange way to transfer data, but it's possible that you don't have access to the code on the first computer and you can only access it from the front panel. Is that the situation that you are in?
    Take care,
    Jeremy P.
    Applications Engineer
    National Instruments

  • 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

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

  • Work Flow in HR for on line Approval of Over time

    Dear SAP Experts,
    Client requirement is for OT approval through SAP by three seperate heads.
    Do i need to develop the work flow for this or can be taken care through some other means in standard SAP
    Please suggest possible methods
    Thanks and regards
    Punit Sharma

    Hi,
    If approval has to be taken from different people u can either use notifications from one user to another or develop a workflow for the same.
    Regards
    Raghu

  • Charting Over Time

    I'd like to create a form that a person might submit several times over the course of a year.  It doesn't appear there is an option in the summary report to create a chart over time (like a line chart tracking the values of an answer over several dates).
    I realize I could export to Excel and create a chart, but my goal would be able to have a summary report for people who don't know how to create charts in Excel.
    We use different forms for our Veterinary Practice.  We'd like to create a form for clients who have pets in declining health or have a particular issue we are tracking.  The client would go to the form, enter their last name and pets name (we can filter the reports easily that way), and then enter numeric rating values for things like "mobility" or "appetite."  Over the course of days, weeks, or months, it would be great to see a chart that displays the change in values over time to notice downward or upward trends in health.
    I know there are probably other ways to do this outside of FormsCentral, but I'm trying to keep things simple (especially for non-technical folks who may need to retrieve data).
    Any other suggestions outside of FormsCentral would also be welcomed, but I'm wondering (from staff) if there are any plans to expand some of the summary reporting/charting capabilities?
    Thanks,
    Ryan

    Currently the reporting ability you seek are not supported in Formscentral. As you have noted your best option is to do this work in something like Excel.
    Andrew

  • 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

  • Limit range of chart value axis

    I'm sure this is blindingly obvious, but I can't figure it out. I have a simple line chart (graphing dollar values), and I want to limit the range of the value axis. Specifically, I want to raise the minimum value displayed to somewhere near the smallest data value, so that my curve isn't flat across the top of the graph. If I enter a number into the Minimum field under Value Axis Format in the Inspector, the vertical axis labels all collapse to the bottom of the chart.
    I can't imagine that what I'm trying to do is at all uncommon - how could it possibly be this hard?
    Thanks,
    Aaron

    Aaron,
    Well, I have to say that what you show is exactly as you described. I've never seen that and have no idea what might cause it. I can only offer a few bits of general advice. Run software update and make sure you have the latest update for Numbers 08, Restart your computer, try to duplicate the problem in an fresh Numbers document. If a fresh document works properly, copy your content over, keeping track of your additions so you can try to identify the content that causes the problem should it reappear.
    Jerry

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

  • Intensity over time

    Hi everyone,
    I have the following problem...
    I am trying to plot some Light Intesity values over time out of a real time video. But I don't know how to create my VI ...
    Therefore I have attached the VI I have until now. It first asks for a region of Interest by pushing the Setup-Button and after that the Measurement of the Intensity begins, shown in the second tab called "real time video"... the values are also shown in the box beside!
    Now I don't know how to measure the time und how to write the time and intensity values in an array to plot it...
    It would be best to capture the time value for every frame and consequently every intensity value...
    Any ideas ???
    I am using LV 8.0 ...I don't have a higher version
    Message Edited by Portisblaed on 12-29-2007 07:03 AM
    Attachments:
    ROI-Button-sequence II.vi ‏106 KB

    Hi,
    I have one more question about the waveform chart...
    When I play an AVI file with about 50 seconds time, and I plot the Intensity over time with the waveform chart, this plots shows me a timescale which doesn't fit to the time fro m the video! For example my 50 second video is played in a time of 20 seconds! What's the reason for that? Do I have to change the time settings somehow?
    And the examples don't really help me to fourier transform the signal I got, because I don't know the time of the measurement! Just the x-scale of the wavefrom chart like you suggested it before...
    Thanks for help!
    Message Edited by Portisblaed on 01-08-2008 09:50 AM

  • Need Help In Flash/Flex Line Charts...Output should be like stock exchange chart

    Hello Friends,
    I need a small help from you guys.
    I want to do a line chart example in flash cs3 or in flex. Actually my requirement is getting the data from external file ie xml and with that i want to display a line chart with some time interval just like stock exchange charts for example.
    I have to do this either in flex or in flash cs3. i dont have any ideas how to proceed. can anyone help me out on this. i need it asap.
    Thanks
    Rajesh

    hi
    flex has charting components you can use. see: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/mx/charts/LineChart.htm l (example at the bottom of page)

  • 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

Maybe you are looking for

  • MalformedInputException Error in Adapter module for SFTP channel

    Dear All, I am using MessageTransformBean in adapter module for Plain to XML conversion. The channel works fine in all the cases but when I recieve     "  ì " or few more special characters in the file my channel does not pick file and show below err

  • Low Quality When Viewed In Full Screen

    So when I try to view my movie in full screen it's all pixely. Is there something I'm doing wrong, or is setting I need to change? Any help would be great!

  • Placing tabs below the address bar

    Hi everyone, I recently had to "refresh" Firefox because Adblock Plus kept getting disabled somehow. Now I'm having a hard time getting my layout back to what I'm accustomed to. What I would like is to have the following layout: [Menu bar] <br> [Addr

  • "Welcome to your new iPhone" - every sync

    This is a response to an old post on another discussion, but that discussion has now been archived and no longer permits replies. Issue in old post was: *I just had my phone swapped out at an Apple store for a replacement.* *Everthing backed up to th

  • SQL Developer Migation Tool - formating generated SQL

    I am using SQL Developer version 2.1.1.64 to migrate MS SQL server to ORACLE via the Migration tool. My question is : Is there a way to format the generated ORACLE code? The reason I ask, our developmet team has coding standards for creating procedur