4 Answers, 1 is accepted
0
Hi Swapnil,
The report Chart uses the engine of RadChart for ASP.NET AJAX and does not support 3d charts. However if you're using another control that supports 3d charts and has an API to save the chart as an image, you can display the generated chart in a Telerik Report via the PictureBox item. You can see such an example in the Use asp:chart in Telerik Reports code library.
Kind regards,
Steve
the Telerik team
The report Chart uses the engine of RadChart for ASP.NET AJAX and does not support 3d charts. However if you're using another control that supports 3d charts and has an API to save the chart as an image, you can display the generated chart in a Telerik Report via the PictureBox item. You can see such an example in the Use asp:chart in Telerik Reports code library.
Kind regards,
Steve
the Telerik team
HAPPY WITH TELERIK REPORTING? Do you feel that it is fantastic? Or easy to use? Or better than Crystal Reports? Tell the world, and help fellow developers! Write a short review about Telerik Reporting and Telerik Report Designer in Visual Studio Gallery today!
0
Swapnil
Top achievements
Rank 1
answered on 05 Oct 2012, 05:53 AM
Thanks for quick response.
As i am going through reporting, i noticed that tooltip on bar items on reporting charts is not supported. is it true? or now supported?
--
Swapnil
Sr. Developer
As i am going through reporting, i noticed that tooltip on bar items on reporting charts is not supported. is it true? or now supported?
--
Swapnil
Sr. Developer
0
Hi Swapnil,
Tooltips, zoom/scroll interactive features are not available for the chart item at this time.
Regards,
Steve
the Telerik team
Tooltips, zoom/scroll interactive features are not available for the chart item at this time.
Regards,
Steve
the Telerik team
HAPPY WITH TELERIK REPORTING? Do you feel that it is fantastic? Or easy to use? Or better than Crystal Reports? Tell the world, and help fellow developers! Write a short review about Telerik Reporting and Telerik Report Designer in Visual Studio Gallery today!
0
Subramanya
Top achievements
Rank 1
answered on 11 Oct 2012, 06:21 AM
Hello This is Subramanya,,,
I'm working on mvc3 razor , in my application i've a report on Date Based report on Speed ,
need to do Graph on Speed Versus Time ?
Pasting my Code here
Speed Controller.cs:
public ActionResult VehicleSpeed()
{
//string uid = Session["USER_ID"].ToString();
var SpeedVehicle = from g in vtsmodel.HISTORY_LIVE_VEHICLE select g;
Usertype();
ViewData["SpeedReport"] = SpeedVehicle;
return View();
}
[HttpPost]
public ActionResult VehicleSpeed(string History, SearchHistoryModel model)
{
Usertype();
Session["SpeedVehicleReport"] = "SpeedReport";
TempData["SpeedVehicleReport"] = "SpeedVehicleReport";
Session["FromDate"] = model.FromDate;
TempData["fmdate"] = model.FromDate;
Session["ToDate"] = model.ToDate;
Session["Starttime"] = model.starttime;
Session["Endtime"] = model.endtime;
Session["REGISTRATION_NO"] = model.REGISTRATION_NO;
DateTime DT1 = DateTime.Parse(model.FromDate);
model.FromDate = DT1.ToString("MM/dd/yyyy");
DateTime stime = DateTime.Parse(model.starttime);
model.starttime = stime.ToString("HH:mm:ss");
DateTime DTS = Convert.ToDateTime(model.FromDate + " " + model.starttime);
DateTime DT2 = DateTime.Parse(model.ToDate);
model.ToDate = DT2.ToString("MM/dd/yyyy");
DateTime etime = DateTime.Parse(model.endtime); ;
model.endtime = etime.ToString("HH:mm:ss");
DateTime DTE = Convert.ToDateTime(model.ToDate + " " + model.endtime);
Session["startdatetime"] = DTS;
Session["enddatetime"] = DTE;
return View();
}
View:
@using VTS.Models
@{
ViewBag.Title = "VehicleSpeed";
}
@{
@Html.Partial("SpeedDateRange")
}
@Html.ValidationSummary(true)
@if (Session["SpeedVehicleReport"] == "SpeedReport")
{
<div class="download">
<div class="excel">
</div>
@Html.ActionLink("Download excel", "Download")
</div>
<div class="download">
<div class="pdf">
</div>
@Html.ActionLink("Download pdf", "Download")
</div>
<br />
VTSEntities4 vtsmodel = new VTSEntities4();
Session["options1"] = "User";
DateTime dts = Convert.ToDateTime(Session["startdatetime"].ToString());
DateTime dte = Convert.ToDateTime(Session["enddatetime"].ToString());
var SpeedVehReport = vtsmodel.SP_SpeedVehicleReport(dts, dte, Session["REGISTRATION_NO"].ToString());
var vehicleReportGrid = new WebGrid(source: SpeedVehReport.ToList(), rowsPerPage: 10);
<div class="table">
@vehicleReportGrid.GetHtml(tableStyle: "table", headerStyle: "gridhead",
footerStyle: "paging", rowStyle: "td-dark", alternatingRowStyle: "td-light",
columns: vehicleReportGrid.Columns(
vehicleReportGrid.Column("VEHICLE_NAME"),
vehicleReportGrid.Column("Time"),
vehicleReportGrid.Column("LOCATION"),
vehicleReportGrid.Column("SPEED")
)
)
</div>
}
I'm working on mvc3 razor , in my application i've a report on Date Based report on Speed ,
need to do Graph on Speed Versus Time ?
Pasting my Code here
Speed Controller.cs:
public ActionResult VehicleSpeed()
{
//string uid = Session["USER_ID"].ToString();
var SpeedVehicle = from g in vtsmodel.HISTORY_LIVE_VEHICLE select g;
Usertype();
ViewData["SpeedReport"] = SpeedVehicle;
return View();
}
[HttpPost]
public ActionResult VehicleSpeed(string History, SearchHistoryModel model)
{
Usertype();
Session["SpeedVehicleReport"] = "SpeedReport";
TempData["SpeedVehicleReport"] = "SpeedVehicleReport";
Session["FromDate"] = model.FromDate;
TempData["fmdate"] = model.FromDate;
Session["ToDate"] = model.ToDate;
Session["Starttime"] = model.starttime;
Session["Endtime"] = model.endtime;
Session["REGISTRATION_NO"] = model.REGISTRATION_NO;
DateTime DT1 = DateTime.Parse(model.FromDate);
model.FromDate = DT1.ToString("MM/dd/yyyy");
DateTime stime = DateTime.Parse(model.starttime);
model.starttime = stime.ToString("HH:mm:ss");
DateTime DTS = Convert.ToDateTime(model.FromDate + " " + model.starttime);
DateTime DT2 = DateTime.Parse(model.ToDate);
model.ToDate = DT2.ToString("MM/dd/yyyy");
DateTime etime = DateTime.Parse(model.endtime); ;
model.endtime = etime.ToString("HH:mm:ss");
DateTime DTE = Convert.ToDateTime(model.ToDate + " " + model.endtime);
Session["startdatetime"] = DTS;
Session["enddatetime"] = DTE;
return View();
}
View:
@using VTS.Models
@{
ViewBag.Title = "VehicleSpeed";
}
@{
@Html.Partial("SpeedDateRange")
}
@Html.ValidationSummary(true)
@if (Session["SpeedVehicleReport"] == "SpeedReport")
{
<div class="download">
<div class="excel">
</div>
@Html.ActionLink("Download excel", "Download")
</div>
<div class="download">
<div class="pdf">
</div>
@Html.ActionLink("Download pdf", "Download")
</div>
<br />
VTSEntities4 vtsmodel = new VTSEntities4();
Session["options1"] = "User";
DateTime dts = Convert.ToDateTime(Session["startdatetime"].ToString());
DateTime dte = Convert.ToDateTime(Session["enddatetime"].ToString());
var SpeedVehReport = vtsmodel.SP_SpeedVehicleReport(dts, dte, Session["REGISTRATION_NO"].ToString());
var vehicleReportGrid = new WebGrid(source: SpeedVehReport.ToList(), rowsPerPage: 10);
<div class="table">
@vehicleReportGrid.GetHtml(tableStyle: "table", headerStyle: "gridhead",
footerStyle: "paging", rowStyle: "td-dark", alternatingRowStyle: "td-light",
columns: vehicleReportGrid.Columns(
vehicleReportGrid.Column("VEHICLE_NAME"),
vehicleReportGrid.Column("Time"),
vehicleReportGrid.Column("LOCATION"),
vehicleReportGrid.Column("SPEED")
)
)
</div>
}