or
Header="Report window" WindowStartupLocation="CenterScreen" Top="-5" Width="550" Height="539" ResizeMode="CanResize"> <Grid x:Name="LayoutRoot" VerticalAlignment="Stretch"> <Grid.RowDefinitions> <!--<RowDefinition Height="478"/>--> <RowDefinition Height="*"/> <RowDefinition Height="27"/> </Grid.RowDefinitions> <Telerik_ReportViewer_Silverlight:ReportViewer x:Name="ReportViewer" HorizontalAlignment="Stretch" VerticalContentAlignment="Stretch" Height="475" Grid.Row="0" ReportServerUri="../ReportService.svc" Report="GaSuiteReportLib.EmergencyReport, GaSuiteReportLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" ZoomPercent="80" VerticalAlignment="Top"/> <Button x:Name="OKButton" Grid.Row="1" Content="OK" Click="OKButton_Click" Width="75" Height="23" HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="0,0,0,3"/> </Grid>namespace Reports{ using System; using System.ComponentModel; using System.Drawing; using System.Windows.Forms; using Telerik.Reporting; using Telerik.Reporting.Drawing; /// <summary> /// Summary description for Report2. /// </summary> public partial class Report2 : Telerik.Reporting.Report { public Report2() { /// <summary> /// Required for telerik Reporting designer support /// </summary> InitializeComponent(); // // TODO: Add any constructor code after InitializeComponent call // this.reportTableAdapter1.Fill(this.temp1.report); } private void chart1_NeedDataSource(object sender, EventArgs e) { Telerik.Reporting.Processing.Chart procChart = (Telerik.Reporting.Processing.Chart)sender; procChart.DataSource = this.temp1; chart1.Series[0].DataYColumn = "ParamValue"; chart1.PlotArea.XAxis.DataLabelsColumn = "timeDate"; chart1.PlotArea.XAxis.Appearance.LabelAppearance.RotationAngle = 300; chart1.PlotArea.Appearance.Dimensions.Margins.Bottom = Telerik.Reporting.Charting.Styles.Unit.Percentage(30); chart1.PlotArea.Appearance.Dimensions.Margins.Right = Telerik.Reporting.Charting.Styles.Unit.Percentage(30); } }}| DateTimeStamp | Parameter_Name | ParamValue | DeviceID |
| 7:03:58 PM | PM_PH_A_ABC | 125 | 129 |
| 7:03:59 PM | PM_PH_A_ABC | 125 | 129 |
| 7:04:00 PM | PM_PH_A_ABC | 25 | 129 |
| 7:04:01 PM | PM_PH_A_ABC | 125 | 129 |
| 7:03:58 PM | PM_XYZ | 125 | 129 |
| 7:03:59 PM | PM_XYZ | 125 | 129 |
| 7:04:00 PM | PM_XYZ | 5 | 129 |
| 7:04:01 PM | PM_XYZ | 50 | 129 |
| 7:03:58 PM | PM_PH_A_ABC | 100 | 133 |
| 7:03:59 PM | PM_PH_A_ABC | 25 | 133 |
| 7:04:00 PM | PM_PH_A_ABC | 8 | 133 |
| 7:03:58 PM | PM_XYZ | 125 | 133 |
| 7:03:59 PM | PM_XYZ | 15 | 133 |
| 7:04:00 PM | PM_XYZ | 7 | 133 |


Telerik.Reporting.Processing.Table _listTriage = (Telerik.Reporting.Processing.Table)detailSection.ChildElements.Find("TriageList", true)[0]; var dsTriag= from d in dc.Guardia.Where(w => w.registroGuardia == id) select d;