or
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;